tools/gst-inspect.c: Print 'default value' for enums and flags too.
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2
3         * tools/gst-inspect.c:
4           Print 'default value' for enums and flags too.
5
6 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
7
8         * docs/random/ensonic/profiling.txt:
9           More ideas.
10
11         * gst/gstbin.c:
12           Fix typo and give better log output.
13
14         * gst/gstdebugutils.c:
15         * gst/gstdebugutils.h:
16           More ideas, make graphs a bit smaller and fix param name in macro.
17
18 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
19
20         * gst/gstpreset.c:
21           Try harder to use the return value from fgets().
22
23 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
24
25         * gst/gstpreset.c:
26           For theses two fgets we handle the error below.
27
28 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
29
30         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
31         Only send upstream events upstream. Fixes #498746.
32
33 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
34
35         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
36
37         * plugins/elements/gstidentity.c: (gst_identity_class_init),
38         (gst_identity_init), (gst_identity_transform_ip),
39         (gst_identity_set_property), (gst_identity_get_property):
40         * plugins/elements/gstidentity.h:
41         Add property to disable handoff signal emission. Fixes #498694.
42         API: GstIdentity::signal-handoffs
43
44 2007-11-21  Julien Moutte  <julien@fluendo.com>
45
46         * docs/faq/gst-uninstalled: Yet another missing library for the
47         uninstalled script (fft)
48
49 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
50
51         * docs/faq/developing.xml:
52         Add a question about how to submit new translations.
53
54         * docs/random/release:
55         Update the contact email address for the Translation Project
56
57         * plugins/elements/gstfdsrc.c:
58         The parent_class for fdsrc is pushsrc, not GstElement.
59
60 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
61
62         * gst/gstpreset.c:
63           Plug a leak and fix saving.
64
65 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
66
67         * docs/gst/gstreamer-sections.txt:
68         Add new gst_preset__get_property_names() function to the docs
69         to fix the build.
70
71 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
72
73         * gst/gstpreset.c:
74         * gst/gstpreset.h:
75           Change _get_preset_names API to return a strv with copies. Add
76           _get_property_names to allow implementations to filter and provide
77           good default implementation.
78
79 2007-11-20  Julien MOUTTE  <julien@moutte.net>
80
81         * docs/faq/gst-uninstalled: Add another library to the uninstalled
82         script (sdp).
83
84 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
85
86         * gst/gstpreset.c:
87           More cleanups, docs, and TODOs from comments that now slowly come in.
88
89 2007-11-19  Julien MOUTTE  <julien@moutte.net>
90
91         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
92         search path.
93
94 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
95
96         * gst/gstpreset.c:
97           Fix bogus warning and make the property type specific code more
98           similar.
99
100 2007-11-19  Julien MOUTTE  <julien@moutte.net>
101
102         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
103         it build on OS X.
104
105 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
106
107         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
108         (gst_bin_add_func), (gst_bin_remove_func),
109         (gst_bin_change_state_func), (gst_bin_continue_func):
110         Change email, cleanups add some more debug and comments.
111         Also set bus and clock on new elements when the pipeline was in error.
112
113 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
114
115         * gst/gstbin.c:
116         * gst/gstdebugutils.c:
117           Fix build with --disable-gst-debug. Fixes #497859.
118           Spotted by Sameer Naik.
119
120 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
121
122         * gst/gstevent.c:
123           Little documentation improvment.
124
125         * gst/gstpreset.c:
126           More TODO cleanups. Remove c++ comments.
127
128         * libs/gst/controller/gstcontroller.c:
129           Add TODO and use quark from static string.
130
131         * tests/check/gst/gstmessage.c:
132         * tests/check/gst/gststructure.c:
133           Use quark from static string.
134
135 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
136
137         * gst/gstpreset.c:
138           Add some comments and TODOs.
139
140         * gst/gstpreset.h:
141           Add padding for future changes.
142
143         * plugins/elements/gstqueue.c:
144           Implement the iface.    
145
146 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
147
148         * docs/gst/gstreamer-docs.sgml:
149         * docs/gst/gstreamer-sections.txt:
150         * docs/gst/gstreamer.types.in:
151         * gst/Makefile.am:
152         * gst/gst.h:
153         * gst/gstpreset.c:
154         * gst/gstpreset.h:
155           Add the preset interface (Fixes #396779). Do some doc cleanups along.
156
157 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
158
159         * configure.ac:
160
161         Back to CVS
162
163 === release 0.10.15 ===
164
165 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
166
167         * configure.ac:
168           releasing 0.10.15, "October"
169
170 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
171
172         * win32/vs6/libgstreamer.dsp:
173         Convert line endings back to DOS.
174
175 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
176
177         * docs/design/draft-tagreading.txt:
178         * docs/random/ensonic/profiling.txt:
179         Update fast tagreading draft and performance profiling ideas.
180
181 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
182
183         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
184         Don't hold the object lock when unreffing a buffer because it could
185         cause a deadlock when the finalize function wants to grab the object
186         lock too. Fixes #495133.
187
188 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
189
190         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
191         (gst_segment_to_stream_time), (gst_segment_to_running_time):
192         Also accumulate time correctly when doing reverse playback. Fixes
193         #488201,
194         When converting to running and stream time, use default values for
195         start/stop/time/accum when comparing different formats. Fixes #494245.
196
197         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
198         Do running/stream time in TIME format.
199
200         * tests/check/gst/gstsegment.c: (GST_START_TEST),
201         (gst_segment_suite):
202         2 new unit tests for segment accumulation.
203
204 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
205
206         * gst/gst.c: (init_pre):
207         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
208           (_gst_debug_bin_to_dot_file):
209           Move getenv() back into gst_init, so everyone can live happily
210           ever after. Make sure the symbol isn't exported though.
211
212 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
213
214         Patch by: Sebastien Moutte  <sebastien moutte net>
215
216         * win32/common/gstenumtypes.c:
217         * win32/common/gstenumtypes.h:
218           Update enum types.
219
220         * win32/vs6/libgstreamer.dsp:
221           Update vs6 project files (#494343).
222
223 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
224
225         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
226         (gst_base_src_perform_seek), (gst_base_src_default_event),
227         (gst_base_src_set_flushing), (gst_base_src_activate_push),
228         (gst_base_src_activate_pull):
229         Unify flushing code, remove some old unlock code that is no longer used.
230         Take the streaming lock when seeking to avoid races. Fixes #492729.
231         Added some more comments.
232
233 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
234
235         * gst/gst.c: (_gst_disable_segtrap):
236           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
237           we can use gst_segtrap_is_enabled() there now that we have that API.
238           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
239           to do the getenv here (and export the variable).
240
241         * gst/gstdebugutils.c: (debug_dump_element),
242           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
243           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
244
245         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
246           (gst_debug_log_default):
247           Rename _gst_info_start_time to priv_gst_info_start_time so it
248           doesn't get exported (was never in any header).
249
250         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
251           (gst_plugin_loading_mutex):
252           Make static mutex gst_plugin_loading_mutex really static (was never
253           in any header), and use gst_segtrap_is_enabled() instead of
254           _gst_disable_segtrap.
255
256         * gst/gsttrace.c: (_gst_trace_default):
257           Make local _gst_trace_default static (was never in any header).
258
259 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
260
261         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
262
263         * win32/common/libgstbase.def:
264         * win32/common/libgstcontroller.def:
265         * win32/common/libgstdataprotocol.def:
266         * win32/common/libgstnet.def:
267         * win32/common/libgstreamer.def:
268           Add more missing symbols, remove some duplicates, and sort
269           as the 'sort' command sorts it (partially fixes #493983).
270
271 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
272
273         * gst/gstelement.c: (gst_element_set_state_func):
274         Only change the state cookie if a different state was set on the
275         element. See #492729.
276
277 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
278
279         * gst/gstvalue.c:
280           Remove unused and uninitialised type variables that were still
281           exported for some reason (they were never in any header files
282           though).
283
284 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
285
286         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
287         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
288         (gst_base_sink_event), (gst_base_sink_get_position_last),
289         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
290         (gst_base_sink_change_state):
291         Don't try to report a 0 position when we don't know, return -1 and FALSE
292         instead. This mostly happens when we are prerolling.
293         Make sure we can report the right position before we post the ASYNC_DONE
294         message so that a message handler can query position without races.
295
296         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
297         (async_done_handoff), (async_done_func), (send_buffer),
298         (async_done_eos_func), (gst_sinks_suite):
299         Add two tests for the above.
300
301 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
302
303         * MAINTAINERS:
304         Update with new email address.
305
306         * docs/design/part-TODO.txt:
307         Add some more info about future pad-block and negotiation changes.
308
309         * docs/design/part-buffering.txt:
310         Add some ideas about buffering reporting.
311
312 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
313
314         * tests/check/gst/gstobject.c:
315         Disable silly racy test that always fails on this combination of CPU
316         and kernel.
317
318 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
319
320         Patch by: Murray Cumming  <murrayc@murrayc.com>
321
322         * gst/gstobject.c:
323           Corrected the registration of the parent-set and parent-unset
324           signals: The parameter is a GstObject, not a GObject (#493134).
325
326 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
327
328         * gst/gst_private.h:
329         * gst/gstbuffer.h:
330         * gst/gstevent.h:
331         * gst/gstformat.h:
332         * gst/gstmessage.h:
333         * gst/gstplugin.h:
334         * gst/gstquery.h:
335         * gst/gsttaglist.h:
336         * gst/gstvalue.h:
337           Move declaration of private _gst_foo_initialize() functions into
338           our private header file where they should have been all along.
339
340 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
341
342         * docs/plugins/gstreamer-plugins-sections.txt:
343         * gst/gstdebugutils.h:
344         * gst/gstxml.h:
345         * plugins/elements/gstqueue.c:
346           gtk-doc fixes; trailing-comma-in-enum fix.
347
348 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
349
350         * gst/gst.c: (gst_deinit):
351           Clean up on deinit (not the external ones though, doesn't seem to be
352           needed for some reason).
353
354 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
355
356         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
357           Remove __declspec(dllimport) for MSVC that was copied over into core
358           from a plugin, obviously without ever having been tested (note the
359           single underscore in _declspec in the initial commit), and that doesn't
360           really make sense.  See #492077.
361
362 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
363
364         * gst/gst.c: (init_post):
365         * gst/gstevent.c: (_gst_event_initialize):
366         * gst/gstquery.c: (_gst_query_initialize):
367         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
368           g_type_class_ref() other types as well, see #349410 and #64764.
369
370         * gst/gstbuffer.c: (_gst_buffer_initialize):
371         * gst/gstmessage.c: (_gst_message_initialize):
372           Simplify existing g_type_class_ref().
373
374 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
375
376         * gst/gstformat.c: (_gst_format_initialize):
377           g_type_class_ref() our GstFormat type to make sure we avoid the
378           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
379           bug #64764. Should fix intermittent tee unit test failures (#474823).
380
381 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
382
383         * tests/check/elements/tee.c: (test_num_buffers):
384           Simplify, simplify, simplify - or not.  Rewrite unit test
385           not to use gst_parse_launch(); allow N sub-streams. Increasing
386           the number of sub-streams seems to reproduce #474823 more easily.
387
388 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
389
390         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
391
392         * gst/gsttrace.c:
393         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
394         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
395         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
396           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
397           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
398           so use _pipe() directly (#492077).
399
400         * win32/common/dirent.c: (_treaddir):
401           Add a couple of casts to make it build without warnings with MSVC.
402
403         * win32/common/libgstreamer.def:
404           Add some more symbols that need to be exported.
405
406 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
407
408         * tests/examples/metadata/read-metadata.c: (message_loop):
409           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
410           arriving in a second or third tag message are added to
411           the tag list as well.
412
413 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
414
415         * libs/gst/base/gstbasesrc.c:
416           Its "Since:" and not "@Since:". And remove an superflous cast.
417
418 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
419
420         * docs/libs/gstreamer-libs-sections.txt:
421         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
422         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
423         (gst_base_sink_get_property), (gst_base_sink_render_object),
424         (gst_base_sink_preroll_object),
425         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
426         (gst_base_sink_change_state):
427         * libs/gst/base/gstbasesink.h:
428         Add a new last-buffer property that contains the last buffer used in
429         basesink for preroll or rendering. useful for making snapshots.
430         API: gst_base_sink_get_last_buffer()
431         API: GstBaseSink::last-buffer
432
433 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
434
435         * docs/gst/running.xml:
436         * gst/gst.c:
437         * gst/gstdebugutils.c:
438         * gst/gstdebugutils.h:
439         * tools/gst-launch.c:
440           Improve bin graph dumping, by using the envvar to specify a path.
441           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
442
443 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
444
445         * plugins/elements/gsttypefindelement.c:
446           (gst_type_find_element_handle_event),
447           (gst_type_find_element_activate):
448           Post special error message if we can't determine the type of a stream
449           because it's empty.
450
451 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
452
453         * docs/gst/running.xml:
454         * gst/gstdebugutils.c:
455           Document new env-var. Add one log-line after dumpng a graph.
456
457 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
458
459         * configure.ac:
460           Ugly hack to put the (recently removed and non-portable, apparently)
461           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
462           GNU ld, because without that 'make check' fails miserably on my debian
463           stable box.  Someone with more knowledge of linker intricacies and
464           portability issues than me fix this properly please.
465
466 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
467
468         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
469         Reset last seen position after flushing so that we don't report the old
470         position anymore.
471
472 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
473
474         * gst/gstelementfactory.c: (gst_element_register):
475         * gst/gsturi.h:
476         Patch from Alessandro Decina adding get_type_full and
477         get_protocols_full private vfuncs to the URIHandler interface
478         to allow bindings to support creating URI handlers. 
479         Partially fixes: #339279
480         API: GstURIHandlerInterface::get_type_full
481         API: GstURIHandlerInterface::get_protocols_full
482
483 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
484
485         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
486         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
487         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
488         Make it so that pads are considered linked until a buffer is pushed
489         and discovered otherwise. This avoids problems with decodebin2 hanging
490         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
491         case.
492
493         Make sure we lock the multiqueue when updating the max-size properties.
494         
495         Fix a crash on Solaris in a debug statement in get_request_pad that
496         passes a NULL string to GST_DEBUG. 
497
498         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
499         (run_output_order_test):
500         Fix the test to allow the first buffer on not-linked pads to come out
501         of sequence while multiqueue discovers that they are not-linked.
502
503 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
504
505         * configure.ac:
506         * libs/gst/check/Makefile.am:
507         Use a custom export symbol regex for libgstcheck, as it needs
508         to export symbols that don't match the standard GStreamer gst_*
509         pattern, and  --export-dynamic is not portable (only works on 
510         GNU ld)
511
512         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
513         (gst_check_setup_sink_pad):
514         Make sure to pass a message parameter to the fail_* macros.
515
516         * tests/check/gst/gstinfo.c: (GST_START_TEST):
517         Fix some compiler warnings.
518
519 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
520
521         * tests/check/gst/gststructure.c: (test_to_string):
522           Disable test that checks that white spaces are not allowed
523           in structure names or field names, since we need to
524           support that for now for backwards compatibility reasons.
525
526 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
527
528         * docs/gst/gstreamer-sections.txt:
529         * gst/gsttaglist.c:
530         * gst/gsttaglist.h:
531           API: add GST_TAG_ARTIST_SORTNAME
532           API: add GST_TAG_ALBUM_SORTNAME
533           API: add GST_TAG_TITLE_SORTNAME
534           Add tag variants for sorting (#414539).
535
536 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
537
538         * gst/gststructure.c:
539           Also allow white space for names so we don't break
540           backwards compatibility.
541
542 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
543
544         * docs/design/part-TODO.txt:
545         * docs/design/part-segments.txt:
546         * docs/design/part-streams.txt:
547         Small updates.
548
549 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
550
551         * docs/gst/gstreamer-sections.txt:
552          Fixed documentation from my previous commit (added new API add
553          gst_value_set_structure(), add gst_value_get_structure() and
554          GST_VALUE_HOLDS_STRUCTURE).
555
556 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
557
558         * gst/gstdebugutils.c:
559           Reflow code to fix uninitialized variable warning.
560
561 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
562
563         * gst/gstcaps.c: (gst_caps_to_string),
564         (gst_caps_from_string_inplace):
565         * gst/gststructure.c: (gst_structure_get_abbrs),
566         (gst_structure_to_string), (gst_structure_from_string):
567         * gst/gstvalue.c: (gst_value_set_structure),
568         (gst_value_get_structure), (gst_value_serialize_structure),
569         (gst_value_deserialize_structure), (_gst_value_initialize):
570         * gst/gstvalue.h:
571         * tests/check/gst/gststructure.c: (GST_START_TEST),
572         (gst_structure_suite):
573         * tests/check/gst/gstvalue.c: (GST_START_TEST):
574          Added GstStructure to gst_value_table and its related functions.
575          Changed gst_structure_to_string to print ';' in the end.
576          Changed gst_caps_to_string to not print ';' beteween its
577          fields (structures) anymore and remove the lastes ';' from latest
578          structure. Now it is possible to have nested structures.
579          In addition, backward compatibilty is assured by accepting '\0' as
580          end delimiter. Fixes: #487969.
581          API: add gst_value_set_structure()
582          API: add gst_value_get_structure()
583          API: add GST_VALUE_HOLDS_STRUCTURE
584
585 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
586
587         * gst/gstbus.c:
588           When no GSource callback has been set up, tell developer
589           to use a function that actually exists.
590
591 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
592
593         * docs/gst/gstreamer-sections.txt:
594         * gst/Makefile.am:
595         * gst/gst.c:
596         * gst/gst.h:
597         * gst/gstdebugutils.c:
598         * gst/gstdebugutils.h:
599         * gst/gstinfo.c:
600         * gst/gstinfo.h:
601         * tools/gst-launch.c:
602           Allow dumping pipelines as dot graphs. Fixes #456573.
603
604 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
605
606         * gst/gststructure.c:
607           Allow '+' as well, it can be part of media or mime types
608           such as image/svg+xml.
609
610 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
611
612         * docs/gst/gstreamer-sections.txt:
613         * gst/gstbus.c:
614         * gst/gstbus.h:
615           API: add gst_bus_pop_filtered
616           API: add gst_bus_timed_pop_filtered
617           Two new functions for waiting for specific message types on the
618           bus for a specified amount of time without iterating any main
619           loops or main contexts.
620
621         * tests/check/gst/gstbus.c:
622           Some tests for the new functions.
623
624 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
625
626         * docs/libs/gstreamer-libs-sections.txt:
627           Make gtk-doc ignore stuff it should ignore.
628
629 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
630
631         * libs/gst/check/gstcheck.c:
632         * libs/gst/check/gstcheck.h:
633           Allow runtime selection of unit tests to run via the GST_CHECKS
634           environment variable (test case function names, comma-separated).
635
636 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
637
638         * gst/gststructure.c:
639         * tests/check/gst/gststructure.c:
640           Revert serialisation change and constrain structure-names after
641           consensus on irc. Update api documentation to reflect the change.
642
643 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
644
645         * gst/gststructure.c:
646           Improve serialization and fix tests.
647
648         * tests/check/gst/gststructure.c:
649           Add another test that covers why I actually did the previous structure
650           change.
651
652 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
653
654         * tools/gst-inspect.c: (print_element_info):
655         Don't crash when inspecting an element.
656
657 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
658
659         * tests/check/gst/gststructure.c:
660           Add unit test for escaping of structure name when serialising
661           and deserialising to/from strings.
662
663 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
664
665         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
666         (gst_single_queue_new):
667         * plugins/elements/gstqueue.c: (gst_queue_init),
668         (gst_queue_push_one):
669         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
670         upstream is tricked into thinking it can suggest a format downstream
671         while downstream does not support that format. The real problem is that
672         core calls acceptcaps when pushing a buffer with new caps, for which we
673         do a little workaround by setting the caps on the srcpad ourselves
674         before pushing the buffer (until this is figured out). Fixes #486758.
675
676 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
677
678         * gst/gststructure.c:
679         * gst/gstvalue.c:
680           Add some more comments and debug output. Quote structure name to fix
681           deserialisation of some strings.
682
683 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
684
685         * gst/gstbuffer.h:
686           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
687           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
688
689 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
690
691         * tools/gst-inspect.c:
692           Save approx. 400 1 byte allocs when printing. Use API to acces element
693           details.
694
695         * tools/gst-run.c:
696           Avoid a strdup.
697
698         * tools/gst-xmlinspect.c:
699           Use API to acces element details.
700
701 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
702
703         * gst/gstinfo.c:
704           Fix some spelling errors.
705
706 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
707
708         * gst/gstbin.c: (bin_handle_async_done):
709         Correctly set the next state if all of our async children commited their
710         state. This makes sure we can actually cancel the state change in
711         progress. Fixes a regression in Rhythmbox when seeking.
712
713 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
714
715         * gst/gstbin.c:
716           Don't shadow local variable.
717
718         * gst/gstinfo.c:
719           Don't shadow global function name.
720
721 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
722
723         * gst/gstelementfactory.c:
724         * gst/gstpluginfeature.c:
725         * gst/gstpluginfeature.h:
726         * gst/gstregistrybinary.c:
727         * gst/gstregistryxml.c:
728         * gst/gsttypefind.c:
729           Use already-interned string for the private GstPluginFeature
730           plugin_name field.
731
732 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
733
734         * docs/libs/gstreamer-libs-sections.txt:
735           Add new API to docs; fixes the build.
736
737 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
738         
739         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
740
741         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
742         (gst_base_sink_event):
743         * libs/gst/base/gstbasesink.h:
744         Add function to wait for EOS, subclasses can use this to correctly wait
745         for devices to drain before performing the EOS logic. Fixes #485343.
746         API: gst_base_sink_wait_eos()
747
748 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
749
750         * gst/gstplugin.h:
751           Cast description string constants in GST_PLUGIN_DEFINE macros
752           to a (gchar*) to make C++ code using these macros compile
753           without warning with g++-4.2 (see #462737).  Even if slightly
754           ugly, this seems preferable to putting the description strings
755           into the GLib quark table or making the structure member a
756           const gchar * and doing casts in core code that allocs and
757           frees these strings, or requiring a cast in the C++ code.
758
759 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
760
761         * gst/gstinfo.h:
762           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
763           to print the entire class/function signature into the log
764           file for C++ code.  This only affects C++ code, for C code
765           everything remains the same.
766
767 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
768
769         * gst/gstbin.c: (remove_from_queue):
770         Work around a problem with pipelines containing (semi)loops until a
771         proper, more complicated solution is ready. See #475455.
772
773 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
774
775         * gst/gstplugin.c:
776         * gst/gstplugin.h:
777         * gst/gstregistrybinary.c:
778         * gst/gstregistryxml.c:
779           Put more strings into the GLib quark table. No need to keep
780           a hundred-something copies of identical version strings,
781           license strings, package name strings and package origin
782           strings around. 
783
784 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
785
786         * docs/manual/advanced-dataaccess.xml:
787           Don't imply that it's okay to unconditionally change
788           buffer data or buffer metadata in a pad probe callback,
789           and a bunch of other comments. Fixes #430031.
790
791 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
792
793         * win32/common/gstenumtypes.c:
794         * win32/common/gstenumtypes.h:
795         * win32/common/gstversion.h:
796           Update generated files.
797
798 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
799
800         * docs/manual/advanced-autoplugging.xml:
801           Prefix section with broken code with a warning (see #342432).
802
803 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
804
805         * docs/manual/appendix-integration.xml:
806         * docs/manual/basics-init.xml:
807           Call g_thread_init() before g_option_context_new() to
808           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
809
810 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
811
812         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
813         (gst_base_sink_queue_object_unlocked),
814         (gst_base_sink_queue_object), (gst_base_sink_event),
815         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
816         When we received EOS and are waiting for when to post the EOS message,
817         our state is prerolled and we should not return ASYNC.
818         Reorganize some code paths to implement this behavior.
819
820         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
821         (gst_sinks_suite):
822         Add unit test to verify above EOS fix.
823
824 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
825
826         * plugins/elements/gsttypefindelement.c:
827         (gst_type_find_element_have_type), (gst_type_find_element_init),
828         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
829         Move detecting the input caps of the sinkpad to the setcaps function.
830         This allows us to update the output caps when we receive new input caps
831         instead of always using the first detected caps.
832
833 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
834
835         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
836         (gst_base_sink_get_position):
837         Don't try to preroll non-async elements after a flush.
838         Subtract latency form clock times when reporting position.
839
840 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
841
842         * gst/gstpad.c: (gst_pad_pause_task):
843         * gst/gstutils.c:
844         Small comment and documentation update.
845
846 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
847
848         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
849         (gst_base_src_set_live), (gst_base_src_is_live),
850         (gst_base_src_query_latency), (gst_base_src_perform_seek),
851         (gst_base_src_default_event), (gst_base_src_wait),
852         (gst_base_src_do_sync), (gst_base_src_get_range),
853         (gst_base_src_pad_get_range), (gst_base_src_loop),
854         (gst_base_src_unlock), (gst_base_src_unlock_stop),
855         (gst_base_src_set_flushing), (gst_base_src_set_playing),
856         (gst_base_src_activate_push), (gst_base_src_activate_pull),
857         (gst_base_src_change_state):
858         Rework the locking of basesrc in a similar fashion to basesink. We
859         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
860         us to handle live sources and semi live ones much better.
861         Simplify flushing.
862         Fix unlocking when seeking, shutting down and pausing in live sources.
863
864 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
865
866         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
867         Fix compilation again.
868
869 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
870
871         * gst/gstelement.c:
872           Use meaningful categories for the logs to clean the default one.
873
874 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
875
876         * tests/check/pipelines/cleanup.c:
877           Print message name and not just number.
878
879 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
880
881         * docs/design/draft-tagreading.txt:
882           Add some more thoughts.
883
884 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
885
886         * tests/check/pipelines/simple-launch-lines.c:
887           Print message name and not just number.
888
889 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
890
891         * libs/gst/base/gsttypefindhelper.c:
892           Speedup typefinding. This is work in progress (see #459862).
893
894 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
895
896         * gst/gstplugin.c:
897           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
898           Spotted by Josep Torra Valles <josep@fluendo.com>.
899
900 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
901
902         * gst/gstclock.h:
903           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
904           field has moved to GstObject.
905
906 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
907
908         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
909         (gst_base_src_get_range), (gst_base_src_change_state):
910         Call unlock for live sources so that they can't get stuck in _create and
911         produce a buffer before they are set back to PLAYING.
912
913 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
914
915         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
916         (gst_queue_locked_dequeue):
917         Comment the segment-related code... in the PROPER function.
918         See #482147 and my commit from yesterday.
919
920 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
921
922         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
923         Also initialize the counter that calculates the first timestamp on a
924         buffer correctly for non-live sources.
925
926 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
927
928         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
929         Disable code that's breaking the current-time-level reporting.
930         See #482147
931
932 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
933
934         * docs/gst/gstreamer-sections.txt:
935         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
936         as they shouldn't show up. Fixes the docs build.
937
938 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
939         
940         * gst/gstinfo.h:
941         Add an explicit variable importation needed on VS6 (only for MSC_VER)
942         Define M_PI which is used in files which are including gstinfo.h. 
943         VS6 includes doesn't define it.
944         * win32/common/libgstbase.def:
945         * win32/common/libgstcontroller.def:
946         * win32/common/libgstreamer.def:
947         Add new exported functions and variables.
948         * win32/vs6/libgstcontroller.dsp:
949         * win32/vs6/libgstreamer.dsp:
950         Update the list of files to build.
951         
952 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
953
954         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
955
956         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
957         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
958         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
959         Improve debugging. Fixes #480858.
960
961 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
962
963         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
964
965         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
966         First patch of code cleanups, use the macros and right arguments in the
967         macros to signal and lock the queue. See #480858.
968
969 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
970
971         * gst/gstbus.c: (poll_func):
972         Improve debugging when dealing with _poll().
973
974 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
975
976         * gst/gstregistryxml.c:
977           Fix memory leak I introduced a few days ago.
978
979 2007-09-26  Michael Smith <msmith@fluendo.com>
980
981         * gst/gstbuffer.c: (gst_buffer_finalize):
982           Make it once again possible to free GstBuffers in the default
983           build.
984           The poisoning scribbles on parts of the miniobject we need in
985           order to free it.
986           Fixes #480341
987
988 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
989
990         * docs/gst/gstreamer-sections.txt:
991         * gst/gsttaglist.c:
992         * gst/gsttaglist.h:
993         API: add GST_TAG_COMPOSER, fixes #459809.
994
995 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
996
997         * gst/gstplugin.c:
998         * gst/gstplugin.h:
999         Add the 3-clause BSD license and the MIT/X11 license to the license
1000         list. Fixes #479784.
1001
1002 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1003
1004         * docs/faq/getting.xml:
1005           Add Q+A about different GStreamer versions (#364056).
1006
1007 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1008
1009         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1010         (gst_base_sink_event), (gst_base_sink_change_state):
1011         Return correct gboolean from query function.
1012
1013 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1014
1015         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1016         (gst_base_sink_event), (gst_base_sink_query),
1017         (gst_base_sink_change_state):
1018         Simplify latency query.
1019         When not synchronizing, we can report latency without querying the peer
1020         element.
1021
1022 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1023
1024         * gst/gstobject.h:
1025         * gst/gstvalue.c:
1026         Fix small typos in the docs.
1027
1028 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1029
1030         * docs/design/draft-latency.txt:
1031         * docs/design/draft-push-pull.txt:
1032         * docs/design/draft-tagreading.txt:
1033         * docs/design/part-MT-refcounting.txt:
1034         * docs/design/part-activation.txt:
1035         * docs/design/part-block.txt:
1036         * docs/design/part-element-source.txt:
1037         * docs/design/part-events.txt:
1038         * docs/design/part-gstbin.txt:
1039         * docs/design/part-gstelement.txt:
1040         * docs/design/part-gstobject.txt:
1041         * docs/design/part-gstpipeline.txt:
1042         * docs/design/part-messages.txt:
1043         * docs/design/part-preroll.txt:
1044         * docs/design/part-push-pull.txt:
1045         * docs/design/part-qos.txt:
1046         * docs/design/part-query.txt:
1047         * docs/design/part-scheduling.txt:
1048         * docs/design/part-seeking.txt:
1049         * docs/design/part-segments.txt:
1050         * docs/design/part-states.txt:
1051         Documentation updates and typo fixes.
1052
1053 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1054
1055         * plugins/elements/gstfakesink.c:
1056           Add some debug text to error message to indicate that
1057           we errored out on request.
1058
1059         * tools/gst-launch.c:
1060           When the state change to PLAYING fails, check for an
1061           error message on the bus and print it.
1062
1063 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1064
1065         translated by: Jorge González González <aloriel@gmail.com>
1066
1067         * po/LINGUAS:
1068         * po/es.po:
1069           Added Spanish translation.
1070
1071 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1072
1073         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1074         Fix printf arguments.
1075
1076 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1077
1078         * tests/check/generic/states.c:
1079           Improved state change unit test.
1080
1081 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1082
1083         * gst/gstbin.h:
1084           Move priv to the right place.
1085
1086         * gst/gstsystemclock.c:
1087           Add FIXME: and improve log.
1088
1089         * tests/check/Makefile.am:
1090         * tests/examples/manual/Makefile.am:
1091           Work with all types of registries.
1092
1093 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1094
1095         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1096         Don't unref the event after pushing it. Fixes #478401.
1097
1098 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1099
1100         * .cvsignore:
1101         * tests/examples/manual/.cvsignore:
1102           Ignore registries in any format.
1103
1104 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1105
1106         * gst/glib-compat-private.h:
1107           Add compatibility macro for g_intern_string() for
1108           GLib-2.8 (any reason we can't just bump the
1109           requirement to at least 2.10?)
1110
1111         * gst/gstpadtemplate.h:
1112         * gst/gstelementfactory.c:
1113         * gst/gstregistryxml.c:
1114         * gst/gstregistrybinary.c:
1115           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1116           up the internal code accordingly.  This shouldn't be a problem, since
1117           there is no reason external code could ever assume the string in such
1118           a structure is dynamically allocated unless it did that itself;  the
1119           use of g_strdup() is private to element factories.  The new code also
1120           saves some memory by putting pad template name strings into the GLib
1121           quark table instead of allocating them dynamically.
1122           Declaring this field constant fixes warnings with g++-4.2 when using
1123           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1124
1125 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1126
1127         * gst/gstelementfactory.c:
1128           Release static caps. Fixes #475723.
1129
1130 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1131
1132         * gst/gstinfo.c:
1133         * gst/gstinfo.h:
1134           Make some internal API take const gchar * instead of just
1135           gchar * to avoid compiler warnings with g++-4.2.2 when
1136           passing string constants (partially fixes #478092).
1137
1138 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1139
1140         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1141         A latency query fails when one of the sinks fail.
1142
1143         * gst/gstelement.c: (gst_element_set_base_time):
1144         Improve debugging.
1145
1146 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1147
1148         * gst/gstbin.c: (gst_bin_continue_func):
1149         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1150         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1151         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1152
1153         Fix minor compilation warnings shown with Forte.
1154
1155 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1156
1157         * plugins/elements/gstqueue.c: (apply_buffer),
1158         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1159         Measure queue level based on the diff between head and tail timestamps
1160         even when pushing the first buffer.
1161
1162 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1163
1164         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1165         (gst_base_sink_event), (gst_base_sink_change_state):
1166         Sinks that don't preroll can always be queried for the latency.
1167         Don't post ASYNC start when we are not async.
1168
1169 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1170
1171         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1172         (gst_queue_handle_sink_event), (gst_queue_chain),
1173         (gst_queue_push_one), (gst_queue_handle_src_query),
1174         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1175         * plugins/elements/gstqueue.h:
1176         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1177         push more buffers but allow pushing of EOS and NEWSEGMENT.
1178         Add some more debug info here and there. Fixes #476514.
1179
1180 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1181
1182         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1183         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1184         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1185         (gst_base_sink_set_flushing), (gst_base_sink_query),
1186         (gst_base_sink_change_state):
1187         Latency query is allowed after we are prerolled. Introduce a new flag
1188         for this and stop abusing other variables.
1189
1190 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1191
1192         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1193         Push OOB events downstream when we get them in send_event. This allows
1194         the application to insert events in the pipeline.
1195         Add some more comments.
1196
1197 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1198
1199         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1200         (do_bin_latency), (gst_bin_change_state_func):
1201         * gst/gstpipeline.c: (gst_pipeline_change_state):
1202         Move latency query from GstPipeline to GstBin so that we can also
1203         use it when async-handling is enabled on bins.
1204
1205 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1206
1207         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1208         (gst_base_src_do_sync), (gst_base_src_change_state):
1209         Update docs.
1210         Clean up the timestamping and syncing code for pseudo live sources.
1211
1212 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1213
1214         Patch by: Steve Fink  <sphink gmail com>
1215
1216         * docs/manual/appendix-checklist.xml:
1217           Mention less -R switch in the section about debug output (#474055).
1218
1219 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1220
1221         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1222         Queue can latency to the pipeline up to the configured max size in time.
1223         Report this fact in the latency query.
1224
1225 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1226
1227         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1228
1229         * libs/gst/controller/gstinterpolation.c:
1230         * libs/gst/controller/gstlfocontrolsource.c:
1231         Use gst_guint64_to_gdouble() when converting from a uint64 or
1232         GstClockTime to double to fix the build on win32. Fixes #474371.
1233
1234 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1235
1236         * gst/gstbuffer.c: (gst_buffer_finalize):
1237         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1238         When finalizing a buffer the complete struct is filled with 0xff,
1239         thus making a use of the buffer after the final unref impossible.
1240
1241 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1242
1243         * tests/check/libs/controller.c: (GST_START_TEST):
1244         Use fail_unless_equals_int(a, b) instead of
1245         fail_unless_equals (a == b) to get better output on failures.
1246
1247 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1248
1249         * tests/check/gst/gsturi.c:
1250           Also check for the other file URI variant on win32.
1251
1252 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1253
1254         * gst/gsturi.c: (gst_uri_get_location):
1255           If there's no hostname, we want to return 'c:/foo/bar.txt'
1256           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1257
1258         * tests/check/gst/gsturi.c:
1259           Unit test for the above and a few more things.
1260
1261 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1262
1263         * docs/design/part-live-source.txt:
1264         Add docs on how live sources should timestamp.
1265
1266         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1267         Add some more debug info.
1268         For subclasses that are live and like to sync, add aditional startup
1269         latency to sync time and timestamps so that we timstamp according to the
1270         design doc.
1271
1272 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1273
1274         * gst/gstbuffer.c:
1275           Also do a g_type_class_ref() for the subbuffer type in
1276           the init function.
1277
1278 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1279
1280         * docs/gst/gstreamer-sections.txt:
1281         * gst/gstpad.c: (gst_pad_peer_query):
1282         * gst/gstpad.h:
1283         Add function to perform a query on the peer of a pad.
1284         API: gst_pad_peer_query()
1285
1286 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1287
1288         * tests/check/gst/gstsystemclock.c:
1289           Cleanup the test a little (use gst-logging and not g_message). Improve
1290           test to check if a wait reached the target.
1291
1292 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1293
1294         * docs/libs/gstreamer-libs-sections.txt:
1295           Add new API to docs and fix the build.
1296
1297 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1298
1299         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1300         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1301         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1302         (gst_base_src_get_property), (gst_base_src_do_sync):
1303         * libs/gst/base/gstbasesrc.h:
1304         Add property to make the basesrc timestamp buffers based on the current
1305         running time.
1306         API: GstBaseSrc::do-timestamp
1307         API: gst_base_src_set_do_timestamp()
1308         API: gst_base_src_get_do_timestamp()
1309
1310 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1311
1312         * docs/random/release:
1313           Really make sure translations are up-to-date before
1314           a release (#465010).
1315
1316 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1317
1318         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1319         Always destroy the timer, also in error cases.
1320
1321 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1322
1323         * docs/manual/highlevel-xml.xml:
1324         Fix XML example code. Fixes #472714.
1325
1326 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1327
1328         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1329         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1330         (gst_base_sink_query):
1331         Protect eos and have_preroll with the OBJECT lock so we don't need to
1332         take the PREROLL lock when querying the latency. Fixes #473846.
1333
1334 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1335
1336         * gst/gstelement.c:
1337           Give some log-messages a category.
1338
1339 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1340
1341         * gst/gststructure.c:
1342         (gst_structure_fixate_field_nearest_fraction):
1343         Fix fraction list fixation code. Take the fraction with the smallest
1344         difference with the target instead of the first one in the list.
1345
1346         * tests/check/gst/gststructure.c: (GST_START_TEST),
1347         (gst_structure_suite):
1348         Added test to verify correct fraction list fixation behaviour.
1349
1350 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1351
1352         * win32/common/libgstreamer.def:
1353           Export gst_bus_add_signal_watch too.
1354
1355 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1356
1357         * docs/libs/gstreamer-libs-sections.txt:
1358         Add new methods to docs.
1359
1360         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1361         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1362         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1363         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1364         * libs/gst/base/gstbasesink.h:
1365         Add ts-offset property to fine-tune the synchronisation.
1366         API: GstBaseSink::ts-offset property
1367         API: gst_base_sink_set_ts_offset()
1368         API: gst_base_sink_get_ts_offset()
1369
1370 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1371
1372         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1373         (gst_base_sink_init), (gst_base_sink_set_sync),
1374         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1375         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1376         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1377         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1378         (gst_base_sink_get_property), (gst_base_sink_change_state):
1379         * libs/gst/base/gstbasesink.h:
1380         Add async property to instruct the sink never to inform the parent about
1381         ASYNC state changes, update docs.
1382         Check argument with g_return_* for the public functions.
1383         API: GstBaseSink::async property
1384         API: gst_base_sink_set_async_enabled()
1385         API: gst_base_sink_is_async_enabled()
1386
1387 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1388
1389         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1390         Improve debugging.
1391
1392         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1393         (gst_base_src_default_query), (gst_base_src_wait),
1394         (gst_base_src_do_sync), (gst_base_src_change_state):
1395         Rearrange some code so that we can add support for measuring the 
1396         startup latency.
1397
1398 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1399
1400         * docs/random/ensonic/dynlink.txt:
1401           More thoughs on this.
1402
1403         * plugins/elements/gstcapsfilter.c:
1404           Add bugzilla ticket number to FIXME comment.
1405
1406 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1407
1408         * docs/design/part-TODO.txt:
1409         * docs/design/part-block.txt:
1410         Update some docs.
1411
1412 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1413
1414         * gst/Makefile.am:
1415           Revert patch which uses $(gst_headers) instead of $^ because it
1416           breaks make dist.
1417
1418 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1419
1420         * tests/check/gst/gstbin.c: (GST_START_TEST):
1421           Fix leaks in the new unit test.
1422
1423 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1424
1425         * gst/gst.c:
1426           Don't use GST_INFO before the debug system is actually initialised
1427           (shouldn't do any harm, but won't print anything either, so we can
1428           just as well remove it).
1429
1430         * gst/gstinfo.h:
1431           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1432           compilers that don't support variadic macros (such as MSVC), should
1433           check for debug_level <= __gst_debug_min as well, since that's the
1434           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1435           inline helper functions. Should improve performance a bit, but also
1436           makes sure uses of GST_INFO et.al are ignored if the debugging
1437           system isn't initialised yet (instead of printing an assertion
1438           failure).
1439
1440 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1441
1442         patch by: David Nečas <yeti@physics.muni.cz>
1443
1444         * gst/Makefile.am:
1445           Replace some non portable makefile constructs.
1446
1447 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1448
1449         * common/gtk-doc-plugins.mak:
1450           Grrrrr. Don't remove the types file on make clean.
1451
1452 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1453
1454         * tools/gst-launch.1.in:
1455         Add colorspace to example pipeline. Fixes #458274.
1456
1457 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1458
1459         * docs/random/release:
1460           The release manager should run 'make download-po' before making a
1461           release to make sure translations are up-to-date.
1462
1463         * po/LINGUAS:
1464         * po/be.po:
1465         * po/pl.po:
1466         * po/rw.po:
1467           Add some new translations.
1468
1469 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1470
1471         * tools/gst-launch.c: (event_loop), (main):
1472         Don´t try to do any state management when a live pipeline posts
1473         buffering messages.
1474         Also make the buffering string translatable.
1475
1476 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1477
1478         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1479         (bin_handle_async_start), (gst_bin_handle_message_func):
1480         Improve debugging.
1481         When adding elements, insert messages into the bus of the newly added
1482         element and make sure the element is the source of the message. This
1483         allows the parent bin to intercept the message and do the
1484         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1485         messages to the app (which is not allowed).
1486         Update some docs.
1487
1488         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1489         Fix testsuite so that is does not work around messages that should not
1490         have been posted in the first place.
1491
1492 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1493
1494         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1495         (update_degree), (gst_bin_sort_iterator_next):
1496         Fix annoying bug in the sorted iterator where a sink that is not really
1497         a sink (when it has downstream links) screwed up the iterator.
1498
1499         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1500         Unit test to verify the fix.
1501
1502 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1503
1504         * gst/gstmessage.h:
1505         Add some more docs for the messages.
1506
1507         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1508         (gst_base_sink_query):
1509         Add some more debugging.
1510
1511         * tools/gst-launch.c: (event_loop):
1512         When interrupting, don't try to set pipeline to PAUSED twice.
1513
1514 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1515
1516         
1517         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1518         (bin_handle_async_start), (gst_bin_handle_message_func):
1519         Move ASYNC_START message posting to where it belongs, similar to
1520         async_done. 
1521         Don't post ASYNC_START when we are in error. 
1522         Post ASYNC_START when we added an async element to a bin.
1523
1524 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1525
1526         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1527         generation from vargs. Fixes #466595.
1528
1529 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1530
1531         * gst/gstbin.c: (gst_bin_element_set_state):
1532         Always change the state of a NO_PREROLL element even if it has ASYNC
1533         elements inside (in case of a bin).
1534
1535         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1536         Unit test for this case.
1537
1538 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1539
1540         * libs/gst/check/gstbufferstraw.c:
1541         * libs/gst/check/gstcheck.h:
1542         * libs/gst/controller/gstcontroller.c:
1543         * libs/gst/controller/gstcontrolsource.h:
1544         * libs/gst/controller/gstlfocontrolsource.h:
1545         * plugins/elements/gstcapsfilter.h:
1546         * plugins/elements/gstfdsink.h:
1547         * plugins/elements/gstfdsrc.h:
1548           Add more missing docs.
1549
1550 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1551
1552         * gst/gststructure.c:
1553         Add Since tag to docs.
1554
1555 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1556
1557         * docs/gst/gstreamer-sections.txt:
1558         * gst/gststructure.c: (gst_structure_get_uint):
1559         * gst/gststructure.h:
1560         Add function to get uint from a structure.
1561         API: gst_structure_get_uint()
1562
1563 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1564
1565         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1566         (gst_caps_intersect):
1567         Fix proper check for simple caps.
1568
1569 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1570
1571         * docs/gst/Makefile.am:
1572         * docs/libs/Makefile.am:
1573           Remove cruft and do some cleanups.
1574
1575         * docs/gst/gstreamer-docs.sgml:
1576         * docs/libs/gstreamer-libs-docs.sgml:
1577           Prepare for comming gtkdoc features (rebase against online docs).
1578
1579 2007-08-10  Michael Smith <msmith@fluendo.com>
1580
1581         * docs/gst/gstreamer-sections.txt:
1582           Add gst_registry_add_path to docs.
1583
1584 2007-08-10  Michael Smith <msmith@fluendo.com>
1585
1586         * gst/gstregistry.h:
1587           Add gst_registry_add_path, which was missing from this header.
1588
1589 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1590
1591         * libs/gst/controller/gstlfocontrolsource.c:
1592           Printf format fix.
1593
1594 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1595
1596         * libs/gst/base/gstbasesink.c:
1597           Don't send an async_start message during downwards state change if 
1598           target state is less than READY
1599
1600 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1601
1602         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1603
1604         * po/LINGUAS:
1605         * po/hu.po:
1606           Added Hungarian translation.
1607
1608 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1609
1610         * po/fi.po:
1611         * po/it.po:
1612         * po/nl.po:
1613         * po/sv.po:
1614         * po/uk.po:
1615           Updated translations.
1616
1617 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1618
1619         * libs/gst/controller/Makefile.am:
1620         Dist gstlfocontrolsourceprivate.h
1621
1622 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1623
1624         * docs/libs/gstreamer-libs.types:
1625         Don't register the enum type gst_lfo_waveform_get_type() in the
1626         .types file - only GObject derived types belong.
1627
1628 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1629
1630         Patch by: <arenevier at fdn dot fr>
1631
1632         * gst/gstbuffer.h:
1633         Remove comma from last element in enum to avoid compile errors when
1634         using -pendantic. Fixes #464366.
1635
1636 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1637
1638         * docs/design/part-TODO.txt:
1639         Add some more TODO items
1640
1641         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1642         Improve debugging.
1643
1644         * gst/gstcaps.c: (gst_caps_intersect):
1645         Optimize trivial intersection case between identical caps pointers.
1646
1647         * gst/gstelement.c: (gst_element_continue_state),
1648         (gst_element_set_state_func):
1649         * gst/gstpad.c:
1650         Fix spelling and grammar mistakes.
1651
1652 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1653
1654         * po/POTFILES.in:
1655         * po/POTFILES.skip:
1656           Update POTFILES. Fixes #461599.
1657
1658 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1659
1660         * gst/gst.c:
1661         Fix confusing typo in debug output.
1662
1663 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1664
1665         reviewed by: Stefan Kost <ensonic@users.sf.net>
1666
1667         * libs/gst/controller/Makefile.am:
1668         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1669         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1670         (gst_lfo_control_source_new),
1671         (gst_lfo_control_source_set_waveform),
1672         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1673         (gst_lfo_control_source_finalize),
1674         (gst_lfo_control_source_dispose),
1675         (gst_lfo_control_source_set_property),
1676         (gst_lfo_control_source_get_property),
1677         (gst_lfo_control_source_class_init):
1678         * libs/gst/controller/gstlfocontrolsource.h:
1679         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1680         API: Add GstLFOControlSource, a control source that gives values
1681         for specific timestamps based on several periodic waveforms.
1682         Fixes #459717.
1683
1684         * tests/check/libs/controller.c: (GST_START_TEST),
1685         (gst_controller_suite):
1686         * docs/libs/gstreamer-libs-docs.sgml:
1687         * docs/libs/gstreamer-libs-sections.txt:
1688         * docs/libs/gstreamer-libs.types:
1689         Add documentation and unit tests for GstLFOControlSource.
1690
1691 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1692
1693         * configure.ac:
1694         Back to CVS
1695
1696 === release 0.10.14 ===
1697
1698 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1699
1700         * configure.ac:
1701           releasing 0.10.14, "Breathing Vacuum"
1702
1703 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1704
1705         * gst/gstelement.c: (gst_element_class_set_details_simple):
1706         * gst/gstelement.h:
1707           Make strings passed to gst_element_class_set_details_simple()
1708           constant, as they should be (#462752).
1709
1710 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1711
1712         * gst/gstbin.c: (gst_bin_change_state_func),
1713         (bin_handle_async_done), (gst_bin_handle_message_func):
1714         Don't forget about the fact that some element went ASYNC even after a
1715         resync. This makes us post the ASYNC_DONE message correctly.
1716         Fixes #462558.
1717
1718 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1719
1720         * gst/gstregistry.c: (gst_registry_add_feature):
1721         When replacing an existing feature in the registry, make sure to
1722         continue holding a reference until we've replaced the name string
1723         within our feature hash table. Make sure to use g_hash_table_replace
1724         instead of g_hash_table_insert to ensure the new name string is used
1725         as a key instead of the old one that we're about to free.
1726         Fixes: #462085
1727
1728 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1729
1730         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1731         (gst_plugin_feature_set_name):
1732         Revert patch from #459466 until after the release and we can work
1733         out exactly what the problem is (if any).
1734
1735 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1736
1737         * docs/gst/gstreamer-sections.txt:
1738         * gst/gsttaglist.c:
1739         * gst/gsttaglist.h:
1740           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1741
1742 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1743
1744         * docs/libs/Makefile.am:
1745         Include our build-prefix libs and includes before the generic ones to
1746         avoid linking against the installed libs when we want the build-tree
1747         ones.
1748
1749 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1750
1751         Patch by: Steve Fink  <sphink gmail com>
1752
1753         * docs/pwg/building-testapp.xml:
1754           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1755           if people try to build or install the example from the plugin
1756           template against a GStreamer from package using the configure
1757           defaults.
1758
1759 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1760
1761         Patch by: Steve Fink  <sphink gmail com>
1762
1763         * tools/gst-inspect.1.in:
1764           Document --print-all and --print-plugin-auto-install-info command
1765           line options in man page.
1766
1767 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1768
1769         * docs/gst/gstreamer-sections.txt:
1770         Add docs for new api function.
1771
1772 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1773
1774         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1775         * gst/gstelementfactory.h:
1776         API: gst_element_factory_has_interface()
1777         Added method to check if an element factory implements a named
1778         interface.
1779
1780 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1781
1782         * configure.ac:
1783         * docs/gst/gstreamer.types.in:
1784           Another conditional doc check.
1785
1786         * gst/gstmessage.c:
1787         * gst/gstparamspecs.h:
1788         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1789         * gst/gstvalue.c:
1790         * gst/gstxml.h:
1791           API-doc fixes.
1792
1793 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1794
1795         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1796         (gst_registry_binary_load_feature),
1797         (gst_registry_binary_load_plugin),
1798         (gst_registry_binary_read_cache):
1799           Print error just once and with additional info.
1800
1801 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1802
1803         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1804         (helper_find_suggest), (helper_find_get_length),
1805         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1806         (gst_type_find_helper_for_buffer):
1807           Cleanup the typefindhelper code and add private doc comments.
1808
1809 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1810
1811         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1812         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1813         Fix capsfilter for cases where the caps set on capsfilter will provide
1814         additional information.
1815         Fixes #449197
1816
1817 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1818
1819         * gst/gsttypefindfactory.c:
1820           Fix docs that recommened wrong function to use.
1821
1822 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1823
1824         * tools/gst-inspect.c: (print_plugin_features):
1825           Also give media-type for typefinders in element output.
1826
1827 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1828
1829         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1830         (gst_registry_remove_features_for_plugin_unlocked),
1831         (gst_registry_add_feature), (gst_registry_remove_feature),
1832         (gst_registry_lookup_feature_locked):
1833         * gst/gstregistry.h:
1834           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1835           Fixes #459501.
1836
1837 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1838
1839         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1840         (gst_plugin_feature_set_name):
1841           Avoid double memory usage for pluginfeature names. Fixes #459466.
1842
1843 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1844
1845         * gst/gstpad.h:
1846           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1847           driving the pipeline may need to explicitly check for NOT_LINKED as
1848           well, since IS_FATAL doesn't cover that.
1849
1850 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1851
1852         * docs/pwg/advanced-types.xml:
1853           Fix typo and duplicate entry in video formats list.
1854
1855 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1856
1857         * libs/gst/controller/gstinterpolation.c:
1858         Also round to the nearest int when using cubic interpolation.
1859
1860 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1861
1862         * libs/gst/controller/gstinterpolation.c:
1863         When linearly interpolating integer types, round to the nearest int
1864         by adding 0.5. Don't do it for float/double types.
1865         Fixes the failing controller test on my machine, which is somehow
1866         rounding differently than on the buildbots.
1867
1868 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1869
1870         * tools/gst-plot-timeline.py:
1871           Better log parsing (categories can have -). Adjust text vs. lines, so
1872           that they span the same y-range.        
1873
1874 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1875
1876         * docs/random/ensonic/audiobaseclasses.txt:
1877         * docs/random/ensonic/dynlink.txt:
1878         * docs/random/ensonic/profiling.txt:
1879           Save my thoughts.
1880
1881         * docs/random/moving-plugins:
1882           Add note to use g_assert type macros.
1883
1884 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1885
1886         * configure.ac:
1887         * libs/gst/check/Makefile.am:
1888           Add libm check as we use in for plugins.
1889
1890 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
1891
1892         * gst/gstbin.c: (gst_bin_continue_func):
1893         Check that the state_cookie hasn't changed since the continue_func
1894         was scheduled. Avoids problems where the state changes back to
1895         something it shouldn't be because it was changed in the meantime.
1896
1897 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
1898
1899         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1900         (gst_registry_binary_save_string),
1901         (gst_registry_binary_save_pad_template),
1902         (gst_registry_binary_save_feature),
1903         (gst_registry_binary_save_plugin),
1904         (gst_registry_binary_load_feature),
1905         (gst_registry_binary_load_plugin),
1906         (gst_registry_binary_read_cache):
1907           Fix memory leak. Be less verbose in the log.
1908
1909 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1910
1911         * tests/check/elements/.cvsignore:
1912         Add file to cvsignore as commanded.
1913
1914 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1915
1916         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1917         (mq_dummypad_event), (run_output_order_test):
1918         Use a GStaticMutex to protect all cases where libcheck
1919         fail_if/fail_unless macros might be called from multiple threads
1920         simultaneously to avoid errors like:
1921           "check_pack.c:107: :-1081725400:Bad message type arg"
1922
1923 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1924
1925         * tests/check/pipelines/stress.c: (GST_START_TEST):
1926         Make sure we set the pipeline back to the NULL state before
1927         dropping our final reference.
1928
1929 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1930
1931         * tests/check/elements/tee.c: (GST_START_TEST):
1932         Make the tee stress-test a little less stressful so it doesn't just
1933         time out on slow-machines, and remove a small race when it's starting 
1934         up by adding a get_state() call.
1935
1936 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
1937
1938         * gst/gst.c:
1939           Avoid reading registry twice on startup. Fixes #457322.
1940
1941 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1942
1943         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1944         * pkgconfig/gstreamer-check.pc.in:
1945         Substitute the CFLAGS for libcheck into our .pc file too so that
1946         dependent modules will pick it up properly if libcheck is installed
1947         into some other prefix.
1948
1949 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1950
1951         * configure.ac:
1952         Revert the pkg-config check for libcheck, since it pulls in the
1953         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1954         a proper solution, either from the check project, or something else.
1955
1956 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
1957
1958         * configure.ac:
1959           Use pkg-config to locate check.
1960
1961 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
1962
1963         * gst/gsttaglist.c:
1964           Fix doc syntax.
1965
1966         * gst/gstutils.c:
1967         * gst/gstutils.h:
1968           Add deprecation guards.
1969
1970         * libs/gst/base/gstcollectpads.h:
1971           Don't document object (this is implicitly private).
1972
1973 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
1974
1975         * gst/gststructure.c: (gst_structure_parse_value):
1976           When deserialising foo=bar without a type cast, check if it's a
1977           boolean before falling back to a string type, otherwise things like
1978           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1979           because the filtercaps end up having a signed=(string)true field,
1980           which causes problems later when intersection caps.
1981
1982         * tests/check/gst/gststructure.c: (GST_START_TEST):
1983           Add a unit test for this.
1984
1985 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
1986
1987         Reviewed by: Stefan Kost <ensonic@users.sf.net>
1988
1989         * libs/gst/controller/Makefile.am:
1990         * libs/gst/controller/gstcontroller.c:
1991         (gst_controlled_property_add_interpolation_control_source),
1992         (gst_controlled_property_new), (gst_controlled_property_free),
1993         (gst_controller_find_controlled_property),
1994         (gst_controller_new_valist), (gst_controller_new_list),
1995         (gst_controller_new), (gst_controller_remove_properties_valist),
1996         (gst_controller_remove_properties_list),
1997         (gst_controller_remove_properties),
1998         (gst_controller_set_property_disabled),
1999         (gst_controller_set_disabled), (gst_controller_set_control_source),
2000         (gst_controller_get_control_source), (gst_controller_get),
2001         (gst_controller_sync_values), (gst_controller_get_value_array),
2002         (_gst_controller_dispose), (gst_controller_get_type),
2003         (gst_controlled_property_set_interpolation_mode),
2004         (gst_controller_set), (gst_controller_set_from_list),
2005         (gst_controller_unset), (gst_controller_unset_all),
2006         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2007         * libs/gst/controller/gstcontroller.h:
2008         * libs/gst/controller/gstcontrollerprivate.h:
2009         * libs/gst/controller/gstcontrolsource.c:
2010         (gst_control_source_class_init), (gst_control_source_init),
2011         (gst_control_source_get_value),
2012         (gst_control_source_get_value_array), (gst_control_source_bind):
2013         * libs/gst/controller/gstcontrolsource.h:
2014         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2015         (gst_object_get_control_source):
2016         * libs/gst/controller/gstinterpolation.c:
2017         (gst_interpolation_control_source_find_control_point_node),
2018         (gst_interpolation_control_source_get_first_value),
2019         (_interpolate_none_get), (interpolate_none_get),
2020         (interpolate_none_get_boolean_value_array),
2021         (interpolate_none_get_enum_value_array),
2022         (interpolate_none_get_string_value_array),
2023         (_interpolate_trigger_get), (interpolate_trigger_get),
2024         (interpolate_trigger_get_boolean_value_array),
2025         (interpolate_trigger_get_enum_value_array),
2026         (interpolate_trigger_get_string_value_array):
2027         * libs/gst/controller/gstinterpolationcontrolsource.c:
2028         (gst_control_point_free), (gst_interpolation_control_source_reset),
2029         (gst_interpolation_control_source_new),
2030         (gst_interpolation_control_source_set_interpolation_mode),
2031         (gst_interpolation_control_source_bind),
2032         (gst_control_point_compare), (gst_control_point_find),
2033         (gst_interpolation_control_source_set_internal),
2034         (gst_interpolation_control_source_set),
2035         (gst_interpolation_control_source_set_from_list),
2036         (gst_interpolation_control_source_unset),
2037         (gst_interpolation_control_source_unset_all),
2038         (gst_interpolation_control_source_get_all),
2039         (gst_interpolation_control_source_get_count),
2040         (gst_interpolation_control_source_init),
2041         (gst_interpolation_control_source_finalize),
2042         (gst_interpolation_control_source_dispose),
2043         (gst_interpolation_control_source_class_init):
2044         * libs/gst/controller/gstinterpolationcontrolsource.h:
2045         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2046         API: Refactor GstController into the core controller which can take
2047         a GstControlSource for providing actual values for timestamps.
2048         Implement a interpolation control source and use this for backward
2049         compatibility, deprecate a bunch of functions that are now handled
2050         by GstControlSource or GstInterpolationControlSource.
2051         Make it possible to disable the controller completely or only for
2052         specific properties. Fixes #450711.
2053         * docs/libs/gstreamer-libs-docs.sgml:
2054         * docs/libs/gstreamer-libs-sections.txt:
2055         * docs/libs/gstreamer-libs.types:
2056         Add new functions and classes to the docs.
2057         * tests/check/libs/controller.c: (GST_START_TEST),
2058         (gst_controller_suite):
2059         * tests/examples/controller/audio-example.c: (main):
2060         Port unit test and example to the new API and add some new
2061         unit tests.
2062
2063 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2064
2065         Patch by: Mark Nauwelaerts <manauw at skynet be>
2066
2067         * plugins/elements/gstmultiqueue.c:
2068         (gst_multi_queue_get_internal_links), (apply_buffer),
2069         (single_queue_overrun_cb), (gst_single_queue_new):
2070         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2071         the pipeline layout can be tracked correctly. Fixes #453732.
2072
2073 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2074
2075         * docs/gst/Makefile.am:
2076         * docs/libs/Makefile.am:
2077         * docs/plugins/Makefile.am:
2078           Simplify --extra-dir as gtkdoc scans recursively.
2079
2080 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2081
2082         * tools/gst-launch.c: (main):
2083         When we got an error, there is no point in waiting for preroll when
2084         shutting down.
2085
2086 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2087
2088         * plugins/elements/gsttee.c: (gst_tee_base_init),
2089         (gst_tee_request_new_pad), (gst_tee_release_pad),
2090         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2091         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2092         (gst_tee_chain):
2093         Be a lot smarter when deciding what srcpad to use for proxying
2094         the buffer_alloc. Also handle pad added/removed when doing so.
2095         Fixes #357959.
2096         Keep track of what pads we already pushed on in case we have pads
2097         added/removed while pushing. Fixes #374639 
2098
2099         * tests/check/Makefile.am:
2100         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2101         (tee_suite):
2102         Added unit test for pad resync.
2103
2104 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2105
2106         * po/nl.po:
2107         * po/sv.po:
2108           Updated translations.
2109
2110 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2111
2112         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2113
2114         * po/LINGUAS:
2115         * po/fi.po:
2116           Added new Finnish translation.
2117
2118 2007-06-28  Wim Taymans  <wim@fluendo.com>
2119
2120         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2121         (single_queue_overrun_cb):
2122         When figuring out when a queue is filled, use our internal time estimate
2123         based on segments, just like check_full does.
2124
2125 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2126
2127         * gst/gstminiobject.c: (gst_mini_object_get_type):
2128           Remove 3 do-nothing methods.
2129
2130 2007-06-27  Wim Taymans  <wim@fluendo.com>
2131
2132         Patch by: Tim Angus <tim at ngus dot net>
2133
2134         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2135         (gst_capsfilter_set_property):
2136         Take a reference instead of a copy when setting "caps".
2137         Fix documentation to clarify this behaviour. Fixes #449414.
2138
2139 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2140
2141         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2142         * gst/gstplugin.c: (gst_plugin_init):
2143         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2144         * gst/gstquery.c: (gst_query_get_type):
2145         * gst/gstregistry.c: (gst_registry_init):
2146         * gst/gsturi.c: (gst_uri_handler_base_init):
2147           Remove empty instance_init() functions to save relocs and lessen the
2148           noise. Remove some of the function prototypes that are doubled by
2149           G_DEFINE_TYPE.
2150           
2151 2007-06-27  Wim Taymans  <wim@fluendo.com>
2152
2153         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2154
2155         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2156         Add peer and direction in the XML serialisation of ghostpads.
2157         Fixes #449226.
2158
2159 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2160
2161         * configure.ac:
2162           Preserve useful information, thanks Tim.
2163
2164 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2165
2166         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2167         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2168         (gst_single_queue_push_one), (gst_multi_queue_loop),
2169         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2170         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2171         (compute_high_id), (gst_single_queue_new):
2172         * plugins/elements/gstmultiqueue.h:
2173         Take the multiqueue lock when updating the fill level so we don't get
2174         confused. 
2175
2176         After applying a buffer or event on the src pad segment, make sure to
2177         call gst_data_queue_limits_changed() to get the data queue to unblock
2178         and check the filled state again.
2179         
2180         Rework the not-linked pad handling so the logic is that not-linked 
2181         pads can push as fast as they like, but only so they never get 
2182         ahead of any linked pads.
2183
2184         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2185         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2186         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2187
2188         Add a test to check that not-linked pads always stay behind
2189         linked pads.
2190
2191         Fixes: #430682
2192
2193 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2194
2195         * docs/random/release:
2196           Some updates to the release procedure.
2197
2198 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2199
2200         * gst/gstelementfactory.c: (__gst_element_details_clear):
2201           Microoptimization that saves stunning 80 bytes.
2202
2203 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2204
2205         * docs/plugins/gstreamer-plugins.args:
2206         * docs/plugins/inspect/plugin-coreelements.xml:
2207         * docs/plugins/inspect/plugin-coreindexers.xml:
2208           Update docs with caps info.
2209
2210 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2211
2212         * po/it.po:
2213           Updated Italian translation.
2214
2215 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2216
2217         * ChangeLog:
2218         * po/vi.po:
2219           Update Vietnamese translations.
2220
2221 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2222
2223         * libs/gst/base/gstbasesink.c:
2224           Remove unused signal enum.
2225
2226 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2227
2228         * docs/gst/gstreamer-sections.txt:
2229         * gst/gstelement.c:
2230         * gst/gstutils.c: (gst_type_register_static_full):
2231         Beef up and include the docs for gst_type_register_static_full and
2232         gst_element_class_set_details_simple and add the API keyword
2233         in the ChangeLog.
2234
2235 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2236
2237         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2238         (update_time_level), (gst_single_queue_push_one),
2239         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2240         (single_queue_overrun_cb), (single_queue_underrun_cb),
2241         (single_queue_check_full):
2242         Fix setting max-* properties after adding queues.
2243         Use IS_FILLED for checking visible items.
2244         Signal overrun if multiple queues overrun.
2245         Add extra debug output.
2246         Patch by: Wim Taymans <wim@fluendo.com>
2247
2248 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2249
2250         * gst/gstelement.c: (gst_element_class_set_details_simple):
2251         * gst/gstelement.h:
2252         * gst/gstutils.c: (gst_type_register_static_full):
2253         * gst/gstutils.h:
2254         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2255         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2256         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2257         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2258         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2259         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2260         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2261         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2262         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2263         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2264         (apply_buffer), (gst_queue_chain):
2265         * plugins/elements/gsttee.c: (gst_tee_base_init):
2266         * plugins/elements/gsttypefindelement.c:
2267         (gst_type_find_element_base_init),
2268         (gst_type_find_element_class_init):
2269           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2270           API: add gst_type_register_static_full
2271           API: add gst_element_class_set_details_simple
2272
2273 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2274
2275         * docs/pwg/advanced-types.xml:
2276           Fix typo in iana.org URI.
2277
2278 2007-06-19  Andy Wingo  <wingo@pobox.com>
2279
2280         * tests/check/pipelines/simple-launch-lines.c
2281         (test_state_change_returns): Enable pull-mode tests now that
2282         basesink has been fixed.
2283
2284         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2285         Changed from gst_base_sink_is_prerolled, reversing the sense of
2286         the return value. Returns FALSE also if the sink is in pull mode,
2287         in which case it needs no preroll.
2288         (gst_base_sink_query, gst_base_sink_change_state): Update for
2289         needs_preroll change.
2290         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2291         chaining up, in which we return SUCCESS directly if we activated
2292         in pull mode instead of ASYNC. Involves countering an async_start
2293         message sent before chaining up; not sure if this is correct, in
2294         an ideal world we only send async-start when activating in push
2295         mode.
2296
2297         * tests/check/pipelines/simple-launch-lines.c
2298         (test_state_change_returns): New test, partially disabled until
2299         basesink is fixed.
2300
2301 2007-06-19  Wim Taymans  <wim@fluendo.com>
2302
2303         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2304         (gst_multi_queue_sink_event):
2305         Fix event leak.
2306
2307 2007-06-19  Wim Taymans  <wim@fluendo.com>
2308
2309         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2310         (gst_bin_change_state_func), (bin_push_state_continue),
2311         (bin_handle_async_start), (bin_handle_async_done),
2312         (gst_bin_handle_message_func):
2313         Move the common code for posting state-change messages into
2314         one function.
2315         Broadcast the state signal after we posted the messages.
2316         Mark the bin as busy when it's doing a state-change.
2317         Make sure async-start/done messages don't interfere with the bin's
2318         state when it's busy.
2319         After the state change, let the bin check which elements completed the
2320         state change while it was busy so that it can update its state.
2321
2322 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2323
2324         * docs/random/release:
2325         Add a note about updating the doap file to the release checklist
2326
2327 2007-06-18  Wim Taymans  <wim@fluendo.com>
2328
2329         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2330         (gst_single_queue_push_one), (gst_multi_queue_chain),
2331         (gst_multi_queue_sink_event):
2332         Make sure we don't reference the buffer/event after we have given away
2333         ownership in the queue.
2334
2335 2007-06-18  Wim Taymans  <wim@fluendo.com>
2336
2337         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2338         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2339         Update queue state _after_ adding the item in the queue because else we
2340         could end up being full without the element added yet.
2341
2342 2007-06-18  Wim Taymans  <wim@fluendo.com>
2343
2344         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2345         (gst_bin_remove_func), (gst_bin_get_state_func),
2346         (gst_bin_element_set_state), (gst_bin_continue_func),
2347         (bin_push_state_continue), (bin_handle_async_start),
2348         (bin_handle_async_done), (gst_bin_handle_message_func):
2349         * gst/gstbin.h:
2350         Immediatly commit the toplevel bin state when receiving an async-done
2351         message. This enables us to avoid spawning a thread to commit the state
2352         in some common cases and it also avoids some races.
2353         Avoid spawning a state thread when adding/removing async elements to a
2354         toplevel bin. Instead we immediatly update the bin state.
2355         Get rid of iterating all the children when getting the state in the bin
2356         because it is now always up-to-date.
2357         Fix bug where locked elements would always return _SUCCESS even it they
2358         returned NO_PREROLL before being locked.
2359         Fix the order of the state_change, async-start/done messages that was
2360         sometimes incorrect.
2361         Mark the state_dirty field as deprecated, we don't need it anymore as we
2362         are always up-to-date.
2363
2364         * gst/gstelement.c: (gst_element_get_state_func),
2365         (gst_element_continue_state):
2366         Small debug inprovements.
2367         Return the previous element state return when nothing is pending instead
2368         of blindly returning SUCCESS.
2369
2370         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2371         (gst_sinks_suite):
2372         Add a whole bunch of new testcases.
2373
2374 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2375
2376         * po/uk.po:
2377         * po/vi.po:
2378           Update translations.
2379
2380 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2381
2382         * gst/gstpad.c:
2383         Fix typo in the docs.
2384
2385 2007-06-15  Wim Taymans  <wim@fluendo.com>
2386
2387         * docs/libs/gstreamer-libs-sections.txt:
2388         Add docs for new methods.
2389
2390 2007-06-15  Wim Taymans  <wim@fluendo.com>
2391
2392         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2393         (gst_multi_queue_item_new):
2394         Don't use GSlice because we don't depend on >= 2.10 yet.
2395
2396 2007-06-15  Wim Taymans  <wim@fluendo.com>
2397
2398         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2399         (update_time_level), (apply_segment), (apply_buffer),
2400         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2401         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2402         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2403         (single_queue_underrun_cb), (single_queue_check_full):
2404         Remove debug printf.
2405
2406 2007-06-15  Wim Taymans  <wim@fluendo.com>
2407
2408         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2409         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2410         (gst_data_queue_set_flushing), (gst_data_queue_push),
2411         (gst_data_queue_pop), (gst_data_queue_drop_head),
2412         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2413         * libs/gst/base/gstdataqueue.h:
2414         Various cleanups.
2415         Added methods to get the current levels and to inform the queue that the
2416         'full' limits changed.
2417
2418         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2419         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2420         (gst_single_queue_flush), (update_time_level), (apply_segment),
2421         (apply_buffer), (gst_single_queue_push_one),
2422         (gst_multi_queue_item_steal_object),
2423         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2424         (gst_multi_queue_loop), (gst_multi_queue_chain),
2425         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2426         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2427         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2428         (single_queue_underrun_cb), (single_queue_check_full),
2429         (gst_single_queue_new):
2430         Keep track of time in the queue by measuring the difference between
2431         running_time on input and output. This gives more accurate results and
2432         can compensate for segments correctly.
2433         Make a queue by default only 5 buffers deep. We will now increase the
2434         buffer size depending on the filledness of the other queues.
2435         Factor out commong flush code.
2436         Make sure we don't add additional refcounts to buffers when we can avoid
2437         it.
2438         Propagate GstFlowReturn differently.
2439         Use GSlice for intermediate GstMultiQueueItems.
2440         Keep track of EOS.
2441         Resize queues on over and underruns based on filled level of other
2442         queues.
2443         When checking if the queue is filled, prefer to measure in time if we
2444         can and fall back to bytes when no time is known.
2445
2446         * plugins/elements/gstqueue.c:
2447         Fix return value.
2448
2449 2007-06-15  Wim Taymans  <wim@fluendo.com>
2450
2451         * libs/gst/base/gstbasetransform.c:
2452         (gst_base_transform_sink_event):
2453         Work around the brokenness of the event vmethod in basetransform. Prefer
2454         to return TRUE when the subclass returned FALSE (meaning don't forward
2455         the event). 
2456
2457         * libs/gst/base/gstbasetransform.h:
2458         Clarify the docs.
2459
2460 2007-06-15  Wim Taymans  <wim@fluendo.com>
2461
2462         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2463         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2464         (gst_base_src_default_query), (gst_base_src_get_range),
2465         (gst_base_src_start):
2466         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2467         Improve debugging.
2468
2469 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2470
2471         * docs/pwg/advanced-types.xml:
2472           Added more formats to caps table.
2473
2474 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2475
2476         * tools/gst-launch.c: (main):
2477           Remove crufy code. GOption does not need this workaround.
2478
2479 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2480
2481         * libs/gst/controller/gstcontroller.c:
2482         (gst_controlled_property_set_interpolation_mode):
2483           Fix wrong getter for enums in controller.
2484
2485 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2486
2487         * libs/gst/check/gstcheck.c: (gst_check_init):
2488           Intercept criticals and warnings in the Gst-Phonon log domain, so
2489           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2490           well.
2491         
2492 2007-06-14  Edward Hervey  <edward@fluendo.com>
2493
2494         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2495         Since this file doesn't include "gst.h" it will not go through the
2496         macros that disable GST_LOG if debugging was disabled.
2497
2498 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2499
2500         * libs/gst/check/Makefile.am:
2501         * libs/gst/check/gstcheck.h:
2502         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2503         * pkgconfig/gstreamer-check.pc.in:
2504           Ugly 'fix' for the controller unit test on the p5 bot: in
2505           fail_unless_equals_float() check whether the values are 'almost
2506           equal' by allowing a small absolute error, which should be good
2507           enough for our use cases (normal numbers and values close to 0).
2508           Proper fixage left to floating point arithmetic aficionados.
2509
2510 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2511
2512         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2513         (gst_base_sink_render_object), (gst_base_sink_get_position):
2514           Add two breaks thats where missing.
2515
2516 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2517
2518         * docs/libs/gstreamer-libs-sections.txt:
2519         * libs/gst/check/gstcheck.h:
2520           API: add fail_unless_equals_float() and assert_equals_float().
2521           Add documentation for some of the macros.
2522
2523         * tests/check/libs/controller.c: (GST_START_TEST):
2524           Use newly-added asserts.
2525
2526 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2527
2528         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2529           Show the caps change in the log to help spotting the case of not
2530           exactly matching caps.
2531
2532 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2533
2534         * docs/pwg/building-boiler.xml:
2535           Fix typos, spotted by Thijs Vermeir (#447190).
2536
2537 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2538
2539         * docs/plugins/tmpl/.cvsignore:
2540         Ignore file to keep the buildbots happy
2541
2542 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2543
2544         * docs/plugins/Makefile.am:
2545         * docs/plugins/gstreamer-plugins-docs.sgml:
2546         * docs/plugins/gstreamer-plugins-sections.txt:
2547         Pull fdsink into the docs too.
2548
2549 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2550
2551         * libs/gst/controller/gstinterpolation.c:
2552         Actually use the new functions with min/max checks for the trigger and
2553         none interpolation modes for get() and get_value_array() instead of
2554         just the latter.
2555
2556 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2557
2558         * libs/gst/controller/gstcontroller.c:
2559         (gst_controlled_property_free):
2560         Unset the minimum and maximum GValues when freeing the corresponding
2561         GstControllerProperty struct.
2562
2563 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2564
2565         * libs/gst/controller/gstcontroller.c:
2566         (gst_controlled_property_new):
2567         * libs/gst/controller/gstcontrollerprivate.h:
2568         * libs/gst/controller/gstinterpolation.c:
2569         (gst_controlled_property_find_control_point_node),
2570         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2571         (interpolate_none_get_string_value_array),
2572         (interpolate_trigger_get),
2573         (interpolate_trigger_get_enum_value_array),
2574         (interpolate_trigger_get_string_value_array):
2575         Protect against values larger or smaller than the minimum or maximum
2576         allowed value for the property when using values that can be compared.
2577
2578         Optimize trigger interpolator a bit by taking the last requested value
2579         into account instead of always looping through the complete list.
2580
2581         Fix coding style a bit, everywhere else we use "return foo" instead
2582         of "return (foo)".
2583         
2584         * tests/check/libs/controller.c: (GST_START_TEST),
2585         (gst_controller_suite):
2586         Add unit test for the protection against too large or too small
2587         values.
2588
2589 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2590
2591         * docs/random/slomo/controller.txt:
2592         Add some thoughts about the future of the controller.
2593
2594 2007-06-08  Wim Taymans  <wim@fluendo.com>
2595
2596         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2597         Don't overflow in retimestamping code.
2598
2599 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2600
2601         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2602         Use gst_util_guint64_to_gdouble for conversions.
2603         * win32/common/libgstreamer.def:
2604         Add new exported functions.
2605
2606 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2607
2608         * gst/gstutils.c:
2609           Small docs addition.
2610
2611 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2612
2613         * README:
2614           Remove that test line again.
2615
2616 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2617
2618         * README:
2619           Test commit mail sending.
2620
2621 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2622
2623         * configure.ac:
2624           Fix typo and test commit mail sending.
2625
2626 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2627
2628         * tests/examples/controller/audio-example.c:
2629           Improve comment and test commit mail sending.
2630
2631 2007-06-07  Wim Taymans  <wim@fluendo.com>
2632
2633         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2634         (gst_bin_remove_func), (gst_bin_element_set_state),
2635         (bin_handle_async_start), (bin_handle_async_done),
2636         (gst_bin_handle_message_func):
2637         Add helper function to find messages.
2638         Generate the async-done messages together with the state change
2639         messages.
2640         Small cleanups in handling toplevel bins.
2641
2642 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2643
2644         * libs/gst/base/gstdataqueue.c:
2645         * libs/gst/base/gstdataqueue.h:
2646         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2647         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2648         (gst_multi_queue_sink_event):
2649         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2650           Fix multiqueue leaking buffers and events when downstream or the
2651           queue are flushing. Make refcounting assumptions explicit and
2652           document them (shouldn't break existing code that uses it other than
2653           maybe leak miniobjects, but that already happens anyway). Add unit
2654           test for the most common flushing case. Fixes #423700.
2655           
2656 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2657
2658         * libs/gst/controller/gstcontroller.c:
2659         Clarify docs: The get_all, get_value_array(s) functions
2660         don't modify the GObject properties.
2661
2662 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2663
2664         * libs/gst/controller/gstcontroller.c:
2665         (gst_controlled_property_set_interpolation_mode),
2666         (gst_controlled_property_prepend_default),
2667         (gst_controlled_property_new), (gst_controller_set_unlocked),
2668         (gst_controller_set), (gst_controller_set_from_list),
2669         (gst_controller_unset), (gst_controller_unset_all):
2670         * libs/gst/controller/gstcontrollerprivate.h:
2671         * libs/gst/controller/gstinterpolation.c:
2672         Factor out the 'set' logic into gst_controller_set_unlocked for the
2673         gst_controller_set and gst_controller_set_from_list functions.
2674
2675         To make life of the interpolators easier always add a control point
2676         at timestamp zero with the default value.
2677
2678         In the linear interpolator make things more obvious by better variable
2679         naming (slope).
2680
2681         Implement cubic interpolation mode (by using a natural cubic spline)
2682         and map the quadratic interpolation mode to this too (as quadratic
2683         doesn't make much sense, see discussion on the list).
2684
2685         * tests/check/libs/controller.c: (GST_START_TEST),
2686         (gst_controller_suite):
2687         Add unit test for the cubic interpolation mode and check everywhere
2688         if the interpolation mode could be set as expected.
2689
2690 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2691
2692         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2693           Don't use GLib-2.10 functions, we still depend on
2694           GLib-how-old-is-it-again-2.8.
2695
2696 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2697
2698         * docs/gst/gstreamer-sections.txt:
2699         * gst/Makefile.am:
2700         * gst/gst.c:
2701         * gst/gst.h:
2702         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2703         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2704         (_gst_param_fraction_values_cmp),
2705         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2706         * gst/gstparamspecs.h:
2707         * gst/gstvalue.c:
2708         * tests/check/Makefile.am:
2709         * tests/check/gst/.cvsignore:
2710         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2711         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2712         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2713         (GST_START_TEST), (gst_param_spec_suite):
2714           API: add GstParamSpecFraction, so elements can have fraction
2715           properties without lots of painful string parsing (#444648).
2716
2717 2007-06-05  Wim Taymans  <wim@fluendo.com>
2718
2719         * gst/gstobject.c: (gst_object_class_init):
2720         Fix signal signature.
2721
2722         * gst/gstsegment.c:
2723         Add small clarification in the api docs.
2724
2725         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2726         States are protected with object lock.
2727
2728 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2729
2730         * AUTHORS:
2731         I should probably be listed as an author by now.
2732
2733         * docs/random/release:
2734         Update the release doc
2735
2736 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2737
2738         * gst/gstvalue.c:
2739           Make docs for gst_value_compare() mention return enums that
2740           actually exist.
2741
2742 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2743
2744         * configure.ac:
2745           Back to CVS
2746
2747 === release 0.10.13 ===
2748
2749 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2750
2751         * configure.ac:
2752           releasing 0.10.13, "With or without you"
2753
2754 2007-05-25  Wim Taymans  <wim@fluendo.com>
2755
2756         * gst/gstbin.c: (bin_handle_async_done):
2757         Make sure that the child bin stops after completing the async state
2758         change so that the parent can continue the state change to PLAYING.
2759         Fixes #441159.
2760
2761 2007-05-25  Wim Taymans  <wim@fluendo.com>
2762
2763         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2764         (unref_data), (gst_collect_pads_remove_pad),
2765         (gst_collect_pads_check_pads):
2766         Use additional refcounting to avoid crashes when dynamically adding and
2767         removing pads. Fixes #420206.
2768
2769 2007-05-24  Wim Taymans  <wim@fluendo.com>
2770
2771         * tools/gst-launch.c: (event_loop):
2772         When buffering goes from a two digit to a single digit number, make sure
2773         to remove the old second digit by writing a blank over it.
2774
2775 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2776
2777         * libs/gst/base/gstdataqueue.c:
2778           Eliminate tabs and trailing comma in enum list; fix some typos.
2779
2780 2007-05-24  Wim Taymans  <wim@fluendo.com>
2781
2782         * tests/check/gst/gstbin.c: (GST_START_TEST):
2783         Allow refcount of 3 and 4 because some state thread might still be busy
2784         with it.
2785
2786 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2787
2788         * plugins/elements/Makefile.am:
2789         * plugins/elements/gstmultiqueue.h:
2790         * plugins/elements/gstqueue.h:
2791           These are not installed headers, no need for padding.
2792
2793 2007-05-24  Wim Taymans  <wim@fluendo.com>
2794
2795         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2796         (gst_bin_continue_func):
2797         Enable latency for next release.
2798         Restore STATE_LOCK around recalc_state that was left out during the
2799         rewrite and could result in racy behaviour when _get_state and
2800         recalc_state are run concurrently. See #440463.
2801
2802 2007-05-23  Wim Taymans  <wim@fluendo.com>
2803
2804         * tests/check/gst/gstsystemclock.c: (store_callback),
2805         (GST_START_TEST):
2806         Improve test_async_order to also work when both timers are already
2807         expired when we get scheduled to check it.
2808
2809 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2810
2811         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2812         (gst_bin_set_property), (gst_bin_get_property),
2813         (gst_bin_remove_func), (gst_bin_handle_message_func):
2814         * gst/gstbin.h:
2815           'private' is a c++ keyword, let's not use that in header files,
2816           otherwise c++ compilers will throw a tantrum.
2817
2818 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2819
2820         * plugins/elements/gstelements.c:
2821         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2822         (gst_file_sink_get_current_offset):
2823         * plugins/indexers/gstindexers.c: (plugin_init):
2824           Use #ifdef for HAVE_XYZ for consistency.
2825
2826         * tests/check/Makefile.am:
2827         * tests/check/elements/.cvsignore:
2828         * tests/check/elements/filesink.c: (setup_filesink),
2829         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2830           Add some unit tests for filesink.
2831
2832 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2833
2834         Patch by: Mark Nauwelaerts <manauw at skynet be>
2835
2836         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2837         (gst_file_sink_query), (gst_file_sink_do_seek),
2838         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2839         * plugins/elements/gstfilesink.h:
2840           Fix position reporting; rename data_written member to current_pos to
2841           reflect its real meaning (fixes #412648).
2842
2843 2007-05-22  Edward Hervey  <edward@fluendo.com>
2844
2845         * docs/gst/gstreamer-sections.txt:
2846         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2847         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2848         (gst_bin_remove_func), (gst_bin_handle_message_func):
2849         * gst/gstbin.h:
2850         Add a property for bins that handle the state change of their childs.
2851         Fixes #435880
2852
2853 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2854
2855         * libs/gst/controller/gstinterpolation.c:
2856         Use an array of the correct type when using _get_value_array with
2857         linear interpolation.
2858
2859 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2860
2861         * gst/gstelement.c (gst_element_requires_clock,
2862           gst_element_provides_clock, gst_element_request_pad,
2863           gst_element_class_set_details, gst_element_class_set_details_simple,
2864           gst_element_default_send_event, gst_element_abort_state,
2865           gst_element_continue_state, gst_element_set_state,
2866           gst_element_set_state_func, iterator_activate_fold_with_resync):
2867         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2868           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2869           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2870           gst_pad_get_range, gst_pad_pull_range):
2871         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2872           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2873           GstPadActivateModeFunction, GstPadChainFunction,
2874           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2875           GstPadFixateCapsFunction, GstPadTemplate):
2876         * gst/gstpipeline.c (gst_pipeline_change_state,
2877           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2878           gst_pipeline_set_clock, gst_pipeline_auto_clock,
2879           gst_pipeline_get_delay):
2880           Whitespace and docs fixes.
2881
2882 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2883
2884         * libs/gst/controller/gstinterpolation.c:
2885         (interpolate_trigger_get_enum_value_array),
2886         (interpolate_trigger_get_string_value_array):
2887         Add support for retrieving value arrays when using the trigger
2888         interpolation mode. 
2889
2890 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2891
2892         * libs/gst/controller/gstcontroller.c:
2893         (gst_controller_get_value_array):
2894         * libs/gst/controller/gstcontroller.h:
2895         Clarify the docs of gst_controller_get_value_array(): The array where
2896         the values should be written to must be allocated as there seems to be
2897         no way to get the size of a random GType. This doesn't change any
2898         behaviour. Also fix some typos all over the place and remove an unused,
2899         commented function that is not necessary as g_object_set() could be
2900         used instead.
2901         * tests/check/libs/controller.c: (GST_START_TEST),
2902         (gst_controller_suite):
2903         Add unit test for gst_controller_get_value_array().
2904
2905 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2906
2907         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2908
2909         Disable part of the gst_buffer_try_new_and_alloc test, because
2910         it can happily succeed on 64-bit systems where there's more address
2911         space available.
2912
2913 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2914
2915         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2916         Add unit test for the improved caps checking from bug #421543.
2917
2918 2007-05-21  Wim Taymans  <wim@fluendo.com>
2919
2920         * docs/design/part-synchronisation.txt:
2921         Small addition.
2922
2923         * gst/gstbin.c: (gst_bin_query):
2924         * plugins/elements/gstqueue.c: (apply_segment):
2925         Improve debugging.
2926
2927         * gst/gstmessage.h:
2928         Improve docs.
2929
2930 2007-05-21  Wim Taymans  <wim@fluendo.com>
2931
2932         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2933         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2934         (gst_pad_configure_src):
2935         Added simple version of improved caps checking. It was previously
2936         assumed that a setcaps function would check the validity of the caps but
2937         people prefer us to check caps against the template automatically. 
2938         Fixes #421543.
2939
2940 2007-05-21  Wim Taymans  <wim@fluendo.com>
2941
2942         * libs/gst/base/gstbasetransform.h:
2943         Fix macro for locking/unlocking the transform lock.
2944
2945 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2946
2947         * docs/plugins/tmpl/.cvsignore:
2948           Ignore more.
2949
2950 2007-05-18  Edward Hervey  <edward@fluendo.com>
2951
2952         * plugins/elements/gstqueue.c: (gst_queue_loop):
2953         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2954         for the subtle art of warning a potentially blocking thread that it
2955         should check the source pad return value, and relay the information
2956         upstream.
2957
2958 2007-05-18  Edward Hervey  <edward@fluendo.com>
2959
2960         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2961         Release the queue lock !
2962
2963 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2964
2965         * docs/libs/gstreamer-libs-sections.txt:
2966         Add the two new controller functions to the appropiate places.
2967
2968 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2969
2970         reviewed by: Stefan Kost <ensonic@users.sf.net>
2971
2972         * libs/gst/controller/gstcontroller.c:
2973         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2974         (_gst_controller_get_property), (_gst_controller_set_property),
2975         (_gst_controller_init), (_gst_controller_class_init):
2976         * libs/gst/controller/gstcontroller.h:
2977         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2978         (gst_object_get_control_rate), (gst_object_set_control_rate):
2979         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2980         Add API that provides sync suggestion timestamps for elements that
2981         call gst_object_sync_values() from which those elements can subdivide
2982         their processing loop to get the best results for the controlled
2983         properties. For now it just suggests last_sync + control_rate as
2984         new timestamp but this will be improved in the future.
2985
2986         While doing that change the control-rate property to a GstClockTime
2987         from guint and change it's meaning from samples to nanoseconds as
2988         the GstController doesn't know anything about sampling rate. Strictly
2989         speaking this breaks ABI but as the control-rate property didn't do
2990         anything in the past and as such couldn't be used this should be no
2991         problem.        
2992
2993 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2994
2995         reviewed by: Stefan Kost <ensonic@users.sf.net>
2996
2997         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2998         (gst_controller_unset_all):
2999         * libs/gst/controller/gstcontrollerprivate.h:
3000         * libs/gst/controller/gstinterpolation.c:
3001         (gst_controlled_property_find_control_point_node):
3002         Save last synced value from the list to continue searching from there
3003         in future syncs. This speeds everything up a bit.
3004         
3005 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3006
3007         reviewed by: Stefan Kost <ensonic@users.sf.net>
3008
3009         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3010         (gst_control_point_find), (gst_controlled_property_new),
3011         (gst_control_point_free), (gst_controlled_property_free),
3012         (gst_controller_set), (gst_controller_set_from_list),
3013         (gst_controller_unset), (gst_controller_unset_all),
3014         (gst_controller_sync_values):
3015         * libs/gst/controller/gstcontroller.h:
3016         * libs/gst/controller/gstcontrollerprivate.h:
3017         * libs/gst/controller/gstinterpolation.c:
3018         (gst_controlled_property_find_control_point_node),
3019         (interpolate_none_get), (interpolate_trigger_get):
3020         Add a new private GstControlPoint struct which "inherits" from
3021         GstTimedValue to allow different interpolators to store internal
3022         values next to each control point. From the outside everything is
3023         still a GstControlPoint so we don't loose binary compatibility.
3024         Also fixup all the GValue handling to not leak GValues or list nodes.
3025         * tests/check/libs/controller.c: (GST_START_TEST):
3026         Free the list nodes and GValues in the controller_misc test.
3027
3028 2007-05-17  Edward Hervey  <edward@fluendo.com>
3029
3030         * gst/gstsegment.c:
3031         Small doc fix.
3032
3033 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3034
3035         * gst/gstplugin.c: (gst_plugin_load_file):
3036           If we fail to load a plugin because of unresolved symbols or missing
3037           libraries and spew a warning to stderr, we may just as well mention
3038           which plugin it was that failed to load.
3039
3040 2007-05-13  David Schleef  <ds@schleef.org>
3041
3042         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3043           handles the case when ENABLE_GTK_DOC is false, and installs
3044           the prebuilt documentation.  So gtk-doc subdirs are 
3045           unconditionally enabled.  Fixes: #349099.
3046
3047 2007-05-13  David Schleef  <ds@schleef.org>
3048
3049         * gst/gstutils.h: Reword some documentation.
3050
3051 2007-05-12  David Schleef  <ds@schleef.org>
3052
3053         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3054           do anything with the passed "module" parameter, so remove it.
3055           Allows removal of additional vestigal code.
3056
3057 2007-05-12  David Schleef  <ds@schleef.org>
3058
3059         * gst/gstplugin.c:
3060           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3061           Switch to using g_stat() because it's more portable.
3062
3063 2007-05-12  David Schleef  <ds@schleef.org>
3064
3065         * gst/gst.c:
3066           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3067           parsing for embedded systems.
3068         * gst/gstelementfactory.c:
3069           Allow gst_element_register() to be called with plugin==NULL.
3070           Did nobody notice that static elements were broken?
3071
3072 2007-05-12  Wim Taymans  <wim@fluendo.com>
3073
3074         * tools/gst-launch.c: (event_loop):
3075         Give more interesting info when buffering starts and stops.
3076         Fix case where buffering starts but we fail to update the buffering flag
3077         because the target state is not PLAYING.
3078
3079 2007-05-12  Wim Taymans  <wim@fluendo.com>
3080
3081         * plugins/elements/gstqueue.c: (gst_queue_init),
3082         (gst_queue_finalize), (update_time_level), (apply_segment),
3083         (apply_buffer), (gst_queue_locked_flush),
3084         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3085         (gst_queue_handle_sink_event), (gst_queue_chain),
3086         (gst_queue_push_one), (gst_queue_loop):
3087         * plugins/elements/gstqueue.h:
3088         Refactor an cleanup queue a bit.
3089         Do better time level calculations that also work when the srcpad is not
3090         yet running.
3091         Remove some unneeded debug lines.
3092
3093         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3094         Added testcase for time level measurement.
3095         Try to make some stuff more racefree.
3096
3097 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3098
3099         * gst/gsturi.c: (gst_element_make_from_uri):
3100           Don't leak plugin feature.
3101
3102         * tests/check/Makefile.am:
3103         * tests/check/gst/.cvsignore:
3104         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3105           Add brain-dead unit test.
3106
3107 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3108
3109         Patch by: Jeroen Wouters <woutersj at gmail com>
3110
3111         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3112           Treat protocol strings in a case-insensitive way (#437563).
3113
3114 2007-05-11  Michael Smith <msmith@fluendo.com>
3115
3116         * gst/gstplugin.c: (gst_plugin_load_file):
3117         * gst/gstregistry.c: (gst_registry_scan_path_level):
3118           Don't print a g_warning for any failure to load a shared object.
3119           Instead, push this down into gstplugin.c, and warn _only_ if we
3120           failed to open the module (i.e. failure to link).
3121           Avoids warnings on normal, working, non-plugin .so files.
3122
3123 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3124
3125         * gst/gstplugin.c (gst_plugin_load_file):
3126         * gst/gstregistry.c (GST_CAT_DEFAULT,
3127           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3128           Print a g_warning if there was an error when loading a plugins during
3129           registry scan. The shuld help beginners starting with gst-plugin
3130           template.
3131
3132 2007-05-10  Wim Taymans  <wim@fluendo.com>
3133
3134         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3135         (update_time_level), (gst_queue_locked_flush),
3136         (gst_queue_handle_sink_event), (gst_queue_chain),
3137         (gst_queue_push_one), (gst_queue_loop):
3138         * plugins/elements/gstqueue.h:
3139         Be smarter when calculating the current amount of data in the queue by
3140         measuring the difference between start and end timestamps (in running
3141         time) inside the queue. Fixes #432876.
3142         API: GstQueue::pushing to notify elements that we are pushing data again
3143         since the running signal is rather broken for this purpose.
3144
3145 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3146
3147         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3148           gst_queue_base_init, gst_queue_init):
3149           use GST_BOILERPLATE
3150
3151 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3152
3153         * win32/common/libgstreamer.def:
3154         Add new exported functions.
3155         * win32/vs6/grammar.dsp:
3156         Use grammar pre-generated files.
3157
3158 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3159
3160         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3161
3162         * gst/Makefile.am:
3163         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3164         * gst/gstparse.h:
3165         * gst/gstutils.c: (gst_parse_bin_from_description):
3166         * gst/gstutils.h:
3167           Maintain API and ABI when --disable-parse is used. Now that
3168           we have an appropriate error code, we can just return NULL and the
3169           appropriate error when gst_parse_launch() is used despite it having
3170           been disabled (#342564).
3171
3172         * tests/check/Makefile.am:
3173         * tests/check/pipelines/.cvsignore:
3174         * tests/check/pipelines/parse-disabled.c:
3175           Make sure these functions exist and return NULL plus a GError when
3176           --disable-parse is used.
3177
3178 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3179
3180         * tests/benchmarks/complexity.c: (main):
3181         * tests/benchmarks/mass-elements.c: (main):
3182           Set a good example and don't leak messages.
3183
3184 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3185
3186         * docs/gst/Makefile.am:
3187         * docs/libs/Makefile.am:
3188           Correct fixxrefs options.
3189
3190         * docs/plugins/Makefile.am:
3191         * docs/plugins/gstreamer-plugins-docs.sgml:
3192         * docs/plugins/gstreamer-plugins-sections.txt:
3193         * plugins/elements/Makefile.am:
3194         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3195         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3196           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3197           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3198           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3199           _GstCapsFilterClass, trans_class):
3200         * plugins/elements/gstelements.c (name, rank, type, _elements):
3201         * plugins/elements/gstidentity.c
3202           (gst_identity_check_imperfect_timestamp,
3203           gst_identity_check_imperfect_offset):
3204           Document capsfilter and add doc-blurb to identity.
3205
3206 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3207
3208         * libs/gst/controller/gstcontroller.c:
3209         (gst_controlled_property_set_interpolation_mode):
3210         * libs/gst/controller/gstinterpolation.c:
3211           Don't crash if someone tries to set an interpolation mode that
3212           is invalid or that isn't supported yet. Fixes #422295.
3213
3214         * tests/check/libs/controller.c: (GST_START_TEST),
3215         (gst_controller_suite):
3216           Add a test case for the above.
3217
3218 2007-05-03  Edward Hervey  <edward@fluendo.com>
3219
3220         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3221         Properly set the last_stop position on GstSegment. This will only happen
3222         if there is a buffer to push out.
3223
3224 2007-05-03  Wim Taymans  <wim@fluendo.com>
3225
3226         * libs/gst/base/gstbasetransform.c:
3227         (gst_base_transform_buffer_alloc):
3228         always_in_place does not mean that the sink and source caps are the
3229         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3230
3231 2007-05-03  Wim Taymans  <wim@fluendo.com>
3232
3233         * docs/libs/gstreamer-libs-sections.txt:
3234         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3235         (gst_base_src_default_query), (gst_base_src_get_range):
3236         * libs/gst/base/gstbasesrc.h:
3237         API: gst_base_src_query_latency(). Added method so that subclasses can
3238         easily get the latency values of the base source class.
3239
3240 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3241
3242         * tools/gst-inspect.c (print_implementation_info):
3243         Remove 0.8 cruft.
3244
3245 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3246
3247         * tools/Makefile.am:
3248         * tools/gst-launch.1.in:
3249           Don't create a customised man page based on the host architecture,
3250           describe the default registry path generically. That way the man
3251           page is the same for all architectures and packagers have one
3252           multilib issue less to deal with. Fixes #434926.
3253
3254 2007-05-02  Wim Taymans  <wim@fluendo.com>
3255
3256         * gst/gstpad.c:
3257         Fix documentation as spotted by rg on IRC. 
3258
3259 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3260
3261         * gst/gstutils.c:
3262           Improve docs for gst_element_{link,unlink}.
3263
3264 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3265
3266         * docs/design/part-events.txt:
3267         * docs/design/part-overview.txt:
3268         * gst/gstevent.c:
3269         * gst/gsturi.c:
3270         * gst/gsturi.h:
3271         * libs/gst/base/gstbasesink.c:
3272           Typo fixes; minor docs addition.
3273
3274 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3275
3276         * docs/gst/gstreamer-sections.txt:
3277         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3278         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3279         * gst/gsturi.h:
3280         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3281         or src that supports a given URI protocol exists.
3282
3283 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3284
3285         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3286         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3287         Set the location to NULL if "file://" is set as URI. Otherwise
3288         some random previous URI would still be set if "file://" is
3289         set on an already used filesink/filesrc.
3290
3291 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3292
3293         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3294         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3295         Special case the "file://" URI as as this is used by some
3296         applications to test with gst_element_make_from_uri if there's
3297         an element that supports the URI protocol.
3298         Also move the g_path_is_absolute() check for the location part
3299         of the URI to also check this for "file://localhost/bla" URIs.
3300
3301 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3302
3303         * docs/gst/gstreamer-sections.txt:
3304         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3305         * gst/gstbuffer.h:
3306         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3307         (gst_buffer_suite):
3308           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3309
3310 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3311
3312         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3313         (gst_registry_binary_load_pad_template),
3314         (gst_registry_binary_load_plugin),
3315         (gst_registry_binary_read_cache):
3316         * gst/gstregistrybinary.h:
3317           Implement no-mmap alternative for registry reading. Do code cleanups.
3318           Add more comments about avoiding strdups for all text data. Comments
3319           welcome.
3320
3321 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3322
3323         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3324           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3325           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3326           Comment structs and reformat to fix the build (that stuff should go
3327           into a priv. header).
3328
3329 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3330
3331         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3332         (gst_registry_binary_load_feature):
3333         * gst/gstregistrybinary.h:
3334           Refactor so that we can implement multiple features. Add support for
3335           TypeFindFactory features.
3336
3337 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3338
3339         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3340
3341         * configure.ac:
3342           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3343
3344 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3345
3346         * gst/gstbin.c: (gst_bin_element_set_state),
3347         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3348         (bin_handle_async_done), (gst_bin_handle_message_func):
3349           Fix build with --gst-disable-gst-debug
3350
3351 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3352
3353         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3354           Make sure streaming has finished before calling the ::stop() vfunc,
3355           since that vfunc might clear state which is being used in the
3356           streaming thread. This fixes a race that caused crashes in
3357           audioresample when shutting down a pipeline (#420106).
3358
3359 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3360
3361         * docs/gst/gstreamer-sections.txt:
3362           That was one byte missing.
3363
3364 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3365
3366         * configure.ac:
3367         * docs/gst/gstreamer-sections.txt:
3368         * gst/Makefile.am:
3369         * gst/gstconfig.h.in:
3370         * gst/gstobject.c: (gst_object_class_init),
3371         (gst_signal_object_class_init):
3372         * gst/gstobject.h:
3373           2nd attempt to have a xml-less build as a joined effort of #413123
3374           and #421480.
3375
3376 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * docs/design/draft-tagreading.txt:
3379           Added open issues/thoughts to draft.
3380
3381 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3382
3383         * gst/parse/grammar.tab.pre.c:
3384         * gst/parse/grammar.tab.pre.h:
3385         * gst/parse/lex._gst_parse_yy.pre.c:
3386         Update the prebuild parser sources.
3387
3388 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3389
3390         * gst/parse/Makefile.am:
3391         And now fix the building of the flex sources. Now everything should
3392         work as expected.
3393
3394 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3395
3396         * gst/parse/Makefile.am:
3397         Now hopefully fix the build failures by setting proper rule
3398         dependencies and moving instead of copying.
3399
3400 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3401
3402         * tests/benchmarks/complexity.gnuplot:
3403         * tests/benchmarks/complexity.scm:
3404         * tests/benchmarks/mass-elements.gnuplot:
3405         * tests/benchmarks/mass-elements.scm:
3406           Total licensification.
3407
3408 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3409
3410         * gst/parse/Makefile.am:
3411           Fix the build by correcting the rule that gave wrong files to flex.
3412
3413 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3414
3415         * tests/benchmarks/complexity.c:
3416         * tests/benchmarks/mass-elements.c:
3417           Change licence to LGPL as granted by Benjamin and Andy.
3418
3419 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3420
3421         * gst/parse/Makefile.am:
3422         Add correct grammar.tab.h dependency if compiling without new enough
3423         flex. Fixes #431150.
3424
3425 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3426
3427         * gst/parse/Makefile.am:
3428         Fix typo and use outdated sources if the flex/bison sources are newer
3429         than the pregenerated ones but flex is too old. Print a warning in
3430         that case. This should fix the build on the build bot.
3431
3432 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3433
3434         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3435         * gst/parse/Makefile.am:
3436         * gst/parse/grammar.y:
3437         * gst/parse/parse.l:
3438         Make the parser reentrant and recursively callable. This requires flex
3439         >= 2.5.31, for older versions pregenerated sources are used as we
3440         can't bump the build dependency. Finally fixes #349180.
3441
3442         * gst/gstparse.c: (gst_parse_launch):
3443         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3444         now anyway.
3445
3446         * docs/gst/Makefile.am:
3447         * docs/gst/Makefile.am:
3448         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3449         (__gst_parse_strfree), (__gst_parse_link_new),
3450         (__gst_parse_link_free), (__gst_parse_chain_new),
3451         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3452         (gst_parse_element_set), (gst_parse_free_link),
3453         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3454         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3455         (_gst_parse_launch):
3456         * gst/parse/grammar.tab.pre.h:
3457         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3458         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3459         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3460         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3461         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3462         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3463         (_gst_parse_yypop_buffer_state),
3464         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3465         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3466         (yy_fatal_error), (_gst_parse_yyget_extra),
3467         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3468         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3469         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3470         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3471         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3472         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3473         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3474         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3475         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3476         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3477         (_gst_parse_yyfree):
3478         If the installed flex version is too old use pre-generated parser
3479         sources. These pre-generated parser sources are always updated when
3480         the actual flex/bison sources change but require everybody who wants
3481         to change something in the parser to have flex >= 2.5.31 installed.
3482
3483 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3484
3485         * common/m4/gst-gettext.m4:
3486         * gst/gst-i18n-lib.h:
3487           Make --disable-nls to work
3488
3489 2007-04-17  Wim Taymans  <wim@fluendo.com>
3490
3491         * gst/gstconfig.h.in:
3492         Revert previous change that broke the build.
3493
3494 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3495
3496         * configure.ac:
3497         * gst/Makefile.am:
3498         * gst/gstconfig.h.in:
3499           Drop libxml2 dependency when building with 
3500           --enable-binary-registry --disable-loadsave
3501
3502 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3503
3504         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3505         (gst_registry_binary_read_cache):
3506         * gst/gstregistrybinary.h:
3507           Remove unnecessary <sys/mman.h> include which broke the win32 build
3508           with MingW; move includes from header file to .c file, even if the
3509           header file isn't installed; use g_strerror() where UTF-8 strings
3510           are expected, such as in GST_DEBUG messages.
3511
3512 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3513
3514         * docs/libs/gstreamer-libs-sections.txt:
3515         Remove bogus addition for API I didn't end up keeping.
3516
3517         * libs/gst/base/gstbasesrc.h:
3518         Mention Since: 0.10.13 in the documentation.
3519
3520         Add the API keyword to the previous ChangeLog entry.
3521
3522 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3523
3524         * docs/libs/gstreamer-libs-sections.txt:
3525         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3526         (gst_base_src_default_prepare_seek_segment),
3527         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3528         * libs/gst/base/gstbasesrc.h:
3529         Allow basesrc derived classes to execute seeks in other formats
3530         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3531         to prepare the GstSegment in any format that their perform_seek method
3532         will be able to understand. The default implementation provides the
3533         old behaviour of attempting to convert the seek offsets to the 
3534         configured native format.
3535
3536         API: basesrc::prepare_seek_segment vmethod.
3537
3538 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3539
3540         * gst/gstelement.c: (gst_element_get_state_func):
3541         Don't output the same debug statement twice.
3542
3543         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3544         (gst_adapter_peek), (gst_adapter_take_buffer):
3545         Optimise the case where we have buffers at the head of the queue that
3546         can be joined quickly (because they're contiguous sub-buffers) by
3547         merging them together rather than copying data out into new memory.
3548
3549         * gst/parse/grammar.y:
3550         * tests/check/pipelines/parse-launch.c:
3551         Fix a leak in an error path for parse_launch, and add a check 
3552         for it to the testsuite.
3553
3554 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3555
3556         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3557           Don't deadlock when releasing a pad - gst_pad_set_active may try
3558           and take the multiqueue lock too.
3559
3560 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3561
3562         * gst/gsterror.c: (_gst_core_errors_init):
3563         * gst/gsterror.h:
3564           API: add GST_CORE_ERROR_DISABLED (#392804).
3565
3566 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3567
3568         * docs/faq/gst-uninstalled:
3569           don't get empty paths on the PATH variables
3570         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3571           Don't format for the uncommon terminal width of 84 characters.
3572
3573 2007-04-06  Wim Taymans  <wim@fluendo.com>
3574
3575         * gst/gstpipeline.c: (reset_stream_time),
3576         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3577         Only try to select a different pipeline clock when we went back to
3578         PAUSED and not when we merely got flushed.
3579
3580 2007-04-05  Michael Smith  <msmith@fluendo.com>
3581
3582         * tools/gst-launch.1.in:
3583           fractions are better supported in gstreamer than ractions, so
3584           suggest using those.
3585
3586 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3587
3588         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3589
3590         * po/LINGUAS:
3591         * po/da.po:
3592           Added Danish translation.
3593
3594 2007-04-05  Wim Taymans  <wim@fluendo.com>
3595
3596         * libs/gst/base/gstbasesink.c:
3597         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3598         Fix leak caused when refusing newsegment after EOS.
3599
3600         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3601         (gst_fake_sink_init), (gst_fake_sink_set_property),
3602         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3603         (gst_fake_sink_render), (gst_fake_sink_change_state):
3604         * plugins/elements/gstfakesink.h:
3605         Add num-buffers property to make the element generate EOS after a
3606         configurable amount of buffers.
3607         API: fakesink::num-buffers property.
3608
3609         * tests/check/elements/fakesink.c: (GST_START_TEST),
3610         (fakesink_suite):
3611         Fix GstBus leak in test.
3612         Test for fakesink num-buffers.
3613
3614 2007-04-05  Wim Taymans  <wim@fluendo.com>
3615
3616         * libs/gst/base/gstbasesink.c:
3617         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3618         (gst_base_sink_change_state):
3619         Don't accept anything after an EOS, return UNEXPECTED instead.
3620
3621         * tests/check/elements/fakesink.c: (GST_START_TEST),
3622         (fakesink_suite):
3623         Unit test for new EOS behaviour.
3624
3625 2007-04-05  Wim Taymans  <wim@fluendo.com>
3626
3627         * gst/gstelement.c: (gst_element_get_request_pad):
3628         Make padtemplates also work when they don't contain %s or %d.
3629
3630 2007-04-05  Wim Taymans  <wim@fluendo.com>
3631
3632         * docs/gst/gstreamer-sections.txt:
3633         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3634         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3635         * gst/gstclock.h:
3636         Improve _adjust_unlocked() so that it overflows less.
3637         Add gst_clock_unadjust_unlocked to convert from external time to
3638         internal time based on calibration.
3639         Add some more debug.
3640         API: GstClock::gst_clock_unadjust_unlocked()
3641
3642 2007-04-03  Wim Taymans  <wim@fluendo.com>
3643
3644         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3645
3646         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3647         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3648         when releasing sink pad. Fixes #425400.
3649
3650 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3651
3652         * docs/random/ensonic/dynlink.txt:
3653           More work on proposal for new core api.
3654
3655         * docs/libs/gstreamer-libs-sections.txt:
3656         * libs/gst/base/gstbasetransform.h:
3657           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3658           
3659         * libs/gst/controller/gstcontroller.c:
3660         (on_object_controlled_property_changed),
3661         (gst_controller_sync_values),
3662         (gst_controller_set_interpolation_mode):
3663         * libs/gst/controller/gstcontroller.h:
3664           Less verbose logging add docs for unimplemented parts and correctly
3665           return when using unavailable parts.
3666
3667 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3668
3669         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3670         Move all the debug to the CLOCK category, and associate it with
3671         the clock object.
3672
3673 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3674
3675         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3676         Make take_buffer a bit quicker by removing redundant checks
3677         caused by calling gst_adapter_take.
3678
3679 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3680
3681         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3682           Don't leak GCond.
3683
3684         * tests/check/Makefile.am:
3685         * tests/check/elements/.cvsignore:
3686         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3687         (GST_START_TEST), (multiqueue_suite):
3688           Add some dead simple unit tests for the 'multiqueue' element
3689           (some bits don't work yet and are disabled for now).
3690
3691 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3692
3693         * gst/gstelement.c: (gst_element_get_request_pad),
3694         (gst_element_class_get_request_pad_template):
3695           Make gst_element_get_request_pad() create request pads only for
3696           request pad templates and not for, say, sometimes pad templates.
3697
3698 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3699
3700         * docs/design/draft-klass.txt:
3701           Add example that needs more thinking.
3702         
3703         * docs/design/draft-missing-plugins.txt:
3704           More thoughts about wrapper plugins.
3705         
3706         * docs/random/ensonic/embedded.txt:
3707         * docs/random/ensonic/profiling.txt:
3708           More design work.
3709
3710 2007-03-25  Wim Taymans  <wim@fluendo.com>
3711
3712         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3713         (gst_base_src_loop):
3714         Only push the segment events in the PLAYING state for live sources.
3715
3716 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3717
3718         * gst/gstpipeline.c: (gst_pipeline_change_state):
3719         Modify the clock distribution path in PAUSED->PLAYING so that we 
3720         never attempt to choose a new clock unless we're actually leaving
3721         the PAUSED state for the first time. This prevents choosing a
3722         different clock when the state_change gets called for a 2nd time due
3723         to some element doing an async state change.
3724
3725 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3726
3727         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3728         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3729         (gst_pad_chain_unchecked), (gst_pad_push):
3730         Revert last commit. This needs some more thoughts.
3731
3732 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3733
3734         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3735         (gst_pad_chain_unchecked), (gst_pad_push):
3736         Check in set_caps if the caps are compatible with the pad and remove
3737         two functions that are redundant now. Fixes #421543.
3738
3739 2007-03-22  Wim Taymans  <wim@fluendo.com>
3740
3741         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3742         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3743         Unref some more to make valgrind happy.
3744
3745 2007-03-22  Wim Taymans  <wim@fluendo.com>
3746
3747         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3748         (gst_system_clock_id_wait_jitter),
3749         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3750         Fix anoying regression that survived a few releases. When adding an
3751         async entry while blocking on a sync entry, the sync entry will unblock
3752         but still be busy, so it should continue to wait instead of returning
3753         _BUSY to the app.
3754         Add some comments here and there.
3755
3756         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3757         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3758         Add testcase for this.
3759
3760 2007-03-22  Wim Taymans  <wim@fluendo.com>
3761
3762         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3763         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3764         WRONG_STATE and can silently pause the task. All other cases should
3765         error out.
3766
3767 2007-03-22  Wim Taymans  <wim@fluendo.com>
3768
3769         Patch by: Ville Syrjala <syrjala at sci dot fi>
3770
3771         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3772         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3773         Improve debugging.
3774
3775 2007-03-21  Michael Smith  <msmith@fluendo.com>
3776
3777         * docs/pwg/advanced-types.xml:
3778           Fix some errors in the typefinding docs pointed out on irc.
3779
3780 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3781
3782         * libs/gst/base/gstbasesrc.c:
3783         Clarify FIXME comment in the face of having added unlock_stop()
3784
3785 2007-03-21  Wim Taymans  <wim@fluendo.com>
3786
3787         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3788         Prepare for release where we warn against possible app breakage in the
3789         case of live pipelines along with an env var to enable/disable live
3790         preroll mode (GST_COMPAT=[no-]live-preroll).
3791
3792 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3793
3794         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3795         So we should use correct constants for checking for None offset.
3796
3797 2007-03-20  Wim Taymans  <wim@fluendo.com>
3798
3799         * docs/design/part-block.txt:
3800         Mention the fact that the newly switched element should be set to at
3801         least PAUSED.
3802
3803 2007-03-20  Wim Taymans  <wim@fluendo.com>
3804
3805         * gst/gst.c:
3806         Fix compilation with registry disabled as spotted by Saur.
3807
3808 2007-03-20  Wim Taymans  <wim@fluendo.com>
3809
3810         Patch by: Olivier Crete <tester at tester dot ca>
3811
3812         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3813         Look at the pending state too when syncing the element state to the
3814         parent. Fixes #420133.
3815
3816 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3817
3818         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3819         (gst_base_sink_change_state):
3820         * libs/gst/base/gstbasesink.h:
3821         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3822         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3823         (gst_base_src_deactivate):
3824         * libs/gst/base/gstbasesrc.h:
3825         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3826         for sub-classes to correctly clear any state they set trying to
3827         unlock, such as clearing out unlock commands from a command fd.
3828         API: basesrc::unlock_stop
3829         API: basesink::unlock_stop
3830
3831         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3832         (gst_fd_sink_render), (gst_fd_sink_unlock),
3833         (gst_fd_sink_unlock_stop):
3834         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3835         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3836         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3837
3838         Implement unlock_stop in fdsrc and fdsink.
3839         Implement seeking in fdsrc when a seekable fd is passed, as in
3840         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3841
3842 2007-03-19  Wim Taymans  <wim@fluendo.com>
3843
3844         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3845
3846         * gst/gstelement.c: (gst_element_class_init):
3847         Fix pad-added and pad-removed signal signatures so that the pad type is
3848         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3849
3850 2007-03-19  Wim Taymans  <wim@fluendo.com>
3851
3852         * docs/gst/gstreamer-sections.txt:
3853         Add new element field and method.
3854
3855         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3856         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3857         (gst_bin_recalc_state), (gst_bin_get_state_func),
3858         (gst_bin_element_set_state), (gst_bin_change_state_func),
3859         (gst_bin_continue_func), (bin_bus_handler),
3860         (bin_push_state_continue), (bin_handle_async_start),
3861         (bin_handle_async_done), (gst_bin_handle_message_func):
3862         Make async state changes a bit smarter by using new ASYNC_START and
3863         ASYNC_DONE messages. This reduces the number of times we run the state
3864         recalculation thread.
3865         Don't change state of element with a pending ASYNC_START message.
3866         Deprecate STATE_DIRTY messages.
3867         
3868         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3869         (gst_element_get_state_func), (gst_element_continue_state),
3870         (gst_element_lost_state), (gst_element_set_state_func),
3871         (gst_element_change_state):
3872         * gst/gstelement.h:
3873         Keep the state that was last set by the app in a new element field.
3874         Don't allow state changes when handling an element event.
3875         Post ASYNC_START and ASYNC_DONE messages.
3876         Change lost_state so that we go to PAUSED and wait for the parent to set
3877         us to PLAYING again (so latency calculation can be performed)
3878         Export gst_element_change_state() method so that subclasses can use it.
3879         API: gst_element_change_state()
3880         API: GST_STATE_TARGET
3881
3882         * gst/gstpipeline.c: (gst_pipeline_class_init),
3883         (reset_stream_time), (gst_pipeline_change_state),
3884         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3885         Using the new ASYNC_START message we can reset the base_time when
3886         needed. This can then be used to implement base_time redistribution in
3887         flushing seeks so that we can remove the explicit seek handling.
3888         Perform latency query and configuration when going to PLAYING.
3889
3890         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3891         (gst_base_sink_query), (gst_base_sink_change_state):
3892         Post new ASYNC_START/ASYNC_DONE messages.
3893
3894         * tests/check/generic/sinks.c: (GST_START_TEST):
3895         Fix test because the bin will not set the async element to PLAYING right
3896         away.
3897
3898         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3899         Make the message check a little stronger.
3900         Handle ASYNC messages.
3901
3902         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3903         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3904         Expect ASYNC_DONE messages.
3905
3906 2007-03-19  Wim Taymans  <wim@fluendo.com>
3907
3908         * docs/gst/gstreamer-sections.txt:
3909         * gst/gstmessage.c: (gst_message_new_async_start),
3910         (gst_message_new_async_done), (gst_message_parse_info),
3911         (gst_message_parse_async_start):
3912         * gst/gstmessage.h:
3913         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3914         support.
3915
3916 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3917
3918         * tools/gst-inspect.c:
3919         (print_plugin_automatic_install_info_codecs):
3920           Now that we don't check for the 'Codec' keyword any longer in the
3921           klass, we shouldn't spew a warning if the klass isn't a decoder or
3922           encoder (since it might be a Source/Network, for example).
3923
3924 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3925
3926         * tools/gst-inspect.c:
3927         (print_plugin_automatic_install_info_codecs):
3928           Don't require decoder/demuxer/depayloader elements or
3929           encoder/muxer/paylader elements to have 'Codec' as part of their
3930           factory class string when introspecting a plugin's capabilities.
3931           draft-klass.txt mentions that it might be removed in future, and
3932           flump3dec doesn't have it as part of its class string, so chances
3933           are others might also not have it.
3934
3935 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3936
3937         * po/af.po:
3938         * po/az.po:
3939         * po/bg.po:
3940         * po/ca.po:
3941         * po/cs.po:
3942         * po/de.po:
3943         * po/en_GB.po:
3944         * po/fr.po:
3945         * po/it.po:
3946         * po/nb.po:
3947         * po/nl.po:
3948         * po/ru.po:
3949         * po/sq.po:
3950         * po/sr.po:
3951         * po/sv.po:
3952         * po/tr.po:
3953         * po/uk.po:
3954         * po/vi.po:
3955         * po/zh_CN.po:
3956         * po/zh_TW.po:
3957           Update translations from translation project
3958
3959 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
3960
3961         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3962         (gst_child_proxy_set_property):
3963           Invert precondition check to be alike the ones in the mimiced gobject
3964           api.
3965
3966 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
3967
3968         * docs/design/draft-tagreading.txt:
3969         * docs/random/ensonic/audiobaseclasses.txt:
3970           Do some Architect work.
3971
3972         * gst/gstobject.c: (gst_object_set_name):
3973           Add a WARNING.
3974
3975         * gst/gstpad.c:
3976           Add docs that point from gst_pad_get_range to gst_pad_pull_range
3977
3978 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
3979
3980         * gst/gstsystemclock.c: (gst_system_clock_init),
3981         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3982         Defer starting the async system clock thread until the first async
3983         wait is scheduled. Fixes #414986.
3984
3985 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3986
3987         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3988         (gst_single_queue_free):
3989           Fix small leak (free GstSingleQueue structure too, not only contents).
3990
3991 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
3992
3993         * gst/gstbin.c:(gst_bin_add):
3994         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3995         * win32/common/libgstbase.def:
3996         * win32/common/libgstreamer.def:
3997         Add new exported functions.
3998
3999 2007-03-09  Wim Taymans  <wim@fluendo.com>
4000
4001         * docs/plugins/gstreamer-plugins-sections.txt:
4002         Fix GstTee docs.
4003
4004 2007-03-09  Wim Taymans  <wim@fluendo.com>
4005
4006         * docs/gst/gstreamer-sections.txt:
4007         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4008         * gst/gstbuffer.h:
4009         Add metadata copy functions. Fixes #393099.
4010         API: gst_buffer_copy_metadata()
4011
4012         * gst/gstutils.c: (gst_buffer_stamp):
4013         * libs/gst/base/gstbasetransform.c:
4014         (gst_base_transform_prepare_output_buffer):
4015         Use new metadata copy functions.
4016
4017 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4018
4019         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4020         (gst_identity_init), (gst_identity_check_perfect),
4021         (gst_identity_check_imperfect_timestamp),
4022         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4023         (gst_identity_set_property), (gst_identity_get_property):
4024         * plugins/elements/gstidentity.h:
4025         Separate out check-imperfect-timestamp and check-imperfect-offset.
4026         Put back check-perfect as it was to keep compatibility.
4027
4028 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4029
4030         * gst/gstelement.c: (gst_element_dispose):
4031         There's no need to warn if VOID_PENDING is not NONE here, as
4032         long as the state is NULL it's ok, and that's checked immediately
4033         above.
4034
4035 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4036
4037         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4038         Fix check for perfect stream to ignore buffers with -1 
4039         offsets/offset ends when checking data contiguity.
4040
4041 2007-03-08  Wim Taymans  <wim@fluendo.com>
4042
4043         * tools/gst-launch.c: (event_loop):
4044         Print INFO messages.
4045
4046 2007-03-08  Wim Taymans  <wim@fluendo.com>
4047
4048         * libs/gst/base/gstbasetransform.c:
4049         (gst_base_transform_sink_eventfunc),
4050         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4051         (gst_base_transform_activate):
4052         * libs/gst/base/gstbasetransform.h:
4053         Add support for dropping buffers with custom GstFlowReturn.
4054         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4055         buffers or dropped buffers.
4056
4057         * docs/libs/gstreamer-libs-sections.txt:
4058         docs for new custom return code.
4059
4060         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4061         Use drop support in base class to implement drop-probability.
4062
4063 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4064
4065         * gst/gst.c: (load_plugin_func):
4066         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4067         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4068         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4069           Remove newlines at end of debug log strings.
4070
4071 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4072
4073         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4074         Only post bus message at max, once per buffer received.
4075
4076 2007-03-07  Wim Taymans  <wim@fluendo.com>
4077
4078         * docs/design/Makefile.am:
4079         * docs/design/part-synchronisation.txt:
4080         Add doc about synchronisation
4081
4082         * docs/design/draft-latency.txt:
4083         * docs/design/part-TODO.txt:
4084         * docs/design/part-clocks.txt:
4085         * docs/design/part-events.txt:
4086         * docs/design/part-gstbus.txt:
4087         * docs/design/part-gstpipeline.txt:
4088         * docs/design/part-live-source.txt:
4089         * docs/design/part-messages.txt:
4090         * docs/design/part-overview.txt:
4091         * docs/design/part-streams.txt:
4092         * docs/design/part-trickmodes.txt:
4093         Documentation updates.
4094
4095 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4096
4097         * gstreamer.doap:
4098         Update the doap file.
4099
4100 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4101
4102         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4103         Rename non-perfect to imperfect for Mike and for the sanctity of the
4104         language.
4105         Also make sure bus message gets emitted for data-incontiguities.
4106
4107 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4108
4109         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4110         (gst_identity_start):
4111         * plugins/elements/gstidentity.h:
4112         Emit bus message if check-perfect is true and we encounter a
4113         non-perfect stream between 2 consecutive buffers.
4114         Fixes #415394.
4115
4116 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4117
4118         * configure.ac:
4119         Back to CVS
4120
4121 === release 0.10.12 ===
4122
4123 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4124
4125         * configure.ac:
4126           releasing 0.10.12, "Inevitable Demise"
4127
4128 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4129
4130         * configure.ac:
4131          Version 0.10.11.2 (0.10.12 pre-release)
4132          Bump libtool versioning.
4133
4134 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4135
4136         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4137           Log flow-names and not numbers.
4138
4139 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4140
4141         * configure.ac:
4142           Convert to new AG_GST style.
4143
4144 2007-02-28  Wim Taymans  <wim@fluendo.com>
4145
4146         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4147         Don't unref query twice.
4148
4149 2007-02-28  Wim Taymans  <wim@fluendo.com>
4150
4151         * gst/gstvalue.c: (gst_value_transform_object_string),
4152         (_gst_value_initialize):
4153         Implement GstObject -> string transform so we print object names
4154         when serializing GValues containing GstObjects.
4155
4156 2007-02-28  Wim Taymans  <wim@fluendo.com>
4157
4158         * docs/gst/gstreamer-sections.txt:
4159         Add new stuff to docs.
4160
4161 2007-02-28  Wim Taymans  <wim@fluendo.com>
4162
4163         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4164         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4165         (gst_base_sink_change_state):
4166         Improve latency query code.
4167         Don't leak latency events.
4168
4169         * tests/check/gst/gstbin.c: (GST_START_TEST):
4170         Improve debugging.
4171
4172 2007-02-28  Wim Taymans  <wim@fluendo.com>
4173
4174         * gst/gstelement.c: (gst_element_message_full),
4175         (gst_element_get_state_func):
4176         * gst/gstelement.h:
4177         Improve docs a little. Added Since: for new macro.
4178
4179         * gst/gstobject.c: (gst_object_sink):
4180         * gst/gstpipeline.c: (gst_pipeline_change_state),
4181         (gst_pipeline_set_new_stream_time):
4182         * gst/gstpipeline.h:
4183         Improve debugging and docs.
4184
4185         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4186         Improve debugging.
4187
4188 2007-02-28  Wim Taymans  <wim@fluendo.com>
4189
4190         * gst/gstelement.c: (gst_element_message_full),
4191         (gst_element_set_locked_state), (gst_element_get_state_func),
4192         (gst_element_change_state):
4193         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4194         Documentation updates.
4195         Small code cleanups.
4196
4197         * gst/gstmessage.c: (gst_message_new_info),
4198         (gst_message_parse_info):
4199         * gst/gstmessage.h:
4200         API: gst_message_new_info()
4201         API: gst_message_parse_info()
4202         Add INFO message create and parse code.
4203
4204 2007-02-28  Wim Taymans  <wim@fluendo.com>
4205
4206         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4207         (bin_query_latency_done):
4208         Also report the live parameter of a latency query.
4209
4210 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4211
4212         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4213           Copy the current generic/states example from -base and adapt so
4214           we can use the exact same code everywhere.
4215           Check a STATES_IGNORE_ELEMENTS env var which can be used
4216           to ignore certain element factories for this test, which is
4217           what is being done in -base
4218         * tests/check/Makefile.am:
4219           Mention this environment variable.
4220
4221 2007-02-27  Wim Taymans  <wim@fluendo.com>
4222
4223         * docs/gst/gstreamer-sections.txt:
4224         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4225         (gst_bus_timed_pop), (gst_bus_pop):
4226         * gst/gstbus.h:
4227         API: gst_bus_timed_pop()
4228         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4229         message to arrive on the bus.
4230
4231         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4232         (gst_bus_suite):
4233         Two unit tests for new _timed_pop() function.
4234
4235 2007-02-23  Wim Taymans  <wim@fluendo.com>
4236
4237         * gst/gstpipeline.c: (gst_pipeline_change_state),
4238         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4239         Don't ref a NULL clock in _provide_clock_func().
4240         Don't allow an INVALID delay.
4241         Don't try to calculate base_time with an invalid start_time.
4242         Also distribute and notify a NULL clock when it was selected.
4243
4244         * tools/gst-launch.c: (event_loop):
4245         Don't crash when a NULL clock was selected in the pipeline.
4246
4247 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4248
4249         * docs/design/Makefile.am:
4250         * docs/design/draft-missing-plugins.txt:
4251         * docs/random/draft-missing-plugins.txt:
4252           Some small updates: update plugin system identifier prefix
4253           ('gstreamer.net' to 'gstreamer'), mention our new install
4254           API in libgstbaseutils rather than libgimme-codec, add
4255           reference to the online docs.
4256
4257 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4258
4259         * win32/common/config.h:
4260           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4261           use moap cl ci to only check in what is mentioned in the ChangeLog.
4262
4263 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4264
4265         * docs/gst/gstreamer-sections.txt:
4266         * gst/gstelement.h:
4267           Fix up documentation to link to the correct GstGError section.
4268           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4269
4270 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4271
4272         * tools/gst-launch.c: (event_loop):
4273           Make sure that we actually show the important message part of a
4274           warning message.
4275           No need to check if the gerror is not NULL to free; first of all
4276           g_free accepts NULL; and second the default error handler would
4277           segfault if gerror was NULL.
4278
4279 2007-02-21  Wim Taymans  <wim@fluendo.com>
4280
4281         * docs/gst/gstreamer-sections.txt:
4282         Removed docs as well.
4283
4284 2007-02-21  Wim Taymans  <wim@fluendo.com>
4285
4286         * gst/gstmessage.c: (gst_message_parse_duration):
4287         * gst/gstmessage.h:
4288         Remove new messages for release.
4289
4290 2007-02-20  Wim Taymans  <wim@fluendo.com>
4291
4292         * docs/design/part-gstghostpad.txt:
4293         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4294         (gst_ghost_pad_new_full):
4295         Make the ghostpad a parent of the internal pad again for better backward
4296         compatibility. Don't write code that relies on this however.
4297
4298         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4299         (gst_pad_link_check_hierarchy):
4300         Require that parents should be GstElements in the hierarchy check.
4301
4302 2007-02-20  Wim Taymans  <wim@fluendo.com>
4303
4304         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4305         (gst_bin_change_state_func), (bin_query_min_max_init),
4306         (bin_query_latency_fold), (bin_query_latency_done),
4307         (gst_bin_query):
4308         Improve debug info.
4309         Implement latency query.
4310
4311 2007-02-20  Wim Taymans  <wim@fluendo.com>
4312
4313         * docs/design/part-gstghostpad.txt:
4314         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4315         (gst_ghost_pad_internal_do_activate_push),
4316         (gst_ghost_pad_internal_do_activate_pull),
4317         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4318         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4319         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4320         Do not set the internal pad as a parent anymore so we can avoid
4321         hierarchy linking errors when the ghostpad has no parent yet. This also
4322         fixes failed activation because of unlinked internal pads, which in
4323         turn fixes the impossible case where you have to activate a pad before
4324         you can add it to a running element.
4325         Also fix the docs.
4326
4327         * gst/gstpad.c: (pre_activate), (post_activate),
4328         (gst_pad_set_active), (gst_pad_activate_pull),
4329         (gst_pad_activate_push), (gst_pad_check_pull_range):
4330         Add some more debug info.
4331         Mark activation mode in pre_activate so that we don't try to activate in
4332         endless loops. Fixes #385084.
4333
4334 2007-02-19  Wim Taymans  <wim@fluendo.com>
4335
4336         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4337         (gst_base_transform_check_get_range):
4338         Implement a checkgetrange function instead of relying on the default
4339         core behaviour that assumes we can operate in pull mode if we have a
4340         getrange function. First step at fixing #385084.
4341
4342 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4343
4344         * gst/gstchildproxy.h:
4345         * libs/gst/base/gstbasesink.h:
4346         * libs/gst/base/gstbasesrc.h:
4347         * libs/gst/base/gstbasetransform.h:
4348         More docs coverage and some ChangeLog surgery (add missing names)
4349
4350 2007-02-15  Wim Taymans  <wim@fluendo.com>
4351
4352         * docs/design/part-TODO.txt:
4353         * docs/design/part-activation.txt:
4354         * docs/design/part-block.txt:
4355         * docs/design/part-buffering.txt:
4356         * docs/design/part-clocks.txt:
4357         * docs/design/part-element-source.txt:
4358         * docs/design/part-events.txt:
4359         * docs/design/part-gstbin.txt:
4360         * docs/design/part-gstbus.txt:
4361         * docs/design/part-gstpipeline.txt:
4362         * docs/design/part-live-source.txt:
4363         * docs/design/part-messages.txt:
4364         * docs/design/part-overview.txt:
4365         * docs/design/part-qos.txt:
4366         * docs/design/part-query.txt:
4367         * docs/design/part-states.txt:
4368         * docs/design/part-trickmodes.txt:
4369         Some doc updates. Start renaming from stream_time to running_time where
4370         it was used wrongly.
4371
4372 2007-02-15  Wim Taymans  <wim@fluendo.com>
4373
4374         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4375         Answer LATENCY query.
4376
4377 2007-02-15  Wim Taymans  <wim@fluendo.com>
4378
4379         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4380         (GST_START_TEST):
4381         Improve debugging.
4382
4383 2007-02-15  Wim Taymans  <wim@fluendo.com>
4384
4385         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4386         (gst_pad_dispatcher):
4387         Improve debugging of default pad dispatcher and query functions.
4388
4389 2007-02-15  Wim Taymans  <wim@fluendo.com>
4390
4391         * docs/gst/gstreamer-sections.txt:
4392         Remove old unused method.
4393
4394 2007-02-13  Wim Taymans  <wim@fluendo.com>
4395
4396         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4397         Fix check
4398
4399 2007-02-13  Wim Taymans  <wim@fluendo.com>
4400
4401         * docs/design/part-seeking.txt:
4402         Some small update.
4403
4404         * gst/gstsegment.c: (gst_segment_set_seek):
4405         Revert old bogus change that should make seeking work again.
4406
4407 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4408
4409         * docs/random/ensonic/dynlink.txt:
4410         * docs/random/ensonic/interfaces.txt:
4411         * docs/random/ensonic/receipies.txt:
4412           Possible dynamic reconnection api, plus some type fixes the other two
4413           docs.
4414
4415 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4416
4417         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4418         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4419         Also check for an absolute path following file:// in the filesrc
4420         element. Remove redundant check and call g_path_is_absolute() on the
4421         unescaped location.
4422
4423 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4424
4425         * docs/design/draft-klass.txt:
4426           Add existing category analysis.
4427           
4428         * gst/gstcaps.c:
4429           Fix doc example, framerate is a fraction.
4430
4431 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4432
4433         * configure.ac:
4434         * docs/gst/Makefile.am:
4435         * docs/gst/gstreamer-sections.txt:
4436         * docs/libs/Makefile.am:
4437           Erm, forgot a bunch of --extra-dir.
4438
4439 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4440
4441         * configure.ac:
4442         * docs/gst/Makefile.am:
4443         * docs/libs/Makefile.am:
4444         * docs/plugins/Makefile.am:
4445           Add crossreferences to glib/gobject docs.
4446
4447 2007-02-12  Wim Taymans  <wim@fluendo.com>
4448
4449         * docs/design/draft-latency.txt:
4450         Small update.
4451
4452         * docs/libs/gstreamer-libs-sections.txt:
4453         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4454         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4455         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4456         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4457         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4458         (gst_base_sink_get_position), (gst_base_sink_query),
4459         (gst_base_sink_change_state):
4460         * libs/gst/base/gstbasesink.h:
4461         API: gst_base_sink_query_latency() to let subclasses query the upstream
4462         latency.
4463         API: gst_base_sink_get_latency() to let subclasses query the configured
4464         latency in the sink.
4465         Implement query and set latency.
4466         Update some docs.
4467         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4468         don't continue preroll when we are flushing. Fixes #405284.
4469
4470         * tests/check/pipelines/stress.c: (change_state_timeout),
4471         (quit_timeout), (GST_START_TEST), (stress_suite):
4472         Test for #405284.
4473
4474 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4475
4476         Patch by: René Stadler <mail at renestadler de>
4477
4478         * docs/gst/gstreamer-sections.txt:
4479         * gst/gsttaglist.c: (_gst_tag_initialize):
4480         * gst/gsttaglist.h:
4481           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4482
4483 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4484
4485         * docs/libs/Makefile.am:
4486           Fix path to core docs.
4487
4488         * gst/gstbin.c: (gst_bin_get_by_interface),
4489         (gst_bin_iterate_all_by_interface):
4490           Refix docs by also renaming 'interface' to 'iface' in implementation.
4491
4492         * docs/gst/gstreamer-sections.txt:
4493         * gst/gstcaps.c:
4494         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4495         * gst/gstchildproxy.h:
4496         * gst/gstelementfactory.c:
4497         * gst/gstpadtemplate.h:
4498         * libs/gst/controller/gstcontroller.c:
4499         (gst_controlled_property_new):
4500           Document more.
4501
4502 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4503
4504         * gst/gstbin.h:(gst_bin_get_by_interface),
4505         (gst_bin_iterate_all_by_interface):
4506         Replace interface parameter name by iface as interface is 
4507         a reserved keyword in Visual Studio for C++ projects so it removes
4508         a build error for application developpers using VS.
4509         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4510         Fix a bug on Windows in uri format check. Now the prefix checked
4511         is file:// and next we check if the path after file:// is absolute.
4512         * win32/common/libgstbase.def:
4513         * win32/common/libgstdataprotocol.def:
4514         * win32/common/libgstgstreamer.def:
4515         Add new exported functions.
4516
4517 2007-02-09  Andy Wingo  <wingo@pobox.com>
4518
4519         * tests/check/pipelines/simple-launch-lines.c
4520         (simple_launch_lines_suite, test_tee): Disable tee test until I
4521         have time to fix it :-(
4522
4523         * tests/check/Makefile.am (noinst_HEADERS): 
4524         * tests/check/libs/libsabi.c: 
4525         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4526         * tests/check/gst/gstabi.c: 
4527         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4528
4529         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4530         tests for push and pull tee behavior.
4531
4532         * plugins/elements/gsttee.h: 
4533         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4534         mark as deprecated as well as unimplemented. It was a crack idea.
4535         Add support for tee operating in pull mode, off by default.
4536
4537         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4538         normal-case logs down to LOG, raise errors to WARNING.
4539         (gst_registry_xml_read_cache): Don't log before calling a function
4540         that logs.
4541
4542         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4543         exit (registry finalize).
4544         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4545         DEBUG log when we emit signals that people don't even have the
4546         chance to connect to.
4547         (gst_registry_scan_path_level): Less logging in the normal case.
4548
4549 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4550
4551         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4552
4553         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4554         Correctly generate EOS for non-seekable files. We don't have a total
4555         length for them and would get an unexpected end of file if we only
4556         special-cased for regular files. (Fixes: #404569)
4557
4558 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4559
4560         * tests/check/elements/filesrc.c: (GST_START_TEST),
4561         (filesrc_suite):
4562         Add unit test for the GstURIHandler interface in filesrc. This also
4563         tests the newly added file://localhost/foo/bar support.
4564
4565 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4566
4567         * gst/gstelementfactory.h:
4568           The klass string is not a hierarchy. Add reference to the design doc
4569           for more information and common types.
4570
4571 2007-02-02  Wim Taymans  <wim@fluendo.com>
4572
4573         * gst/gstquery.c: (gst_query_new_latency):
4574         Remove old structure field.
4575
4576 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4577
4578         * tools/gst-launch.1.in:
4579           Give example for network streaming (#351998)
4580
4581 2007-02-02  Wim Taymans  <wim@fluendo.com>
4582
4583         * docs/gst/gstreamer-sections.txt:
4584         Add docs for new methods.
4585
4586         * gst/gstevent.c: (gst_event_new_latency),
4587         (gst_event_parse_latency):
4588         * gst/gstevent.h:
4589         Add new LATENCY event to configure latency in a pipeline.
4590         API: gst_event_new_latency
4591         API: gst_event_parse_latency
4592
4593         * gst/gstmessage.c: (gst_message_new_buffering),
4594         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4595         (gst_message_new_latency), (gst_message_parse_buffering),
4596         (gst_message_parse_lost_preroll):
4597         * gst/gstmessage.h:
4598         Added messages used in draft-latency.
4599         API: gst_message_new_lost_preroll
4600         API: gst_message_parse_lost_preroll
4601         API: gst_message_new_prerolled
4602         API: gst_message_new_latency
4603
4604         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4605         (gst_query_parse_latency):
4606         * gst/gstquery.h:
4607         Implemented new latency query as in design doc.
4608         API: gst_query_new_latency
4609         API: gst_query_set_latency
4610         API: gst_query_parse_latency
4611
4612 2007-02-02  Wim Taymans  <wim@fluendo.com>
4613
4614         * docs/design/draft-latency.txt:
4615         Slight redesign to allow for dynamic latency adjustments.
4616
4617         * docs/design/part-negotiation.txt:
4618         Fix some typos.
4619
4620 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4621
4622         reviewed by: Wim Taymans <wim@fluendo.com>
4623
4624         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4625         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4626         Allow file://localhost/foo/bar URLs and correctly fail for every other
4627         hostname that one sets. This was gnomevfssrc is linked for those if
4628         installed as it can handle it (#403172)
4629
4630 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4631
4632         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4633
4634         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4635         (unref_data), (gst_collect_pads_add_pad_full):
4636         * libs/gst/base/gstcollectpads.h:
4637         Don't put the previously added destroy notify in the GstCollectData
4638         struct as all it's padding is already used and we don't want to break
4639         ABI. Instead put in the pad's GObject data for now. This should be
4640         cleaned up for 0.11 (#402393).
4641
4642 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4643
4644         reviewed by: Wim Taymans <wim@fluendo.com>
4645
4646         * docs/libs/gstreamer-libs-sections.txt:
4647         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4648         (unref_data), (gst_collect_pads_add_pad),
4649         (gst_collect_pads_add_pad_full):
4650         * libs/gst/base/gstcollectpads.h:
4651         API: Add function to specify a destroy notification for custom
4652         GstCollectData when adding new pads in GstCollectPads (#402393).
4653
4654 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4655
4656         * po/sv.po:
4657           Update Swedish translation (#378255).
4658
4659 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4660
4661         * docs/design/draft-klass.txt:
4662           Fix the previous change, this is a list of categories and not a hierarchy.
4663
4664 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4665
4666         * docs/design/draft-klass.txt:
4667           Add info about how to get a list of used classes.
4668
4669 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4670
4671         * plugins/elements/gsttypefindelement.c:
4672         (gst_type_find_element_chain_do_typefinding),
4673         (gst_type_find_element_change_state):
4674           Don't leak found caps in chain function (no idea why that never
4675           showed up as a leak anywhere).
4676
4677 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4678
4679         * gst/gstplugin.h:
4680           Fix and expand GstPluginDesc API docs.
4681
4682 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4683
4684         * gst/gstcaps.c:
4685         * gst/gstelementfactory.c:
4686         * gst/gstpadtemplate.h:
4687           api doc fixes
4688
4689         * libs/gst/controller/gstcontroller.c:
4690         (gst_controlled_property_new):
4691         * tests/examples/controller/audio-example.c:
4692           comment fixes
4693
4694 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4695
4696         * configure.ac:
4697           comment about refining the xml deps
4698
4699         * docs/manuals.mak:
4700           comments about moving away from jade for docs
4701         
4702         * gst/gst.c:
4703           recommit the ifdefs to use the binary registry
4704         
4705         * gst/gstbin.c: (gst_bin_change_state_func):
4706           this break is obsolete
4707
4708         * gst/gstelementfactory.h:
4709           better GST_ELEMENT_DETAILS docs, add comment about translation
4710
4711         * gst/gstinfo.h:
4712           remove eol slash
4713
4714         * gst/gstobject.c: (gst_signal_object_get_type):
4715           add G_UNLIKELY as usual
4716
4717         * gst/gstpad.c: (gst_pad_event_default):
4718           add fall trhu comment
4719
4720         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4721         (gst_registry_binary_initialize_magic),
4722         (gst_registry_binary_save_string),
4723         (gst_registry_binary_save_pad_template),
4724         (gst_registry_binary_save_feature),
4725         (gst_registry_binary_save_plugin),
4726         (gst_registry_binary_write_cache),
4727         (gst_registry_binary_check_magic),
4728         (gst_registry_binary_load_pad_template),
4729         (gst_registry_binary_load_feature),
4730         (gst_registry_binary_load_plugin),
4731         (gst_registry_binary_read_cache):
4732           comment typo and formatting
4733
4734         * gst/gstutils.c: (gst_element_state_get_name),
4735         (gst_element_state_change_return_get_name):
4736           remove obsolete breaks
4737
4738         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4739           add FIXME 0.11 and remove cpp comment
4740
4741 2007-01-29  Edward Hervey  <edward@fluendo.com>
4742
4743         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4744         Fix print statement in an even more portable way.
4745
4746 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4747
4748         * docs/gst/gstreamer-sections.txt:
4749         * gst/gstutils.h:
4750           API: add GST_ROUND_DOWN_* macros (#401781).
4751
4752 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4753
4754         * docs/gst/gstreamer.types.in:
4755         * gst/gstregistry.c: (gst_registry_class_init):
4756           Document registry signals and make gtk-doc pick them up (#401381).
4757
4758 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4759
4760         * docs/pwg/building-testapp.xml:
4761           Add some audioconverts and audioresample to the pipeline, and some
4762           more comments and error handling.
4763
4764 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4765
4766         * docs/manual/manual.xml:
4767         * docs/pwg/pwg.xml:
4768           Fix typo (#400987).
4769
4770 2007-01-26  Wim Taymans  <wim@fluendo.com>
4771
4772         * gst/gstcaps.c: (gst_static_caps_get):
4773         Init caps flags too.
4774
4775 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4776
4777         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4778
4779         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4780         If not using mmap'ed files try to seek to the end instead of the
4781         start to determine whether we can seek at all. This fixes the case
4782         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4783         seeks for everything afterwards fail. Fixes #400656
4784
4785 2007-01-25  Wim Taymans  <wim@fluendo.com>
4786
4787         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4788         Add some refcount debugging.
4789         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4790         in multiple streaming threads.
4791
4792 2007-01-25  Wim Taymans  <wim@fluendo.com>
4793
4794         Patch by: David Schleef <ds at schleef dot org>
4795
4796         * docs/libs/gstreamer-libs-sections.txt:
4797         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4798         * libs/gst/base/gstadapter.h:
4799         API: gst_adapter_copy() that can reduce the amount of memcpy when
4800         getting data from the adapter. Fixes #388201.
4801
4802 2007-01-25  Edward Hervey  <edward@fluendo.com>
4803
4804         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4805         In print statements, "%x" is for guint. Fixes build on macosx.
4806
4807 2007-01-24  Edward Hervey  <edward@fluendo.com>
4808
4809         * plugins/elements/gstmultiqueue.c:
4810         (gst_multi_queue_loop):
4811         Small fix.
4812         (single_queue_overrun_cb), (single_queue_underrun_cb),
4813         (single_queue_check_full), (gst_single_queue_new):
4814         Implement single queue growth system.
4815         This uses the extra-size properties, and will grow single queues by
4816         that much if one goes full whereas there are others empty. This is
4817         called extra-mode in the code.
4818         When a single queue's levels go back below the initial max-size
4819         limits, it is no longer in extra-mode. This is to ensure we don't
4820         consume too much memory.
4821         Fixes #399875
4822
4823 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4824
4825         * gst/gst.c: (gst_init_get_option_group):
4826           Make warning about late g_thread_init() calls a bit more explicit,
4827           so that it's more obvious to application developers what they need
4828           to do if a user files a bug against their application.
4829
4830 2007-01-22  Edward Hervey  <edward@fluendo.com>
4831
4832         * plugins/elements/gstmultiqueue.c:
4833         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4834         Remove previous hack of unsetting the flushing flag for the source pad
4835         instead of activating it. Instead, fix the source pad activate function
4836         so that it no longer depends on having a parent set or not.
4837
4838 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4839
4840         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4841
4842         * docs/manual/basics-bus.xml:
4843           Fix example code, gst_element_unref() doesn't exist any longer.
4844
4845 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4846
4847         Patch by: Mark Nauwelaerts <manauw at skynet be>
4848
4849         * gst/gstpad.c:
4850           Fix two docs typoes (#399094).
4851
4852 2007-01-19  Edward Hervey  <edward@fluendo.com>
4853
4854         * docs/faq/gst-uninstalled:
4855         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4856         depending on libgstbaseutils can work in uninstalled environment.
4857
4858 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4859
4860         * gst/gsttaglist.h:
4861         * gst/gsttagsetter.c:
4862         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4863         statement for new tag.
4864
4865 2007-01-17  Edward Hervey  <edward@fluendo.com>
4866
4867         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4868         When dynamically creating single queues, activate sinkpad before adding
4869         it.
4870         We should be doing the same thing for the source pad, but we can't
4871         since it would call a method which needs the parent to be set in order
4872         to work propertly. Instead of activating the source pad, we just unset
4873         the flushing flag, which is the minimal requirement for adding a pad
4874         to an element in a state greater than READY.
4875
4876 2007-01-17  Edward Hervey  <edward@fluendo.com>
4877
4878         * docs/faq/gst-uninstalled:
4879         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4880         Mac OS X.
4881
4882 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4883
4884         * tests/check/gst/gstabi.c:
4885         * tests/check/gst/struct_hppa.h:
4886         * tests/check/libs/libsabi.c:
4887         * tests/check/libs/struct_hppa.h:
4888           Add ABI structs for HPPA (see #393796).
4889
4890 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
4891
4892         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4893           Actually write ABI structs to the file specified in the GST_ABI
4894           environment variable, as the message we print claims we would.
4895
4896 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4897
4898         * tests/check/gst/gsttask.c:
4899           Fix header comment.
4900
4901 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4902
4903         * gst/gsttaglist.c: (_gst_tag_initialize):
4904           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4905           previous two entries.
4906
4907 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4908
4909         * docs/gst/gstreamer-sections.txt:
4910         * gst/gsttaglist.c: (_gst_tag_initialize):
4911         * gst/gsttaglist.h:
4912           Add tag support for beat-per-minute.
4913
4914 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4915
4916         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4917         (gst_registry_binary_initialize_magic),
4918         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4919         (gst_registry_binary_save_pad_template),
4920         (gst_registry_binary_save_feature),
4921         (gst_registry_binary_save_plugin),
4922         (gst_registry_binary_write_cache),
4923         (gst_registry_binary_check_magic),
4924         (gst_registry_binary_load_pad_template),
4925         (gst_registry_binary_load_feature),
4926         (gst_registry_binary_load_plugin),
4927         (gst_registry_binary_read_cache):
4928         * gst/gstregistrybinary.h:
4929           Use glib types, cleanup comments, impement interfaces and uri-types.
4930
4931 2007-01-13  Andy Wingo  <wingo@pobox.com>
4932
4933         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4934         getrange() to return buffers with other caps, while we fix
4935         demuxers and typefind, or otherwise change part-negotiation.txt.
4936
4937 2007-01-12  Andy Wingo  <wingo@pobox.com>
4938
4939         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4940         Factor start/stop into this private function instead of partially
4941         in activate functions and partially in the change_state function.
4942         Fixes setup before the element has changed from READY->PAUSED, as
4943         is the case in pull-mode pipelines.
4944         (gst_base_transform_sink_activate_push)
4945         (gst_base_transform_src_activate_pull): Refactor to use
4946         gst_base_transform_activate().
4947         (gst_base_transform_change_state): Removed, not needed any more.
4948
4949         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4950         Truncate before fixating.
4951         
4952         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4953         Don't set_caps() if the result of fixating is ANY, as it's not
4954         supported, and not necessary in the case of a link with no
4955         template caps on either side. Fixes tests/check/libs/basesrc in
4956         some pull-mode tests.
4957
4958         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4959         (gst_base_transform_init, gst_base_transform_sink_activate_push)
4960         (gst_base_transform_src_activate_pull): 
4961         Track the activation mode.
4962         (gst_base_transform_setcaps): In pull mode, when activating the
4963         src pad, after activating the sink pad, activate the sink pad's
4964         peer, as discussed in part-negotiation.txt.
4965
4966         * libs/gst/base/gstbasesrc.h: 
4967         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4968         vmethod, as in basesink.
4969
4970         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4971
4972         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4973         mode, first proxy the setcaps to the peer pad.
4974         (gst_base_sink_pad_fixate): Add a fixate function that calls the
4975         new fixate vmethod.
4976         (gst_base_sink_default_activate_pull): Rename from
4977         gst_base_sink_activate_pull.
4978         (gst_base_sink_negotiate_pull): New function, performs negotiation
4979         in pull mode before calling ::activate_pull().
4980         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4981         vmethod instead of the default implementation. I have no idea how
4982         this worked before. Negotiate before calling activate_pull.
4983
4984         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4985         sink pads in pull mode. In addition to being correct, fixes
4986         filesrc ! decodebin ! identity ! fakesink.
4987         (gst_pad_get_range, gst_pad_pull_range): Don't call
4988         gst_pad_set_caps() if the caps changes; instead error out with
4989         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4990
4991 2007-01-12  Andy Wingo  <wingo@pobox.com>
4992
4993         * docs/design/part-negotiation.txt: Update with more policy.
4994
4995 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4996
4997         * libs/gst/check/gstbufferstraw.h:
4998         * libs/gst/check/gstcheck.h:
4999           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5000           belongs.
5001
5002 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5003
5004         * tests/check/Makefile.am:
5005         * tests/check/gst/.cvsignore:
5006         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5007         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5008         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5009         (GST_START_TEST), (gst_tag_setter_suite):
5010           Add minimal unit test for beforementioned GstTagSetter bug.
5011
5012 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5013
5014         Patch by: René Stadler <mail at renestadler dot de>
5015
5016         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5017           gst_tag_list_merge() returns a new list, so it's not the best idea
5018           to ingore its return value. Effectively meant that tags could only
5019           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5020           Also add function guard to require a non-NULL taglist as input (has
5021           always been so due to gst_tag_list_copy(), just making it explicit).
5022
5023 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5024
5025         * docs/random/draft-missing-plugins.txt:
5026           Some additions: mention new API that is supposed to be used at the
5027           various stages; short blob about new gst-inspect introspection
5028           option; mention potential future problem with plugins that have
5029           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5030
5031 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5032
5033         * tools/gst-inspect.c:
5034         (print_plugin_automatic_install_info_codecs),
5035         (print_plugin_automatic_install_info_protocols),
5036         (print_plugin_automatic_install_info), (main):
5037         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5038         introspect plugin files and get machine-parsable output that corresponds
5039         to the last bit of the missing-plugin installer string (small gotcha:
5040         doesn't take into account ranks).
5041
5042 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5043
5044         * configure.ac:
5045         * docs/gst/gstreamer-sections.txt:
5046         * gst/Makefile.am:
5047         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5048         (gst_registry_lookup_locked):
5049         * gst/gstregistry.h:
5050         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5051         (gst_registry_binary_initialize_magic),
5052         (gst_registry_binary_save_string),
5053         (gst_registry_binary_save_pad_template),
5054         (gst_registry_binary_save_feature),
5055         (gst_registry_binary_save_plugin),
5056         (gst_registry_binary_write_cache),
5057         (gst_registry_binary_check_magic),
5058         (gst_registry_binary_load_pad_template),
5059         (gst_registry_binary_load_feature),
5060         (gst_registry_binary_load_plugin),
5061         (gst_registry_binary_read_cache):
5062         * gst/gstregistrybinary.h:
5063         * gst/gstregistryxml.c: (load_feature),
5064         (gst_registry_xml_read_cache):
5065           commit binary registry (disabled by default, see #359653)
5066
5067 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5068
5069         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5070           Fix 'make check' too.
5071
5072 2007-01-10  Andy Wingo  <wingo@pobox.com>
5073
5074         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5075         notes.
5076         
5077         * docs/design/part-negotiation.txt: Update with, um, one way that
5078         pull-mode negotiation might work?
5079
5080         * gst/gstpad.h: 
5081         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5082         that the pad must be a src pad; makes sense to call it the other
5083         way in pull mode, and the logic is symmetric anyway.
5084
5085 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5086
5087         * plugins/elements/gstfilesink.c:
5088           Include <stdio.h> for fseeko().
5089
5090 2007-01-10  Wim Taymans  <wim@fluendo.com>
5091
5092         * gst/gstevent.c:
5093         * gst/gstevent.h:
5094         Reserve LATENCY event.
5095
5096 2007-01-09  Wim Taymans  <wim@fluendo.com>
5097
5098         * docs/design/draft-latency.txt:
5099         Updates.
5100
5101 2007-01-09  Wim Taymans  <wim@fluendo.com>
5102
5103         * docs/design/draft-latency.txt:
5104         Updates.
5105
5106         * gst/gstelement.h:
5107         * gst/gststructure.c:
5108         * gst/gsttrace.c:
5109         Small typo fixes.
5110
5111 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5112
5113         * tests/check/.cvsignore:
5114           Ignore test-registry.xml as well.
5115
5116 2007-01-09  Wim Taymans  <wim@fluendo.com>
5117
5118         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5119         unref data at the end when we are done with the pad.
5120
5121 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5122
5123         * docs/gst/gstreamer-sections.txt:
5124         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5125         (init_post), (gst_deinit), (gst_update_registry):
5126         * gst/gst.h:
5127           API: add gst_update_registry() (#391296).
5128
5129         * tests/check/Makefile.am:
5130         * tests/check/gst/gstregistry.c:
5131         * tests/check/gst/.cvsignore:
5132           Simple unit test for the above.
5133
5134 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5135
5136         * gst/gstregistry.c: (gst_registry_scan_path_level):
5137           Plugin extension on HP-UX is .sl, add that to the list of approved
5138           plugin extensions (see #393796).
5139
5140         * tests/check/gst/gstpad.c: (GST_START_TEST):
5141           ulong => gulong. Fixes compilation with HP-UX compiler.
5142
5143         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5144           Fix compilation if valgrind headers are not available.
5145
5146 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5147
5148         * win32/common/libgstreamer.def: 
5149           Add new exported function.
5150         * win32/vs6/libgstbase.dsp: 
5151           Add gstdataqueue.c to the build.
5152         * win32/vs6/libgstcoreelements.dsp:
5153           Add gstmultiqueue.c to the build.
5154         
5155 2007-01-06  Andy Wingo  <wingo@pobox.com>
5156
5157         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5158         activate_pull(), providing for a way to specialize the process of
5159         spawning a thread to pull on the sink pad. There is a default
5160         implementation.
5161
5162         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5163         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5164         (gst_base_sink_init): Renamed pad activation functions (inserting
5165         "_pad" in their names). Refactor to use the new activate_pull
5166         vmethod, as appropriate.
5167         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5168         default activate_pull function to start a task pulling from the
5169         sink pad, as before.
5170
5171         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5172         on the pads if necessary, as in push()/chain(). Update docs.
5173         Shouldn't affect existing pull() usage as it is currently only
5174         being used on buffers without caps.
5175
5176 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5177
5178         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5179         (init_pre):
5180           Call g_thread_init() first thing in gst_init() / gst_check_init().
5181           When initialisation is done via gst_init_get_option_group() and
5182           GOption parsing, issue a warning if the GLib thread system has not
5183           been initialised yet by the time gst_init_get_option_group() is
5184           called, as it's quite likely other GLib functions such as
5185           g_option_context_new() have been called already then, and
5186           g_thread_init() must be called before any other GLib function. The
5187           application in question must be fixed in that case, since memory
5188           corruption might happen otherwise.
5189           We issue the warning because even if the GLib folks decide to work
5190           around the problem on their end in future, this is still an issue
5191           with all GLib versions >= 2.10.0, so we should warn until we depend
5192           on a GLib version we know to be safe.
5193           Update documentation as well.
5194           Closes bug #391278.
5195
5196 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5197
5198         * tools/gst-inspect.c: (main):
5199         * tools/gst-launch.c: (main):
5200         * tools/gst-typefind.c: (main):
5201         * tools/gst-xmlinspect.c: (main):
5202           Call g_thread_init() really really early, before any other GLib
5203           function (see #342564 and recent discussion on gtk-devel-list).
5204
5205 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5206
5207         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5208
5209         * gst/gst_private.h:
5210         * gst/gstconfig.h.in:
5211         * gst/gstinfo.h:
5212           On win32, all the __declspec stuff for symbol exporting is
5213           apparently only needed with MSVC, but doesn't work with MingW.
5214           Fixes compilation with MingW and #391909.
5215
5216 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5217
5218         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5219           Change some GST_ERROR_OBJECT that aren't really errors to
5220           GST_WARNING_OBJECT in order to reduce terminal spam.
5221
5222 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5223
5224         * tests/check/Makefile.am:
5225           disable test again, as there seem to be still race problems
5226
5227 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5228
5229         * tests/check/Makefile.am:
5230         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5231         (GST_START_TEST), (queue_suite):
5232           enable queue test again, add tests for the leaky behaviour
5233
5234 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5235
5236         * configure.ac:
5237         * tests/examples/Makefile.am:
5238           Compile adapter test/example only if the required headers are
5239           available (fixes #391915).
5240
5241 2007-01-01  David Schleef  <ds@schleef.org>
5242
5243         * gst/gstplugin.c:
5244           Restore the previous signal handler for SIGSEGV instead of
5245           setting to default, since we may have stolen it away from
5246           someone.  (i.e., Mono)
5247
5248 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5249
5250         * docs/random/draft-missing-plugins.txt:
5251           Some small additions and clarifications.
5252
5253 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5254
5255         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5256           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5257           since that can lead to random memory corruptions and crashes
5258           (may or may not be related to #383244, #386711, and #386711).
5259
5260 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5261
5262         * tests/check/.cvsignore:
5263         * tests/check/Makefile.am:
5264           sync .cvsignome and CLEANFILES
5265
5266 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5267
5268         * tests/check/Makefile.am:
5269           fix distcheck
5270
5271 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5272
5273         * docs/design/part-states.txt:
5274           two tiny additional comments
5275         
5276         * gst/gststructure.c:
5277           doc fixing
5278
5279         * tests/check/Makefile.am:
5280         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5281         (GST_START_TEST):
5282           disable test for now, unless it gets fixed
5283
5284 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5285
5286         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5287         (GST_START_TEST):
5288           fix race in underrun test
5289
5290 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5291
5292         * tests/check/elements/.cvsignore:
5293           ignore more
5294
5295         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5296         (GST_START_TEST):
5297           try to narrow test failure
5298
5299 2006-12-21  David Schleef  <ds@schleef.org>
5300
5301         * plugins/elements/gstfakesrc.c:
5302           Use g_random_int_range(), since it produces better random
5303           numbers in a range than almost-correct floating point code.
5304
5305 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5306
5307         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5308         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5309         (gst_check_teardown_sink_pad):
5310           do not automatically (de)activate pads
5311
5312         * tests/check/Makefile.am:
5313         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5314         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5315           add new, yet simple tests for queue
5316
5317         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5318         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5319         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5320         (GST_START_TEST):
5321         * tests/check/elements/identity.c: (cleanup_identity):
5322           consistent pad (de)activation
5323
5324 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5325
5326         Patch by: Sebastian Dröge  <slomo ubuntu com>
5327
5328         * libs/gst/base/gstcollectpads.c:
5329           Fix two doc typos (#387866).
5330
5331 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5332
5333         * docs/manual/advanced-dparams.xml:
5334           Fix typo (g_object_control_properties() doesn't exist).
5335
5336 2006-12-19  Edward Hervey  <edward@fluendo.com>
5337
5338         * gst/gstsegment.c: (gst_segment_set_seek):
5339         Fine tune the cases where the segment start/stop values are really
5340         updated.
5341         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5342         Add tests for the return values of gst_segment_set_seek().
5343
5344 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5345
5346         * gst/gst.c:
5347           Docs typo fix.
5348
5349         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5350         (gst_queue_init):
5351           Fix incorrect documentation and flesh it out a bit more.
5352           Set default values for the max properties on the GParamSpec as well,
5353           so it shows up correctly in gst-inspect.
5354
5355 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5356
5357         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5358           Correct docs of queue, add more detail and crosslink it more.
5359
5360 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5361
5362         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5363           Print additional debug info when the stream isn't perfectly
5364           timestamped; don't try to use invalid durations.
5365
5366 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5367
5368         * docs/design/Makefile.am:
5369           Dist new design docs.
5370
5371 2006-12-16  Wim Taymans  <wim@fluendo.com>
5372
5373         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5374
5375         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5376         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5377         (gst_collect_pads_stop), (gst_collect_pads_event),
5378         (gst_collect_pads_chain):
5379         * libs/gst/base/gstcollectpads.h:
5380         Add refcounting to the collectpads data so we can track when it's safe
5381         to free the data. Fixes #383382.
5382
5383 2006-12-15  Wim Taymans  <wim@fluendo.com>
5384
5385         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5386         (gst_collect_pads_remove_pad):
5387         Automatically activate/deactivate pads when they are added to a
5388         started/stoped collectpads.
5389
5390 2006-12-15  Wim Taymans  <wim@fluendo.com>
5391
5392         * gst/gstelement.c: (gst_element_add_pad):
5393         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5394         * gst/gstpad.c: (gst_pad_init):
5395         Set pads to FLUSHING when they are created. Check, warn and fix when a
5396         demuxer adds an inactive pad to itself when running. Fixes #339326.
5397
5398 2006-12-15  Wim Taymans  <wim@fluendo.com>
5399
5400         * gst/gstelement.c: (gst_element_class_init),
5401         (gst_element_default_send_event), (gst_element_send_event),
5402         (gst_element_default_query), (gst_element_query):
5403         Expose default element send_event and query handling as vmethods that
5404         subclasses can chain up to.
5405
5406 2006-12-15  Wim Taymans  <wim@fluendo.com>
5407
5408         * gst/gstelement.c: (gst_element_set_state_func):
5409         Small documentation fixes.
5410
5411 2006-12-15  Wim Taymans  <wim@fluendo.com>
5412
5413         * docs/design/draft-latency.txt:
5414         Checked in draft for handling latency in pipelines.
5415
5416 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5417
5418         * Makefile.am:
5419         * gstreamer.doap:
5420         * gstreamer.spec.in:
5421           adding .doap file
5422
5423 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5424
5425         * gst/gst.c: (init_pre), (init_post):
5426           init_pre() and init_post() might be called via our GOptionGroup or
5427           from gst_init(), and we should skip both of them if we've already
5428           been initialised, otherwise we will init some things twice or add
5429           two default log functions.
5430
5431 2006-12-13  Edward Hervey  <edward@fluendo.com>
5432
5433         * docs/manual/basics-bus.xml:
5434         No, gst_main_loop does not exist. Its g_main_loop.
5435         Discovered by somebody who abused the copy-paste technique of coding :)
5436
5437 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5438
5439         * gst/gstghostpad.c:
5440           Log ghostpad debug stuff to the GST_PADS category as well rather
5441           than just to the default category.
5442
5443 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5444
5445         * configure.ac:
5446         * gst/gst.c: (init_pre):
5447           Add some basic system details such as OS and architecture
5448           to the debug output if possible, courtesy of uname().
5449
5450 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5451
5452         * docs/gst/running.xml:
5453           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5454           environment variables.
5455
5456 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5457
5458         * tests/check/gst/gstbin.c: (GST_START_TEST):
5459         It is acceptable to have a refcount of 2 or 3 at this point in the
5460         test, because the pipeline might be just posting its state_change
5461         message. The next line then waits for that message to appear using
5462         bus_poll, so that should be fine too.
5463
5464 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5465
5466         * gst/gst.c: (ensure_current_registry_forking):
5467         Ignore EINTR when reading from the child registry pipe.
5468         Explicitly ignore the return value from close, since it makes no
5469         difference.
5470
5471         * gst/gstminiobject.c: (gst_mini_object_ref),
5472         (gst_mini_object_unref):
5473         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5474
5475         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5476         When removing cached plugins, remove their features too, so they're
5477         not visible after they've disappeared.
5478
5479         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5480         In the unlikely case that we are linking pads with no parents, don't
5481         crash trying to get the non-existent parent bin.
5482
5483         * gst/parse/grammar.y:
5484         Output debug in the PIPELINE category
5485
5486 2005-03-08  Wim Taymans  <wim@fluendo.com>
5487
5488         Patch by: René Stadler <mail at renestadler dot de>
5489
5490         * gst/gstclock.c: (gst_clock_new_periodic_id):
5491         Reject invalid clock times for interval of periodic ids.
5492         Fixes ##383506.
5493
5494 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5495
5496         * gst/gstelementfactory.c: (gst_element_factory_create):
5497         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5498         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5499         * tools/gst-inspect.c: (print_element_info):
5500         Fix refcounting of gst_plugin_feature_load to match the docs. 
5501         Fixes: #380129
5502
5503 2006-12-07  Wim Taymans  <wim@fluendo.com>
5504
5505         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5506         (gst_base_sink_get_position):
5507         Improve debugging of events.
5508
5509 2006-12-07  Wim Taymans  <wim@fluendo.com>
5510
5511         Patch by: René Stadler <mail at renestadler dot de>
5512
5513         * gst/gstclock.c: (gst_clock_id_wait):
5514         Make period ids add the interval to the origial requested time instead
5515         of the possibly updated time which can be wrong when there are multiple
5516         waiters for the same id. Fixes #382592.
5517
5518         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5519         (gst_system_clock_id_wait_jitter_unlocked),
5520         (gst_system_clock_id_wait_jitter):
5521         Fix restart in the async notify thread when an async entry is added to
5522         the front of the list. Fixes #381492. 
5523
5524         * tests/check/gst/gstsystemclock.c: (store_callback),
5525         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5526         Added test for multiple async waits.
5527         Added test for async wait order.
5528
5529 2006-12-07  Wim Taymans  <wim@fluendo.com>
5530
5531         * gst/gstbin.c: (gst_bin_query):
5532         Add some more docs about the POSITION query.
5533
5534 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5535
5536         * configure.ac:
5537         Bump version nano - back to CVS.
5538
5539 === release 0.10.11 ===
5540
5541 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5542
5543         * configure.ac:
5544           releasing 0.10.11, "Love never runs on time"
5545
5546 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5547
5548         * win32/common/libgstbase.def:
5549         * win32/common/libgstreamer.def:
5550         * win32/vs8/libgstbase.vcproj:
5551         * win32/vs8/libgstcoreelements.vcproj:
5552         * win32/vs8/libgstreamer.vcproj:
5553         Fix compilation on win32 under VS8
5554         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5555         Partially fixes #381175
5556
5557 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5558
5559         * gst/gstvalue.c: (gst_value_compare_fraction):
5560         If someone is foolish enough to compare 2 fractions with denominator =
5561         0, return UNORDERED rather than aborting.
5562
5563 2006-11-28  Edward Hervey  <edward@fluendo.com>
5564
5565         * libs/gst/base/Makefile.am:
5566         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5567         (gst_data_queue_base_init), (gst_data_queue_class_init),
5568         (gst_data_queue_init), (gst_data_queue_new),
5569         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5570         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5571         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5572         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5573         (gst_data_queue_set_flushing), (gst_data_queue_push),
5574         (gst_data_queue_pop), (gst_data_queue_drop_head),
5575         (gst_data_queue_set_property), (gst_data_queue_get_property):
5576         * libs/gst/base/gstdataqueue.h:
5577         New GstDataQueue object for threadsafe queueing. Most useful for
5578         elements that need some queueing functionnality.
5579         * docs/libs/gstreamer-libs-docs.sgml:
5580         * docs/libs/gstreamer-libs-sections.txt:
5581         Insert documentation for GstDataQueue
5582         * plugins/elements/Makefile.am:
5583         * plugins/elements/gstelements.c:
5584         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5585         (gst_multi_queue_class_init), (gst_multi_queue_init),
5586         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5587         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5588         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5589         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5590         (gst_multi_queue_loop), (gst_multi_queue_chain),
5591         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5592         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5593         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5594         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5595         (wake_up_next_non_linked), (compute_next_non_linked),
5596         (single_queue_overrun_cb), (single_queue_underrun_cb),
5597         (single_queue_check_full), (gst_single_queue_new):
5598         * plugins/elements/gstmultiqueue.h:
5599         New multiqueue element, using GstDataQueue. Used for queuing multiple
5600         streams.
5601         Closes #344639 and #347785
5602
5603 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5604
5605         * docs/pwg/advanced-types.xml:
5606           add more missing type details
5607
5608         * tools/gst-run.c: (main):
5609           remove unused variable
5610
5611 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5612
5613         * docs/libs/Makefile.am:
5614         * docs/libs/gstreamer-libs.types:
5615           add types of base classes to enable gobject specific stuff in the docs
5616
5617         * docs/random/ensonic/embedded.txt:
5618           more ideas about isolating platform specific things
5619
5620 2006-11-20  Wim Taymans  <wim@fluendo.com>
5621
5622         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5623
5624         * libs/gst/check/gstcheck.h:
5625         Fix compilation and running against 0.9.4. Fixes #377332.
5626
5627 2006-11-20  Wim Taymans  <wim@fluendo.com>
5628
5629         * gst/gstsegment.c: (gst_segment_set_seek),
5630         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5631         (gst_segment_to_running_time):
5632         Fix boundary checking in to_running_time() and to_stream_time().
5633         Fixes #377183.
5634
5635         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5636         stream and running time can now be calculated for the complete
5637         clipped segment.
5638
5639 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5640
5641         * gst/gstpad.c: (gst_pad_push_event):
5642           Can't access event structure after giving away ownership of
5643           the event.
5644
5645 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5646
5647         * docs/random/ensonic/embedded.txt:
5648         * docs/random/ensonic/profiling.txt:
5649         * docs/random/ensonic/receipies.txt:
5650           more thinking
5651
5652 2006-11-13  Wim Taymans  <wim@fluendo.com>
5653
5654         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5655
5656         * gst/gstpad.c:
5657         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5658
5659 2006-11-13  Wim Taymans  <wim@fluendo.com>
5660
5661         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5662
5663         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5664         Store new length in segment duration so we don't keep on calling the
5665         potentially expensize get_size() call. Fixes #370865.
5666
5667 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5668
5669         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5670
5671         * win32/common/libgstreamer.def:
5672           Add two missing symbols (#366492).
5673
5674 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5675
5676         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5677         (gst_adapter_take_buffer):
5678         Fix format string to use all its arguments.
5679         Remove useless >= check on a guint
5680
5681 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5682
5683         * tests/examples/adapter/.cvsignore:
5684         Ignore build file as commanded by the build-bot
5685
5686 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5687
5688         * tests/examples/adapter/Makefile.am:
5689         * tests/examples/adapter/adapter_test.c: (run_test_take),
5690         (run_test_take_buffer), (run_tests), (main):
5691
5692         Add new files from the previous commit
5693
5694 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5695
5696         * Makefile.am:
5697         * configure.ac:
5698         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5699         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5700         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5701         * libs/gst/base/gstadapter.h:
5702         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5703         (GST_START_TEST), (gst_adapter_suite):
5704         * tests/examples/Makefile.am:
5705         Do some optimisation work in GstAdapter to avoid copies in more cases.
5706         It could still do slightly better by merging buffers when
5707         gst_buffer_is_span_fast is true, but is already faster. 
5708
5709         Also, avoid traversing a single-linked list to append each incoming 
5710         buffer inside the adapter.
5711
5712         Add simple test app that times the adapter behaviour in different
5713         situations, and extend the unit test to check that bytes enter and
5714         exit the adapter in their original order.
5715
5716 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5717
5718         * docs/random/draft-missing-plugins.txt:
5719           Update: use element message instead of adding a new message
5720           type to the core; don't provide GStreamer API to initiate the
5721           plugin download, just provide API to compose the strings needed
5722           and let an external libgimmestuff handle the rest.
5723
5724 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5725
5726         * tools/gst-inspect.c: (print_element_properties_info):
5727         Print a string instead of 'unknown type' for GValueArray properties
5728
5729 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5730
5731         * docs/random/draft-missing-plugins.txt:
5732         More small fixes.
5733
5734 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5735
5736         * tests/examples/typefind/typefind.c: (type_found), (main):
5737           Make typefind element example work again (#371894); add a
5738           license header.
5739
5740 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5741
5742         * docs/random/draft-missing-plugins.txt:
5743           Commit initial draft about how to deal with missing plugins,
5744           needs work (API too).
5745
5746 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5747
5748         * docs/pwg/advanced-types.xml:
5749           documents the new caps elements (see #363118)
5750
5751 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5752
5753         * gst/gstplugin.c: (gst_plugin_load_file):
5754         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5755         (gst_file_src_map_region), (gst_file_src_start):
5756         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5757         (gst_file_index_commit):
5758           Use g_strerror() instead of strerror() - we want UTF-8.
5759
5760 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5761
5762         Patch by: Peter Kjellerstedt <pkj at axis com>
5763
5764         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5765           Another printf fix (#371493).
5766
5767 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5768
5769         * tests/check/gst/gsttag.c:
5770           relicence (okay with author=company)
5771
5772 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5773
5774         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5775         (gst_pad_push_event):
5776           Enhance debug and improve docs
5777         
5778         * gst/gsturi.c:
5779           Fix docs
5780
5781 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5782
5783         * docs/random/ensonic/distributed.txt:
5784         * docs/random/ensonic/profiling.txt:
5785           more ideas
5786
5787 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5788
5789         * docs/gst/gstreamer-sections.txt:
5790           add new API and fix the build
5791           
5792         * gst/gstbin.c: (gst_bin_recalc_state):
5793         * gst/gstelement.c: (gst_element_message_full),
5794         (gst_element_get_state_func), (gst_element_set_state_func):
5795           use new API and improve logging
5796         
5797         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5798         * gst/gstutils.h:
5799           API: add function to get StateChangereturn names to improve logs 
5800
5801 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5802
5803         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5804           I'm considering shooting the next person to put strerror stuff
5805           in the translateable part of the message.
5806
5807 2006-11-03  Wim Taymans  <wim@fluendo.com>
5808
5809         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5810         Get the type and printf conversion specifiers right.
5811
5812 2006-11-03  Wim Taymans  <wim@fluendo.com>
5813
5814         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5815
5816         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5817         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5818         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5819         Some small cleanups. Improve debugging.
5820         * gst/gstpad.h:
5821         Signal all waiting threads with a broadcast instead of just one.
5822         Fixes #369942.
5823
5824 2006-11-03  Wim Taymans  <wim@fluendo.com>
5825
5826         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5827         (gst_fd_src_create):
5828         Add some debugging. 
5829         Only update fd when it's different from the old.
5830
5831 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5832
5833         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5834           Printf fixes for PPC/OSX, take two (#369366).
5835
5836 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5837
5838         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5839
5840         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5841         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5842         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5843           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5844           don't cast to long long for portability reasons, but use
5845           GLib's types instead.
5846
5847 2006-10-30  Michael Smith  <msmith@fluendo.com>
5848
5849         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5850           Get the arguments to lseek() the right way around.
5851           Fixes 367677.
5852
5853 2006-10-30  Wim Taymans  <wim@fluendo.com>
5854
5855         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5856
5857         * gst/gstinfo.h:
5858         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5859
5860 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5861
5862         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5863
5864         * docs/design/part-MT-refcounting.txt:
5865         * docs/random/wtay/capsnego2-docs:
5866         * gst/gstclock.c:
5867         * gst/gstxml.c:
5868           Typo fixes (#366212).
5869
5870 2006-10-28  Wim Taymans  <wim@fluendo.com>
5871
5872         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5873
5874         * gst/gst.c:
5875         * win32/common/libgstbase.def:
5876         * win32/common/libgstreamer.def:
5877         * win32/vs8/libgstbase.vcproj:
5878         * win32/vs8/libgstcontroller.vcproj:
5879         Add needed entries in .def files.
5880         Use HAVE_UNISTD_H.
5881         Rearrange def files in vs8 solutions. Fixes #366286.
5882
5883 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5884
5885         * win32/common/gstconfig.h:
5886           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5887           hand-made win32 gstconfig.h. Fixes #366321.
5888
5889 2006-10-27  Wim Taymans  <wim@fluendo.com>
5890
5891         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5892         (gst_ghost_pad_new_full):
5893         Make acceptcaps return TRUE when we don't have a target, just like
5894         setcaps does.
5895
5896 2006-10-27  Wim Taymans  <wim@fluendo.com>
5897
5898         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5899         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5900
5901 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5902
5903         * gst/gststructure.c: (gst_structure_id_set_value):
5904           If someone tries to set a non-UTF8 string field on a structure,
5905           don't just print a warning, but also ignore the request and do
5906           not change/add that field to the structure.
5907
5908         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5909           Test for the above.
5910
5911 2006-10-25  David Schleef  <ds@schleef.org>
5912
5913         * gst/gstinfo.c:
5914           g_hash_table_insert() needs a cast to a non-const pointer duh.
5915
5916 2006-10-25  David Schleef  <ds@schleef.org>
5917
5918         * gst/gstinfo.c:
5919         * gst/gstinfo.h:
5920           Change name parameter of _gst_debug_register_funcptr to const
5921           to reflect the constness of its use in the function as well
5922           as to quiet a gcc warning.
5923
5924 2006-10-25  Edward Hervey  <edward@fluendo.com>
5925
5926         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5927         Don't push the buffer if it's empty.
5928         Closes #363095
5929
5930 2006-10-24  Wim Taymans  <wim@fluendo.com>
5931
5932         * gst/gstevent.h:
5933         Add small comment.
5934
5935         * libs/gst/base/gstbasetransform.c:
5936         (gst_base_transform_sink_eventfunc):
5937         Debug segment values *after* updating them as this is more
5938         interesting.
5939
5940 2006-10-23  Wim Taymans  <wim@fluendo.com>
5941
5942         * docs/design/part-events.txt:
5943         Update some docs.
5944
5945         * docs/design/part-block.txt:
5946         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5947         (gst_pad_push_event):
5948         Revert BLOCKING patch, it tries to be smart without really having a
5949         clear idea what or how. So, now we discard all FLUSHING events again on
5950         a blocking pad. Should fix gnonlin again.
5951
5952 2006-10-23  Wim Taymans  <wim@fluendo.com>
5953
5954         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5955
5956         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5957         (gst_base_src_start), (gst_base_src_activate_push):
5958         Make sure size is always initialized. Fixes #364388.
5959
5960 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
5961
5962         * docs/random/ensonic/distributed.txt:
5963           add some ideas about doing distributed processing
5964
5965         * docs/random/ensonic/profiling.txt:
5966           get_rusage look promising
5967
5968 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5969
5970         * docs/manual/basics-helloworld.xml:
5971           Add a cast in example to fix compile warning
5972
5973 2006-10-18  Wim Taymans  <wim@fluendo.com>
5974
5975         * gst/gstsegment.c: (gst_segment_set_last_stop),
5976         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5977         Relax arg checking again, -1 is allowed.
5978
5979 2006-10-18  Wim Taymans  <wim@fluendo.com>
5980
5981         * gst/gstsegment.c: (gst_segment_set_last_stop),
5982         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5983         _set_last_stop() must be with a value != -1
5984         A _TYPE_SET to -1 means seek to 0.
5985         Calc last_stop correctly for negative rates.
5986         Make sure we work with positive durations when updating a segment.
5987
5988 2006-10-18  Wim Taymans  <wim@fluendo.com>
5989
5990         * docs/design/part-live-source.txt:
5991         * gst/gstclock.h:
5992         Small docs fixes.
5993
5994 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
5995
5996         * gst/gstbuffer.h:
5997           Add an explicit cast to GstBuffer** to keep old code that added an
5998           explicit cast to GstMiniObject** for gst_mini_object_replace()
5999           compiling without warning.
6000
6001 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6002
6003         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6004           check for validity of dates
6005
6006 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6007
6008         * docs/gst/gstreamer-sections.txt:
6009           Forgot this one, makes gtk-doc shut up.
6010
6011 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6012
6013         Patch by: Peter Kjellerstedt <pkj at axis com>
6014
6015         * gst/gstobject.h:
6016           Don't define xmlNodePtr to gpointer if the core was built with
6017           --disable-loadsave and --disable-registry, this will break
6018           applications that want to use libxml2 but are buildling against a
6019           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6020           instead so we don't have to mess with the libxml2 namespace
6021           (#361675).
6022
6023 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6024
6025         * gst/gstbuffer.h:
6026           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6027           type-punned pointer warnings.
6028
6029 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6030
6031         * gst/gstelement.h:
6032           Add casts to the correct return type to state <=> state transition
6033           macros.
6034
6035 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6036
6037         * docs/design/part-live-source.txt:
6038           describe howto handle latency
6039         
6040         * docs/random/ensonic/profiling.txt:
6041           more ideas
6042
6043         * tools/gst-plot-timeline.py:
6044           fix log parsing for solaris, remove unused function
6045
6046 2006-10-16  Wim Taymans  <wim@fluendo.com>
6047
6048         * docs/design/part-trickmodes.txt:
6049         * gst/gstevent.c:
6050         Update some docs regarding reverse playback.
6051
6052 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6053
6054         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6055
6056         * win32/vs8/grammar.vcproj:
6057           Error out with a warning if glib-genmarshal.exe is not in path,
6058           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6059
6060 2006-10-13  Wim Taymans  <wim@fluendo.com>
6061
6062         * gst/gstsegment.c: (gst_segment_set_seek):
6063         When seeking to stop -1, set last_stop (current position) to the
6064         duration of the segment.
6065
6066 2006-10-13  Wim Taymans  <wim@fluendo.com>
6067
6068         * gst/gstelement.h:
6069         Clarify _NO_PREROLL a bit more.
6070
6071         * gst/gstevent.c:
6072         Fix docs.
6073
6074         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6075         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6076         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6077         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6078         due to wrong locking order. Fixes #361769.
6079         Remove some redundant/misplaced checks in pad_block.
6080
6081         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6082         For negative rates, count backwards from the duration.
6083
6084 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6085
6086         * gst/gsterror.c: (_gst_library_errors_init):
6087           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6088           up with something better).
6089
6090 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6091
6092         * win32/vs6/libgstreamer.dsp:
6093         * win32/vs7/libgstreamer.vcproj:
6094         * win32/vs8/libgstreamer.vcproj:
6095           Don't reference glib-compat.c which is currently not used and not
6096           disted; add gstquark.c which was recently added. Fixes #361730.
6097
6098 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6099
6100         * win32/common/libgstbase.def:
6101         * win32/common/libgstcontroller.def:
6102         * win32/common/libgstreamer.def:
6103           Add gst_caps_merge() and a bunch of other recently-added functions.
6104           Fixes #361732.
6105
6106 2006-10-11  Wim Taymans  <wim@fluendo.com>
6107
6108         * docs/plugins/gstreamer-plugins.args:
6109         * docs/plugins/inspect/plugin-coreelements.xml:
6110         * docs/plugins/inspect/plugin-coreindexers.xml:
6111         Update element args.
6112
6113         * gst/gstsystemclock.c:
6114         Small comment update.
6115
6116         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6117         (gst_tee_request_new_pad), (gst_tee_release_pad),
6118         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6119         (gst_tee_sink_activate_pull):
6120         * plugins/elements/gsttee.h:
6121         Some tee loving:
6122         Add default property defines.
6123         Implement release pad function.
6124         Give properties better blubs etc.
6125         Activate pads before adding them to a running tee.
6126         Do simple buffer_alloc on the first requested pad.
6127         Post error when activation fails.
6128
6129 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6130
6131         * gst/gst.c: (ensure_current_registry_forking):
6132           Check return value of write() to make compiler happy.
6133
6134 2006-10-11  Wim Taymans  <wim@fluendo.com>
6135
6136         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6137
6138         * plugins/elements/gstqueue.c: (gst_queue_chain):
6139         Recheck queue filledness after signalling the overrun when we're about
6140         to leak downstream because we released the lock when emitting the signal
6141         and the queue could be empty again. Fixes #352345.
6142
6143 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6144
6145         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6146           Fix refcounting here too, just like we did for _new_valist() a few
6147           days ago (#357180) (thanks to René Stadler). Also remove all those
6148           'Since: 0.9' from the gtk-doc blobs.
6149
6150         * tests/check/libs/controller.c: (controller_refcount_new_list),
6151         (gst_controller_suite):
6152           Unit test for the above.
6153
6154 2006-10-10  Wim Taymans  <wim@fluendo.com>
6155
6156         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6157
6158         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6159         (gst_pad_save_thyself):
6160         Update some docs.
6161         Write pad direction in XML output. Fixes #345496.
6162
6163 2006-10-10  Wim Taymans  <wim@fluendo.com>
6164
6165         Patch by: René Stadler <mail at renestadler dot de>
6166
6167         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6168         (gst_controller_new_list), (_gst_controller_dispose),
6169         (_gst_controller_finalize), (_gst_controller_class_init):
6170         Take ref to controlled object so that it cannot disappear. 
6171         Fixes #357432.
6172
6173 2006-10-10  Wim Taymans  <wim@fluendo.com>
6174
6175         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6176         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6177         (gst_check_teardown_sink_pad):
6178         Activate/deactivate pads in setup/teardown respectively.
6179
6180 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6181
6182         Patch by: Josep Torre Valles <josep@fluendo.com>
6183
6184         * gst/Makefile.am:
6185         Cast values when making gstenumtypes.h.  This pacifies Forte
6186         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6187         in the enumeration.
6188
6189 2006-10-09  Wim Taymans  <wim@fluendo.com>
6190
6191         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6192         Rename some more @cur to @start to fix docs. 
6193
6194         * gst/gstsegment.c: (gst_segment_set_seek):
6195         Fix typo.
6196         time and start must always stay in sync as defined in design doc.
6197
6198         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6199         Rename param to fix docs.
6200
6201         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6202         Check that start and time are in sync.
6203
6204         * tests/check/pipelines/parse-launch.c:
6205         (gst_parse_test_element_change_state):
6206         Activate pad before adding to the element.
6207
6208 2006-10-09  Wim Taymans  <wim@fluendo.com>
6209
6210         * docs/design/part-qos.txt:
6211         Fix typo.
6212
6213         * gst/gstevent.c:
6214         * gst/gstevent.h:
6215         Update seek event docs regarding negative rates.
6216         Rename @cur to @start. 
6217
6218         * gst/gstsegment.c: (gst_segment_set_seek):
6219         * gst/gstsegment.h:
6220         Update set_seek docs regarding negative rates.
6221         Correctly update last_stop to @stop when dealing with negative
6222         rates.
6223         Rename @cur to @start. 
6224
6225         * tests/check/gst/gstpad.c: (GST_START_TEST):
6226         Activate pads before trying to use them.
6227
6228         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6229         (gst_segment_suite):
6230         Add simple check for segments and negative rates.
6231
6232 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6233
6234         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6235         * gst/gsttaglist.h:
6236         * docs/gst/gstreamer-sections.txt:
6237           API: add gst_tag_list_is_empty() (#360467).
6238
6239         * tests/check/gst/gsttag.c: (GST_START_TEST):
6240           And a test case.
6241
6242 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6243
6244         * gst/gstmessage.h:
6245         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6246         a value that doesn't fit on enumeration.
6247
6248 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6249
6250         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6251         Remove local debugging system and use Gstreamer's instead.
6252
6253 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6254
6255         Patch by: Josep Torre Valles <josep@fluendo.com>
6256
6257         * common/m4/gst-error.m4:
6258         Disable warning of statement not reached on Forte.
6259         * gst/gstmessage.h:
6260         Fix warning on Forte (value doesn't fit on enumeration).
6261         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6262         Fix warning on Forte (value doesn't fit on enumeration).
6263         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6264         DEBUG macro says it takes minimum of 2 args and so Forte
6265         complains about the use with just 1 arg.
6266         * plugins/elements/gstfdsink.c:
6267         * plugins/elements/gstfdsrc.c:
6268         * plugins/elements/gstfilesink.c:
6269         * plugins/elements/gstfilesrc.c:
6270         Use correct return type for the uri handler implementations.
6271
6272         All these fix warnings in Forte.  Fixes bug #360860.
6273
6274 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6275
6276         * gst/gstelement.h:
6277           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6278           format string, so don't use G_GNUC_PRINTF for those versions.
6279
6280 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6281
6282         * gst/gsttaglist.c: (gst_is_tag_list):
6283         * gst/gsttaglist.h:
6284           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6285
6286         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6287           Small test for the above.
6288
6289 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6290
6291         * gst/gsttaglist.h:
6292           Less tabs, more spaces.
6293
6294 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6295
6296         * gst/gstinfo.h:
6297           Those two function declarations do actually belong there, revert
6298           commit from yesterday that turned them intro macros.
6299
6300 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6301
6302         Patch by: Josep Torre Valles <josep@fluendo.com>
6303
6304         * gst/gst.c: (gst_init_get_option_group):
6305         Fix empty declaration and type mismatch.
6306         * gst/gstbin.c: (gst_bin_change_state_func):
6307         Fix type mismatch.
6308         * gst/gstelement.c: (gst_element_continue_state),
6309         (gst_element_set_state_func), (gst_element_change_state),
6310         (gst_element_change_state_func):
6311         Fix type mismatches.
6312         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6313         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6314         Cast as appropriate.
6315         * gst/gstobject.c: (gst_class_signal_connect):
6316         Cast as appropriate.  The function pointer parameter really
6317         has the wrong type but would break API if we change it.
6318         * gst/gstquery.c:
6319         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6320         order of including string.h.
6321         * gst/gstutils.c: (gst_element_state_get_name):
6322         Remove unreachable line.
6323         * gst/gstxml.c: (gst_xml_parse_doc):
6324         Fix type mismatch.
6325         All these caught by Forte.
6326
6327 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6328
6329         Patch by: Josep Torre Valles <josep@fluendo.com>
6330
6331         * common/m4/gst-error.m4:
6332         Fixed bug #360151.
6333         We need to disable warnings on Forte for empty declarations
6334         due to gst-indent adding ;s to lines that just use macros
6335         where the macro actually doesn't need a ; at end to end
6336         statement.
6337
6338 2006-10-06  Wim Taymans  <wim@fluendo.com>
6339
6340         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6341         (gst_file_sink_close_file), (gst_file_sink_event),
6342         (gst_file_sink_render):
6343         Add some FIXME for the NEWSEGMENT handling.
6344
6345 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6346
6347         * gst/parse/grammar.y:
6348         Remove static function gst_parse_element_lock as all it does
6349         is return.  Looks like cruft from 0.8.
6350
6351 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6352
6353         Patch by: Josep Torre Valles <josep@fluendo.com>
6354
6355         * common/m4/gst-error.m4:
6356         * configure.ac:
6357         * libs/gst/net/Makefile.am:
6358         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6359         libresolv.
6360
6361 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6362
6363         * gst/gstpad.c: (pre_activate):
6364         * gst/gstregistry.c: (gst_registry_scan_path_level):
6365         * gst/gstregistryxml.c: (load_plugin):
6366         * libs/gst/controller/gstcontroller.c:
6367         (gst_controlled_property_set_interpolation_mode):
6368         * libs/gst/dataprotocol/dataprotocol.c:
6369         (gst_dp_packet_from_event_1_0):
6370         * libs/gst/net/gstnetclientclock.c:
6371         (gst_net_client_clock_observe_times):
6372         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6373           Printf fixes.
6374
6375 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6376
6377         * configure.ac:
6378         * docs/gst/gstreamer-sections.txt:
6379         * gst/gstconfig.h.in:
6380         * gst/gstelement.h:
6381         * gst/gstinfo.h:
6382           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6383           whether we can use G_GNUC_PRINTF in other header files and at
6384           least check the printf format/arguments of debug messages and
6385           GST_ELEMENT_ERROR messages when the printf extension is not
6386           being used.
6387           Replace more tabs with spaces in gstinfo.h and remove two spurious
6388           function declarations in GST_DISABLE_DEBUG part with macros.
6389
6390 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6391
6392         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6393           More docs for the sync-message signal (mention that it is not
6394           emitted by default); log message structures of messages posted on
6395           the bus as well.
6396
6397 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6398
6399         * gst/gst.c: (ensure_current_registry_forking):
6400         Use a pipe pair to receive status results from the forked child, and
6401         ignore the result from waitpid. Fixes #355499
6402
6403 2006-10-02  Wim Taymans  <wim@fluendo.com>
6404
6405         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6406         (gst_ghost_pad_suite):
6407         Fix leak in check.
6408
6409 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6410
6411         * gst/gstpad.c:
6412           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6413
6414 2006-10-02  Edward Hervey  <edward@fluendo.com>
6415
6416         * docs/design/part-block.txt:
6417         Further explain the use of flushing on blocked pads.
6418         * docs/gst/gstreamer-sections.txt:
6419         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6420         (gst_pad_push_event):
6421         * gst/gstpad.h:
6422         Added new GstPadFlag : GST_PAD_BLOCKING.
6423         Adds the notion of pads really blocking, which enables to properly
6424         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6425         Fixes #358999
6426         API: gst_pad_is_blocking()
6427         API: GST_PAD_IS_BLOCKING() macro
6428         API: GST_PAD_BLOCKING GstPadFlag
6429         
6430 2006-10-02  Wim Taymans  <wim@fluendo.com>
6431
6432         Patch by: mrcgran <mrc.gran at gmail dot com>
6433
6434         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6435         Filter the proxied caps against the padtemplate if we have one.
6436
6437         * gst/gstquery.c: (gst_query_new_segment):
6438         Add include for gstinfo.h so that compilation with
6439         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6440
6441 2006-10-02  Wim Taymans  <wim@fluendo.com>
6442
6443         Patch by: Alessandro Decina  <alessandro at nnva org>
6444
6445         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6446         (gst_file_sink_set_location), (gst_file_sink_open_file),
6447         (gst_file_sink_close_file), (gst_file_sink_event),
6448         (gst_file_sink_render):
6449         Set file to NULL when closing filesink so that we can set a new filename
6450         in READY. Fixes #358613.
6451
6452 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6453
6454         Patch by: Alessandro Decina  <alessandro at nnva org>
6455
6456         * gst/gstevent.c: (_gst_event_copy):
6457           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6458           with event structures by setting the parent refcount address of the
6459           copied structure to the address of the refcount member of the newly
6460           copied event rather than the address of the refcount member of the
6461           original event. Fixes #358737.
6462
6463         * tests/check/gst/gstevent.c: (GST_START_TEST):
6464           Unit test for the above.
6465
6466 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6467
6468         * docs/design/Makefile.am:
6469           Dist some more files.
6470
6471 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6472
6473         * tests/check/libs/controller.c: (GST_START_TEST),
6474         (gst_controller_suite):
6475           Add test for the previous fix; add some more tests
6476           for correct refcounting behaviour; fix a few leaks
6477           in test cases; call gst_controller_init() at start
6478           of all tests.
6479
6480 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6481
6482         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6483         (gst_controller_set_from_list):
6484           Don't g_return_val_if_fail() on timed values with invalid timestamps
6485           inside a critical section without unlocking the mutex. Spotted by
6486           René Stadler. (#357617)
6487           Also, fix up refcounting properly: when returning an existing
6488           controller, we should increase the reference only once and not
6489           once per property and when trying to control a property again
6490           we should also increase the refcount.
6491
6492 2006-09-29  Wim Taymans  <wim@fluendo.com>
6493
6494         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6495         * libs/gst/net/gstnettimeprovider.c:
6496         (gst_net_time_provider_thread):
6497         Stop reading commands when EOF as well.
6498
6499         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6500         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6501         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6502         Unify description of the dump property.
6503
6504 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6505
6506         * tests/examples/manual/.cvsignore:
6507         OK, so it's actually cvsignore that needs changing. Stop laughing.
6508
6509 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6510
6511         * tests/examples/manual/Makefile.am:
6512         Gah, declare vars *before* using them
6513
6514 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6515
6516         * gst/gst.c: (init_pre), (scan_and_update_registry),
6517         (ensure_current_registry_nonforking),
6518         (ensure_current_registry_forking), (ensure_current_registry),
6519         (init_post), (gst_debug_help), (gst_deinit):
6520         * gst/gst_private.h:
6521         * gst/gstregistry.c: (gst_registry_finalize),
6522         (gst_registry_remove_features_for_plugin_unlocked),
6523         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6524         (gst_registry_scan_path),
6525         (_priv_gst_registry_remove_cache_plugins),
6526         (_priv_gst_registry_cleanup):
6527         * gst/gstregistry.h:
6528         Re-commit the registry changes, along with an extra fix:
6529           When a cached plugin is encountered at a different file path,
6530           update the stored path in the registry cache so that the parent
6531           process knows where it actually is now when it re-reads the registry
6532           cache. Fixes the thing that broke distcheck with the previous commit.
6533
6534         * tests/check/Makefile.am:
6535         Clean up files named 'core' too when running make clean.
6536
6537         * tests/examples/manual/Makefile.am:
6538         Set up a registry path for running these tests, and clean it properly
6539         for distcheck.
6540
6541 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6542
6543         * configure.ac:
6544         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6545         want gmodule-no-export-2.0.pc instead so that we don't drag in
6546         --export-dynamic on every project that links to GStreamer.
6547
6548         Also, make our export regex only match the start of symbols, rather 
6549         than any symbol that contains '_gst' somewhere.
6550
6551         * libs/gst/check/Makefile.am:
6552         The libgstcheck we build does however need export-dynamic, as it
6553         produces some symbols that don't match our _gst... style regex.
6554         Fixes: #318031
6555
6556 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6557
6558         * gst/gst.c: (init_pre), (scan_and_update_registry),
6559         (ensure_current_registry_nonforking),
6560         (ensure_current_registry_forking), (ensure_current_registry),
6561         (init_post), (gst_debug_help), (gst_deinit):
6562         * gst/gst_private.h:
6563         * gst/gstregistry.c: (gst_registry_finalize),
6564         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6565         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6566         (_gst_registry_cleanup):
6567         * gst/gstregistry.h:
6568           Revert previous change until I figure out why it breaks distcheck.
6569
6570 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6571
6572         * gst/gst.c: (init_pre), (scan_and_update_registry),
6573         (ensure_current_registry_nonforking),
6574         (ensure_current_registry_forking), (ensure_current_registry),
6575         (init_post), (gst_debug_help), (gst_deinit):
6576
6577           Make init_pre and init_post take the full complement of GOptionFunc
6578           args so they can return useful GErrors. Make the registry updating
6579           functions do so.
6580
6581           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6582           ensure that the registry we're about to write out doesn't contain
6583           stale information about old-deleted plugin files.
6584
6585           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6586           that deletion of plugin files is considered a registry change.
6587
6588         * gst/gst_private.h:
6589         * gst/gstregistry.c: (gst_registry_finalize),
6590         (gst_registry_remove_features_for_plugin_unlocked),
6591         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6592         (gst_registry_scan_path),
6593         (_priv_gst_registry_remove_cache_plugins),
6594         (_priv_gst_registry_cleanup):
6595         * gst/gstregistry.h:
6596         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6597         by adding _priv prefix, so that they won't appear in the global
6598         symbol table. They still do atm though because of #318031. Move the
6599         prototypes to gst_private.h
6600
6601         When removing a plugin, remove all features for that plugin too. 
6602         Fixes #340878.
6603
6604 2006-09-27  Wim Taymans  <wim@fluendo.com>
6605
6606         * docs/random/moving-plugins:
6607         Make it clear that the "compiled-in descriptions" really mean
6608         the element details.
6609
6610         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6611         (gst_base_sink_wait_preroll):
6612         Update docs.
6613
6614         * docs/libs/gstreamer-libs-sections.txt:
6615         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6616         (gst_base_src_get_range), (gst_base_src_activate_push):
6617         * libs/gst/base/gstbasesrc.h:
6618         Added function to block while waiting for PLAYING, this function
6619         is used by live sources that block on the clock.
6620         API: gst_base_src_wait_playing()
6621
6622 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6623
6624         Patch by: Peter Kjellerstedt <pkj at axis com>
6625
6626         * Makefile.am:
6627           gst-element-check.m4 is generated and should therefore be
6628           copied from the build dir rather than the source dir (#357593).
6629           'make distcheck' hasn't noticed this because we were disting
6630           the file as well, so stop doing that.
6631
6632 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6633
6634         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6635           Add some tests for gst_caps_intersect().
6636
6637         * tools/gst-launch.c: (event_loop):
6638           Print all buffering percentages we get, even the 100% one.
6639
6640 2006-09-26  Wim Taymans  <wim@fluendo.com>
6641
6642         * tools/gst-inspect.c: (print_element_properties_info),
6643         (print_signal_info):
6644         Fix printing of flags to match the look of enums.
6645
6646 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6647
6648         * gst/gstelementfactory.c:
6649           Fix typo in docs blurb.
6650
6651 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6652
6653         * gst/gsturi.c: (search_by_entry):
6654           Don't assert/crash here if a uri handler doesn't return any
6655           supported protocols. The list of protocols could be generated
6656           dynamically at runtime or at plugin registration, and an error
6657           in the underlying library shouldn't be fatal (#353301).
6658
6659 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6660
6661         * gst/gstinfo.c:
6662           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6663           (spotted by Peter Kjellerstedt).
6664
6665 2006-09-23  Wim Taymans  <wim@fluendo.com>
6666
6667         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6668
6669         * libs/gst/base/gstbasesrc.c:
6670         (gst_base_src_default_check_get_range), (gst_base_src_start),
6671         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6672         (gst_base_src_change_state):
6673         Match _start/_stop calls in the activate functions. Remove redundant
6674         _stop call from the state change function. Fixes #356910.
6675         Turn failure DEBUG into ERROR. 
6676
6677 2006-09-22  Wim Taymans  <wim@fluendo.com>
6678
6679         * docs/design/part-buffering.txt:
6680         * gst/gstmessage.c: (gst_message_new_buffering),
6681         (gst_message_parse_buffering):
6682         Update docs about buffering.
6683
6684         * docs/design/part-trickmodes.txt:
6685         Fix typo.
6686
6687 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6688
6689         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6690         (gst_controller_new_list):
6691           Ref instances when returning them again (fixes #357180)
6692
6693 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6694
6695         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6696           Don't forget to release proxy lock when there's an error.
6697
6698 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6699
6700         * gst/gstcaps.h:
6701           Add extra initialisers for Caps things, to fix some plugin warnings
6702           when using -Wextra
6703
6704 2006-09-18  Wim Taymans  <wim@fluendo.com>
6705
6706         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6707           Also set template on the internal pad so that a getcaps from the 
6708           target pad returns the template caps.
6709
6710 2006-09-18  Wim Taymans  <wim@fluendo.com>
6711
6712         * gst/gstelement.c: (gst_element_post_message),
6713         (gst_element_dispose):
6714         Use _DEBUG_OBJECT some more.
6715
6716         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6717         Avoid typechecks.
6718
6719         * tools/gst-launch.c: (main):
6720         If the toplevel element is not a GstPipeline, it must be put in a
6721         pipeline so that a bus and clock is selected.
6722
6723 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6724
6725         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6726           JITTER, RATE, and LATENCY query should be handled by the
6727           default case and not by the CONVERT query code.
6728
6729 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6730
6731         * gst/gstformat.c: (gst_format_register):
6732           Fix locking order (must take lock before using n_values).
6733
6734         * gst/gstvalue.c: (gst_value_serialize_enum),
6735         (gst_value_deserialize_enum_iter_cmp),
6736         (gst_value_deserialize_enum):
6737           Fix serialisation/deserialisation of custom registered GstFormats.
6738
6739         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6740           Unit test for custom format serialisation/deserialisation.
6741
6742 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6743
6744         * docs/pwg/building-boiler.xml:
6745         * plugins/elements/gstcapsfilter.c:
6746         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6747         section.
6748
6749 2006-09-16  Edward Hervey  <edward@fluendo.com>
6750
6751         * libs/gst/base/gstbasetransform.c:
6752         (gst_base_transform_buffer_alloc):
6753         Check if requested caps are the same as the sinks caps IF
6754         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6755         is FALSE.
6756         This fixes the renegotiation issues stated in #352827.
6757
6758 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6759
6760         * configure.ac:
6761         * docs/manual/advanced-autoplugging.xml:
6762         * tests/examples/Makefile.am:
6763         * tests/examples/manual/.cvsignore:
6764         * tests/examples/manual/Makefile.am:
6765         * tests/examples/manual/extract.pl:
6766           Extract the manual examples again like we used to do.
6767           Fix one of them.
6768
6769 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6770
6771         * win32/common/config.h:
6772           update for version
6773
6774 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6775
6776         * gst/gsterror.c:
6777           Documents how to receive errors.
6778
6779 2006-09-15  Wim Taymans  <wim@fluendo.com>
6780
6781         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6782         (event_loop), (main):
6783         Added some comments here and there.
6784         Post an application message when an interrupt is caught instead of doing
6785         an uncontrolled state change.
6786         Clean up the event loop.
6787         Handle buffering messages, pause/resume the pipeline.
6788         Make shutdown because of an interrupt more reliable.
6789
6790 2006-09-15  Wim Taymans  <wim@fluendo.com>
6791
6792         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6793         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6794         (gst_base_sink_preroll_object):
6795         Make sure that our internal state is correct when we commit our state
6796         asynchronously. This solves a race where a state change to PLAYING
6797         could cause the sink to remain blocked in preroll in some situations.
6798
6799 2006-09-15  Wim Taymans  <wim@fluendo.com>
6800
6801         * tools/gst-inspect.c: (print_element_properties_info),
6802         (print_signal_info):
6803         List flags as hex so it's easier to deal with.
6804
6805 2006-09-15  Wim Taymans  <wim@fluendo.com>
6806
6807         * docs/libs/gstreamer-libs-sections.txt:
6808         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6809         (gst_base_sink_do_sync):
6810         * libs/gst/base/gstbasesink.h:
6811         Expose logic to wait for preroll so that subclasses such as audiosink
6812         can also use this method.
6813         API: gst_base_sink_wait_preroll()
6814
6815 2006-09-15  Wim Taymans  <wim@fluendo.com>
6816
6817         * gst/gstobject.c: (gst_object_set_parent):
6818         * gst/gstpipeline.c: (do_pipeline_seek):
6819         Small cleanups in docs and code.
6820
6821         * gst/gstsegment.c: (gst_segment_clip):
6822         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6823         if stop == start and start is in the segment, no clipping should be
6824         done. Also add a test for this.
6825
6826 2006-09-15  Wim Taymans  <wim@fluendo.com>
6827
6828         * docs/design/part-buffering.txt:
6829         * docs/gst/gstreamer-sections.txt:
6830         * gst/gstmessage.c: (gst_message_new_buffering),
6831         (gst_message_parse_buffering):
6832         * gst/gstmessage.h:
6833         Added methods to create and parse BUFFERING messages.
6834         Added preliminary docs about buffering.
6835         API: gst_message_new_buffering
6836         API: gst_message_parse_buffering
6837
6838 2006-09-06  Wim Taymans  <wim@fluendo.com>
6839
6840         * gst/gstbin.c:
6841         Update documentation.
6842
6843         * gst/gstelement.c: (gst_element_class_init),
6844         (gst_element_release_request_pad), (gst_element_set_clock),
6845         (gst_element_get_index), (gst_element_add_pad),
6846         (gst_element_remove_pad), (gst_element_get_random_pad),
6847         (gst_element_send_event), (gst_element_get_query_types),
6848         (gst_element_query), (gst_element_post_message),
6849         (gst_element_message_full), (gst_element_continue_state),
6850         (gst_element_lost_state), (gst_element_save_thyself),
6851         (gst_element_restore_thyself):
6852         Documentation updates.
6853         Rename last bit of the new-pad -> pad-added signal rename.
6854         Fix the case where an element query would only work if the source
6855         pad was linked.
6856         Avoid some useless type checking in message handling.
6857
6858         * gst/gstevent.c:
6859         * gst/gstevent.h:
6860         * gst/gstutils.c:
6861         Documentation updates.
6862
6863 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6864
6865         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6866           add an INFO line for when we actually update the fd
6867
6868 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6869
6870         * configure.ac:
6871           back to TRUNK
6872
6873 === release 0.10.10 ===
6874
6875 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
6876
6877         * configure.ac:
6878           releasing 0.10.10, "Pais"
6879
6880 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
6881
6882         * docs/manual/advanced-position.xml:
6883           Fix typo in sample code.
6884
6885 2006-09-05  Wim Taymans  <wim@fluendo.com>
6886
6887         * libs/gst/net/gstnetclientclock.c: (inet_aton),
6888         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6889         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6890         * libs/gst/net/gstnetclientclock.h:
6891         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6892         * libs/gst/net/gstnettimepacket.h:
6893         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6894         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6895         (gst_net_time_provider_thread), (gst_net_time_provider_new):
6896         * libs/gst/net/gstnettimeprovider.h:
6897         Make stuff compile on windows. Fixes #345295.
6898
6899 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6900
6901         * gst/gst.c: (ensure_current_registry_forking):
6902           Print better details when child was terminated by signal.
6903
6904 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6905
6906         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6907           Print a warning rather than g_assert() if a plugin feature
6908           is a URI handler but returns no protocols (#353976).
6909
6910 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
6911
6912         * docs/random/moving-plugins:
6913         Fix two typos.         
6914
6915 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6916
6917         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6918           Fix locking order, handle NULL function values properly.
6919
6920         * gst/gstinfo.h:
6921           Fix docs.
6922
6923         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6924           Initialise variable before using it and fix debug statement to
6925           print the address of the function rather than the address of the
6926           variable on the stack holding the address of the function.
6927
6928 2006-09-01  Wim Taymans  <wim@fluendo.com>
6929
6930         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6931         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6932         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6933         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6934         (gst_ghost_pad_parent_unset),
6935         (gst_ghost_pad_internal_do_activate_push),
6936         (gst_ghost_pad_internal_do_activate_pull),
6937         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6938         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6939         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6940         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6941         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6942         (gst_ghost_pad_new_no_target_from_template),
6943         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6944         More cleanups.
6945         Avoid needless typechecking in macros.
6946         Since the internal pad is always present and never changes, there is
6947         no need to locking or ref when retrieving it.
6948         Improve debugging a bit.
6949         Handle link errors when setting the target. Fixes #341029.
6950
6951 2006-09-01  Wim Taymans  <wim@fluendo.com>
6952
6953         * docs/libs/gstreamer-libs-sections.txt:
6954         * docs/plugins/gstreamer-plugins-sections.txt:
6955         Fix docs some more.
6956
6957         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6958         (gst_collect_pads_event):
6959         * libs/gst/base/gstcollectpads.h:
6960         Documentation updates.
6961         Free queued buffer when removing a pad.
6962
6963 2006-08-31  Michael Smith  <msmith@fluendo.com>
6964
6965         * gst/gstutils.c: (gst_element_link_pads),
6966         (gst_element_link_pads_filtered):
6967           Ensure that we set a capsfilter to NULL if we failed to link it
6968           when doing filtered linking, to avoid criticals.
6969
6970           No need to check for unreffing srcpad, which is explicly NULLed
6971           above (a trivial code cleanup).
6972
6973 2006-08-31  Wim Taymans  <wim@fluendo.com>
6974
6975         * docs/design/part-gstghostpad.txt:
6976         Update ascii art in documentation.
6977
6978         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6979         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6980         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6981         (gst_ghost_pad_internal_do_activate_push),
6982         (gst_ghost_pad_internal_do_activate_pull),
6983         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6984         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6985         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6986         (gst_ghost_pad_set_target):
6987         Small cleanups and leak fixes.
6988         Remove some checks now that the internal pad is never NULL.
6989         Fix the case where linking pads without a target would create nasty
6990         criticals. Fixes #341029.
6991         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6992         value of _set_target().
6993
6994         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6995         (gst_ghost_pad_suite):
6996         Some more tests for creating and linking untargeted ghostpads.
6997
6998 2006-08-31  Edward Hervey  <edward@fluendo.com>
6999
7000         * docs/gst/gstreamer-sections.txt:
7001         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7002         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7003         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7004         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7005         (gst_ghost_pad_new_from_template),
7006         (gst_ghost_pad_new_no_target_from_template):
7007         * gst/gstghostpad.h:
7008         Refactored *_new() functions.
7009         Templates are now used as a g_object_new() parameter.
7010         Use template in _do_getcaps() if we don't have a target.
7011         Small documentation cleanups.
7012         Added two new constructors:
7013         gst_ghost_pad_new_from_template()
7014         gst_ghost_pad_new_no_target_from_template()
7015         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7016         (gst_ghost_pad_suite):
7017         Added tests for new ghostpad instanciation functions.
7018
7019         API additions: gst_ghost_pad_new_from_template,
7020         gst_ghost_pad_new_no_target_from_template
7021
7022 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7023
7024         * docs/random/ensonic/profiling.txt:
7025           Ideas about qos profiling.
7026
7027 2006-08-29  Wim Taymans  <wim@fluendo.com>
7028
7029         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7030         Code cleanups.
7031         Fix memleak.
7032
7033 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7034
7035         * gst/gstxml.c:
7036           Improve and detypofy docs.
7037
7038         * tests/check/Makefile.am:
7039         * tests/check/gst/.cvsignore:
7040         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7041           Add a basic test suite for GstXML.
7042
7043 2006-08-29  Wim Taymans  <wim@fluendo.com>
7044
7045         * gst/gstelement.c: (activate_pads), (clear_caps),
7046         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7047         Clear the pad caps when the element shut down all of the pads and
7048         is not streaming data that could modify the caps. 
7049         Fixes #352958.
7050
7051 2006-08-28  Michael Smith  <msmith@fluendo.com>
7052
7053         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7054           Revert previous change; I misunderstood single-segment mode.
7055
7056 2006-08-28  Michael Smith  <msmith@fluendo.com>
7057
7058         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7059           Unset DISCONT on buffers when using single-segment mode.
7060
7061 2006-08-28  Wim Taymans  <wim@fluendo.com>
7062
7063         * gst/gstcaps.c: (gst_caps_merge_structure):
7064         * gst/gstcaps.h:
7065         Fix docs and indentation again.
7066
7067         * tests/check/gst/gstquery.c: (GST_START_TEST):
7068         Fix leak in tests and add some more tests.
7069
7070 2006-08-28  Edward Hervey  <edward@fluendo.com>
7071
7072         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7073         Inform GstSegment of the last stop position in order for the current
7074         segment to have a proper duration if it doesn't have a specific stop
7075         position from which a duration could be calculated.
7076         This bug was noticeable when a non-flushing, non-update new segment was
7077         followed by another segment (all buffers from the new segment were being
7078         dropped).
7079
7080 2006-08-28  Wim Taymans  <wim@fluendo.com>
7081
7082         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7083         Small comment update.
7084
7085         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7086         (gst_identity_transform_ip):
7087         Drop-probability is broken, mention this in the code with a 
7088         FIXME and also in the property description.
7089         Make silent also be silent about the drop messages.
7090
7091 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7092
7093         * docs/manual/appendix-win32.xml:
7094           Remove mention of popt, we don't depend on that any
7095           longer (#353136). Add some comments pointing out that
7096           this section is slightly outdated.
7097
7098 2006-08-28  Wim Taymans  <wim@fluendo.com>
7099
7100         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7101
7102         * gst/gstquery.c: (gst_query_new_segment):
7103         * tests/check/gst/gstquery.c: (GST_START_TEST):
7104         Initialize variables when creating a new segment query.
7105         Fixes #353121.
7106
7107 2006-08-28  Wim Taymans  <wim@fluendo.com>
7108
7109         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7110
7111         * gst/gstelement.c: (gst_element_get_bus):
7112         * tests/check/gst/gstelement.c: (GST_START_TEST):
7113         Check for NULL before _reffing the bus. Fixes #353122.
7114
7115 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7116
7117         * docs/manual/basics-bus.xml:
7118           Docs update: fix wrong callback return value explanation; add
7119           some lines about the implicit relationship between main loop
7120           and main context; remove duplicate main loop variable declaration.
7121
7122 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7123
7124         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7125           Don't leak caps in unit test; add a few more simple
7126           checks. 
7127
7128 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7129
7130         * docs/gst/gstreamer-sections.txt:
7131         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7132         (gst_caps_structure_is_subset), (gst_caps_merge),
7133         (gst_caps_merge_structure):
7134         * gst/gstcaps.h:
7135         * libs/gst/base/gstbasetransform.c:
7136         (gst_base_transform_transform_caps):
7137         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7138           implement caps merging (fixes #352580)
7139
7140 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7141
7142         * tools/Makefile.am:
7143         * tools/gst-plot-timeline.py:
7144           add debug-log plotting developer tool (#340674)
7145
7146 2006-08-23  Wim Taymans  <wim@fluendo.com>
7147
7148         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7149         (gst_pad_stop_task):
7150         Improve debugging for task functions.
7151
7152         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7153         (gst_task_start), (gst_task_pause), (gst_task_join):
7154         Make sure that the task function started and finished after a 
7155         join(). 
7156         Don't try to push the task function on the threadpool multiple
7157         times.
7158         Improve the g_warning message with some useful suggestions
7159         about how to fix the problem. 
7160
7161 2006-08-23  Wim Taymans  <wim@fluendo.com>
7162
7163         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7164         Handle RESYNC correctly in _proxy_getcaps.
7165
7166 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7167
7168         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7169         (gst_xml_parse_memory), (gst_xml_get_element):
7170           Chain up to parent class in dispose function and also
7171           unref the elements in the toplevel_elements GList.
7172           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7173           Always return a reference in gst_xml_get_element() rather
7174           than only sometimes.
7175
7176         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7177           Don't leak GstXml object.
7178
7179 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7180
7181         * docs/gst/gstreamer-sections.txt:
7182         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7183         (gst_caps_merge):
7184         * gst/gstcaps.h:
7185         * libs/gst/base/gstbasetransform.c:
7186         (gst_base_transform_transform_caps):
7187           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7188           in a better way
7189
7190 2006-08-21  Edward Hervey  <edward@fluendo.com>
7191
7192         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7193         Implement GObject::dispose virtual method in GstXML so we can free the
7194         top_elements GList.
7195
7196 2006-08-21  Wim Taymans  <wim@fluendo.com>
7197
7198         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7199         (gst_buffer_create_sub):
7200         Copy duration/offset_end/caps when creating a subbuffer of the
7201         complete parent.
7202         Make the subbuffer read-only when we make the metadata writable for
7203         now. Fixes #351768.
7204
7205         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7206         Added check for metadata copy when creating subbuffers.
7207
7208 2006-08-21  Edward Hervey  <edward@fluendo.com>
7209
7210         * libs/gst/base/gstbasetransform.c:
7211         (gst_base_transform_buffer_alloc):
7212         Only call downstream buffer_alloc if transform element is passthrough
7213         or always_in_place. Closes #350449.
7214
7215 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7216
7217         * ChangeLog:
7218           ChangeLog surgery to add comments to previous changes
7219
7220 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7221
7222         * gst/gst.c:
7223           Add comments
7224
7225         * gst/gstpad.c: (gst_pad_set_active):
7226           Be more verbose in the log
7227
7228         * libs/gst/base/gstbasetransform.c:
7229         (gst_base_transform_transform_caps):
7230           Simplify caps to get rid of duplicates, fixes #345444
7231
7232 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7233
7234         * gst/gstvalue.c:
7235         * gst/gstvalue.h:
7236           Use these optimizations only internally.
7237
7238 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7239
7240         * gst/gstvalue.c: (gst_value_compare_list),
7241         (gst_value_compare_fraction_range),
7242         (gst_value_intersect_fraction_fraction_range),
7243         (gst_value_intersect_fraction_range_fraction_range),
7244         (gst_value_subtract_fraction_fraction_range),
7245         (gst_value_subtract_fraction_range_fraction_range),
7246         (gst_value_get_compare_func), (gst_value_compare),
7247         (gst_value_compare_with_func):
7248         * gst/gstvalue.h:
7249           Saves the expensive lookup of the compare function in many cases
7250          (#345444)
7251
7252 2006-08-18  Edward Hervey  <edward@fluendo.com>
7253
7254         * tests/check/gst/gstinfo.c: (gst_info_suite):
7255         Disable test that require gstdebug if it wasn't built in core.
7256
7257 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7258
7259         * docs/random/ensonic/logging.txt:
7260           update ideas
7261           
7262         * gst/gstinfo.c: (gst_debug_log_default):
7263           reorder fields, save some columns, add optional color codes for log
7264           levels
7265
7266 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7267
7268         * docs/random/ensonic/logging.txt:
7269           add ideas about making the logs a bit more useful
7270
7271 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7272
7273         * docs/pwg/advanced-events.xml:
7274         * docs/pwg/titlepage.xml:
7275           Update for 0.10 API (#340627). Add myself
7276           to authors list.
7277
7278 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7279
7280         * docs/libs/gstreamer-libs-docs.sgml:
7281         * docs/libs/gstreamer-libs-sections.txt:
7282         * libs/gst/check/gstbufferstraw.c:
7283           Make gstcheck stuff show up in docs (still needs to
7284           be documented properly though).
7285
7286 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7287
7288         * docs/gst/gstreamer-sections.txt:
7289         * gst/Makefile.am:
7290         * gst/gst.c: (init_post):
7291         * gst/gst_private.h:
7292         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7293         * gst/gstquark.h:
7294         * gst/gstquery.c: (gst_query_new_position),
7295         (gst_query_set_position), (gst_query_parse_position),
7296         (gst_query_new_duration), (gst_query_set_duration),
7297         (gst_query_parse_duration), (gst_query_new_convert),
7298         (gst_query_set_convert), (gst_query_parse_convert),
7299         (gst_query_new_segment), (gst_query_set_segment),
7300         (gst_query_parse_segment), (gst_query_new_seeking),
7301         (gst_query_set_seeking), (gst_query_parse_seeking):
7302         Add internal helpers for pre-registering quarks from static strings
7303         and using the quark values directly instead of looking them up when
7304         creating and parsing queries. Can be used for event construction too.
7305         Closes #350432.
7306
7307 2006-08-16  Wim Taymans  <wim@fluendo.com>
7308
7309         * gst/gstbin.c:
7310         Fix bogus docs.
7311
7312 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7313
7314         * gst/gstutils.c: (gst_util_set_value_from_string):
7315           Fix memleak (#351502).
7316
7317         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7318           Add unit test for most of gst_util_set_value_from_string()
7319           (not that one would want to encourage use of this function).
7320
7321 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7322
7323         * libs/gst/check/gstcheck.h:
7324           Use const gchar * variables in fail_unless_equals_string
7325           macro to avoid compiler warnings (and don't use tabs for
7326           indenting).
7327
7328 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7329
7330         * tools/gst-launch.c: (print_tag):
7331           More space on the left for the tag names, to cater
7332           for the 'extended comment' tag (not touching the
7333           string for the first line since it's translated).
7334
7335 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7336
7337         * libs/gst/check/gstcheck.h:
7338           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7339           print something when they fail.
7340
7341 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7342
7343         * docs/gst/gstreamer-sections.txt:
7344         * gst/gsttaglist.c: (_gst_tag_initialize):
7345         * gst/gsttaglist.h:
7346           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7347           Also change merge function for GST_TAG_COMMENT to
7348           use_first.
7349
7350 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7351
7352         * gst/gstinfo.c: (gst_debug_print_object):
7353           Make GST_PTR_FORMAT print messages as well.
7354
7355         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7356         (GST_START_TEST), (gst_info_suite):
7357           More tests.
7358
7359 2006-08-14  Edward Hervey  <edward@fluendo.com>
7360
7361         * gst/gstelementfactory.c: (gst_element_register):
7362         If the GstElementClass doesn't have a GstElementDetails with all fields
7363         filled up correctly (longname, description AND author), then error out
7364         nicely instead of crashing.
7365
7366 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7367
7368         * gst/gststructure.c:
7369           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7370
7371         * gst/gstvalue.h:
7372           Expand on the difference between arrays and lists as we use them.
7373           
7374 2006-08-14  Wim Taymans  <wim@fluendo.com>
7375
7376         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7377         If the parent state change function failed, don't assume we can safely
7378         stop the source, this will be done when the pads are deactivated.
7379
7380 2006-08-14  Wim Taymans  <wim@fluendo.com>
7381
7382         * gst/gstbuffer.c:
7383         * gst/gsttask.c: (gst_task_join):
7384         Small doc updates.
7385
7386         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7387         (gst_pad_stop_task):
7388         When pad (de)activation failed for some reason, restore the old
7389         activation mode and set the pad to flushing instead of assuming the
7390         pad is deactivated.
7391         If the _task_join() failed, reinstall the task on the pad so that it can
7392         be stopped later and return an error.
7393
7394 2006-08-11  Andy Wingo  <wingo@pobox.com>
7395
7396         * configure.ac:
7397         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7398         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7399         is only for users of API that don't want to see deprecated
7400         functions in the headers; people that want to compile out
7401         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7402         CFLAGS. Fixes the build of multifdsink, or will soon..
7403
7404 2006-08-11  Wim Taymans  <wim@fluendo.com>
7405
7406         * docs/gst/gstreamer-sections.txt:
7407         Add GstClockClass vmethod docs.
7408
7409         * gst/gstcaps.h:
7410         Mark #endif with comment for associated #if
7411
7412         * gst/gstclock.c: (gst_clock_id_wait):
7413         * gst/gstclock.h:
7414         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7415         most clock implementations.
7416         Document vmethods.
7417         Flesh out docs about resolution methods.
7418         API: GstClockClass::wait_jitter
7419
7420         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7421         (gst_system_clock_async_thread),
7422         (gst_system_clock_id_wait_jitter_unlocked),
7423         (gst_system_clock_id_wait_jitter):
7424         Use base class wait_jitter variant for improved performance
7425         due to less clock polling.
7426
7427 2006-08-11  Edward Hervey  <edward@fluendo.com>
7428
7429         * gst/gst.c: (gst_init_check), (init_post):
7430         Set gst as being initialized before scanning/updating the registry,
7431         since there might be my python plugin loader that calls gst_init() and
7432         we don't want to loop back in.
7433         Closes #350879
7434
7435 2006-08-11  Wim Taymans  <wim@fluendo.com>
7436
7437         * docs/design/part-qos.txt:
7438         Bring docs in line with the code. Mostly the sign of the jitter was
7439         wrong in the docs. Fixes #349943.
7440
7441         * gst/gstclock.c:
7442         Fix the docs for the jitter.
7443
7444         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7445         (gst_event_parse_tag), (gst_event_new_buffer_size),
7446         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7447         (gst_event_new_seek), (gst_event_parse_seek),
7448         (gst_event_new_navigation):
7449         Make sure the GstStructure has no parent when creating custom
7450         events.
7451         Add some more argument checking so that we avoid 0.0 rates.
7452         Flesh out the docs for the QoS event some more.
7453
7454 2006-08-11  Wim Taymans  <wim@fluendo.com>
7455
7456         * docs/gst/gstreamer-sections.txt:
7457         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7458         (ensure_current_registry_forking), (ensure_current_registry),
7459         (parse_one_option), (parse_goption_arg), (gst_deinit),
7460         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7461         * gst/gst.h:
7462         Doc updates.
7463         Added API and command line option to disable registry forking in
7464         addition to the environment variable.
7465         Constify some static arrays.
7466         Added some more debug.
7467         Don't deinit twice.
7468         API: gst_registry_fork_is_enabled()
7469         API: gst_registry_fork_set_enabled()
7470         API: --gst-disable-registry-fork command line option
7471         Fixes #348918.
7472
7473 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7474
7475         * gst/gst.c: (gst_init):
7476           Fix typo in error message.
7477
7478 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7479
7480         * libs/gst/controller/gstcontroller.h:
7481           fix ABI size-correction
7482
7483         * tests/check/libs/gdp.c: (gst_dp_suite):
7484           make tests that use deprecated API conditional
7485
7486 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7487
7488         * docs/libs/gstreamer-libs-sections.txt:
7489         * libs/gst/controller/gstcontroller.c:
7490         (_gst_controller_get_property), (_gst_controller_set_property),
7491         (_gst_controller_init), (_gst_controller_class_init):
7492         * libs/gst/controller/gstcontroller.h:
7493         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7494         (gst_object_set_control_rate):
7495           API: add gst_object_{s,g}et_control_rate(), add private data section,
7496           fix docs
7497
7498         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7499         * libs/gst/dataprotocol/dataprotocol.h:
7500           add deprecation guards to make gtk-doc happy and allow disabling cruft
7501
7502 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7503
7504         * tests/check/Makefile.am:
7505         * tests/check/gst/.cvsignore:
7506           Let's enable the new unit test as well.
7507
7508 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7509
7510         * configure.ac:
7511         * docs/gst/gstreamer-sections.txt:
7512         * gst/gstconfig.h.in:
7513         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7514         (_gst_info_printf_extension_ptr),
7515         (_gst_info_printf_extension_segment):
7516           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7517           register that lets us easily dump GstSegments into debug
7518           logs (#350419).
7519
7520         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7521         (info_segment_format_printf_extension), (gst_info_suite):
7522           Add simple unit test that logs a bunch of different segments (not
7523           valgrinded at the moment because of leaks in
7524           gst_debug_add_log_function).
7525
7526 2006-08-09  Edward Hervey  <edward@fluendo.com>
7527
7528         * libs/gst/base/gstbasetransform.c:
7529         (gst_base_transform_buffer_alloc):
7530         Even if we can't figure out the proper format to request downstream,
7531         call buffer_alloc() downstream with the input parameters without setting
7532         the caps on the srcpad. This will force negotiation in the chain
7533         function.
7534         Closes #350449
7535
7536 2006-08-08  Edward Hervey  <edward@fluendo.com>
7537
7538         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7539         Unlinking from a pad without a target is now a perfectly valid case
7540         which should NOT raise an assertion.
7541         This case would happen if a linked ghostpad its target set to NULL after
7542         it was previously linked.
7543
7544 2006-08-08  Edward Hervey  <edward@fluendo.com>
7545
7546         * tests/check/libs/gdp.c:
7547         Also comment out the test (see below).
7548
7549 2006-08-08  Edward Hervey  <edward@fluendo.com>
7550
7551         * tests/check/libs/gdp.c: (gst_dp_suite):
7552         Use the architecture information from config.h and not gcc macros
7553         in order to properly disable a test that fails on PPC64.
7554
7555 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7556
7557         * gst/gstelement.c: (gst_element_remove_pad):
7558           Don't crash printing the warning if the pad has no parent.
7559
7560 2006-08-02  Wim Taymans  <wim@fluendo.com>
7561
7562         * libs/gst/dataprotocol/dataprotocol.c:
7563         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7564         (gst_dp_crc), (gst_dp_header_payload_length),
7565         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7566         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7567         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7568         (gst_dp_event_from_packet), (gst_dp_validate_header),
7569         (gst_dp_validate_payload):
7570         Make debug category static
7571         Constify the crc table.
7572         Do some more arg checking in public functions.
7573         Fix some docs and do some small cleanups.
7574
7575         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7576         Add some more checks to see if GDP deals with bogus input.
7577
7578 2006-07-31  Wim Taymans  <wim@fluendo.com>
7579
7580         * gst/gstvalue.c: (gst_value_compare_list):
7581         Fix GstValueList comparison code. Fixes #347293.
7582
7583         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7584         Check to test GstValueList comparison.
7585
7586 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7587
7588         * gst/gstelementfactory.c: (gst_element_factory_create):
7589         Remove unnecessary ref/unref pair
7590
7591         * gst/parse/grammar.y:
7592         Make sure to free the parse buffer on all code paths.
7593         Move a g_free up to the error handler where it's easier to see.
7594
7595         * tests/check/gst/gstevent.c: (test_event):
7596         Extending timeout for downstream travelling events to 10 seconds to
7597         hopefully avoid intermittent failure on the buildbots.
7598
7599         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7600         Don't manually set the state of the src element - it will happen as a
7601         natural consequence of the pipeline changing state, and that way it
7602         will do it in the right order too.
7603
7604 2006-07-31  Wim Taymans  <wim@fluendo.com>
7605
7606         * libs/gst/base/gstbasetransform.c:
7607         (gst_base_transform_buffer_alloc):
7608         Use OBJECT_LOCK and refcounting to get the pad caps in the
7609         buffer_alloc function because the caps could change while we are
7610         busy with them. Fixes #349105
7611
7612 2006-07-31  Wim Taymans  <wim@fluendo.com>
7613
7614         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7615         Protect _PAD_CAPS with OBJECT_LOCK.
7616
7617 2006-07-31  Wim Taymans  <wim@fluendo.com>
7618
7619         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7620         (gst_pad_get_property), (gst_pad_activate_pull),
7621         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7622         (gst_pad_set_activate_function),
7623         (gst_pad_set_activatepull_function),
7624         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7625         (gst_pad_set_getrange_function),
7626         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7627         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7628         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7629         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7630         (gst_pad_set_acceptcaps_function),
7631         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7632         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7633         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7634         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7635         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7636         (gst_pad_configure_sink), (gst_pad_configure_src),
7637         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7638         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7639         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7640         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7641         (gst_pad_send_event):
7642         Use _DEBUG_OBJECT when it makes sense.
7643         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7644         Small cleanups and code reflows.
7645         Avoid caps refcounting in _accept_caps.
7646         Refactor alloc_buffer so that the code performed on the peer is in a
7647         separate function. Also if the pad does not implement a buffer alloc
7648         function, we should still check if the pad is flushing before falling
7649         back to the default allocator.
7650
7651 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7652
7653         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7654         Make all uses of identity and fakesink have silent=true to avoid
7655         serialising every passing data structure, which is breaking tests
7656         on FC4 for some unknown reason.
7657
7658 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7659
7660         * gst/parse/Makefile.am:
7661         * gst/parse/grammar.y:
7662         * gst/parse/parse.l:
7663           Reverted previous patch as it required to bump the flex dependency to
7664           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7665
7666 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7667
7668         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7669
7670         * gst/parse/Makefile.am:
7671         * gst/parse/grammar.y:
7672         * gst/parse/parse.l:
7673           push & pop the state of the lexer for reentrant use case
7674           Fixes #349180
7675
7676 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7677
7678         * libs/gst/base/gstbasesrc.h:
7679           Note in the docs that the ::newsegment vfunc is not actually used by
7680           GstBaseSrc.
7681
7682 2006-07-28  Wim Taymans  <wim@fluendo.com>
7683
7684         * libs/gst/base/gstcollectpads.c:
7685         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7686         (gst_collect_pads_clear), (gst_collect_pads_flush),
7687         (gst_collect_pads_event), (gst_collect_pads_chain):
7688         When flushing a pad, also clear the queued buffer so that we don't
7689         accidentally use it when we shouldn't.
7690         Fix leaks by inreffing incomming buffer.
7691         Flush out queued buffers in case of errors.
7692         Fixes #347452.
7693
7694 2006-07-28  Wim Taymans  <wim@fluendo.com>
7695
7696         * docs/random/phonon-gst:
7697         Random notes about a Phonon backend.
7698
7699 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7700
7701         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7702         Extra debug output
7703         * tests/check/libs/gdp.c: (gst_dp_suite):
7704         Take a whack at fixing the ppc compile using a different define to
7705         disable the broken test.
7706
7707         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7708         Remove excess g_print()
7709
7710 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7711
7712         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7713         Oops, meant to uncomment this line too to dampen the noise a bit.
7714
7715 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7716
7717         * gst/parse/grammar.y:
7718         * gst/parse/parse.l:
7719         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7720         (GST_START_TEST), (parse_suite):
7721         Fix some of the leaks exposed by extending the parse-launch testsuite,
7722         and move the 3 I can't figure out into a separate test that won't run
7723         the pipelines unless the appropriate line is uncommented.
7724
7725 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7726
7727         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7728           Requesting 0 bytes before the end of the file should result in
7729           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7730           unit test.
7731
7732 2006-07-27  Wim Taymans  <wim@fluendo.com>
7733
7734         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7735         Fix useless assert, a uint is always positive.
7736
7737         * gst/gststructure.c: (gst_structure_nth_field_name),
7738         (gst_structure_foreach), (gst_structure_map_in_place):
7739         Check input arguments for public functions to avoid obvious crashes.
7740
7741         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7742         * plugins/elements/gstfakesink.h:
7743         Do less useless typechecking.
7744
7745 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7746
7747         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7748           Do not use mmap() by default since there are a number of error
7749           conditions that we would like to handle in a non-fatal way that
7750           will result in a SIGBUS if we use mmap(). Examples: external
7751           devices (USB harddrive, portable music player) being unplugged
7752           while in use; file on mounted CD/DVD that can't be read because
7753           the medium is partly damaged. Fixes #348455 and #348475.
7754
7755 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7756
7757         * gst/gstquery.h:
7758         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7759         rates are a gdouble
7760
7761 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7762
7763         * gst/gstregistry.c:
7764           Move big documentation comment into class section header, so that it
7765           appears in the API docs.
7766
7767 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7768
7769         * docs/gst/gstreamer-sections.txt:
7770         Oops. Commit the docs additions too for new API.
7771         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7772
7773 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7774
7775         * gst/gststructure.c: (gst_structure_id_set),
7776         (gst_structure_id_set_valist):
7777         * gst/gststructure.h:
7778         Add API for setting values into structures without performing
7779         a quark lookup, if the appropriate quark is already known.
7780
7781         API: gst_structure_id_set
7782         API: gst_structure_id_set_valist
7783
7784         * gst/parse/grammar.y:
7785         * gst/parse/parse.l:
7786         Remove some dead code shown by the coverage information.
7787         Don't throw a critical g_warning when encountering a syntax error,
7788         just warn and let the normal error path handle it.
7789
7790         * plugins/elements/gstelements.c:
7791         Bump the rank of filesink up to PRIMARY so that it is preferred over
7792         gnomevfssink for file:// sink uri's
7793
7794         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7795         (GST_START_TEST), (run_delayed_test),
7796         (gst_parse_test_element_base_init),
7797         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7798         (gst_parse_test_element_change_state),
7799         (gst_register_parse_element), (parse_suite):
7800         Beef up the tests for parse syntax to check that more error cases
7801         fail as they are supposed to. Increases the test coverage a bit.
7802
7803 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7804
7805         * docs/manual/basics-elements.xml:
7806           Fix gst_element_link() example.
7807
7808         * gst/gstutils.c:
7809           Mention in API docs that one should usually gst_bin_add()
7810           elements to a bin or pipeline before doing the linking.
7811           
7812 2006-07-26  Wim Taymans  <wim@fluendo.com>
7813
7814         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7815         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7816         Avoid function call for known types by keeping the buffer and
7817         subbuffer GType global.
7818
7819         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7820         Random silly optimisations in read() path.
7821
7822 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7823
7824         * tools/gst-launch.c: (main):
7825           If the top-level of the parse is a normal bin, it doesn't do the
7826           right logic to run as a top-level element, so place it inside a
7827           pipeline.
7828
7829 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7830
7831         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7832           Remove superfluous g_object_notify() calls, GObject does
7833           that for us automatically.
7834
7835 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7836
7837         * gst/gstinfo.h:
7838           on Win32, use dllspec to export the debug category symbols
7839
7840 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7841
7842         * gst/gsttaglist.c: (_gst_tag_initialize):
7843           Allow more than one GST_TAG_IMAGE per taglist.
7844
7845 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7846
7847         * gst/gstminiobject.c:
7848           update docs
7849         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7850         (gst_fd_src_create):
7851           log recurring events at LOG level
7852           add more debug for when the fd gets set
7853
7854 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7855
7856         * gst/gstparse.c: (gst_parse_launch):
7857           Also remove reentrance checks if flex is MT safe (#348179)
7858          Fix my empty ChangeLog entry below
7859
7860 2006-07-21  Andy Wingo  <wingo@pobox.com>
7861
7862         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7863
7864         * libs/gst/check/Makefile.am
7865         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7866         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7867         * libs/gst/check/gstbufferstraw.h:
7868         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7869         functions, thus proving I am still a GStreamer haxor. OK I wrote
7870         them a long time ago, but anyways.
7871
7872 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7873
7874         * configure.ac:
7875         * gst/gstparse.c: (gst_parse_launch):
7876           Check for flex version and omit mutex if we have a MT save flex
7877           (fixes #348179)
7878
7879 2006-07-21  Wim Taymans  <wim@fluendo.com>
7880
7881         * gst/gstparse.c: (gst_parse_launch):
7882         Protect recursive calls to _parse with a recursive mutex
7883         and busy flag.
7884
7885 2006-07-21  Wim Taymans  <wim@fluendo.com>
7886
7887         * tests/check/gst/gstpad.c: (GST_START_TEST):
7888         Fix leak in test.
7889
7890 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
7891
7892         * gst/gstparse.c: (gst_parse_launch):
7893           Do not hang on recursive usage of gst_parse_launch()
7894
7895 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7896
7897         * gst/gsttaglist.c:
7898           Add some more docs, comments and FIXME 0.11s here and there
7899           and also fix some typos.
7900
7901 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7902
7903         * gst/gstsegment.h:
7904           Convert tabs to spaces for better readability. 
7905
7906 2006-07-20  Edward Hervey  <edward@fluendo.com>
7907
7908         * tests/check/libs/gdp.c: (gst_dp_suite):
7909         the test_buffer test fails at line 140 on ppc64 at the following
7910         check:
7911         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7912                 GST_BUFFER_FLAG_IN_CAPS),
7913                 "GST_BUFFER_IN_CAPS flag should have been copied !");
7914         See bug #348114 for more details.
7915
7916 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
7917
7918         * docs/pwg/advanced-scheduling.xml:
7919         * gst/gstpad.c:
7920           Fix typos (#348000).
7921
7922 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
7923
7924         * docs/pwg/intro-basics.xml:
7925           Fix wrong links (#347927).
7926
7927 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
7928
7929         * gst/gstregistry.h:
7930         * gst/gstregistryxml.c: (load_feature),
7931         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7932         * win32/common/config.h:
7933           make --disable-index work (#342564)
7934
7935 2006-07-18  Wim Taymans  <wim@fluendo.com>
7936
7937         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7938
7939         * gst/Makefile.am:
7940         * gst/gsttrace.h:
7941         The attached patch adds two missing defines to gsttrace.h when tracing
7942         is disabled.  It also corrects one existing define.
7943         Fixes #347756.
7944
7945 2006-07-17  Wim Taymans  <wim@fluendo.com>
7946
7947         * docs/gst/gstreamer-sections.txt:
7948         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7949         * gst/gst.h:
7950         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7951         Add two functions to check and change the SIGSEGV behaviour
7952         when loading plugins.
7953         Don't mess with the SIGSEGV handler when we were told not to.
7954         Fixes #347794.
7955         API: gst_segtrap_is_enabled
7956         API: gst_segtrap_set_enabled
7957
7958 2006-07-14  Wim Taymans  <wim@fluendo.com>
7959
7960         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7961         * tests/check/elements/filesrc.c: (GST_START_TEST):
7962         Revert fix for regression in #347408 after release.
7963
7964 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
7965
7966         Patch by: Antoine Tremblay <hexa00 at gmail com>
7967
7968         * gst/gstutils.c: (gst_element_unlink):
7969           Free iterator when done (#347311).
7970
7971         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7972           And add a test case for this.
7973
7974 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
7975
7976         * configure.ac:
7977         Bump nano back to CVS
7978
7979 === release 0.10.9 ===
7980
7981 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
7982
7983         * configure.ac:
7984           releasing 0.10.9, "On the road again"
7985
7986 2006-07-13  Wim Taymans  <wim@fluendo.com>
7987
7988         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7989         * tests/check/elements/filesrc.c: (GST_START_TEST):
7990         Revert pull-0 fix for release. Disable check. Fixes #347408.
7991
7992 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7993
7994         * libs/gst/dataprotocol/dataprotocol.c:
7995         (gst_dp_event_from_packet_1_0):
7996           Fixes #347337: failure to deserialize event packets with
7997           empty payload (only event type)
7998
7999 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8000
8001         * gst/Makefile.am:
8002           do not install a .c file in the header directory
8003
8004 2006-07-13  Edward Hervey  <edward@fluendo.com>
8005
8006         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8007         GhostPad no longer implicitely use the padtemplates of the targets.
8008         Fixes #347384
8009
8010 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8011
8012         * gst/gstvalue.c: (gst_value_compare_list),
8013         (gst_value_compare_array), (_gst_value_initialize):
8014         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8015         Make GstValueArray comparison be order dependent as designed.
8016         Add checks for value lists and value array comparisons.
8017         Fixes #347221
8018
8019 2006-07-11  Edward Hervey  <edward@fluendo.com>
8020
8021         * gst/gstbin.c: (activate_pads),
8022         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8023         (gst_bin_change_state_func):
8024         (de)activate src pads before calling state_change on the childs.
8025         This is to avoid the case where a src ghostpad is blocked (holding the
8026         stream lock), which would block the deactivation of the ghostpad's
8027         target pad.
8028         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8029         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8030         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8031         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8032         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8033         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8034         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8035         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8036         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8037         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8038         (gst_ghost_pad_class_init),
8039         (gst_ghost_pad_internal_do_activate_push),
8040         (gst_ghost_pad_internal_do_activate_pull),
8041         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8042         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8043         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8044         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8045         GhostPads now create their internal GstProxyPad at creation (and not
8046         when they're linked, as it was being done previously).
8047         The internal and target pads are linked straight away.
8048         The data will also travel through the other pad in order to make
8049         pad blocking and probes non-hackish (the probe/block now really happens
8050         on the GhostPad and not on the target).
8051         * gst/gstpad.c: (gst_pad_set_blocked_async),
8052         (gst_pad_link_prepare), (gst_pad_push_event):
8053         Remove previous ghostpad cruft.
8054         * gst/gstutils.c: (gst_pad_add_data_probe),
8055         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8056         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8057         (gst_pad_remove_buffer_probe):
8058         Remove previous ghost pad cruft.
8059         Added more detailed debug statements.
8060         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8061         Fix the testsuite for refcounting changes.
8062         The comments about who has references were correct, but the refcount
8063         being checked wasn't the same (!?!).
8064
8065         Fixes #341029
8066
8067 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8068
8069         * docs/gst/gstreamer-sections.txt:
8070         * gst/gstconfig.h.in:
8071         More docs for configuration options, add docs to gtk-doc.
8072
8073 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8074
8075         * gst/Makefile.am:
8076         * gst/gstconfig.h.in:
8077         * win32/common/config.h:
8078         Fix build when disabling tracing (fixes #344016). Also start to document
8079         the defines that disable the sub-systems.
8080
8081 2006-07-10  Edward Hervey  <edward@fluendo.com>
8082
8083         * gst/gst.c: (ensure_current_registry_forking):
8084         let's make valgrind happy...
8085
8086 2006-07-09  Wim Taymans  <wim@fluendo.com>
8087
8088         * gst/gstelement.c: (activate_pads),
8089         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8090         Better pad activation code: Reset the collect value too on resync.
8091         Add some comments.
8092
8093 2006-07-09  Wim Taymans  <wim@fluendo.com>
8094
8095         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8096         (gst_pad_activate_push):
8097         Use some more macros where it makes sense.
8098         Allow pad mode switching instead of asserting. When a pad
8099         is activated in one mode and we activate it in another, 
8100         deactivate it first before activating it in a different mode.
8101         Fixes #329198.
8102
8103 2006-07-08  Andy Wingo  <wingo@pobox.com>
8104
8105         * tools/gst-launch.c (main): Handle err == NULL.
8106
8107         * gst/gst.c (init_post, ensure_current_registry)
8108         (ensure_current_registry_forking)
8109         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8110         factoring out the registry scanning into separate functions. Don't
8111         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8112         Better environment var name/interface suggestions accepted.
8113
8114 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8115
8116         * gst/gstobject.c: (gst_object_set_name_default),
8117         (gst_object_set_name):
8118           Random micro-optimisation: don't use a hash table
8119           with strings as keys and the usual strdup/strcmp
8120           involved, but rather just use the GQuark of the
8121           type name as key, since it needs to be looked up
8122           anyway to get the type name string.
8123
8124         * tests/check/gst/gstobject.c: (GST_START_TEST):
8125           Fix various leaks.
8126
8127 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8128
8129         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8130         (gst_bin_iterate_all_by_interface):
8131           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8132           GTypes are gulongs and thus the top 4 bytes might be cut
8133           off on some platforms when doing GPOINTER_TO_INT, leading
8134           to invalid GTypes and bad things happening (see RH bug #179654).
8135           Also add a check to make sure the type passed in is really
8136           an interface type.
8137
8138 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8139
8140         * .cvsignore:
8141           Ignore more.
8142
8143 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8144
8145         * Makefile.am:
8146         * configure.ac:
8147         * gst-element-check.m4:
8148         * gst-element-check.m4.in:
8149           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8150           instead of the unversioned gst-inspect (#324176, #168659).
8151
8152 2006-07-06  Wim Taymans  <wim@fluendo.com>
8153
8154         * gst/gstmessage.h:
8155         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8156         warnings.
8157
8158 2006-07-06  Wim Taymans  <wim@fluendo.com>
8159
8160         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8161         (gst_base_src_wait), (gst_base_src_update_length),
8162         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8163         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8164         (gst_base_src_loop), (gst_base_src_start),
8165         (gst_base_src_activate_pull):
8166         Update docs.
8167         blocksize == 0 now means the default blocksize when working in push
8168         based mode.
8169         Remove some pointless asserts in _wait function.
8170         Fix offset/length calculations and EOS handling. We can now pull 0
8171         bytes as well, which is allowed.
8172         use _check_get_range() to decide if we can operate in _pull based
8173         mode.
8174         Fix refcounting leak when check_get_range function was not 
8175         implemented.
8176         API GstBaseSrc::blocksize range can be 0 too now (default)
8177
8178         * tests/check/elements/filesrc.c: (GST_START_TEST),
8179         (filesrc_suite):
8180         Added check to test _get_range() behaviour.
8181
8182 2006-07-06  Wim Taymans  <wim@fluendo.com>
8183
8184         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8185         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8186         (gst_pad_pull_range):
8187         * gst/gstpad.h:
8188         Lots of comments and docs added to the pad functions.
8189         Flesh out the expected behaviour of the get_range() functions.
8190
8191 2006-07-06  Wim Taymans  <wim@fluendo.com>
8192
8193         * gst/gstbus.h:
8194         * gst/gstclock.h:
8195         * gst/gstevent.h:
8196         * gst/gstiterator.h:
8197         * gst/gstpad.h:
8198         * gst/gstplugin.h:
8199         * gst/gsttask.h:
8200         Remove comma at end of enumerator list. 
8201
8202 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8203
8204         * win32/common/libgstbase.def:
8205         * win32/common/libgstdataprotocol.def:
8206         * win32/common/libsgtreamer.def:
8207         Add new exported functions.
8208
8209 2006-07-05  Wim Taymans  <wim@fluendo.com>
8210
8211         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8212         Add some more docs here and there.
8213
8214 2006-07-05  Wim Taymans  <wim@fluendo.com>
8215
8216         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8217         (gst_base_sink_loop), (gst_base_sink_get_position):
8218         When operating in pull mode update the offset so that we
8219         read sequentially.
8220
8221 2006-07-05  Wim Taymans  <wim@fluendo.com>
8222
8223         * gst/gstregistryxml.c: (read_string):
8224         Avoid strdup. (will happen in libxml, but hey!)
8225
8226         * gst/gsturi.c:
8227         Add some more docs.
8228
8229 2006-07-05  Wim Taymans  <wim@fluendo.com>
8230
8231         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8232         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8233         (gst_buffer_suite):
8234         No point in checking if the size of the subbuffer > 0, the
8235         code handles it correclty as demonstrated by unit test.
8236         Also add a unit test for the zero sized _new_and_alloc and
8237         _copy. Fixes #346663.
8238
8239 2006-07-05  Wim Taymans  <wim@fluendo.com>
8240
8241         * libs/gst/base/gstbasetransform.c:
8242         (gst_base_transform_prepare_output_buffer),
8243         (gst_base_transform_buffer_alloc),
8244         (gst_base_transform_handle_buffer):
8245         Make sure the buffer we pass to transform_ip has a refcount of
8246         1 and thus is writable. Fixes #343196
8247
8248 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8249
8250         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8251         (gst_file_src_init), (gst_file_src_set_property),
8252         (gst_file_src_get_property), (gst_file_src_map_region):
8253         * plugins/elements/gstfilesrc.h:
8254         Add "sequential" property, off by default, to use madvise and hint
8255         to the kernel that sequential access is desired.
8256         Touch all retrieved pages by default to ensure they are pulled
8257         into memory. (Closes #345720)
8258
8259 2006-07-03  Wim Taymans  <wim@fluendo.com>
8260
8261         * docs/design/part-block.txt:
8262         * docs/design/part-dynamic.txt:
8263         Small docs updates.
8264
8265 2006-07-03  Wim Taymans  <wim@fluendo.com>
8266
8267         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8268         (gst_caps_unref), (gst_static_caps_get),
8269         (gst_caps_append_structure):
8270         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8271         Use GSlice when the glib we build against is >= 2.10
8272
8273 2006-07-03  Wim Taymans  <wim@fluendo.com>
8274
8275         * gst/gstelement.c: (gst_element_pads_activate):
8276         Small cleanup in pad activation code.
8277
8278 2006-07-03  Wim Taymans  <wim@fluendo.com>
8279
8280         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8281
8282         * gst/gst-i18n-app.h:
8283         * gst/gst-i18n-lib.h:
8284         * tools/gst-inspect.c: (print_signal_info):
8285         The attached patch will make the inclusion of gettext.h unconditional in
8286         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8287         libintl.h in tools/gst-inspect.c.
8288         This allows use of --disable-nls again and fixes #344642.
8289
8290 2006-07-03  Edward Hervey  <edward@fluendo.com>
8291
8292         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8293         Implement pad blocking on events according to part-block.txt.
8294         More comments on behaviour.
8295         * tests/check/gst/gstevent.c: (test_event):
8296         Send event to peer pad of blocked pad (else it will block).
8297
8298 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8299
8300         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8301         (gst_check_run_suite):
8302           if we get the wrong message, give us the types as string
8303         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8304           Fix a translatable
8305         * tests/check/elements/filesrc.c: (GST_START_TEST):
8306           add a test for trying to open a non-existing file
8307
8308 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8309
8310         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8311           add a test for adding self
8312
8313 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8314
8315         * libs/gst/check/gstcheck.h:
8316           add some assert_ as alias for fail_unless_*
8317         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8318           increase test coverage
8319
8320 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8321
8322         * Makefile.am:
8323           include lcov.mak for lcov coverage generation
8324         * tools/Makefile.am:
8325           add to CLEANFILES
8326
8327 2006-07-02  Edward Hervey  <edward@fluendo.com>
8328
8329         * tests/check/elements/.cvsignore:
8330         moaping
8331
8332 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8333
8334         * configure.ac:
8335           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8336         * tests/check/Makefile.am:
8337           clean up gcov files
8338
8339 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8340
8341         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8342           remove gst_caps_simplify; it was not declared and not used
8343           and deprecated in 0.8
8344
8345 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8346
8347         * docs/faq/gst-uninstalled:
8348           don't put empty paths on PYTHONPATH
8349         * docs/gst/gstreamer-sections.txt:
8350           remove some symbols that are not there
8351
8352 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8353
8354         * gst/gstcaps.c: (gst_caps_compare_structures):
8355           whitespace fixes
8356         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8357         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8358           add more tests
8359
8360 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8361
8362         * libs/gst/dataprotocol/Makefile.am:
8363           build dataprotocol test by linking to the lib, instead of
8364           compiling the source, so we get coverage
8365         * tests/check/Makefile.am:
8366         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8367         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8368           add a test for filesrc
8369
8370 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8371
8372         * tests/check/gst/gststructure.c: (GST_START_TEST),
8373         (gst_structure_suite):
8374           Push coverage from 59.04% to 70.00%
8375
8376 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8377
8378         * tests/check/Makefile.am:
8379           gst-inspect every element; this makes sure that we also get
8380           coverage on element's get/set functions
8381
8382 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8383
8384         * configure.ac:
8385           set CFLAGS and friends to -O0 if gcov is being used
8386           add GCOV LIBS
8387         * gst/Makefile.am:
8388         * libs/gst/base/Makefile.am:
8389         * libs/gst/check/Makefile.am:
8390         * libs/gst/controller/Makefile.am:
8391         * libs/gst/dataprotocol/Makefile.am:
8392         * libs/gst/net/Makefile.am:
8393         * plugins/elements/Makefile.am:
8394         * plugins/indexers/Makefile.am:
8395           add makefile rules to generate gcov data and clean up
8396         * tests/check/Makefile.am:
8397           add a coverage target that generates an html overview
8398           of coverage data
8399
8400 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8401
8402         * tests/check/elements/fakesink.c:
8403         * tests/check/elements/fakesrc.c:
8404         * tests/check/elements/fdsrc.c:
8405         * tests/check/elements/identity.c:
8406         * tests/check/generic/sinks.c: (gst_sinks_suite):
8407         * tests/check/generic/states.c:
8408         * tests/check/gst/gst.c:
8409         * tests/check/gst/gstabi.c:
8410         * tests/check/gst/gstbin.c:
8411         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8412         * tests/check/gst/gstbus.c: (gst_bus_suite):
8413         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8414         * tests/check/gst/gstelement.c:
8415         * tests/check/gst/gstevent.c: (gst_event_suite):
8416         * tests/check/gst/gstghostpad.c:
8417         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8418         * tests/check/gst/gstmessage.c: (gst_message_suite):
8419         * tests/check/gst/gstminiobject.c:
8420         * tests/check/gst/gstobject.c:
8421         * tests/check/gst/gstpad.c:
8422         * tests/check/gst/gstpipeline.c:
8423         * tests/check/gst/gstplugin.c:
8424         * tests/check/gst/gstquery.c: (gst_query_suite):
8425         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8426         * tests/check/gst/gststructure.c:
8427         * tests/check/gst/gstsystemclock.c:
8428         * tests/check/gst/gsttag.c:
8429         * tests/check/gst/gsttask.c: (gst_task_suite):
8430         * tests/check/gst/gstutils.c:
8431         * tests/check/gst/gstvalue.c:
8432         * tests/check/libs/adapter.c:
8433         * tests/check/libs/basesrc.c:
8434         * tests/check/libs/collectpads.c:
8435         * tests/check/libs/controller.c:
8436         * tests/check/libs/gdp.c: (gst_dp_suite):
8437         * tests/check/libs/gstnetclientclock.c:
8438         * tests/check/libs/gstnettimeprovider.c:
8439         * tests/check/libs/libsabi.c: (libsabi_suite):
8440         * tests/check/libs/typefindhelper.c:
8441         * tests/check/pipelines/cleanup.c:
8442         * tests/check/pipelines/parse-launch.c:
8443         * tests/check/pipelines/simple-launch-lines.c:
8444         * tests/check/pipelines/stress.c: (stress_suite):
8445           use the new macro
8446
8447 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8448
8449         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8450         * libs/gst/check/gstcheck.h:
8451           create a macro and function so that the simple unit test
8452           case can be just one macro to create main()
8453
8454 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8455
8456         * gst/gstbin.c: (gst_bin_restore_thyself):
8457         * gst/gstxml.c: (gst_xml_make_element):
8458           Fix deserialisation from XML. Set parent manually
8459           instead of using gst_bin_add(), since gst_bin_add()
8460           will unlink all pads of the element being added.
8461           Fixes #341667.
8462
8463 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8464
8465         Patch by: Peter Kjellerstedt <pkj at axis com>
8466
8467         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8468           Fix missing g_strdup() and double free when using the
8469           --gst-plugin-load command line option (#346097).
8470
8471 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8472
8473         * gst/gstinfo.c:
8474           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8475
8476         * libs/gst/net/gstnetclientclock.c:
8477         * libs/gst/net/gstnettimeprovider.c:
8478           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8479
8480 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8481
8482         * docs/manual/advanced-dataaccess.xml:
8483           Fix buffer probe example compilation in
8484           ADM (#345708).
8485         
8486 2006-06-22  Edward Hervey  <edward@fluendo.com>
8487
8488         * gst/gstelement.c: (gst_element_pads_activate):
8489         We need to deactivate src pads first and then sink pads.
8490         The reason is the src pads might be blocking while holding the streaming
8491         lock, so we need to deactivate them first so that deactivating the sink
8492         pads doesn't block (since it will require the streaming lock).
8493
8494 2006-06-22  Wim Taymans  <wim@fluendo.com>
8495
8496         * libs/gst/base/gstbasetransform.c:
8497         (gst_base_transform_buffer_alloc):
8498         Forgot to remove two unneeded unrefs.
8499         Simplify a check _is_equal allready checks the obvious case.
8500
8501 2006-06-22  Wim Taymans  <wim@fluendo.com>
8502
8503         * docs/design/part-block.txt:
8504         Some docs about what pad_block should do.
8505
8506 2006-06-22  Wim Taymans  <wim@fluendo.com>
8507
8508         * gst/gstcaps.c: (gst_caps_replace):
8509         Fix crasher when passed NULL. Doc clarification.
8510         Optimize for the trivial case.
8511
8512         * gst/gstpipeline.c: (gst_pipeline_change_state):
8513         Small cleanups.
8514
8515         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8516         Small documentation cleanup.
8517
8518         * libs/gst/base/gstbasetransform.c:
8519         (gst_base_transform_buffer_alloc):
8520         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8521         is what we need and it avoids a whole lot of redundant 
8522         refcount operations.
8523
8524 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8525
8526         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8527
8528         * docs/manual/advanced-dataaccess.xml:
8529           Fix 'Embedding static elements' section to use
8530           GST_PLUGIN_DEFINE_STATIC (#345607).
8531
8532 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8533
8534         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8535           Attempt to 'fix' spuriously failing test case: it seems like the
8536           timeout of half a second is simply too small when the system is under
8537           load otherwise, and the timeout doesn't really seem to serve any
8538           particular purpose here. Give the pipeline a few seconds to preroll
8539           first, and then give it another half a second to go from PAUSED to
8540           PLAYING and marshal the message into the main thread.
8541
8542 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8543
8544         * tools/gst-feedback-m.m:
8545           Don't only use unversioned tools, try versioned tools as well
8546           (#345086).
8547
8548 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8549
8550         * gst/gstbus.c: (gst_bus_class_init):
8551           Fix some typos, make docs more explicit.
8552
8553 2006-06-20  Wim Taymans  <wim@fluendo.com>
8554
8555         * tests/check/gst/gstghostpad.c: (block_callback),
8556         (GST_START_TEST), (gst_ghost_pad_suite):
8557         Added some more ghostpad tests, mainly blocking
8558         and probes.
8559
8560 2006-06-16  Wim Taymans  <wim@fluendo.com>
8561
8562         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8563         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8564         (gst_file_sink_event), (gst_file_sink_render):
8565         * plugins/elements/gstfilesink.h:
8566         Check if we can seek in the file instead of assuming
8567         we always can. Post an error when we are asked to seek in a
8568         non-seekable file (like a fifo). Fixes #343312.
8569         Some cleanups.
8570
8571 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8572
8573         * tools/gst-launch.1.in:
8574           Un-garble (fourcc) bit in filtered caps section.
8575
8576 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8577
8578         * docs/manual/advanced-autoplugging.xml:
8579         * docs/manual/basics-helloworld.xml:
8580         * docs/manual/highlevel-components.xml:
8581           Don't leak bus reference in sample code.
8582
8583 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8584
8585         * autogen.sh:
8586           Add default for new --enable-plugin-docs switch.
8587
8588         * configure.ac:
8589           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8590           Fixes #344039.
8591
8592         * docs/Makefile.am:
8593           Use new ENABLE_PLUGIN_DOCS conditional.
8594
8595 2006-06-14  Wim Taymans  <wim@fluendo.com>
8596
8597         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8598         Make it clear with a FIXME and a real define what the #if 0
8599         previously disabled.
8600
8601 2006-06-14  Wim Taymans  <wim@fluendo.com>
8602
8603         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8604         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8605         * libs/gst/base/gstbasetransform.c:
8606         (gst_base_transform_sink_eventfunc):
8607         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8608         Don't randomly and silently reset a segment when the format 
8609         changes as this is a bug somewhere upstream. Fixes #330379.
8610
8611 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8612
8613         Patch by: Wouter Paesen  <wouter at kangaroot net>
8614
8615         * libs/gst/controller/gstcontroller.c:
8616         (gst_controlled_property_new):
8617           Fix controlling of float properties (#344849).
8618
8619         * tests/check/libs/controller.c:
8620         (gst_test_mono_source_get_property),
8621         (gst_test_mono_source_set_property),
8622         (gst_test_mono_source_class_init), (GST_START_TEST):
8623           While we're at it, add some float stuff to unit test.
8624
8625 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8626
8627         * docs/README:
8628         * docs/images/gdp-header.svg:
8629           add a gdp image
8630         * docs/libs/Makefile.am:
8631         * docs/libs/gdp-header.png:
8632         * libs/gst/dataprotocol/dataprotocol.c:
8633           add it to the API docs
8634         * docs/manual/intro-motivation.xml:
8635           fix typo
8636
8637 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8638
8639         * gst/gst.c: (scan_and_update_registry), (init_post):
8640           If the fork()'ed child process can't write the updated registry cache
8641           file to disk for some reason, make it exit with a failure exit code,
8642           so that the parent can then re-scan the plugins itself and update the
8643           registry structures in memory and work with that (rather than failing
8644           when creating elements because seemingly no plugins are available).
8645           Refactor registry scanning code into separate function for this and
8646           also separate fork() and non-fork() code paths. Fixes #344748.
8647
8648 2006-06-13  Wim Taymans  <wim@fluendo.com>
8649
8650         * docs/manual/advanced-dataaccess.xml:
8651         Fix wrong PluginDesc. Fixes #344755.
8652
8653 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8654
8655         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8656           Fix silly bug that prevented us from creating
8657           ~/.gstreamer-0.10 and writing the registry in one
8658           go (the first call to g_mkstemp() would overwrite the
8659           placeholder in the template string, so the second call
8660           to g_mkstemp() after creating the missing directory
8661           would then error out with 'invalid argument').
8662
8663 2006-06-13  Edward Hervey  <edward@fluendo.com>
8664
8665         * gst/gst.c: (init_post):
8666         Free string.
8667
8668 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8669
8670         * gst/glib-compat-private.h:
8671         * gst/glib-compat.c:
8672         * gst/glib-compat.h:
8673         * gst/gstvalue.c: (gst_value_serialize_flags):
8674           remove GLib 2.6 compatibility code
8675
8676 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8677
8678         * gst/parse/Makefile.am:
8679           Fix build with 'make -j N' even more (#340016).
8680
8681 2006-06-12  Wim Taymans  <wim@fluendo.com>
8682
8683         * docs/gst/gstreamer-sections.txt:
8684         Fix docs.
8685
8686 2006-06-12  Wim Taymans  <wim@fluendo.com>
8687
8688         * gst/gstsegment.c: (gst_segment_set_duration),
8689         (gst_segment_set_last_stop), (gst_segment_set_seek),
8690         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8691         (gst_segment_to_running_time), (gst_segment_clip):
8692         Use G_UNLIKELY to help the compiler a bit.
8693
8694 2006-06-12  Wim Taymans  <wim@fluendo.com>
8695
8696         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8697
8698         * gst/gstevent.c: (gst_event_get_type):
8699         * gst/gstmessage.c:
8700         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8701         (gst_pad_push):
8702         constify quark registration strings. Fixes #344115
8703         Avoid unneeded type checking is _pad_push() by internally
8704         calling gst_pad_chain_unchecked().
8705
8706 2006-06-12  Wim Taymans  <wim@fluendo.com>
8707
8708         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8709         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8710         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8711         (gst_buffer_is_span_fast), (gst_buffer_span):
8712         Init _type for consistency.
8713         Use _FLAGS macro to avoid type check.
8714         Avoid unneeded type checks in subbufer code.
8715
8716 2006-06-12  Wim Taymans  <wim@fluendo.com>
8717
8718         * gst/gst.c: (gst_debug_help):
8719         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8720         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8721         (gst_plugin_feature_list_free):
8722         * gst/gstregistry.c: (gst_registry_add_plugin),
8723         (gst_registry_add_feature), (gst_registry_plugin_filter),
8724         (gst_registry_feature_filter), (gst_registry_find_plugin),
8725         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8726         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8727         * gst/gstregistryxml.c: (load_feature),
8728         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8729         * gst/gstminiobject.c: (gst_mini_object_unref),
8730         (gst_mini_object_replace), (gst_value_mini_object_free),
8731         (gst_value_mini_object_copy):
8732         Use _CAST macros to avoid unneeded type checking.
8733         Added some more G_UNLIKELY.
8734
8735 2006-06-12  Wim Taymans  <wim@fluendo.com>
8736
8737         * gst/gstbuffer.h:
8738         Avoid unneeded type checking.
8739         API: GST_BUFFER_IS_DISCONT
8740
8741         * gst/gstminiobject.h:
8742         Avoid type check in flag accessor.
8743
8744         * gst/gstelementfactory.h:
8745         * gst/gstplugin.h:
8746         * gst/gstpluginfeature.h:
8747         Add _CAST macros.
8748         API: GST_ELEMENT_FACTORY_CAST
8749         API: GST_PLUGIN_CAST
8750         API: GST_PLUGIN_FEATURE_CAST
8751
8752 2006-06-12  Wim Taymans  <wim@fluendo.com>
8753
8754         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8755         (gst_object_unref):
8756         Add G_UNLIKELY in type registration.
8757         Avoid type check in _ref/_unref since that is also
8758         done in glib.
8759
8760 2006-06-12  Wim Taymans  <wim@fluendo.com>
8761
8762         * gst/gsterror.c: (gst_g_error_get_type):
8763         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8764         (gst_static_pad_template_get_type):
8765         * gst/gsttaglist.c: (gst_tag_list_get_type):
8766         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8767         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8768         * gst/gsturi.c: (gst_uri_handler_get_type):
8769         * gst/gstvalue.c: (gst_date_get_type):
8770         * gst/gstxml.c: (gst_xml_get_type):
8771         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8772         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8773         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8774         Add G_UNLIKELY in type registration.
8775
8776 2006-06-12  Wim Taymans  <wim@fluendo.com>
8777
8778         * tools/gst-inspect.c: (print_signal_info):
8779         Properly print enum values.
8780
8781 2006-06-12  Wim Taymans  <wim@fluendo.com>
8782
8783         * gst/gstinfo.c: (gst_debug_set_active),
8784         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8785         * gst/gstinfo.h:
8786         Add some G_[UN]LIKELY.
8787         Maintain __gst_debug_min to avoid formatting the arguments of
8788         debug messages that will be dropped anyway to avoid a lot of 
8789         overhead from the debugging system.
8790
8791 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8792
8793         * po/POTFILES.in:
8794         * po/POTFILES.skip:
8795           add missing files containing translatable strings, tell intltool about
8796           one exception
8797
8798 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8799
8800         * tests/check/libs/.cvsignore:
8801         add test-binary to ignore list
8802
8803 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8804
8805         * docs/libs/gstreamer-libs-docs.sgml:
8806         reorder (put dp into a chapter) and indent
8807
8808 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8809
8810         * configure.ac:
8811           back to HEAD
8812
8813 === release 0.10.8 ===
8814
8815 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8816
8817         * configure.ac:
8818           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8819
8820 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8821
8822         * gst/gst.c: (init_post):
8823           move pid declaration to declaration block
8824
8825 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8826
8827         * gst/gst.c: (init_post):
8828           use _exit() instead of exit() in our forked child; this ensures
8829           that none of the registered exit handlers from whatever is using
8830           GStreamer get executed.  This fixes gnome-mixer-applet failing
8831           to load, because ORBit would shut down.
8832           Spotted by: Edward Hervey  <edward@fluendo.com>
8833           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8834           Fixes #344474
8835
8836 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8837
8838         * configure.ac:
8839           back to TRUNK
8840
8841 === release 0.10.7 ===
8842
8843 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8844
8845         * configure.ac:
8846           releasing 0.10.7, "Soepeke, ik zie ou"
8847
8848 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8849
8850         * configure.ac:
8851         * po/af.po:
8852         * po/az.po:
8853         * po/bg.po:
8854         * po/ca.po:
8855         * po/cs.po:
8856         * po/de.po:
8857         * po/en_GB.po:
8858         * po/fr.po:
8859         * po/it.po:
8860         * po/nb.po:
8861         * po/nl.po:
8862         * po/ru.po:
8863         * po/sq.po:
8864         * po/sr.po:
8865         * po/sv.po:
8866         * po/tr.po:
8867         * po/uk.po:
8868         * po/vi.po:
8869         * po/zh_CN.po:
8870         * po/zh_TW.po:
8871         * win32/common/config.h:
8872           0.10.6.2 prerelease
8873
8874 2006-06-07  Wim Taymans  <wim@fluendo.com>
8875
8876         * gst/gstindex.c: (gst_index_gtype_resolver):
8877         * tools/gst-xmlinspect.c: (print_plugin_info):
8878         Fix leak spotted by coverity checker. Fixes #343827
8879         Fix another other leak found by paolo borelli.
8880
8881 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8882
8883         * libs/gst/dataprotocol/dataprotocol.c:
8884         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8885         (gst_dp_version_get_type), (gst_dp_init),
8886         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8887         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8888         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8889         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8890         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8891         (gst_dp_packetizer_free):
8892         * libs/gst/dataprotocol/dataprotocol.h:
8893           API: add a GstDPPacketizer object, and create/free functions
8894           API: add GstDPVersion enum
8895           Add 1.0 event function that uses the string serialization
8896           Serialize more useful buffer flags
8897           Fixes #343988
8898
8899 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8900
8901         * tests/check/Makefile.am:
8902         * tests/check/gst/gstabi.c:
8903         * tests/check/gst/struct_ppc64.h:
8904         * tests/check/libs/libsabi.c:
8905         * tests/check/libs/struct_ppc64.h:
8906           add ppc64 structure sizes
8907
8908 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8909
8910         * tests/check/Makefile.am:
8911         * tests/check/gst/gstabi.c:
8912         * tests/check/gst/struct_x86_64.h:
8913         * tests/check/libs/libsabi.c:
8914         * tests/check/libs/struct_x86_64.h:
8915           generate and add structure size lists for x86_64
8916
8917 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8918
8919         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8920         * libs/gst/check/gstcheck.h:
8921           factor out the method from tests that checks size of structures,
8922           and add code to generate the header containing these sizes
8923         * tests/check/gst/gstabi.c: (GST_START_TEST):
8924         * tests/check/gst/struct_i386.h:
8925         * tests/check/libs/libsabi.c: (GST_START_TEST):
8926         * tests/check/libs/struct_i386.h:
8927           use it
8928
8929 2006-06-06  Michael Smith  <msmith@fluendo.com>
8930
8931         * gst/gstsegment.h:
8932           Don't use c++-style comments, fixes #343929
8933
8934 2006-06-05  Edward Hervey  <edward@fluendo.com>
8935
8936         * gst/gst.c:
8937         plugin_paths is not used if we build without registry support.
8938
8939         * gst/gstsegment.c: (gst_segment_copy): 
8940         _copy() was always returning NULL...
8941
8942 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8943
8944         * libs/gst/dataprotocol/dataprotocol.c:
8945         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8946         (gst_dp_packet_from_event):
8947           factor out CRC code
8948
8949 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8950
8951         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8952           make sure we unset caps
8953
8954 2006-06-02  Michael Smith  <msmith@fluendo.com>
8955
8956         * libs/gst/check/gstcheck.c: (gst_check_init),
8957         (gst_check_chain_func):
8958         * libs/gst/check/gstcheck.h:
8959           Add a cond/mutex to the check support lib, signal this whenever we
8960           add to the buffers list. This will allow tests to not busy-wait on
8961           the buffer-list.
8962
8963 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8964
8965         * libs/gst/dataprotocol/dataprotocol.c:
8966         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8967         (gst_dp_packet_from_event):
8968           factor out some common header init code
8969
8970 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8971
8972         * docs/libs/gstreamer-libs-sections.txt:
8973         * docs/libs/tmpl/gstdataprotocol.sgml:
8974         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8975         * libs/gst/dataprotocol/dataprotocol.h:
8976           API: make gst_dp_crc() public
8977
8978 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8979
8980         * plugins/indexers/gstindexers.c: (plugin_init):
8981         conditionally register fileindexer (fixes #343598)
8982
8983 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8984
8985         * gst/gsttagsetter.h:
8986         Can't cast ifaces to a class
8987
8988         * libs/gst/net/gstnetclientclock.h:
8989         * libs/gst/net/gstnettimeprovider.h:
8990         * plugins/elements/gstfakesink.h:
8991         * plugins/elements/gstfakesrc.h:
8992         * plugins/elements/gstfdsink.h:
8993         * plugins/elements/gstfdsrc.h:
8994         * plugins/elements/gstfilesink.h:
8995         * plugins/elements/gstfilesrc.h:
8996         * plugins/elements/gstidentity.h:
8997         * plugins/elements/gstqueue.h:
8998         * plugins/elements/gsttee.h:
8999         * plugins/indexers/gstfileindex.c:
9000         * plugins/indexers/gstmemindex.c:
9001         * tests/old/examples/plugins/example.h:
9002         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9003
9004 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9005
9006         * libs/gst/dataprotocol/dataprotocol.c:
9007         (gst_dp_header_from_buffer):
9008           make sure we zero the whole ABI-compatible area
9009
9010 2006-06-01  Wim Taymans  <wim@fluendo.com>
9011
9012         Patch by: Alessandro Decina <alessandro at nnva dot org>
9013
9014         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9015         Make sure the EOS flag is cleared from pads after a flush
9016         or stop. Fixes #343538.
9017
9018         * tests/check/libs/collectpads.c: (GST_START_TEST),
9019         (gst_collect_pads_suite):
9020         Added test for collectpads reusage after EOS.
9021
9022 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9023
9024         * gst/gst.c:
9025          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9026         * win32/common/libgstbase.def:
9027          export gst_collect_pads_set_flushing
9028         * win32/common/libgstreamer.def:
9029          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9030          gst_value_fraction_multiply
9031         * win32/vs6/gst_inspect.dsp:
9032          add a link to intl.lib
9033
9034 2006-05-30  Wim Taymans  <wim@fluendo.com>
9035
9036         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9037         (gst_collect_pads_chain):
9038         Handle the case where a pad is removed from the collection
9039         that could cause the other pads to become collectable.
9040
9041 2006-05-30  Wim Taymans  <wim@fluendo.com>
9042
9043         * gst/gstelement.c:
9044         Clarify the use of _release_request_pad() and
9045         _get_request_pad() a bit better.
9046
9047         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9048         (gst_adapter_take_buffer):
9049         Fix some doc and comment typos.
9050
9051 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9052
9053         * docs/gst/gstreamer-sections.txt:
9054         * docs/libs/gstreamer-libs-sections.txt:
9055           add declared symbols
9056
9057 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9058
9059         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9060         Add debug that can be enabled using a #define at the top of the file,
9061         for dumping stats about how late/early we were when waking up from
9062         waiting on the clock.
9063
9064 2006-05-30  Wim Taymans  <wim@fluendo.com>
9065
9066         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9067         When rebuilding the pad list, don't leak the previous list.
9068
9069 2006-05-30  Wim Taymans  <wim@fluendo.com>
9070
9071         Patch by: Lutz Mueller <lutz at topfrose dot de>
9072
9073         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9074         (gst_base_src_get_query_types), (gst_base_src_update_length):
9075         Publish supported query types.
9076         Update last_stop field in get_range mode so the position
9077         query works. Fixes #342321.
9078
9079 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9080
9081         * docs/gst/gstreamer-sections.txt:
9082         * gst/gsttaglist.c: (_gst_tag_initialize):
9083         * gst/gsttaglist.h:
9084           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9085
9086 2006-05-30  Wim Taymans  <wim@fluendo.com>
9087
9088         Patch by: Alessandro Decina <alessandro at nnva dot org>
9089
9090         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9091         Unlock mutex when removing an unknown pad.
9092         Fixes #343334.
9093
9094         * tests/check/Makefile.am:
9095         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9096         (push_event), (setup), (teardown), (GST_START_TEST),
9097         (gst_collect_pads_suite), (main):
9098         Added collecpads check, disabled for now as check crashes for
9099         some reason.
9100
9101 2006-05-29  Wim Taymans  <wim@fluendo.com>
9102
9103         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9104         Don't leak pads lists.
9105
9106 2006-05-29  Wim Taymans  <wim@fluendo.com>
9107
9108         * docs/libs/gstreamer-libs-sections.txt:
9109         * libs/gst/base/gstcollectpads.c:
9110         (gst_collect_pads_set_flushing_unlocked),
9111         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9112         (gst_collect_pads_stop):
9113         * libs/gst/base/gstcollectpads.h:
9114         API: gst_collect_pads_set_flushing()
9115         Added api to set the pads to flushing, useful for seeking
9116         code in elements using collectpads.
9117         Clear segment when receiving a flush.
9118
9119 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9120
9121         * gst/gst.c: (add_path_func), (init_post):
9122           Don't scan registry paths passed via --gst-plugin-path immediately
9123           (will crash, because absolutely nothing is set up and no types are
9124           registered etc.); do this later in init_post(). Fixes #343057.
9125
9126 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9127
9128         * gst/gst.c: (init_post):
9129           if we have fork, fork while reading/rebuilding the registry
9130           so the parent doesn't take the hit of having all plugins loaded
9131           in memory.  Fixes #342777.
9132         * configure.ac:
9133           Check if we have fork()
9134         * win32/common/config.h.in:
9135           no fork() on win32
9136
9137 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9138
9139         * plugins/elements/gstelements.c:
9140         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9141         (gst_file_src_init), (gst_file_src_set_property),
9142         (gst_file_src_get_property), (gst_file_src_start):
9143         * plugins/elements/gstfilesrc.h:
9144           API: GstFileSrc::use-mmap
9145
9146         Add a use-mmap property to enable easier testing of all code paths.
9147         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9148         in the absence of gnomevfssrc. (Closes #340501)
9149
9150 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9151
9152         * tools/gst-inspect.c:
9153         Add missing include, removes warning of ngettext not being defined on
9154         some arches.
9155
9156 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9157
9158         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9159         Handle NULL input and output pointers silently as a failed conversion,
9160         rather than g_warnings.
9161
9162 2006-05-25  Wim Taymans  <wim@fluendo.com>
9163
9164         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9165         Initialize variable before using. Fixes #342820.
9166
9167 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9168
9169         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9170           Fix off-by-one bug that would only allow peeks of N-1 bytes
9171           from the start even if the buffer to typefind on contains
9172           in fact N bytes of data (makes vorbis typefinding from a
9173           vorbis identification header buffer work).
9174
9175         * tests/check/Makefile.am:
9176         * tests/check/libs/.cvsignore:
9177         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9178         (gst_typefindhelper_suite), (main), (foobar_typefind),
9179         (plugin_init):
9180           Add very basic unit test for gst_type_find_helper_for_buffer()
9181           that checks for the problem fixed above.
9182
9183 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9184
9185         * tools/gst-inspect.c: (print_interfaces),
9186         (print_element_properties_info), (print_element_list), (main):
9187           add more translatable strings
9188
9189 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9190
9191         Patch by: Julien Moutte  <julien at moutte net>
9192
9193         * docs/gst/gstreamer-sections.txt:
9194           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9195           
9196         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9197         (gst_fake_sink_preroll):
9198         * plugins/elements/gstfakesink.h:
9199           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9200
9201 2006-05-23  Wim Taymans  <wim@fluendo.com>
9202
9203         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9204         * gst/gstpad.h:
9205         Added _CUSTOM error and success GstFlowReturn that can be
9206         used be elements internally. 
9207         Added macro to check for SUCCESS flowreturns.
9208         API: GST_FLOW_CUSTOM_SUCCESS
9209         API: GST_FLOW_CUSTOM_ERROR
9210         API: GST_FLOW_IS_SUCCESS
9211
9212         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9213         Added check for GstFlowReturn sanity.
9214
9215 2006-05-23  Wim Taymans  <wim@fluendo.com>
9216
9217         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9218
9219         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9220         (gst_collect_pads_event):
9221         clear/reset segment info in FLUSH_STOP.
9222         Fixes #336929.
9223
9224 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9225
9226         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9227         (gst_collect_pads_check_collected):
9228         Flush queued buffer on _stop(), fixes playing again (#342454)
9229
9230 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9231
9232         * tests/check/gst/gststructure.c: (GST_START_TEST),
9233         (gst_structure_suite):
9234           add a test for a complete structure
9235
9236 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9237
9238         * docs/faq/developing.xml:
9239         * docs/faq/faq.xml:
9240         * docs/faq/troubleshooting.xml:
9241         * docs/faq/using.xml:
9242           Some minor FAQ updates that won't change the fact that
9243           our FAQ is badly structured, full of information hardly
9244           anyone new to GStreamer needs to know and lacking lots
9245           of information people constantly ask for.
9246           
9247 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9248
9249         * gst/gstpad.c: (gst_pad_set_caps):
9250           Short-circuit gst_pad_set_caps if setting the existing
9251           caps pointer again, and avoid printing debug and 
9252           reffing/unreffing the caps.
9253
9254         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9255           There's actually no need to set the caps before pushing -
9256           the acceptcaps method will handle it anyway.
9257
9258 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9259
9260         * docs/gst/gstreamer-sections.txt:
9261         * win32/common/libgstreamer.def:
9262         * gst/gstutils.c: (gst_element_seek_simple):
9263         * gst/gstutils.h:
9264           API: add gst_element_seek_simple() (#342238).
9265
9266 2006-05-18  Edward Hervey  <edward@fluendo.com>
9267
9268         * gst/gsttypefind.c: (gst_type_find_get_type):
9269         * gst/gsttypefind.h:
9270         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9271         registered for GstTypeFind pointers. This allows wrapping the structure
9272         in bindings (i.e. gst-python).
9273
9274 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9275
9276         * gst/gsttagsetter.c:
9277           Docs additions and fixes (see #339918).
9278
9279 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9280
9281         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9282         The caps intersection algorithm can produce multiple copies of the
9283         caps. Until that is fixed, we need to simplify the result to be
9284         sure whether the allowed caps are fixed or not.
9285
9286         * plugins/elements/gstqueue.c: (gst_queue_init),
9287         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9288         (gst_queue_push_one):
9289         Proxied buffer alloc should not set the caps on the source pad.
9290         When pushing buffers, we always accept the caps change that triggers.
9291         This prevents negotiation errors caused by caps changing mid-stream 
9292         and then being refused on our source pad (because upstream is now
9293         refusing those caps).
9294
9295 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9296
9297         * tests/examples/helloworld/helloworld.c: (main):
9298           Must plug audioconvert and audioresample between decoder
9299           and audio sink.
9300
9301 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9302
9303         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9304         (load_feature), (load_plugin):
9305         Allow empty strings for some of the plugin fields so we don't 
9306         drop valid plugin entries that were written out correctly
9307         (Fixes #341479)
9308
9309 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9310         
9311         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9312           Use g_remove and g_rename instead of remove and rename that don't 
9313           handle utf8 characters. rename was failing for users who had specific
9314           characters in their name then the registry was built at each 
9315           gstreamer init.
9316         * win32/vs6/gst_inspect.dsp:
9317         * win32/vs6/gst_launch.dsp:
9318         * win32/vs6/libgstbase.dsp:
9319         * win32/vs6/libgstcoreelements.dsp:
9320         * win32/vs6/libgstreamer.dsp:
9321           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9322           build of libgstreamer and clean unused libraries in projects link 
9323           settings.
9324
9325 2006-05-17  Edward Hervey  <edward@fluendo.com>
9326
9327         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9328         The queue is not responsible for pushing an EOS when receiving a fatal
9329         flow error. It's up to the real element driving the pipeline to do that.
9330
9331 2006-05-16  Edward Hervey  <edward@fluendo.com>
9332
9333         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9334         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9335         buffer returned a fatal error. It should just send an EOS and stop
9336         its task.
9337         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9338         when pushing buffers on the queue and will be able to handle the event.
9339
9340 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9341
9342         * docs/manual/basics-bins.xml:
9343         * docs/manual/basics-init.xml:
9344           Fix typos and minor errors in sample code (#341856).
9345
9346 2006-05-16  Wim Taymans  <wim@fluendo.com>
9347
9348         * docs/design/part-qos.txt:
9349         Fix indexes in formulas to make more sense.
9350
9351 2006-05-15  Wim Taymans  <wim@fluendo.com>
9352
9353         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9354         Don't report POSITION based on clock time if sync is
9355         disabled in a sink.
9356
9357 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9358
9359         * gst/gstobject.h:
9360           Add cast to make compiler happy - refcount variable was a gint
9361           in GstObject but is a guint in GObject and g_atomic_int_get()
9362           wants a gint *.
9363
9364 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9365
9366         * gst/parse/Makefile.am:
9367           chain commands using &&, which also makes parallel make work
9368
9369 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9370
9371         * docs/gst/gstreamer-sections.txt:
9372         * gst/gstevent.c:
9373         * gst/gstevent.h:
9374         * gst/gstmessage.h:
9375           Minor docs fixes.
9376
9377 === release 0.10.6 ===
9378
9379 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9380
9381         * configure.ac:
9382           releasing 0.10.6, "Take the cannoli"
9383
9384 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9385
9386         * tools/gst-launch.c: (print_tag):
9387           Fix use of uninitialized variable in the hypothetical
9388           case that some broken plugin creates a GST_TAG_IMAGE
9389           tag containing a NULL buffer (#341667).
9390
9391 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9392
9393         * tools/gst-launch.c: (print_tag):
9394           Print something more intelligible for image tags when
9395           using the -t switch (#341556).
9396
9397 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9398
9399         * Makefile.am:
9400           updates for win32
9401         * configure.ac:
9402           define GST_MAJORMINOR so we have it available in win32/common/config.h
9403           Possibly remove it from our Makefile.am files later
9404         * win32/common/config.h:
9405         * win32/common/config.h.in:
9406           added GST_MAJORMINOR
9407         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9408         * win32/common/gstversion.h:
9409           updated
9410
9411 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9412
9413         * win32/MANIFEST:
9414           Update win32 files listing.
9415         * win32/common/gstversion.h:
9416           Add GST_MAJORMINOR definition.
9417         * win32/common/libgstreamer.def:
9418           Add new exported functions.
9419           
9420 2006-05-12  Michael Smith  <msmith@fluendo.com>
9421
9422         * gst/gstplugin.c: (gst_plugin_load_file):
9423           If an so file has no plugin entry point, unload the module.
9424
9425 2006-05-11  Wim Taymans  <wim@fluendo.com>
9426
9427         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9428         (gst_queue_set_property):
9429         Don't forget to signal the _chain or _loop function 
9430         when the queue size or thresholds change since that might
9431         cause them to make progres again.
9432
9433 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9434
9435         * gst/gstclock.c: (gst_clock_class_init):
9436         * gst/gstindex.c: (gst_index_class_init):
9437         * gst/gstobject.c: (gst_object_class_init):
9438         * gst/gstpad.c: (gst_pad_class_init):
9439         * gst/gstpipeline.c: (gst_pipeline_class_init):
9440         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9441         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9442         * libs/gst/base/gstbasetransform.c:
9443         (gst_base_transform_class_init):
9444         * libs/gst/net/gstnetclientclock.c:
9445         (gst_net_client_clock_class_init):
9446         * libs/gst/net/gstnettimeprovider.c:
9447         (gst_net_time_provider_class_init):
9448         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9449         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9450         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9451         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9452         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9453         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9454         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9455         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9456         * plugins/elements/gsttee.c: (gst_tee_class_init):
9457         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9458         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9459           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9460
9461 2006-05-11  Wim Taymans  <wim@fluendo.com>
9462
9463         * gst/gstbuffer.c: (_gst_buffer_initialize):
9464         Register subbufer along with the buffer type so that
9465         it does not accidentally gets registered from N
9466         different streaming threads in a non threadsafe way.
9467
9468 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9469
9470         * gst/gstbuffer.h:
9471         * gst/gstevent.h:
9472         * gst/gstmessage.h:
9473           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9474           gst_event_ref() and gst_message_ref() functions again
9475           (ugly hack, please do fix if there's a better way besides
9476           overrides.txt, which doesn't seem to work).
9477
9478 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9479
9480         * libs/gst/check/gstcheck.h:
9481           add an assert for setting state to avoid lots of repetitive code
9482           in the future
9483
9484 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9485
9486         * gst/gstvalue.c: (gst_value_serialize_flags):
9487           fix a leak if no flags are set
9488         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9489           fix leak in tests
9490
9491 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9492
9493         * docs/manual/basics-pads.xml:
9494           Expand a bit on caps and filtered links and update
9495           examples that were still using the no longer existing
9496           gst_pad_link_filtered() (#338206).
9497
9498 2006-05-10  Wim Taymans  <wim@fluendo.com>
9499
9500         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9501         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9502         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9503         (gst_collect_pads_stop):
9504         * libs/gst/base/gstcollectpads.h:
9505         No need to call _stop in _finalize.
9506         Iterate the main pad list in _finalize.
9507         Added some more debug.
9508         Free lists and data in the right order.
9509         Also free data whem doing _remove_pad when stopped for
9510         backward compatibility protect ::started with PAD_LOCK as
9511         well.
9512
9513 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9514
9515         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9516         (gst_structure_parse_value):
9517           add some comments
9518           rename a method so that it actually says what it does better
9519
9520 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9521
9522         * gst/gstevent.c: (_gst_event_initialize):
9523         * gst/gstformat.c: (_gst_format_initialize):
9524           make sure some essential types used by events are registered
9525           as part of gst_init()
9526         * gst/gstvalue.c: (gst_value_serialize_flags):
9527           if no flags are set, serialize them to a value that represents NONE
9528           so that deserializing them works
9529         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9530           add tests for serialization and deserialization of flags
9531
9532 2006-05-10  Wim Taymans  <wim@fluendo.com>
9533
9534         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9535         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9536         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9537         (gst_collect_pads_event), (gst_collect_pads_chain):
9538         Update docs.
9539         Better debug info.
9540         Catch and return errors from the collect function
9541         Refuse data on eos pads.
9542
9543 2006-05-10  Edward Hervey  <edward@fluendo.com>
9544
9545         * gst/gstinterface.h:
9546         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9547         GInterface type checking.
9548         They were previously using non-defined macros.
9549
9550 2006-05-09  Wim Taymans  <wim@fluendo.com>
9551
9552         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9553         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9554         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9555         (gst_collect_pads_start), (gst_collect_pads_stop),
9556         (gst_collect_pads_peek), (gst_collect_pads_pop),
9557         (gst_collect_pads_available), (gst_collect_pads_read),
9558         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9559         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9560         (gst_collect_pads_chain):
9561         * libs/gst/base/gstcollectpads.h:
9562         Clean up the mess that is collectpads, add comments and
9563         FIXMEs where needed.
9564         Maintain a separate pad list so we can add pads while
9565         collecting the other ones. For this we need a new separate 
9566         lock (see comics).
9567         Fix memory leak in finalize.
9568         Refactor some weird code to set/unset pad flushing flags, mark
9569         with comments.
9570         Don't crash in _available, _read, _flush when we're EOS.
9571
9572         * tests/check/libs/.cvsignore:
9573         Ignore adapter check binary.
9574
9575 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9576
9577         * gst/gstindex.c: (gst_index_resolver_get_type):
9578         * plugins/elements/gstfakesink.c:
9579         (gst_fake_sink_state_error_get_type):
9580         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9581         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9582         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9583           Const-ify GEnumValue arrays.
9584
9585 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9586
9587         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9588           Add test case for flags + gst_buffer_make_metadata_writable().
9589
9590 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9591
9592         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9593           gst_buffer_make_metadata_writable() should maintain the
9594           buffer flags (those that make sense at least) (see #340859).
9595
9596 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9597
9598         * tools/gst-inspect.c:
9599         * tools/gst-launch.c:
9600         * tools/gst-typefind.c:
9601         * tools/gst-xmlinspect.c:
9602         * tools/tools.h:
9603           Fix up includes: need to include stdlib.h in tools.h for exit().
9604
9605 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9606
9607         * gst/gsttaglist.c: (_gst_tag_initialize):
9608         * gst/gsttaglist.h:
9609           API: add GST_TAG_IMAGE tag (#340721).
9610
9611 2006-05-08  Wim Taymans  <wim@fluendo.com>
9612
9613         * gst/gstquery.c:
9614         Added some docs for the segment query.
9615
9616 2006-05-08  Wim Taymans  <wim@fluendo.com>
9617
9618         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9619         (gst_base_src_loop), (gst_base_src_change_state):
9620         Always push non-flushing serialized events in the streaming 
9621         thread.
9622
9623 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9624
9625         * gst/gsterror.c: (_gst_stream_errors_init):
9626           Add a missing error string.
9627
9628 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9629
9630         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9631         Add applied_rate to the debug
9632
9633         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9634         Copy applied_rate into the outgoing NEWSEGMENT event
9635
9636 2006-05-08  Wim Taymans  <wim@fluendo.com>
9637
9638         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9639
9640         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9641         (gst_base_sink_change_state):
9642         call ::unlock before taking the PREROLL_LOCK so we can safely
9643         handle elements that lock in ::render.
9644         Fixes #340174.
9645
9646 2006-05-08  Edward Hervey  <edward@fluendo.com>
9647
9648         * autogen.sh: (CONFIGURE_DEF_OPT): 
9649         Darwin's libtoolize is in fact called glibtoolize.
9650         Adding glibtoolize to the list of accepted names for libtoolize.
9651
9652 2006-05-08  Wim Taymans  <wim@fluendo.com>
9653
9654         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9655         Unify error handling, don't post an error message
9656         when a push() returns EOS but perform our normal EOS
9657         handling code. Fixes #340772.
9658
9659 2006-05-08  Wim Taymans  <wim@fluendo.com>
9660
9661         * docs/design/part-overview.txt:
9662         Make upsteam/downstream concepts more clear.
9663         Give an example of serialized/non-serialized events.
9664
9665         * docs/design/part-events.txt:
9666         * docs/design/part-streams.txt:
9667         Mention applied_rate.
9668
9669         * docs/design/part-trickmodes.txt:
9670         Mention applied rate, flesh out some more use cases.
9671
9672         * gst/gstevent.c: (gst_event_new_new_segment),
9673         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9674         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9675         (gst_event_parse_tag), (gst_event_new_buffer_size),
9676         (gst_event_parse_buffer_size), (gst_event_new_qos),
9677         (gst_event_parse_qos), (gst_event_parse_seek),
9678         (gst_event_new_navigation):
9679         * gst/gstevent.h:
9680         Add applied_rate field to NEWSEGMENT event.
9681         API: gst_event_new_new_segment_full()
9682         API: gst_event_parse_new_segment_full()
9683
9684         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9685         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9686         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9687         * gst/gstsegment.h:
9688         Add applied_rate to GstSegment structure.
9689         Make calculation of stream_time and running_time more correct
9690         wrt rate/applied_rate.
9691         Add some more docs.
9692         API: GstSegment::applied_rate field
9693         API: gst_segment_set_newsegment_full();
9694
9695         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9696         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9697         * libs/gst/base/gstbasetransform.c:
9698         (gst_base_transform_sink_eventfunc),
9699         (gst_base_transform_handle_buffer):
9700         Parse and use applied_rate in the GstSegment field.
9701
9702         * tests/check/gst/gstevent.c: (GST_START_TEST):
9703         Add check for applied_rate field.
9704
9705         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9706         (gstsegments_suite):
9707         Add more checks for various GstSegment operations.
9708
9709 2006-05-08  Wim Taymans  <wim@fluendo.com>
9710
9711         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9712         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9713         (gst_base_sink_get_position), (gst_base_sink_change_state):
9714         Store the sync time of the buffer end position separatly in a
9715         new variable eos_rtime so we can properly sync the EOS event.
9716         Fixes #340697.
9717         Fix the docs for gst_base_sink_set_qos_enabled().
9718         Don't set segment start to invalid value when we receive a 
9719         non TIME newsegment.
9720         get closer to handling position reporting for negative rates 
9721         correctly.
9722
9723 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9724
9725         * gst/gstcaps.c:
9726         Docs about how to print caps for debug purposes.
9727
9728         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9729         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9730
9731 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9732
9733         * gst/gstelement.c:
9734           use full enum names and preprend a '%' in docs strings to make recent 
9735           gtk-doc turn that into a link
9736
9737 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9738
9739         * docs/manual/basics-bins.xml:
9740         * docs/manual/basics-bus.xml:
9741         * docs/manual/basics-pads.xml:
9742           Some typo fixes, some additions, some clarifications. 
9743
9744 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9745
9746         * tools/gst-inspect.c: (main):
9747         * tools/gst-launch.c: (main):
9748         * tools/gst-run.c: (main):
9749         * tools/gst-typefind.c: (main):
9750         * tools/gst-xmlinspect.c: (main):
9751           Use the string passed to g_option_context_new() for
9752           what it's intended for - the program name is already
9753           printed elsewhere.
9754
9755 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9756
9757         * tools/Makefile.am:
9758         * tools/gst-inspect.c: (main):
9759         * tools/gst-launch.c: (main):
9760         * tools/gst-xmlinspect.c: (main):
9761         * tools/tools.h:
9762           Add back --version command line option (#340460).
9763
9764         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9765           Add --version option and use GOption for argument parsing; refactor a
9766           bit; accept directories as arguments and recurse into them; lastly,
9767           print a decent error message when things go wrong.
9768
9769 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9770
9771         * docs/manual/basics-bins.xml:
9772         Don't mention GstThread (#340611)
9773         * docs/manual/basics-elements.xml:
9774         Update link to GObject tutorial (#340607)
9775         
9776 2006-05-05  Wim Taymans  <wim@fluendo.com>
9777
9778         * gst/gstbuffer.h:
9779         * gst/gstminiobject.c:
9780         Add note about refcounting and miniobject/buffer writeability
9781         to docs. Fixes #340604
9782
9783         * gst/gstelementfactory.h:
9784         Added some explanation about @klass.
9785
9786 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9787
9788         * docs/manual/intro-motivation.xml:
9789         * docs/manual/manual.xml:
9790         Avoid CORBA & Bonobo references (#340598)
9791
9792 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9793
9794         * docs/manual/basics-bus.xml:
9795         * docs/manual/basics-pads.xml:
9796         Fix up some inaccuracies and omissions (#340609)
9797         
9798 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9799
9800         * gst/gstghostpad.c:
9801           Small typo in docs (#340625)
9802
9803 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9804
9805         * gst/parse/Makefile.am:
9806           Make 'make -j' proof (see #340698).
9807
9808 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9809
9810         * configure.ac:
9811           Require GLib-2.8 here as well.
9812
9813 2006-05-05  Wim Taymans  <wim@fluendo.com>
9814
9815         * gst/glib-compat.c:
9816         * gst/gst.c: (init_pre):
9817         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9818         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9819         (gst_object_dispatch_properties_changed):
9820         * gst/gstobject.h:
9821         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9822         * gst/gststructure.c: (gst_structure_set_valist):
9823         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9824         Remove pre glib2.8 compatibility, fixes #340508
9825
9826 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9827
9828         * gst/gsttaglist.h:
9829           Mention type of tags in doc blurbs.
9830
9831 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9832
9833         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9834         (gst_pad_configure_src), (gst_pad_push):
9835         Restore acceptcaps checking behaviour now that good plugins have
9836         been released.
9837
9838 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9839
9840         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9841
9842         * gst/gst.c:
9843         * gst/gstbus.c:
9844         * gst/gstclock.c:
9845         * gst/gstevent.c:
9846         * gst/gstformat.c:
9847         * gst/gstmessage.c:
9848         * gst/gstparse.c:
9849         * gst/gstquery.c:
9850         * gst/gstutils.c:
9851         * gst/parse/Makefile.am:
9852         * libs/gst/base/gstadapter.c:
9853         * libs/gst/base/gstbasesrc.c:
9854         * libs/gst/base/gstpushsrc.c:
9855         * libs/gst/base/gsttypefindhelper.c:
9856         * plugins/elements/gstfakesrc.c:
9857         * plugins/elements/gstidentity.c:
9858           Make sure gstprivate.h and/or config.h are
9859           always included first, otherwise some of our
9860           defines (like _FILE_OFFSET_BITS) might be
9861           redefined in the system headers. Fixes build
9862           on opensolaris (#340016).
9863
9864 2006-05-04  Wim Taymans  <wim@fluendo.com>
9865
9866         * docs/libs/gstreamer-libs-sections.txt:
9867         API: addition: gst_adapter_take_buffer()
9868         
9869         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9870         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9871         (gst_adapter_available_fast):
9872         * libs/gst/base/gstadapter.h:
9873         Prepare for optimizing the hell out of this hugely inefficient
9874         piece of code. 
9875         Added gst_adapter_take_buffer() so we can at least start thinking
9876         about subbuffering and merging.
9877         Added some comments.
9878
9879         * tests/check/Makefile.am:
9880         * tests/check/libs/adapter.c: (GST_START_TEST),
9881         (gst_adapter_suite), (main):
9882         Added GstAdapter check.
9883
9884 2006-05-04  Wim Taymans  <wim@fluendo.com>
9885
9886         * docs/design/part-overview.txt:
9887         Fix some typos, add blurb about buffer flags.
9888
9889 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9890
9891         * docs/libs/gstreamer-libs-sections.txt:
9892           make sure GstBaseTransformClass shows up in the docs
9893         * libs/gst/base/gstbasetransform.c:
9894         * libs/gst/base/gstbasetransform.h:
9895           move docs so gtk-doc picks it up now
9896
9897 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9898
9899         * docs/libs/gstreamer-libs-sections.txt:
9900           add missing symbols to docs
9901
9902 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9903
9904         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9905           back out the newsegment handling change, see #340060 for ongoing
9906           discussion
9907
9908 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
9909
9910         * tools/gst-run.c: (get_candidates), (main):
9911           Fix wrong g_file_test() usage (see glib docs for why it doesn't
9912           work); fix typo in error message. Fixes #340079.
9913
9914 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9915
9916         * common/Makefile.am:
9917         * docs/Makefile.am:
9918         * docs/faq/Makefile.am:
9919         * docs/gst/Makefile.am:
9920         * docs/libs/Makefile.am:
9921         * docs/manual/Makefile.am:
9922         * docs/plugins/Makefile.am:
9923         * docs/pwg/Makefile.am:
9924         * docs/slides/Makefile.am:
9925         * docs/upload.mak:
9926         * common/upload.mak:
9927           move upload.mak to common
9928
9929 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9930
9931         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9932           add more asserts on refcounts
9933           do more cleanup at end of tests
9934           fix test leaks showing in FC5
9935
9936 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
9937
9938         * plugins/elements/gsttypefindelement.c:
9939         (gst_type_find_element_handle_event):
9940         reverted wrong change and reflowed code to avoid others falling into
9941         this trap
9942
9943 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9944
9945         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9946           fix changelog entry about last collectpads change,
9947           add notes about proper fix
9948
9949 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9950
9951         * gst/gst.c:
9952         * gst/gstregistry.c: (gst_registry_scan_path_level),
9953         (gst_registry_scan_path):
9954         * gst/gstregistry.h:
9955           only write out registry if it has changed, fixes #338339
9956
9957 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9958
9959         * gst/gstbin.c:
9960         * gst/gstpipeline.c:
9961         * plugins/elements/gstcapsfilter.c:
9962         * plugins/elements/gstfakesink.c:
9963         * plugins/elements/gstfakesrc.c:
9964         * plugins/elements/gstfdsink.c:
9965         * plugins/elements/gstfdsrc.c:
9966         * plugins/elements/gstfilesink.c:
9967         * plugins/elements/gstfilesrc.c:
9968         * plugins/elements/gstidentity.c:
9969         * plugins/elements/gstqueue.c:
9970         * plugins/elements/gsttee.c:
9971         * plugins/elements/gsttypefindelement.c:
9972         (gst_type_find_element_handle_event):
9973           make GstElementDetails const
9974
9975 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9976
9977         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9978         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9979         (gst_collect_pads_is_collected), (gst_collect_pads_event):
9980           more detailed debug and formatting cleanup,
9981           forward newsegments to src-pad (so that e.g. adder not eats them)
9982
9983 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9984
9985         * gst/gstutils.c: (gst_element_link_pads):
9986           cleanup double code
9987
9988 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9989
9990         * libs/gst/controller/gstcontroller.c:
9991         (gst_controller_sync_values):
9992           some little tuning
9993         * tests/check/libs/controller.c: (GST_START_TEST),
9994         (gst_controller_suite):
9995           a new test for live value handling
9996
9997 2006-04-28  Wim Taymans  <wim@fluendo.com>
9998
9999         * gst/gstutils.c: (push_and_ref):
10000         Added some more docs.
10001         Fix refcount issue whith gst_element_found_tags() helper 
10002         function. Fixes #338335
10003
10004         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10005         Added testsuite for gst_element_found_tags().
10006
10007 2006-04-28  Michael Smith  <msmith@fluendo.com>
10008
10009         * gst/gstvalue.c: (gst_value_serialize_flags):
10010           Avoid NULL dereference when trying to serialize flags containing
10011           invalid values.
10012
10013 2006-04-28  Michael Smith  <msmith@fluendo.com>
10014
10015         * plugins/elements/gsttypefindelement.c:
10016         (gst_type_find_element_handle_event):
10017           If we get EOS before any data is accumulated, don't use
10018           uninitialised local variables.
10019
10020 2006-04-28  Michael Smith  <msmith@fluendo.com>
10021
10022         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10023         (gst_dp_event_from_packet):
10024           Fixes in reading/writing events over GDP (not currently used?) - 
10025           dereferencing NULL events for unknown/invalid event types, memory
10026           leak, and change g_warning to GST_WARNING.
10027
10028 2006-04-28  Wim Taymans  <wim@fluendo.com>
10029
10030         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10031         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10032         (gst_base_sink_get_position), (gst_base_sink_change_state):
10033         When frame dropping is enabled, we should not ignore frames
10034         without a duration.
10035         Update some documentation.
10036
10037 2006-04-28  Wim Taymans  <wim@fluendo.com>
10038
10039         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10040         (gst_base_src_send_event), (gst_base_src_change_state):
10041         Documentation updates.
10042
10043 2006-04-28  Wim Taymans  <wim@fluendo.com>
10044
10045         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10046         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10047         handle EAGAIN, EINTR and short writes correctly. Also clean
10048         up some error cases, avoid a deadlock on bad file descriptors and
10049         use GST_DEBUG_OBJECT.
10050         Fixes #339843
10051
10052 2006-04-28  Wim Taymans  <wim@fluendo.com>
10053
10054         * gst/gstvalue.c: (gst_value_serialize_buffer),
10055         (gst_value_deserialize_buffer):
10056         Don't try to serialize a GValue with a NULL buffer. 
10057         Fixes #339821.
10058
10059         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10060         Added check for serialisation of NULL buffers.
10061
10062 2006-04-28  Wim Taymans  <wim@fluendo.com>
10063
10064         * gst/gstminiobject.c: (gst_value_take_mini_object):
10065         Taking a NULL miniobject is valid, fix the case where
10066         we try to unref the NULL miniobject.
10067
10068 2006-04-28  Wim Taymans  <wim@fluendo.com>
10069
10070         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10071
10072         * gst/gstbin.c: (gst_bin_handle_message_func):
10073         Update docs.
10074         Don't leak bin refcount when a state recalc is
10075         in progress and we delay another one #339808.
10076
10077 2006-04-28  Wim Taymans  <wim@fluendo.com>
10078
10079         * docs/design/part-TODO.txt:
10080         Mention QoS as an ongoing work item.
10081
10082         * docs/design/part-buffering.txt:
10083         New doc about buffering that needs to be fleshed out
10084         at some point.
10085
10086         * docs/design/part-qos.txt:
10087         More QoS policy for decoders/demuxers/transforms
10088
10089         * docs/design/part-trickmodes.txt:
10090         Small update.
10091
10092 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10093
10094         * configure.ac:
10095           back to HEAD
10096
10097 === release 0.10.5 ===
10098
10099 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10100
10101         * configure.ac:
10102           releasing 0.10.5, "Fogo"
10103
10104 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10105
10106         patch by: Wim Taymans
10107
10108         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10109         (gst_pad_configure_src), (gst_pad_push):
10110         * gst/gstpipeline.c: (gst_pipeline_init):
10111           Fix internal data flow errors.  Fixes #338711.
10112
10113 2006-04-12  Wim Taymans  <wim@fluendo.com>
10114
10115         * tests/check/gst/gstelement.c: (GST_START_TEST):
10116         Don't leak the factory.
10117
10118 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10119
10120         * configure.ac:
10121         * win32/common/config.h:
10122           prerelease
10123
10124 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10125
10126         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10127         (gst_controller_unset_all):
10128           Free allocated GstTimedValues when freeing list nodes.
10129           Should fix leaks 'make check-valgrind' complains about.
10130
10131         * win32/common/libgstcontroller.def:
10132           Add gst_controller_unset_all.
10133
10134 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10135
10136         * docs/libs/gstreamer-libs-sections.txt:
10137         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10138         (gst_controller_unset_all):
10139         * libs/gst/controller/gstcontroller.h:
10140         API: Added new method gst_controller_unset_all()
10141         fixed gst_controller_unset()
10142         * tests/check/libs/controller.c: (GST_START_TEST),
10143         (gst_controller_suite):
10144         Added two testcases for new and fixed method
10145
10146 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10147
10148         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10149           MSG_DONTWAIT is not defined on Cygwin, so work
10150           around that (fixes #317048).
10151           
10152 2006-04-11  Wim Taymans  <wim@fluendo.com>
10153
10154         * gst/gstelementfactory.c: (gst_element_register),
10155         (gst_element_factory_create), (gst_element_factory_make):
10156         Some cleanups.
10157         Fixed a FIXME.
10158         Updated docs (Fixes #131079)
10159
10160         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10161         Small cleanups.
10162
10163         * tests/check/gst/gstelement.c: (GST_START_TEST),
10164         (gst_element_suite):
10165         Added testcase for elementfactory class field.
10166
10167 2006-04-10  Wim Taymans  <wim@fluendo.com>
10168
10169         * gst/gstsegment.c:
10170         Added some more docs.
10171
10172         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10173         (gst_base_sink_reset_qos):
10174         Calculate more accurate rate values.
10175
10176 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10177
10178         * gst/gst_private.h:
10179           add a new #ifdef to use __declspec(dllimport) only for
10180           other modules and not for gstreamer core
10181         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10182           use gst_guint64_to_gdouble for conversion
10183         * win32/common/libgstreamer.def:
10184           add new exported functions
10185         * win32/vs6/gst_inspect.dsp:
10186         * win32/vs6/gst_launch.dsp:
10187         * win32/vs6/libgstbase.dsp:
10188         * win32/vs6/libgstcontroller.dsp:
10189         * win32/vs6/libgstcoreelements.dsp:
10190         * win32/vs6/libgstdataprotocol.dsp:
10191         * win32/vs6/libgstnet.dsp:
10192           update project files
10193
10194 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10195
10196         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10197         * gst/gstclock.c: (gst_clock_class_init):
10198         * gst/gstelement.c: (gst_element_class_init):
10199         * gst/gstindex.c: (gst_index_class_init):
10200         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10201         * gst/gstobject.c: (gst_object_class_init),
10202         (gst_signal_object_class_init):
10203         * gst/gstpad.c: (gst_pad_class_init):
10204         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10205         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10206         * gst/gstregistry.c: (gst_registry_class_init):
10207         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10208         * gst/gsttask.c: (gst_task_class_init):
10209         * gst/gstxml.c: (gst_xml_class_init):
10210         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10211         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10212         (gst_base_src_loop):
10213         * libs/gst/controller/gstcontroller.c:/
10214         (_gst_controller_class_init):
10215         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10216         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10217         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10218         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10219         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10220         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10221
10222 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10223
10224         * gst/gstpad.c: (gst_pad_link):
10225           Must set peer pads before calling the link function, otherwise
10226           a task started from a link function might get a flow-not-linked
10227           result when trying to push because the other thread where the
10228           linking happens hasn't had a chance to set the peers yet. This
10229           might happen for example when a queue gets linked to a downstream
10230           element, as queue starts a streaming task when its source pad
10231           gets linked. Happens in real life when playing back flac/musepack
10232           files in playbin (#332390).
10233           
10234 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10235
10236         * gst/gstindex.h:
10237         * gst/gstxml.h:
10238         * libs/gst/base/gstadapter.h:
10239         * libs/gst/base/gstbasesink.h:
10240         * libs/gst/base/gstbasesrc.h:
10241         * libs/gst/base/gstbasetransform.h:
10242         * libs/gst/base/gstcollectpads.h:
10243         * libs/gst/base/gstpushsrc.h:
10244         Fix broken GObject macros
10245
10246 2006-04-07  Wim Taymans  <wim@fluendo.com>
10247
10248         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10249         Initialize start and stop times, thanks valgrind.
10250
10251 2006-04-07  Wim Taymans  <wim@fluendo.com>
10252
10253         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10254         Be a bit nicer to badly behaving upstream elements that expect
10255         us to deal with non TIME segments and timestamps (such as fakesrc
10256         in the testsuite).
10257
10258 2006-04-07  Wim Taymans  <wim@fluendo.com>
10259
10260         * gst/gstbus.c:
10261         Small documentation clarification about the signal watch.
10262
10263         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10264         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10265         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10266         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10267         (gst_base_sink_get_position_last),
10268         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10269         Convert and store timestamps in stream time and running time, the
10270         raw timestamps are not useful, also document this better.
10271         Use different window sizes for good and bad QoS observations so
10272         we react to badness a little quicker.
10273         Keep track of the amount of rendered and dropped buffers.
10274         Send QoS timestamps in running time.
10275
10276         * libs/gst/base/gstbasetransform.c:
10277         (gst_base_transform_sink_eventfunc),
10278         (gst_base_transform_handle_buffer):
10279         Compare QoS timestamps against running time.
10280
10281 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10282
10283         * gst/gstpad.c:
10284           Typo fixes in docs.
10285
10286 2006-04-06  Michael Smith  <msmith@fluendo.com>
10287
10288         * gst/gstpad.c: (gst_pad_set_property):
10289           Use g_value_get_object() instead of g_value_dup_gst_object(),
10290           to avoid double-reffing the pad template (which we then sink,
10291           so this worked previously if (and only if) the pad template
10292           was floating.
10293
10294         * gst/gstpadtemplate.c: (gst_pad_template_init),
10295         (gst_pad_template_pad_created):
10296           Never return floating references to pad templates, create
10297           them as initially-sunken.
10298
10299           Document an extra function (and make this stop sinking our
10300           pad template, since that is now guaranteed to do nothing,
10301           since we created it sunken).
10302
10303         * gst/gstghostpad.c:
10304           Fix docs typo.
10305
10306 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10307
10308         * gst/gstinfo.c: (__gst_in_valgrind):
10309           Add some newlines.
10310
10311         * plugins/elements/gsttypefindelement.c:
10312         (gst_type_find_element_chain):
10313           Don't leak buffer caps.
10314
10315 2006-04-06  Michael Smith  <msmith@fluendo.com>
10316
10317         * gst/parse/grammar.y:
10318           Fix a leak in parse-launch for any source-or-sink named element 
10319           references used.
10320
10321         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10322           Unref the pipeline if it exists after we've failed parsing.
10323
10324 2006-04-05  Michael Smith  <msmith@fluendo.com>
10325
10326         * gst/gstpipeline.c: (gst_pipeline_init):
10327           When we create a pipeline bus, initially create it in flushing mode.
10328           Fixes leaks in at least one test, and makes a new pipeline work the
10329           same as one that has gone to READY and then back to NULL.
10330
10331         * gst/gstelement.c:
10332           Typo fix in docs.
10333
10334 2006-04-05  Michael Smith  <msmith@fluendo.com>
10335
10336         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10337           Unref a pad we reffed.
10338         * tests/check/gst/gstutils.c: (GST_START_TEST):
10339           Unref bins
10340
10341 2006-04-05  Michael Smith  <msmith@fluendo.com>
10342
10343         * gst/gstquery.c: (gst_query_set_formats),
10344         (gst_query_set_formatsv):
10345           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10346
10347 2006-04-05  Michael Smith  <msmith@fluendo.com>
10348
10349         * tests/check/generic/sinks.c: (GST_START_TEST):
10350           Fix a variety of memleaks in sinks check, which are only sometimes 
10351           shown by running the tests under valgrind (weird?).
10352
10353 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10354
10355         * docs/version.entities.in:
10356           Fix the substituted entity name after thomas' changes on the
10357           weekend.
10358
10359 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10360
10361         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10362         VALGRIND_PRINTF
10363         
10364 2006-04-05  Andy Wingo  <wingo@pobox.com>
10365
10366         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10367
10368         * libs/gst/base/gstbasetransform.c
10369         (gst_base_transform_sink_eventfunc): When resetting our segment on
10370         FLUSH_STOP, also update the flag saying we haven't seen a
10371         newsegment.
10372
10373 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10374
10375         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10376
10377         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10378         (gst_plugin_check_license):
10379           minor clean-ups: G_DEFINE_TYPE already takes care of the
10380           parent_class stuff, no need to do it twice. Mark array of
10381           license strings as constant. (#337103)
10382           
10383 2006-04-04  Michael Smith  <msmith@fluendo.com>
10384
10385         * tools/gst-inspect.c: (print_element_list):
10386           Free the right plugin list; fixes a memory leak.
10387
10388 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10389
10390         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10391
10392         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10393           Don't error out on empty buffers (#336945).
10394           
10395 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10396
10397         * docs/libs/gstreamer-libs-sections.txt:
10398         * gst/gsttaglist.c:
10399         * libs/gst/base/gstbasesink.c:
10400         * libs/gst/base/gstbasesink.h:
10401         * libs/gst/base/gstbasesrc.c:
10402         * libs/gst/base/gstbasesrc.h:
10403           Documentation updates. Make BaseSink and BaseSrc docs contain the
10404           class structure so that people can actually see the prototypes for
10405           virtual functions they're supposed to be overriding.
10406
10407 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10408
10409         * plugins/elements/gsttypefindelement.c:
10410         (gst_type_find_element_chain):
10411           More debug info; when skipping typefinding, send cached
10412           events in all cases.
10413
10414 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10415
10416         * configure.ac:
10417           use new AS_VERSION and AS_NANO macros
10418         * gst/gst-i18n-lib.h:
10419         * gst/gst.c:
10420         * gst/gsterror.c:
10421         * gst/gstversion.h.in:
10422         * win32/common/config.h:
10423         * win32/common/config.h.in:
10424           update accordingly
10425
10426 2006-03-31  Michael Smith  <msmith@fluendo.com>
10427
10428         * plugins/elements/gsttypefindelement.c:
10429         (gst_type_find_element_chain):
10430           Do not typefind content if the buffers already have caps.
10431           Neccesary for icydemux (#333657), and the right thing to do anyway.
10432
10433 2006-03-30  Wim Taymans  <wim@fluendo.com>
10434
10435         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10436         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10437         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10438         (gst_base_sink_record_qos_observation),
10439         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10440         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10441         (gst_base_sink_change_state):
10442         More QoS measurements as described in the design doc.
10443         Get rid of ringbuffer with observations, running average is
10444         more simple and equally good.
10445         Calculates valid proportion now.
10446         Added beginning of flood measurement.
10447
10448 2006-03-29  Wim Taymans  <wim@fluendo.com>
10449
10450         * docs/design/part-qos.txt:
10451         * gst/gstclock.c:
10452         Small documentation updates and additions.
10453
10454 2006-03-29  Wim Taymans  <wim@fluendo.com>
10455
10456         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10457         (gst_base_src_send_event), (gst_base_src_loop),
10458         (gst_base_src_change_state):
10459         Perform the EOS logic when we reach the segment stop position.
10460         Fix compilation on gcc4.1
10461
10462 2006-03-29  Wim Taymans  <wim@fluendo.com>
10463
10464         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10465
10466         * plugins/elements/gstqueue.c: (gst_queue_init),
10467         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10468         (gst_queue_set_property):
10469         * plugins/elements/gstqueue.h:
10470         In queue, when EOS is received, if minimum threshold > max_size -
10471         current_level, there is chance that queue blocks forever in conditional
10472         item del wait. This is because the queue is not emptied completely due
10473         to minimum threshold.  Here is another approach. Instead of setting
10474         cur_levels to max in EOS, just zero all minimum threshold levels. This
10475         should make sure that queue gives out all data. When going to READY
10476         (stop) state, just reset the original minimum threshold levels.
10477         Fixes #336336.
10478
10479 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10480
10481         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10482         (gst_type_find_element_handle_event),
10483         (gst_type_find_element_send_cached_events),
10484         (gst_type_find_element_change_state):
10485         * plugins/elements/gsttypefindelement.h:
10486           When typefinding is done in push mode, we should cache
10487           events we receive during typefinding instead of just
10488           dropping them (e.g. newsegment, custom events from
10489           dvdreadsrc etc.) and then send them out once we've
10490           determined the type of the stream (and decodebin
10491           has had a chance to plug in a decoder/demuxer).
10492           
10493 2006-03-27  Wim Taymans  <wim@fluendo.com>
10494
10495         * docs/design/part-qos.txt:
10496         First QoS ideas.
10497
10498 2006-03-27  Wim Taymans  <wim@fluendo.com>
10499
10500         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10501
10502         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10503         (gst_base_src_send_event), (gst_base_src_change_state):
10504         Handle element seek correctly when we are streaming.
10505         Fixes #326998.
10506
10507 2006-03-24  Michael Smith  <msmith@fluendo.com>
10508
10509         * docs/faq/gst-uninstalled:
10510           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10511           allow you to correctly run intalled applications built against old 
10512           core, using plugins that require updated core (e.g. running
10513           installed totem against a full uninstalled gstreamer stack)
10514
10515 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10516
10517         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10518         more debug details
10519
10520 2006-03-24  Wim Taymans  <wim@fluendo.com>
10521
10522         * docs/gst/gstreamer-sections.txt:
10523         Rearrange the order of the methods so that related methods
10524         are grouped together in sections.
10525
10526 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10527
10528         * gst/gstelement.c:
10529           Little clarification in the docs
10530
10531 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10532
10533         * docs/README:
10534         formatting fix
10535         * plugins/elements/gstidentity.c:
10536         * plugins/elements/gstqueue.c:
10537         * plugins/elements/gsttee.c:
10538         * plugins/elements/gsttypefindelement.c:
10539         GST_ELEMENT_DETAILS formatting
10540
10541 2006-03-24  Wim Taymans  <wim@fluendo.com>
10542
10543         * libs/gst/base/gstbasesink.h:
10544         Only add fields, not insert or we break ABI.
10545
10546 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10547
10548         * win32/common/libgstbase.def:
10549         * win32/common/libgstreamer.def:
10550           Update, add recently added functions.
10551
10552 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10553
10554         * docs/gst/gstreamer-sections.txt:
10555         * gst/gstutils.c: (gst_pad_query_peer_position),
10556         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10557         * gst/gstutils.h:
10558           API: add some new utility functions:
10559            - gst_pad_query_peer_position()
10560            - gst_pad_query_peer_duration()
10561            - gst_pad_query_peer_convert()
10562           
10563 2006-03-23  Wim Taymans  <wim@fluendo.com>
10564
10565         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10566         (gst_base_sink_init), (gst_base_sink_finalize),
10567         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10568         (gst_base_sink_set_property), (gst_base_sink_get_property),
10569         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10570         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10571         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10572         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10573         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10574         (gst_base_sink_preroll_object), (gst_base_sink_event),
10575         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10576         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10577         (gst_base_sink_query), (gst_base_sink_change_state):
10578         Decouple max-lateness and the fact that QoS messages are generated
10579         with a new property (qos).
10580         added API: GstBaseSink::async_play()
10581         Add vmethod so subclasses can be notified of ASYNC playing
10582         state changes.
10583         Collect timestamp start and stop to report better current
10584         position in EOS/PLAYING/PAUSED/READY/NULL.
10585         Refactor QoS/frame dropping and other measurements.
10586         API: GstBaseSrc::qos
10587         Fixes #326311
10588
10589         * libs/gst/base/gstbasesink.h:
10590         Added Private struct.
10591         API: gst_base_sink_set_qos_enabled()
10592         API: gst_base_sink_is_qos_enabled()
10593
10594 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10595
10596         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10597           If compiling against GLib-2.8 or newer, try to read the
10598           registry file using GMappedFile first before falling back
10599           to fopen() + fread() (#332151).
10600
10601 2006-03-22  Wim Taymans  <wim@fluendo.com>
10602
10603         * gst/gstinfo.c: (gst_debug_set_active),
10604         (gst_debug_category_set_threshold):
10605         Disable debugging unless explicitly activated.
10606         Fixes #335480.
10607
10608 2006-03-22  Wim Taymans  <wim@fluendo.com>
10609
10610         * gst/gstelement.c: (gst_element_set_locked_state),
10611         (gst_element_dispose):
10612         Cleanup the error case.
10613
10614         * gst/gstobject.c: (gst_object_dispose):
10615         print a critical when some object was disposed with
10616         a parent, also revive the object since it might
10617         crash the parent.
10618
10619 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10620
10621         * tools/gst-launch.1.in:
10622           Fix another typo.
10623
10624 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10625
10626         * configure.ac:
10627         * tests/check/Makefile.am:
10628           disable some tests when we don't have a registry
10629         * tests/check/gst/gstutils.c: (gst_utils_suite):
10630           don't build the part that needs parsing
10631
10632 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10633
10634         * gst/Makefile.am
10635         * tests/examples/Makefile.am:
10636           fix --disable-parse build
10637
10638 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10639
10640         * tools/gst-feedback.1.in:
10641           Fix typo: s/feeback/feedback/ (#133494).
10642
10643 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10644
10645         * tools/Makefile.am:
10646         * tools/gst-launch.1.in:
10647           Add FILES section and correct entry about GST_REGISTRY_PATH
10648           environment variable (#133495; #133494).
10649
10650 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10651
10652         * tools/Makefile.am:
10653         * tools/gst-md5sum.1.in:
10654         * tools/gst-md5sum.c:
10655           Remove gst-md5sum and man page (the md5sink element
10656           required was removed ages ago)
10657
10658 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10659
10660         * gst/gststructure.c: (gst_structure_id_set_value):
10661           Make sure that string fields in structures/taglists
10662           contain valid UTF-8 - we don't want to pass rubbish to
10663           applications because of a buggy plugin (cp. #334167).
10664
10665 2006-03-21  Edward Hervey  <edward@fluendo.com>
10666
10667         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10668         (gst_bin_handle_message_func):
10669         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10670         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10671         (gst_element_set_bus_func):
10672         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10673         * gst/gstminiobject.c: (gst_value_set_mini_object),
10674         (gst_value_take_mini_object):
10675         * gst/gstpad.c: (gst_pad_set_pad_template):
10676         * gst/gstpipeline.c: (gst_pipeline_dispose),
10677         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10678         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10679         (gst_collect_pads_chain):
10680         * libs/gst/net/gstnettimeprovider.c:
10681         (gst_net_time_provider_set_property):
10682         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10683         It's in fact all issues with gst_*object_replace().
10684
10685 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10686
10687         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10688         
10689         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10690         * pkgconfig/gstreamer-check.pc.in:
10691           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10692
10693 2006-03-21  Edward Hervey  <edward@fluendo.com>
10694
10695         * gst/gstbuffer.h:
10696         * gst/gstevent.h:
10697         * gst/gstmessage.h:
10698         gst_[buffer|event|message]_ref() macros are replaced by a static
10699         inline functions because gcc-4.1 will about if the return value
10700         isn't used.
10701         * tests/check/gst/gstevent.c: (event_probe):
10702         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10703
10704 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10705
10706         * gst/gstutils.h:
10707         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10708         the type' case. (Closes: #335195 for now). In the future, when we
10709         depend on GLib 2.10, we could also intern the type name using
10710         g_intern_static_string()
10711
10712 2006-03-20  Wim Taymans  <wim@fluendo.com>
10713
10714         * gst/gstbin.c: (gst_bin_handle_message_func),
10715         (bin_query_max_init), (bin_query_position_fold),
10716         (bin_query_position_done), (gst_bin_query):
10717         Position query should also take max of all streams.
10718
10719 2006-03-20  Wim Taymans  <wim@fluendo.com>
10720
10721         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10722         (gst_fake_src_finalize):
10723         Fix leaks in fakesrc.
10724
10725         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10726         Fix leaks in the testcase.
10727
10728 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10729
10730         * gst/gst_private.h:
10731           add win32 specific import decoration(__declspec(dllimport)) 
10732           for all extern GstDebugCategory * variables
10733         * win32/common/libgstbase.def:
10734         * win32/common/libgstcontroller.def:
10735         * win32/common/libgstreamer.def:
10736           Add some exports, remove empty lines
10737         * win32/common/libgstdataprotocol.def:
10738         * win32/common/libgstdataprotocol.dsp:
10739         * win32/common/libgstnet.def:
10740         * win32/common/libgstnet.dsp:
10741           new project files and exportation files added
10742         
10743 2006-03-19  Wim Taymans  <wim@fluendo.com>
10744
10745         * tests/check/libs/basesrc.c: (eos_event_counter):
10746         Use proper return value for probe.
10747
10748 2006-03-17  Wim Taymans  <wim@fluendo.com>
10749
10750         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10751         (gst_pad_push):
10752         Don't leak buffers, caps and pads on negotiation errors.
10753
10754 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10755
10756         * docs/faq/cvs.xml:
10757         * docs/faq/dependencies.xml:
10758         * docs/faq/developing.xml:
10759         * docs/faq/faq.xml:
10760         * docs/faq/general.xml:
10761         * docs/faq/getting.xml:
10762         * docs/faq/legal.xml:
10763         * docs/faq/troubleshooting.xml:
10764         * docs/faq/using.xml:
10765         Faq review and update.
10766
10767 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10768
10769         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10770         (gst_pad_push):
10771         Don't pound the cpu to pieces by checking get_caps when accept_caps
10772         is called with the same caps as the pad already has.
10773         Use GST_DEBUG_OBJECT when outputting caps change information.
10774
10775 2006-03-15  Wim Taymans  <wim@fluendo.com>
10776
10777         * gst/gstclock.c: (gst_clock_class_init):
10778         Fix docs.
10779
10780 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10781
10782         * gst/gstbuffer.h:
10783         Documentation fix.
10784
10785         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10786         (gst_pad_accept_caps), (gst_pad_configure_sink),
10787         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10788         Make the default acceptcaps behaviour be to check the requested 
10789         caps against the gst_pad_get_caps output. 
10790
10791         Ensure that gst_pad_accept_caps is used to check caps when a pad
10792         doesn't have a setcaps function, so that pads automatically refuse 
10793         caps that they don't allow in their pad template. (Fixes #332986)
10794
10795         When a buffer with attached caps is pushed, ensure that the source 
10796         pad receives those caps even if the element didn't call
10797         gst_pad_set_caps first.
10798
10799 2006-03-15  Wim Taymans  <wim@fluendo.com>
10800
10801         * libs/gst/base/gstadapter.c:
10802         Add some docs.
10803
10804 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10805
10806         * win32/common/libgstbase.def:
10807         * win32/common/libgstcontroller.def:
10808         * win32/common/libgstreamer.def:
10809           Add a whole bunch of missing functions (#334434).
10810
10811 2006-03-14  Wim Taymans  <wim@fluendo.com>
10812
10813         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10814         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10815         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10816         Better debug info when we receive a segment event.
10817         Reorganize a bit so we can pass the get_times() results around.
10818         Use the segment format when calculating the running time.
10819         Don't do QoS is sync is disabled or we have no clock or the
10820         element does not want us to sync to the clock.
10821         Don't drop buffers if QoS is disabled for now.
10822
10823 2006-03-14  Wim Taymans  <wim@fluendo.com>
10824
10825         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10826         Marked the stats property as unimplemented so people don't get
10827         wild ideas.
10828         Add debug message when regression goes wrong.
10829         Added some more docs.
10830
10831 2006-03-14  Wim Taymans  <wim@fluendo.com>
10832
10833         * gst/gstsegment.c: (gst_segment_to_stream_time):
10834         Return correct return type in case of errors.
10835
10836 2006-03-14  Wim Taymans  <wim@fluendo.com>
10837
10838         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10839           Don't segfault on invalid formats.
10840
10841 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10842
10843         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10844           Can't use gst_segment_to_running_time() when the segment
10845           is not in GST_TIME_FORMAT (like with filesink, for example).
10846           Stops flac encoding pipelines from spewing critical warnings
10847           at EOS (#331248).
10848           
10849 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10850
10851         * gst/gstpipeline.c: (gst_pipeline_class_init):
10852           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10853
10854         * plugins/elements/gsttypefindelement.c:
10855         (gst_type_find_element_handle_event):
10856           Don't try to typefind empty streams.
10857
10858 2006-03-14  Wim Taymans  <wim@fluendo.com>
10859
10860         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10861         (gst_base_sink_do_qos):
10862         Separate QoS calculation.
10863         Only drop buffers when lateness is bigger than the 
10864         duration of the buffer.
10865
10866 2006-03-13  Wim Taymans  <wim@fluendo.com>
10867
10868         * gst/gstpipeline.c: (gst_pipeline_set_property),
10869         (gst_pipeline_get_property), (do_pipeline_seek),
10870         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10871         (gst_pipeline_get_delay):
10872         Don't deadlock when reading properties.
10873
10874 2006-03-13  Wim Taymans  <wim@fluendo.com>
10875
10876         * libs/gst/base/gstbasetransform.c:
10877         (gst_base_transform_class_init), (gst_base_transform_init),
10878         (gst_base_transform_sink_event),
10879         (gst_base_transform_sink_eventfunc),
10880         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10881         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10882         (gst_base_transform_set_property),
10883         (gst_base_transform_get_property),
10884         (gst_base_transform_change_state), (gst_base_transform_update_qos),
10885         (gst_base_transform_set_qos_enabled),
10886         (gst_base_transform_is_qos_enabled):
10887         * libs/gst/base/gstbasetransform.h:
10888         Make basetransform virtual method for src events too.
10889         Handle QOS in basetransform.
10890         API: gst_base_transform_update_qos()
10891         API: gst_base_transform_set_qos_enabled()
10892         API: gst_base_transform_is_qos_enabled()
10893
10894 2006-03-13  Wim Taymans  <wim@fluendo.com>
10895
10896         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10897         (gst_base_sink_do_sync):
10898         Small cleanups.
10899         Use QOS debug category.
10900
10901 2006-03-13  Wim Taymans  <wim@fluendo.com>
10902
10903         * plugins/elements/gstqueue.c:
10904         Very small doc update.
10905
10906 2006-03-13  Wim Taymans  <wim@fluendo.com>
10907
10908         * gst/gst_private.h:
10909         * gst/gstinfo.c: (_gst_debug_init):
10910         Added QOS debug category
10911
10912 2006-03-13  Wim Taymans  <wim@fluendo.com>
10913
10914         * docs/gst/gstreamer-sections.txt:
10915         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10916         * gst/gstbin.h:
10917         * gst/gstbus.c: (gst_bus_class_init):
10918         * gst/gstbus.h:
10919         * gst/gstclock.c:
10920         * gst/gstelement.c: (gst_element_set_locked_state):
10921         * gst/gstsegment.c:
10922         Documentation updates.
10923
10924         * gst/gstpipeline.c: (gst_pipeline_get_type),
10925         (gst_pipeline_class_init), (gst_pipeline_init),
10926         (gst_pipeline_dispose), (gst_pipeline_set_property),
10927         (gst_pipeline_get_property), (do_pipeline_seek),
10928         (gst_pipeline_send_event), (gst_pipeline_change_state),
10929         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10930         (gst_pipeline_get_delay):
10931         * gst/gstpipeline.h:
10932         Added methods for setting the delay.
10933         API: gst_pipeline_set_delay()
10934         API: gst_pipeline_get_delay()
10935         Add pipeline debug category
10936         Various cleanups.
10937         Updated docs.
10938         Don't reset stream time when seek failed.
10939
10940 2006-03-13  Wim Taymans  <wim@fluendo.com>
10941
10942         * docs/design/draft-klass.txt:
10943         * docs/design/part-clocks.txt:
10944         * docs/design/part-events.txt:
10945         * docs/design/part-gstbin.txt:
10946         * docs/design/part-gstpipeline.txt:
10947         * docs/design/part-messages.txt:
10948         * docs/design/part-negotiation.txt:
10949         * docs/design/part-overview.txt:
10950         * docs/design/part-preroll.txt:
10951         * docs/design/part-seeking.txt:
10952         * docs/design/part-states.txt:
10953         * docs/design/part-streams.txt:
10954         Documentation updates.
10955
10956 2006-03-12  Julien MOUTTE  <julien@moutte.net>
10957
10958         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10959         us to leak strings...
10960
10961 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10962
10963         * libs/gst/net/gstnettimeprovider.c:
10964           fix docs
10965         * win32/common/config.h:
10966           update
10967
10968 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
10969
10970         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10971
10972         * configure.ac:
10973           Don't check for libgnomeui (leftover from old examples
10974           that aren't built or disted any longer) (#334303).
10975           
10976 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
10977
10978         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10979         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10980           Emit RESOURCE_NO_SPACE_LEFT error here as well when
10981           there's no space left on the device.
10982
10983 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
10984
10985         * gst/gstclock.h:
10986           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10987           to cast the input to GstClockTime before comparing with
10988           another GstClockTime value.
10989
10990 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10991
10992         * configure.ac:
10993           back to trunk
10994
10995 === release 0.10.4 ===
10996
10997 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
10998
10999         * configure.ac:
11000           releasing 0.10.4, "Light"
11001
11002 2006-03-10  Michael Smith  <msmith@fluendo.com>
11003
11004         * libs/gst/dataprotocol/dataprotocol.c:
11005           Fix docs for dataprocotol to not get the return types completely
11006           wrong for a few functions.
11007
11008 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11009
11010         * docs/gst/gstreamer-sections.txt:
11011         * gst/gstpipeline.c: (gst_pipeline_class_init),
11012         (gst_pipeline_init), (gst_pipeline_set_property),
11013         (gst_pipeline_get_property), (gst_pipeline_change_state),
11014         (gst_pipeline_set_auto_flush_bus),
11015         (gst_pipeline_get_auto_flush_bus):
11016         * gst/gstpipeline.h:
11017           Add new API: gst_pipeline_set_auto_flush_bus() and
11018           gst_pipeline_get_auto_flush_bus() to disable automatic
11019           flushing of the pipeline's GstBus when going from READY
11020           to NULL state (#332045).
11021
11022 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11023
11024         * docs/gst/gstreamer-sections.txt:
11025         * gst/gsturi.c: (gst_uri_has_protocol):
11026         * gst/gsturi.h:
11027            Add new API: gst_uri_has_protocol() (#333779).
11028
11029 2006-03-09  Wim Taymans  <wim@fluendo.com>
11030
11031         * gst/gstclock.c: (gst_clock_entry_new),
11032         (gst_clock_id_compare_func), (gst_clock_id_wait),
11033         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11034         (gst_clock_init), (gst_clock_get_internal_time),
11035         (gst_clock_set_master), (do_linear_regression),
11036         (gst_clock_add_observation), (gst_clock_set_property):
11037         * gst/gstclock.h:
11038         Review docs.
11039         Small cleanups.
11040         Fix a possible segfault when the window-size is made smaller.
11041         Calculate jitter before performing the clock wait. Ideally
11042         the clock implementation should calculate jitter but we need
11043         API breakage for that.
11044
11045         * gst/gstsystemclock.c: (gst_system_clock_init):
11046         Docs review.
11047         
11048         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11049         Remove leftover else
11050
11051         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11052         (gst_systemclock_suite):
11053         Added check to test GST_CLOCK_DIFF.
11054
11055 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11056
11057         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11058         (gst_type_find_helper_get_range):
11059           If we are provided with the size, we should implement
11060           GstTypeFind::get_length, so that typefind functions who
11061           want to can actually peek at the middle of a file.
11062
11063 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11064
11065         * docs/manual/advanced-dataaccess.xml:
11066           Add some very very basic error checking.
11067
11068         * docs/pwg/appendix-checklist.xml:
11069           Some updates to the list of things to check when writing an element.
11070
11071 2006-03-08  Wim Taymans  <wim@fluendo.com>
11072
11073         * docs/design/part-element-transform.txt:
11074         Added some docs about the design of tranform elements.
11075
11076         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11077         (gst_base_src_loop), (gst_base_src_change_state):
11078         Mark buffers with the DISCONT flag.
11079
11080 2006-03-08  Michael Smith  <msmith@fluendo.com>
11081
11082         * gst/gstregistry.h:
11083         * gst/gstregistryxml.c: (gst_registry_save),
11084         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11085         (gst_registry_xml_save_pad_template),
11086         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11087         (gst_registry_xml_write_cache):
11088           Rewrite registry-saving to avoid race conditions and check for
11089           failed writes.
11090
11091 2006-03-08  Wim Taymans  <wim@fluendo.com>
11092
11093         * libs/gst/base/gstbasetransform.c:
11094         (gst_base_transform_transform_caps),
11095         (gst_base_transform_transform_size),
11096         (gst_base_transform_prepare_output_buffer),
11097         (gst_base_transform_get_unit_size),
11098         (gst_base_transform_buffer_alloc),
11099         (gst_base_transform_handle_buffer),
11100         (gst_base_transform_change_state):
11101         Cleanups, separate normal flow from errors, add sensible
11102         DEBUG lines.
11103         Don't try to renegotiate when allocating an output buffer.
11104         Also copy DISCONT buffer flag when copying a buffer.
11105         Reset the transform after we finish streaming, not during.
11106
11107 2006-03-08  Wim Taymans  <wim@fluendo.com>
11108
11109         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11110         Use last buffer timestamp in qos message.
11111
11112 2006-03-07  Wim Taymans  <wim@fluendo.com>
11113
11114         Patch by: Christophe Fergeau
11115
11116         * docs/pwg/advanced-tagging.xml:
11117         * docs/pwg/building-pads.xml:
11118           fixes #333416
11119
11120 2006-03-07  Wim Taymans  <wim@fluendo.com>
11121
11122         * docs/libs/gstreamer-libs-sections.txt:
11123         Added basesink new methods.
11124
11125         * gst/gstevent.c:
11126         * gst/gstevent.h:
11127         Docs updates. Flesh out the QoS docs.
11128
11129         * libs/gst/base/gstadapter.c:
11130         Small doc clarification about ownership and flushing.
11131
11132         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11133         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11134         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11135         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11136         * libs/gst/base/gstbasesink.h:
11137         API additions: 
11138         Added new methods to allow subclass to control max-lateness 
11139         and sync.
11140         Generate very basic QoS events based on last sync observation.
11141         Updated docs, fix typo, added some QoS blurb.
11142
11143         * libs/gst/base/gstbasesrc.c:
11144         Remove obsolete _get_state() calls from docs.
11145
11146 2006-03-07  Wim Taymans  <wim@fluendo.com>
11147
11148         * docs/libs/gstreamer-libs-sections.txt:
11149         * libs/gst/base/gstbasetransform.h:
11150         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11151         Fix docs for GstBaseSrc.
11152
11153 2006-03-07  Wim Taymans  <wim@fluendo.com>
11154
11155         * docs/gst/gstreamer-sections.txt:
11156         * gst/gstbuffer.h:
11157         * gst/gstvalue.c:
11158         * libs/gst/base/gstbasetransform.h:
11159         Small documentation fixes.
11160
11161 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11162
11163         * gst/gstvalue.c:
11164           Document thread-unsafety of gst_value_register_foo_func()
11165           when used at the same time as gst_value_foo() (#322628).
11166
11167 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11168
11169         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11170         (gst_push_src_check_get_range):
11171           Push sources don't support pull mode by default.
11172
11173 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11174
11175         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11176         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11177         (gst_base_src_default_check_get_range):
11178         * libs/gst/base/gstbasesrc.h:
11179           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11180           provide default implementation, and rename
11181           gst_base_src_check_get_range() to
11182           gst_base_src_pad_check_get_range() for clarity.
11183
11184 2006-03-06  Wim Taymans  <wim@fluendo.com>
11185
11186         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11187         Make property overridable.
11188
11189 2006-03-06  Wim Taymans  <wim@fluendo.com>
11190
11191         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11192         (gst_base_sink_init), (gst_base_sink_set_property),
11193         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11194         * libs/gst/base/gstbasesink.h:
11195         API addition: Make max-lateness a property.
11196
11197 2006-03-06  Wim Taymans  <wim@fluendo.com>
11198
11199         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11200         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11201         Don't ever draw a frame that is >10ms late.
11202
11203 2006-03-06  Michael Smith  <msmith@fluendo.com>
11204
11205         * gst/gstmessage.c: (_gst_message_copy):
11206           When copying a message, set the parent_refcount of the enclosed
11207           structure to point at the copy, not the original message.
11208
11209 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11210
11211         Patch by: Christophe Fergeau
11212
11213         * gst/gstutils.h:
11214           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11215           usable in c++ code (#333417)
11216
11217 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11218
11219         * gst/gstclock.h:
11220           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11221
11222 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11223
11224         * libs/gst/base/gstbasetransform.c:
11225         (gst_base_transform_transform_caps):
11226           Make sure caps are writable before passing them to
11227           gst_caps_append().
11228
11229 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11230
11231         * gst/gsterror.h:
11232           Fix some minor docs errors.
11233
11234 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11235
11236           Patch by: Ross Burton <ross at burtonini dot com>
11237
11238         * gst/gsterror.c: (_gst_resource_errors_init):
11239         * gst/gsterror.h:
11240           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11241
11242 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11243
11244         * gst/gst.c:
11245         Add a check and output a g_warning when GStreamer is built
11246         against GLib 2.6 but running against 2.8 or higher, and vice 
11247         versa. (Closes: #323542)
11248
11249 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11250
11251         * gst/parse/parse.l:
11252           Commit patch for parse_launch syntax from #331255. Removes 
11253           support for quoted strings and mimetypes when writing filtered 
11254           caps. See the bug report for more details - I'm pretty sure this
11255           obscure feature is not in use by _anyone_ anywhere.
11256
11257           With this simple change, the size of the gstreamer.so here 
11258           drops from 2193KB to 1565KB.
11259
11260 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11261
11262         * plugins/elements/gsttypefindelement.h:
11263         * plugins/elements/gsttypefindelement.c:
11264         (gst_type_find_element_src_event), (start_typefinding),
11265         (stop_typefinding), (gst_type_find_element_handle_event),
11266         (gst_type_find_element_chain),
11267         (gst_type_find_element_chain_do_typefinding):
11268           Use gst_type_find_helper_for_buffer() for chain-based
11269           typefinding.
11270
11271 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11272
11273         * plugins/elements/gsttypefindelement.c:
11274         (gst_type_find_element_class_init),
11275         (gst_type_find_element_set_property),
11276         (gst_type_find_element_get_property):
11277           Deprecate "maximum" property (not only was it only taken into
11278           account for typefinding in push-mode anyway, it also was never
11279           actually possible to set it in the first place because the
11280           property was registered with the numeric property ID for the
11281           "minimum" property). Register "maximum" property correctly,
11282           for the sake of future copy'n'pasters. Remove some cruft
11283           from property get/set functions.
11284
11285 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11286
11287         * plugins/elements/gsttypefindelement.c:
11288         (gst_type_find_element_activate):
11289           Use gst_type_find_helper_get_range() here, so we
11290           can honour the "minimum" property and also emit
11291           the signal with the correct probability of the found caps.
11292
11293 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11294
11295         * docs/libs/gstreamer-libs-sections.txt:
11296         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11297         (helper_find_suggest), (gst_type_find_helper_get_range),
11298         (gst_type_find_helper):
11299         * libs/gst/base/gsttypefindhelper.h:
11300           New API: gst_type_find_helper_get_range() (#333042).
11301
11302 2006-03-02  Michael Smith  <msmith@fluendo.com>
11303
11304         * gst/gstregistryxml.c: (load_feature):
11305           Asserting on a failure to read part of the registry is Not Cool.
11306           Just log a warning and return NULL (which is already handled)
11307
11308 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11309
11310         * win32/common/libgstbase.def:
11311           added export of gst_type_find_helper_for_buffer
11312         * win32/common/libgstbase.def:
11313           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11314           gst_ghost_pad_get_target
11315
11316 2006-02-28  Wim Taymans  <wim@fluendo.com>
11317
11318         * docs/design/draft-klass.txt:
11319         We use Filter now.
11320         Added Connector to mark elements that are only used to
11321         allow pipeline connections.
11322         Moved Debug to extra feature since most of them are 
11323         functionally something else.
11324
11325 2006-02-28  Wim Taymans  <wim@fluendo.com>
11326
11327         * docs/design/draft-klass.txt:
11328         Some updates and clarifications.
11329
11330 2006-02-28  Wim Taymans  <wim@fluendo.com>
11331
11332         * docs/design/draft-klass.txt:
11333         Proposal for klass field values.
11334
11335         * docs/design/part-streams.txt:
11336         Start of a doc describing stream anatomy.
11337
11338 2006-02-28  Wim Taymans  <wim@fluendo.com>
11339
11340         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11341         Help the compiler a bit with type registration.
11342         Use existing forward cod path instead of duplicating it when 
11343         handling a message.
11344         
11345         * gst/gstbus.c: (gst_bus_get_type):
11346         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11347         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11348         * gst/gstclock.c: (gst_clock_get_type):
11349         * gst/gstelement.c: (gst_element_get_type),
11350         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11351         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11352         * gst/gstminiobject.c: (gst_mini_object_get_type):
11353         * gst/gstpad.c: (gst_pad_get_type):
11354         * gst/gstsegment.c: (gst_segment_get_type):
11355         * gst/gststructure.c: (gst_structure_get_type):
11356         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11357         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11358         * gst/gstvalue.c:
11359         Help compiler with type registration.
11360
11361         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11362         Small doc update.
11363
11364 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11365
11366         * plugins/elements/gsttypefindelement.c:
11367         (gst_type_find_element_handle_event):
11368           When we get an EOS event and have not found a type yet
11369           (most likely because we had not yet accumulated
11370           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11371           type given the data we have so far. Fixes typefinding
11372           for very short streams again, most notably quicktime
11373           redirections as used on Apple's trailer site (#331701).
11374
11375 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11376
11377         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11378         (gst_type_find_helper):
11379           Try typefinding factories with the highest rank first.
11380
11381 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11382
11383         * docs/libs/gstreamer-libs-docs.sgml:
11384         * docs/libs/gstreamer-libs-sections.txt:
11385         * libs/gst/base/gsttypefindhelper.c:
11386           Add section for typefind helper and add documentation
11387           for the old and the new function.
11388
11389 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11390
11391         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11392         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11393         (gst_type_find_helper_for_buffer):
11394         * libs/gst/base/gsttypefindhelper.h:
11395           New API: gst_type_find_helper_for_buffer() (#332723).
11396           
11397 2006-02-27  Michael Smith  <msmith@fluendo.com>
11398
11399         Patch by: Loïc Minier
11400
11401         * configure.ac:
11402         * docs/Makefile.am:
11403         * docs/slides/Makefile.am:
11404           prevent CVS directories getting disted.
11405
11406 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11407
11408         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11409           Use the REFCOUNTING category for caps refcounting.
11410           
11411 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11412
11413         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11414           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11415
11416 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11417
11418         * plugins/elements/gsttypefindelement.c:
11419         (gst_type_find_element_activate):
11420           Use gst_pad_check_pull_range() before _activate_pull()
11421           to avoid unnecessary open/close (see #331690).
11422
11423 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11424
11425         * gst/gstutils.c:
11426           Docs enhancement: make it crystal clear what the
11427           gst_pad_add_*_probe() callbacks should look like.
11428
11429 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11430
11431         * libs/gst/base/gstbasesrc.c:
11432           Document how applications can stop recording from
11433           live sources (see #330996).
11434
11435 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11436
11437         * tests/check/Makefile.am:
11438         * tests/check/libs/basesrc.c: (eos_event_counter),
11439         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11440         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11441         (gst_basesrc_suite), (main):
11442           ... and add some tests for the base source EOS stuff.
11443
11444 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11445
11446         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11447           Test case originally showed the problem fixed below,
11448           but was then amended. Add checks back at the place
11449           where they used to be.
11450
11451 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11452
11453         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11454         (gst_base_src_init), (gst_base_src_loop),
11455         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11456         (gst_base_src_change_state):
11457         * libs/gst/base/gstbasesrc.h:
11458           Don't unconditionally send EOS when going from PAUSED to
11459           READY state, esp. make sure we don't send two EOS events
11460           in some cases (e.g. one when reaching EOS and one when
11461           going from PAUSED to READY). Also, we don't want to send
11462           EOS events when operating in pull mode. However, we do
11463           want to send an EOS event when shutting down a live
11464           source explicitly, for example (fixes #330996).
11465           
11466 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11467
11468         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11469           Update src->read_position after a seek when not using mmap.
11470           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11471
11472 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11473
11474         * gst/Makefile.am:
11475         * gst/gstparse.h:
11476         * gst/gstutils.c:
11477         * gst/gstutils.h:
11478         Make things work with --disable-parse as they do with 
11479         --disable-load-save - the symbols involved disappear, but the
11480         header is still installed and GST_DISABLE_PARSE is included via
11481         gstconfig.h
11482
11483 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11484
11485         * libs/gst/base/gstbasetransform.c:
11486         (gst_base_transform_change_state): Fix a stupid bug. I was 
11487         sure I compiled that.
11488
11489 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11490
11491         * gst/gstpad.c: (gst_pad_set_blocked_async):
11492         * gst/gstutils.c: (gst_pad_add_data_probe),
11493         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11494         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11495         (gst_pad_remove_buffer_probe): Make those function act on the
11496         ghostpad target when it's a ghostpad. (Closes #331727)
11497
11498 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11499
11500         * libs/gst/base/gstbasetransform.c:
11501         (gst_base_transform_change_state): Make basetransform reusable.
11502         (Closes #331898)
11503
11504 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11505
11506         * docs/random/release:
11507         Move the current documentation of how to do a release to the top
11508         of the file.
11509
11510         * gst/gstbin.c: (gst_bin_class_init),
11511         (gst_bin_handle_message_func):
11512         Allow multiple state-recalculation threads. (Closes #328873)
11513
11514 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11515
11516         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11517         * gst/gstpad.c: (gst_pad_set_event_function),
11518         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11519         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11520         2 strings. You can't use the STR_NULL macro on that.
11521
11522 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11523
11524         * gst/gstpad.c: (gst_pad_set_event_function),
11525         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11526         (gst_pad_set_getcaps_function)
11527         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11528           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11529           So now, we can use --gst-debug-level=5 on Windows
11530         * win32/common/libgstcontroller.def:
11531           Added export of gst_controller_init
11532         * win32/vs6/libgstcontroller.dsp:
11533           Fixed Release post build configuration
11534
11535 2006-02-17  Wim Taymans  <wim@fluendo.com>
11536
11537         * tests/check/gst/gstquery.c: (GST_START_TEST):
11538         Added another check.
11539
11540 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11541
11542         * plugins/elements/gsttypefindelement.c: (find_peek):
11543           We can do peeks at non-zero offsets, as long as they
11544           fall within the buffer we have.
11545
11546 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11547
11548         * tests/check/Makefile.am:
11549         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11550         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11551         (parse_suite), (main):
11552           Add testsuite for parse launch syntax
11553
11554 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11555
11556         * plugins/elements/gsttypefindelement.c:
11557         (gst_type_find_element_chain):
11558           When typefinding is unsuccessful in the chain function, don't
11559           error out immediately. Only error out with NO_CAPS_FOUND if
11560           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11561           otherwise simply wait for more data so we can try typefinding
11562           again with more data later. Also, don't attempt to typefind
11563           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11564           this should improve typefinding from network sources where the
11565           size of the first buffer can be somewhat random.
11566
11567 2006-02-14  Wim Taymans  <wim@fluendo.com>
11568
11569         * docs/gst/gstreamer-sections.txt:
11570         * gst/gstpadtemplate.c:
11571         * gst/gstpadtemplate.h:
11572         Fix padtemplate docs, fixes #328805.
11573
11574 2006-02-14  Wim Taymans  <wim@fluendo.com>
11575
11576         * tools/gst-launch.c: (main):
11577         NO_PREROLL is not an ERROR so don't send confusing messages
11578         to the user.
11579
11580 2006-02-14  Wim Taymans  <wim@fluendo.com>
11581
11582         Patch by: Torsten Schoenfeld
11583
11584         * gst/gstregistry.c: (gst_registry_get_default),
11585         (_gst_registry_cleanup):
11586         Protect default registry with lock and ref/sink it.
11587         Fixes #324818
11588
11589 2006-02-14  Wim Taymans  <wim@fluendo.com>
11590
11591         * gst/gstbuffer.c:
11592         * gst/gstquery.c: (gst_query_list_add_format),
11593         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11594         (gst_query_parse_formats_nth):
11595         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11596         Docs fixes.
11597
11598 2006-02-14  Wim Taymans  <wim@fluendo.com>
11599
11600         * docs/gst/gstreamer-sections.txt:
11601         Reworked query docs.
11602
11603         * gst/gstquery.c: (gst_query_new_formats),
11604         (gst_query_list_add_format), (gst_query_set_formats),
11605         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11606         (gst_query_parse_formats_nth):
11607         * gst/gstquery.h:
11608         Flesh out formats query, added some new methods.
11609         Fix part of #324398.
11610
11611         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11612         Added query creation tests.
11613
11614 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11615
11616         * gst/gstpad.c: (fixate_value):
11617         Add a default fixation for fraction lists.
11618
11619 2006-02-13  Wim Taymans  <wim@fluendo.com>
11620
11621         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11622         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11623         (gst_task_join):
11624         * gst/gsttask.h:
11625         Detect and warn for obvious deadlocks. fixes #320340
11626         Fix error case where lock was not released.
11627
11628         * tests/check/Makefile.am:
11629         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11630         (task_func), (gst_element_suite), (main):
11631         Add task check.
11632
11633 2006-02-13  Wim Taymans  <wim@fluendo.com>
11634
11635         * docs/gst/gstreamer-sections.txt:
11636         * gst/gstbus.c:
11637         Add new functions to docs.
11638
11639 2006-02-13  Wim Taymans  <wim@fluendo.com>
11640
11641         * docs/design/part-TODO.txt:
11642         Updated TODO list, basesrc supports seeking to non-bytes
11643         formats.
11644
11645         * docs/design/part-element-sink.txt:
11646         Update docs.
11647
11648         * gst/gstbin.c: (bin_replace_message),
11649         (gst_bin_handle_message_func):
11650         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11651         * gst/gstevent.c: (gst_event_finalize):
11652         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11653         (gst_pad_send_event):
11654         Use shiny new _TYPE_NAME macros.
11655
11656         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11657         Move debug statement up.
11658
11659         * gst/gstelement.c: (gst_element_set_locked_state):
11660         Add some debugging.
11661
11662 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11663
11664         * docs/gst/gstreamer-sections.txt:
11665         * gst/gstmessage.h:
11666         * gst/gstquery.h:
11667           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11668           macros (#330906). Also, document the already existing
11669           GST_QUERY_TYPE macro.
11670
11671 2006-02-13  Wim Taymans  <wim@fluendo.com>
11672
11673         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11674         (event_probe), (GST_START_TEST):
11675         Only events up to the pipeline EOS are counted, there are
11676         some more when going to NULL currently which we don't care
11677         about for now.
11678
11679 2006-02-13  Wim Taymans  <wim@fluendo.com>
11680
11681         * gst/gstpad.c: (gst_pad_send_event):
11682         Correctly check flushing and emit probes. fixes #330125
11683
11684 2006-02-10  Andy Wingo  <wingo@pobox.com>
11685
11686         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11687         structure.
11688         (gst_bus_init): Cache the location of the private data in the
11689         instance structure.
11690         (gst_bus_enable_sync_message_emission) 
11691         (gst_bus_disable_sync_message_emission): Implement new public
11692         functions.
11693         (gst_bus_post): Emit the sync-message signal if the user asked for
11694         it. Fixes #330684.
11695
11696         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11697         location of the bus-private structure.
11698         (gst_bus_enable_sync_message_emission)
11699         (gst_bus_disable_sync_message_emission): API addition
11700
11701 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11702
11703         Patch by: Vincent Torri
11704
11705         * docs/pwg/building-boiler.xml:
11706         PWG patch from #326800
11707
11708 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11709
11710         * configure.ac:
11711         * docs/Makefile.am:
11712         * docs/design/Makefile.am:
11713           Dist design docs.
11714
11715 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11716
11717         * configure.ac:
11718           back to CVS
11719
11720 === release 0.10.3 ===
11721
11722 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11723
11724         * configure.ac:
11725           releasing 0.10.3, "Like a virgin"
11726
11727 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11728
11729         * configure.ac:
11730           2nd prerelease of 0.10.3
11731           Bump libtool versioning.
11732
11733 2006-02-07  Andy Wingo  <wingo@pobox.com>
11734
11735         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11736         update last_stop if we're in TIME format and the timestamp is
11737         valid.
11738
11739         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11740         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11741         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11742         If we get a new newsegment with a different format, adapt
11743         accordingly.
11744
11745         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11746         of 0. Not a problem, really.
11747
11748         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11749         warn if sync=true.
11750
11751 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11752
11753         * configure.ac:
11754           Prelease of 0.10.3
11755
11756 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11757
11758         * win32/vs7:
11759           project files updated to the default vs7 configuration
11760         * win32/common/libgstbase.def:
11761         * win32/common/libgstreamer.def:
11762           added new symbols,
11763           removed empty lines,
11764           sorted all exported symbols alphabetically
11765         * win32/common/dirent.c:
11766         * win32/common/dirent.h:
11767         * win32/common/gchar.h:
11768           use windows line end.
11769           
11770 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11771
11772         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11773           Send EOS event when stopping.
11774
11775 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11776
11777         * docs/README:
11778           Tell folks what to do if the plugin-foobar.xml file
11779           hasn't been generated for a newly-added plugin.
11780
11781 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11782
11783         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11784         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11785         (gst_collect_pads_start), (gst_collect_pads_stop),
11786         (gst_collect_pads_event): Collectpads now holds a reference
11787         to the GstPad that was added. Indeed we don't want to look
11788         at pads that might just go away with no warning...
11789
11790 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11791
11792         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11793         (gst_collect_pads_start), (gst_collect_pads_stop),
11794         (gst_collect_pads_event), (gst_collect_pads_chain):
11795         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11796         Mark Nauwelaerts's patch on bug #328491.
11797
11798 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11799
11800         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11801         (gst_utils_suite):
11802           Add some simple tests for gst_parse_bin_from_description() and
11803           gst_bin_find_unconnected_pad() (#329069).
11804
11805 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11806
11807         * tools/gst-launch.c: (event_loop), (main):
11808           Catch errors during preroll (#320084).
11809
11810 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11811
11812         * plugins/elements/gsttypefindelement.c:
11813         (gst_type_find_element_activate):
11814           Post TYPE_NOT_FOUND error message when typefinding
11815           is unsuccessful in the activate function as well.
11816
11817 2006-02-02  Wim Taymans  <wim@fluendo.com>
11818
11819         * docs/design/part-element-sink.txt:
11820         Updated doc.
11821
11822 2006-02-02  Wim Taymans  <wim@fluendo.com>
11823
11824         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11825         (gst_base_sink_render_object),
11826         (gst_base_sink_queue_object_unlocked):
11827         Only keep track of prerollable items when we are 
11828         prerolling.
11829         Before rendering after preroll, always check if we
11830         have queued items.
11831         Added some more debugging.
11832
11833 2006-02-02  Wim Taymans  <wim@fluendo.com>
11834
11835         * gst/gstelement.c: (gst_element_continue_state),
11836         (gst_element_set_state_func), (gst_element_change_state):
11837         Fixed #326576, been running this for quite some time with
11838         no regressions at all.
11839
11840 2006-02-02  Wim Taymans  <wim@fluendo.com>
11841
11842         * common/gst.supp:
11843         Added more suppressions
11844
11845 2006-02-02  Wim Taymans  <wim@fluendo.com>
11846
11847         * docs/design/part-element-sink.txt:
11848         Updated document.
11849
11850         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11851         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11852         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11853         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11854         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11855         (gst_base_sink_preroll_object),
11856         (gst_base_sink_queue_object_unlocked),
11857         (gst_base_sink_queue_object), (gst_base_sink_event),
11858         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11859         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11860         (gst_base_sink_get_position), (gst_base_sink_change_state):
11861         * libs/gst/base/gstbasesink.h:
11862         Totally refactored matching the design doc.
11863         Use two segments, one to clip incomming buffers and another to
11864         perform sync.
11865         Handle queueing correctly, bypass the queue when playing.
11866         Make EOS cancelable.
11867         Handle errors correctly when operating in pull based mode.
11868
11869         * tests/check/elements/fakesink.c: (GST_START_TEST),
11870         (fakesink_suite):
11871         Added new check for sinks.
11872
11873 2006-02-02  Wim Taymans  <wim@fluendo.com>
11874
11875         * gst/gstsegment.c: (gst_segment_clip):
11876         No reason to refuse to clip when start == -1
11877
11878 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
11879
11880         * docs/README:
11881         * docs/manual/intro-basics.xml:
11882         * docs/manual/intro-preface.xml:
11883         * docs/manual/manual.xml:
11884         * docs/pwg/advanced-dparams.xml:
11885         * docs/pwg/intro-basics.xml:
11886         * docs/pwg/intro-preface.xml:
11887         * docs/pwg/pwg.xml:
11888           describe dparams (controller) for plugins
11889           unify docs a little more
11890
11891 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
11892
11893         * docs/gst/gstreamer-sections.txt:
11894         * gst/gstutils.c: (element_find_unconnected_pad),
11895         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11896         * gst/gstutils.h:
11897           Add new API: gst_parse_bin_from_description() and
11898           gst_bin_find_unconnected_pad() (#329069).
11899
11900 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
11901
11902         * docs/manual/README:
11903           uncover a nasty detail of the docs build
11904
11905 2006-01-31  Wim Taymans  <wim@fluendo.com>
11906
11907         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11908         Don't cache duration messages if we're not going to use or
11909         free them.
11910
11911 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
11912
11913         * docs/manual/advanced-dparams.xml:
11914         * docs/pwg/advanced-dparams.xml:
11915           more dparam docs
11916         * gst/gstindex.c:
11917           fix docs
11918         * libs/gst/controller/lib.c: (gst_controller_init):
11919           init just once
11920
11921 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11922
11923         * gst/gstelement.c: (gst_element_message_full):
11924           also show file/line/func if no additional debug was given
11925
11926 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
11927         
11928         * win32/vs7/grammar.vcproj:
11929           activate copy of autogenerated files for Release mode
11930
11931 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11932         
11933         * win32/common/libgstreamer.def:
11934           export gst_value_compare
11935
11936 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
11937
11938         * plugins/elements/Makefile.am:
11939         * plugins/elements/gstelements.c:
11940         * plugins/elements/gstfdsink.c: (_do_init),
11941         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11942         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11943         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11944         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11945         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11946         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11947         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11948         * plugins/elements/gstfdsink.h:
11949         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11950
11951 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
11952
11953         * docs/manual/advanced-dparams.xml:
11954           describe controller
11955         * docs/manual/advanced-position.xml:
11956         * docs/manual/basics-init.xml:
11957         * docs/manual/manual.xml:
11958         * docs/manual/titlepage.xml:
11959         * docs/pwg/pwg.xml:
11960         * docs/pwg/titlepage.xml:
11961           cleanup xml (more to come)
11962         * libs/gst/controller/gstcontroller.c:
11963           fix typo
11964
11965 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11966         
11967         * win32/vs6/grammar.dsp:
11968           add autogen of gstmarshal.c,h for Release mode
11969                 
11970 2006-01-30  Wim Taymans  <wim@fluendo.com>
11971
11972         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11973         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11974         (gst_base_sink_handle_object), (gst_base_sink_event),
11975         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11976         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11977         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11978         (gst_base_sink_deactivate), (gst_base_sink_activate),
11979         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11980         (gst_base_sink_query), (gst_base_sink_change_state):
11981         Basesink cleanups, remove some old code.
11982         Handle the case where a subclass can preroll in the render
11983         method (mostly audiosinks).
11984         Handle more events.
11985         Remove some locks around variables that are now protected
11986         with the PREROLL_LOCK (clock_id, flushing, ..).
11987         Optimize position query some more, do correct locking.
11988         Remove old code to push queue in state change, this is not
11989         needed anymore since preroll blocks on all prerollable items 
11990         now.
11991         Almost implemented as described in design doc.
11992
11993 2006-01-30  Wim Taymans  <wim@fluendo.com>
11994
11995         * tests/check/gst/gstbin.c: (GST_START_TEST):
11996         Wait for refcount to settle down before checking.
11997
11998 2006-01-30  Wim Taymans  <wim@fluendo.com>
11999
12000         * docs/design/part-element-sink.txt:
12001         Pseudo code overview of desired sink behaviour regarding
12002         preroll.
12003
12004 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12005         * win32/vs6/grammar.dsp:
12006           fix some bugs in Release mode for autogenerated files
12007                 
12008 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12009         * win32/common/libgstbase.def:
12010         * win32/common/libgstreamer.def:
12011           export some new symbols: gst_base_src_set_format,
12012           gst_iterator_next, gst_structure_set_valist
12013
12014 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12015
12016         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12017         Set pad functions unconditionally. Fixes #329105.
12018
12019 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12020         * win32/vs8:
12021           add vs8 project files created by Sergey Scobich
12022
12023 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12024
12025         * gst/gstutils.c: (gst_element_unlink_pads):
12026         Don't leak pad references.
12027
12028         * tests/check/elements/fakesink.c: (GST_START_TEST):
12029         * tests/check/generic/sinks.c: (GST_START_TEST):
12030         * tests/check/generic/states.c: (GST_START_TEST):
12031         * tests/check/gst/gstbin.c: (GST_START_TEST):
12032         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12033         * tests/check/gst/gstelement.c: (GST_START_TEST):
12034         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12035         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12036         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12037         Fix a bunch of leaks. Make generic/sinks.c
12038         use a bit less cpu by slowing the buffer rate
12039         between fakesrc and fakesink.
12040         
12041 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12042         * gst/gstcaps.c:
12043         * gst/gstelement.c: (gst_element_send_event):
12044         * gst/gstevent.c:
12045         * gst/gstinfo.c:
12046         * gst/gstiterator.c:
12047         * gst/gstiterator.h:
12048         * gst/gstpad.c: (gst_pad_send_event):
12049         * gst/gststructure.c:
12050         * gst/gsturi.c:
12051         * gst/gstutils.c:
12052         * gst/gstvalue.c:
12053         * libs/gst/base/gstadapter.c:
12054           doc fixes, to link to function, just write gst_cool_function(), don't
12055           prefix with '#'
12056
12057 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12058
12059         * plugins/elements/gsttee.c: (gst_tee_do_push),
12060         (gst_tee_handle_buffer):
12061         Always prefer an actual return value from a src
12062         pad in place of NOT_LINKED. This means we return
12063         WRONG_STATE when all src pads are WRONG_STATE
12064         instead of NOT_LINKED.
12065
12066         Lock when replacing the last message to prevent
12067         racing with the get_property method.
12068
12069         Add debug output
12070
12071 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12072
12073         * tests/check/Makefile.am:
12074         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12075         (main):
12076         Add a very simple check that should have caught the memleak I fixed
12077         last night (if not for the slice allocator hiding it)
12078
12079 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12080
12081         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12082         (gst_bin_remove_func), (gst_bin_handle_message_func),
12083         (bin_query_duration_fold), (bin_query_generic_fold):
12084         Clean up references to the clock provider when disposed or when
12085         handling a clock-lost message from it.
12086
12087         Unref sinks when performing a query via gst_iterator_fold, as the
12088         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12089
12090         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12091         (gst_clock_set_master):
12092         Drop our reference to the master clock, if any, when we are disposed.
12093
12094         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12095         Chain up in dispose. 
12096
12097 2006-01-26  Wim Taymans  <wim@fluendo.com>
12098
12099         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12100         Add some debugging.
12101
12102 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12103
12104         * plugins/elements/gsttee.c: (gst_tee_do_push),
12105         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12106         handles pad being NOT_LINKED or in WRONG_STATE.
12107
12108 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12109
12110         * win32/MANIFEST:
12111           more updating
12112
12113 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12114
12115         * win32/MANIFEST:
12116           remove obsolete entry
12117
12118 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12119
12120         * docs/gst/gstreamer-sections.txt:
12121         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12122         (gst_bin_iterate_sources), (gst_bin_send_event):
12123         * gst/gstbin.h:
12124         * gst/gstelement.c: (gst_element_send_event):
12125         * gst/gstevent.c:
12126         * gst/gstpad.c: (gst_pad_send_event):
12127           added code for downstream events, reviewed docs in gstevent.c
12128
12129 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12130
12131         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12132         We only query position using the clock in the playing state.
12133         Query peer in the other cases.
12134         * win32/common/config.h: Updates.
12135
12136 2006-01-24  Wim Taymans  <wim@fluendo.com>
12137
12138         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12139         A clock entry that is scheduled for the exact time of the
12140         clock is still in time.
12141
12142         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12143         (gst_base_sink_do_sync):
12144         Add some more debug info.
12145
12146 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12147
12148         * win32/vs7:
12149           Add new vs7 project files and solution.
12150
12151 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12152
12153         * win32/vs7:
12154           all files removed as they were out-dated.
12155
12156 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12157
12158         * docs/random/release:
12159           update notes
12160         * gst/gstbin.c: (gst_bin_init):
12161         * gst/gstbus.c: (gst_bus_new):
12162         * gst/gstbus.h:
12163         * gst/gstpipeline.c: (gst_pipeline_init):
12164           use gst_bus_new(), improve logging, fix docs
12165         * win32/common/config.h:
12166           update for cvs build
12167
12168 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12169
12170         * autogen.sh:
12171           up required version of automake to 1.7
12172
12173 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12174
12175         * win32/common/libgstreamer.def:
12176           export gst_buffer_is_metadata_writable
12177
12178 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12179
12180         * docs/gst/gstreamer-sections.txt:
12181         * gst/gstevent.h:
12182           Add gst_event_replace() (#327001)
12183
12184 2006-01-20  Wim Taymans  <wim@fluendo.com>
12185
12186         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12187         Make it actually compile too..
12188
12189 2006-01-20  Wim Taymans  <wim@fluendo.com>
12190
12191         * gst/gstcaps.c:
12192         Clarify behaviour of _is_equal() when passing NULL parameters.
12193
12194         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12195         (gst_pad_set_caps):
12196         Cleanups. Don't unref NULL caps.
12197         When setting the same caps, protect caps of the pad with
12198         proper lock.
12199         Use full functionality of _is_equal() when comparing caps.
12200
12201 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12202
12203         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12204         Don't loop infinitely if there are no buffers to present. Partially
12205         fixes #327197, but collectpads is just broken for reusing elements
12206         to do multiple encodes atm.
12207
12208 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12209
12210         * tools/gst-inspect.c: (print_element_features):
12211         * tools/gst-xmlinspect.c: (main):
12212         URL_HANDLER is not a plugin feature we can search for in
12213         the registry.
12214
12215 2006-01-19  Edward Hervey  <edward@fluendo.com>
12216
12217         * gst/gstelement.c: (gst_element_pads_activate): 
12218         When activating, do src pads first, then sink pads.
12219         When de-activating, do sink pads first, then src pads.
12220
12221 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12222
12223         * docs/gst/gstreamer-sections.txt:
12224         Add gst_index_add_associationv to the docs
12225
12226 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12227
12228         * gst/gstevent.c:
12229           Fix docs typo
12230
12231         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12232         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12233           Do some refactoring. Doesn't actually change functionality,
12234           but makes landing the DRAIN event easier later.
12235
12236 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12237
12238         * docs/pwg/advanced-scheduling.xml:
12239           Update from 0.9.x to 0.10 API and make example a bit
12240           clearer.
12241
12242 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12243
12244         * docs/gst/gstreamer-sections.txt:
12245         Add gst_buffer_(is|make)_metadata_writable methods.
12246
12247 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12248
12249         * docs/design/part-sparsestreams.txt:
12250         Update sparse streams doc, hopefully for greater clarity
12251
12252 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12253
12254         * docs/design/part-events.txt:
12255         Remove mention of FILLER events.
12256         Add DRAIN event.
12257
12258         * docs/design/part-sparsestreams.txt:
12259         Write some things about using NEWSEGMENT to keep sparse streams
12260         flowing.
12261
12262 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12263
12264         * gst/gstbin.c: (gst_bin_dispose):
12265           Guard gst_object_unref call against a NULL object (dispose
12266           can theoretically be called multiple times).
12267           
12268 2006-01-18  Wim Taymans  <wim@fluendo.com>
12269
12270         * gst/gstbin.c: (gst_bin_element_set_state):
12271         * gst/gstclock.c: (gst_clock_id_wait):
12272         Added some more debug info.
12273
12274         * libs/gst/base/gstadapter.c:
12275         Added more docs.
12276
12277         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12278         (gst_base_sink_do_sync), (gst_base_sink_chain):
12279         Added some comments.
12280
12281 2006-01-18  Wim Taymans  <wim@fluendo.com>
12282
12283         * tests/check/Makefile.am:
12284         * tests/check/elements/fakesink.c: (chain_async_buffer),
12285         (chain_async), (chain_async_return), (GST_START_TEST),
12286         (fakesink_suite), (main):
12287         Added fakesink test that checks prerolling and clipping
12288         behaviour.
12289
12290         * tests/check/gst/gstutils.c: (GST_START_TEST):
12291         Make check run faster so that buildbots don't timeout.
12292
12293 2006-01-18  Wim Taymans  <wim@fluendo.com>
12294
12295         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12296         (gst_base_sink_do_sync):
12297         Some cleanups.
12298         When the sink finishes blocking on the preroll buffer, it can
12299         immediatly render it instead of rendering when the next buffer
12300         arrives.
12301
12302 2006-01-18  Wim Taymans  <wim@fluendo.com>
12303
12304         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12305         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12306         (gst_base_sink_chain):
12307         Small cleanups.
12308         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12309         Don't store _last_stop if the buffer is dropped.
12310
12311 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12312
12313         * plugins/elements/gsttypefindelement.c:
12314         (gst_type_find_element_class_init):
12315           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12316           object method handler that sets the caps on the pad and we want
12317           that to happen before we emit the signal (fixes e.g. feeding a
12318           plain text file to decodebin).
12319
12320 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12321
12322         * gst/gstplugin.c: Add MPL and Proprietary as license options
12323
12324 2006-01-18  Andy Wingo  <wingo@pobox.com>
12325
12326         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12327         symbol was exported before, it appears this was just an oversight.
12328         Fixes #168703.
12329         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12330
12331         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12332         prototype to gint. OK since this prototype was not in the header.
12333
12334 2006-01-17  Andy Wingo  <wingo@pobox.com>
12335
12336         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12337         registry while we remove plugins.
12338
12339         * tools/gst-inspect.c (print_element_info): Don't unref the
12340         factory arg, that should be the responsibility of whatever code
12341         received the ref. Fixes a double-free when called from
12342         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12343         (main): Unref the factory if we have one.
12344         (print_element_list): No change -- relies on the
12345         plugin_feature_list_free to free the list of features.
12346
12347 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12348
12349         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12350         (gst_buffer_make_metadata_writable):
12351         * gst/gstbuffer.h:
12352         * libs/gst/base/gstbasetransform.c:
12353         (gst_base_transform_prepare_output_buf):
12354         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12355         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12356           Replace gst_buffer_(make|is)_metadata_writable patch now
12357           that the release is out.
12358
12359 2006-01-17  Andy Wingo  <wingo@pobox.com>
12360
12361         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12362         in the present tense without reference to versions.
12363
12364         * gst/gstregistry.c (gst_registry_add_plugin)
12365         (gst_registry_remove_plugin, gst_registry_remove_feature)
12366         (gst_registry_find_feature, gst_registry_get_feature_list)
12367         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12368         (gst_registry_lookup, gst_registry_scan_path)
12369         (_gst_registry_remove_cache_plugins)
12370         (gst_registry_get_feature_list_by_plugin): Add argument
12371         validation.
12372
12373 === release 0.10.2 ===
12374
12375 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12376
12377         * configure.ac:
12378           releasing 0.10.2, "If man is five"
12379
12380 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12381
12382         * gst/gstbuffer.c:
12383         * gst/gstbuffer.h:
12384         * libs/gst/base/gstbasetransform.c:
12385         (gst_base_transform_prepare_output_buf):
12386         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12387         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12388           Back out patch until after the release.
12389
12390 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12391
12392         * gst/gstminiobject.c:
12393           Spelling fix in docs.
12394         * ChangeLog - remove conflict indicator
12395
12396 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12397
12398         Reviewed By: Andy Wingo
12399
12400         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12401         (gst_buffer_make_metadata_writable):
12402         * gst/gstbuffer.h:
12403           Add gst_buffer_(is|make)_metadata_writable as analogues of
12404           gst_buffer_(is|make)_writable.
12405
12406         * libs/gst/base/gstbasetransform.c:
12407         (gst_base_transform_prepare_output_buf):
12408         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12409           Use name gst_buffer_(is|make)_metadata_writable functions.
12410
12411         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12412           Test gst_buffer_(is|make)_metadata_writable
12413         
12414           (Closes: #324162)
12415
12416 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12417
12418         * docs/manual/Makefile.am:
12419           don't do parallel make
12420         * configure.ac:
12421           AC_SUBST HOST_CPU
12422         * win32/common/config.h.in:
12423           add generations for HOST_CPU and GST_MAJORMINOR
12424         * win32/common/config.h:
12425           commit generated result
12426
12427 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12428
12429         * docs/manual/appendix-integration.xml:
12430           Update GNOME integration section to use gst_init_get_option_group()
12431           instead of the old popt stuff (#322911). Also, GNOME applications
12432           should  now use gconf*sink and gconf*src instead of the old gconf
12433           helper lib we had.
12434
12435 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12436
12437
12438         * docs/gst/gstreamer-docs.sgml:
12439         * docs/gst/gstreamer-sections.txt:
12440         * docs/libs/gstreamer-libs-sections.txt:
12441           add new API entries to the docs
12442         * libs/gst/controller/Makefile.am:
12443         * libs/gst/controller/gstcontroller.c:
12444         * libs/gst/controller/gstcontroller.h:
12445         * libs/gst/controller/gstcontrollerprivate.h:
12446         * libs/gst/controller/gsthelper.c:
12447         * libs/gst/controller/gstinterpolation.c:
12448           move private structs to private header
12449         * po/README:
12450           gstreamer-0.7 -> gstreamer-0.10
12451         * tests/check/libs/struct_i386.h:
12452           remove private structs
12453
12454 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12455
12456         * plugins/indexers/Makefile.am:
12457           Fixes as part of #317048
12458
12459 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12460
12461         * plugins/indexers/Makefile.am:
12462           fix #316086 - compilation when mmap is missing
12463
12464 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12465
12466         * libs/gst/base/gstbasesink.c:
12467           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12468           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12469         * win32/common/config.h:
12470           added some defines GST_MAJORMINOR and HOST_CPU
12471         * win32/common/libgstbase.def:
12472         * win32/common/libgstreamer.def:
12473           added some exported functions.
12474
12475 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12476
12477         * libs/gst/controller/gstcontroller.c:
12478         (gst_controlled_property_set_interpolation_mode),
12479         (gst_controlled_property_new):
12480         * libs/gst/controller/gstcontroller.h:
12481         * libs/gst/controller/gstinterpolation.c:
12482         (interpolate_none_get_string_value_array):
12483           make G_TYPE_STRING controlable
12484
12485 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12486
12487         * tools/README:
12488         * tools/gst-feedback.1.in:
12489         * tools/gst-inspect.1.in:
12490         * tools/gst-launch.1.in:
12491         * tools/gst-md5sum.1.in:
12492         * tools/gst-typefind.1.in:
12493         * tools/gst-xmlinspect.1.in:
12494         * tools/gst-xmllaunch.1.in:
12495           cleanup man-pages, remove reference to gst-register, document env-vars
12496
12497 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12498
12499         * gst/gstbuffer.c: (gst_buffer_span):
12500           gst_buffer_span should copy the timestamp of the first buffer
12501           if they were both originally overlapping subbuffers of the 
12502           same parent, using the same logic as the 'slow copy' case.
12503
12504 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12505
12506         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12507           Need to awaken ALL the pads when we pop a buffer, otherwise
12508           collectpads only works when there is 2 input streams.
12509
12510 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12511
12512         * docs/random/ensonic/media-device-daemon.txt:
12513           more ideas (dbus)
12514         * gst/gstbuffer.c:
12515           fix doc example, add clarification
12516         * tools/gst-launch.1.in:
12517           add initial info about GST_PLUGIN_PATH, needs more work
12518
12519 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12520
12521         * docs/manual/basics-bins.xml:
12522         * docs/manual/basics-elements.xml:
12523         * docs/manual/intro-basics.xml:
12524           Some more minor docs additions and updates.
12525
12526 2006-01-11  Wim Taymans  <wim@fluendo.com>
12527
12528         * docs/manual/basics-bins.xml:
12529         * docs/manual/basics-elements.xml:
12530         Some small fixes as pointed out by Ser-ver on IRC.
12531
12532 2006-01-10  Edward Hervey  <edward@fluendo.com>
12533
12534         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12535         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12536         the single-segment mode.
12537
12538 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12539
12540         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12541
12542         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12543         (gst_base_src_perform_seek), (gst_base_src_send_event),
12544         (gst_base_src_set_property), (gst_base_src_get_property),
12545         (gst_base_src_loop), (gst_base_src_start),
12546         (gst_base_src_activate_push):
12547         * libs/gst/base/gstbasesrc.h:
12548           Name (private) union; makes Sun's Forte compiler happy (#324900).
12549
12550 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12551
12552         * README:
12553           gst-register is gone.
12554
12555 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12556
12557         * gst/gstvalue.c: (_gst_value_initialize):
12558           make the G_TYPE_DATE instantiation work if debug is disabled
12559
12560 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12561
12562         * gst/gstmessage.c: (gst_message_parse_tag),
12563         (gst_message_parse_error), (gst_message_parse_warning):
12564           Don't crash when return location for error/warning debug
12565           string is NULL; add fact that return locations can be
12566           NULL to docs where appropriate.
12567
12568 2006-01-05  Wim Taymans  <wim@fluendo.com>
12569
12570         * gst/gstplugin.c: (gst_plugin_load_file):
12571         Replace strdup by g_strdup.
12572
12573 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12574
12575         * docs/pwg/advanced-types.xml:
12576           fix doc borkage
12577
12578 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12579
12580         submitted by: Abel Cheung
12581
12582         * po/LINGUAS:
12583         * po/zh_TW.po:
12584           Added Chinese (traditional) translation
12585
12586 2006-01-04  Wim Taymans  <wim@fluendo.com>
12587
12588         * docs/manual/basics-pads.xml:
12589         * docs/plugins/Makefile.am:
12590         * docs/plugins/gstreamer-plugins-docs.sgml:
12591         * docs/plugins/gstreamer-plugins-sections.txt:
12592         * docs/pwg/advanced-clock.xml:
12593         * docs/pwg/advanced-scheduling.xml:
12594         * docs/pwg/advanced-types.xml:
12595         * plugins/elements/gstfdsink.c:
12596         * plugins/elements/gstfdsrc.c:
12597         * plugins/elements/gstfdsrc.h:
12598         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12599         * plugins/elements/gstidentity.h:
12600         * plugins/elements/gstqueue.h:
12601         * plugins/elements/gsttee.c:
12602         * plugins/elements/gsttee.h:
12603         * plugins/elements/gsttypefindelement.c:
12604         (gst_type_find_element_class_init):
12605         * plugins/elements/gsttypefindelement.h:
12606         Small updates to various docs.
12607         Added core plugins to docs.
12608
12609 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12610
12611         * common/gst.supp:
12612           add a suppression for liboil's uninitialized variable
12613
12614 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12615
12616         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12617
12618         * gst/gstutils.h:
12619           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12620           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12621           compiler switch is being used (#325429).
12622
12623 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12624
12625         * gst/gstbin.c: (gst_bin_query):
12626           Disable duration query caching in bins until it gets
12627           fixed (see #324807).
12628
12629 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12630
12631         * tools/gst-inspect.c: (print_element_properties_info):
12632           Handle properties of POINTER and BOXED type.
12633
12634 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12635
12636         * gst/gst.c: (init_post):
12637           Init tags stuff and some other things before loading
12638           any static plugins (there may be other static plugins
12639           than just the GStreamer ones, and they may want to
12640           register their own tags or formats or whatever, and
12641           preferably without segfaulting).
12642
12643         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12644           Print at least a warning in the debug logs if we drop a
12645           query just because we don't know how to adjust the value
12646           in the particular format.
12647
12648 2005-12-24  David Schleef  <ds@schleef.org>
12649
12650         * tools/gstreamer-completion:
12651           Replacement for gst-complete written in sh and sed.  Only
12652           completes names of features, but that's 90% of what I want
12653           it for.  Properties are not available in registry.xml.  (Maybe
12654           they should be...)
12655
12656 === release 0.10.1 ===
12657
12658 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12659
12660         * configure.ac:
12661           releasing 0.10.1, "Nollaig chridheil"
12662
12663 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12664
12665         * docs/faq/cvs.xml:
12666           Add missing quote, should be make ERROR_CFLAGS="".
12667
12668 2005-12-20  Wim Taymans  <wim@fluendo.com>
12669
12670         * docs/design/part-trickmodes.txt:
12671         More documentation on trickmodes.
12672
12673 2005-12-20  Edward Hervey  <edward@fluendo.com>
12674
12675         * gst/gstcaps.c: (gst_static_caps_get_type):
12676         * gst/gstcaps.h:
12677           API addition: GST_TYPE_STATIC_CAPS
12678         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12679         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12680         * gst/gstpadtemplate.h:
12681           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12682         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12683         bindings.
12684
12685 2005-12-18  Wim Taymans  <wim@fluendo.com>
12686
12687         * libs/gst/base/gstadapter.c:
12688         * libs/gst/base/gstadapter.h:
12689         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12690         (gst_base_sink_get_position):
12691         * libs/gst/base/gstbasesink.h:
12692         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12693         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12694         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12695         (gst_base_src_send_event), (gst_base_src_update_length),
12696         (gst_base_src_get_range), (gst_base_src_loop),
12697         (gst_base_src_start):
12698         * libs/gst/base/gstbasesrc.h:
12699         * libs/gst/base/gstbasetransform.h:
12700         * libs/gst/base/gstcollectpads.h:
12701         * libs/gst/base/gstpushsrc.c:
12702         * libs/gst/base/gstpushsrc.h:
12703         * libs/gst/dataprotocol/dataprotocol.c:
12704         * libs/gst/dataprotocol/dataprotocol.h:
12705         * libs/gst/net/gstnetclientclock.h:
12706         * libs/gst/net/gstnettimeprovider.h:
12707         Documentation updates.
12708
12709 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12710
12711         * docs/manual/basics-helloworld.xml:
12712           Remove superfluous closing bracket in helloworld example.
12713
12714 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12715
12716         * tools/gst-launch.1.in:
12717           Update gst-launch man page; add a section with useful
12718           environment variables. Fixes #323882.
12719
12720 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12721
12722         * gst/gst.c:
12723         * gst/gst_private.h:
12724           change some char* into char[]
12725
12726 2005-12-16  Wim Taymans  <wim@fluendo.com>
12727
12728         * gst/gstregistryxml.c: (load_feature):
12729         Cleanups.
12730         Don't use g_object_unref on GstObjects so that we avoid
12731         leaks on unsafe glibs.
12732
12733 2005-12-16  Wim Taymans  <wim@fluendo.com>
12734
12735         * gst/gstbin.c: (gst_bin_recalc_state):
12736         Small doc updates.
12737
12738 2005-12-16  Wim Taymans  <wim@fluendo.com>
12739
12740         * common/check.mak:
12741         Added make forever target for check.
12742
12743 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12744
12745         * gst/gst.c: (init_post):
12746           make the registry cache file HOST_CPU-dependent
12747
12748 2005-12-16  Andy Wingo  <wingo@pobox.com>
12749
12750         * plugins/elements/gstbufferstore.c
12751         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12752         return value.
12753
12754         * tests/check/gst/gstobject.c
12755         (test_fake_object_name_threaded_unique): Pay attention to
12756         g_list_sort return value.
12757
12758 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12759
12760         * tools/gst-feedback-m.m:
12761           Update for 0.9/0.10 (fixes #323870).
12762
12763 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12764
12765         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12766           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12767           
12768         * tests/check/gst/gstminiobject.c: (my_foo_init),
12769         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12770         (test_value_collection), (gst_mini_object_suite):
12771           Add test to ensure refcounts end up as expected when passing
12772           GstMiniObjects through g_object_get() and g_object_set().
12773
12774 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12775
12776         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12777         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12778         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12779         of collectpads. This version removes a lot of races without
12780         touching API/ABI. Yay !
12781
12782 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12783
12784         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12785           Don't allow activation of a srcpad in pull_range if it has no
12786           getrange function.
12787           Change some debug statements to be a little clearer
12788
12789         * plugins/elements/gsttypefindelement.c:
12790         (gst_type_find_handle_src_query):
12791           Check that we have a peer before executing queries thereupon.
12792
12793         * tests/examples/metadata/read-metadata.c: (message_loop):
12794           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12795           immediately return us any available message with 0 timeout.
12796
12797 2005-12-12  Michael Smith  <msmith@fluendo.com>
12798
12799         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12800           Don't unref factories after calling them.
12801         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12802         * plugins/elements/gsttypefindelement.c:
12803         (gst_type_find_element_chain):
12804           Free lists of factories after using them. Fixing typefinding memory
12805           leaks.
12806
12807 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12808
12809         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12810         (gst_plugin_feature_load):
12811           more meaningful debug output
12812         * configure.ac:
12813         * tests/Makefile.am:
12814         * tests/old/examples/Makefile.am:
12815           make make distcheck happy again
12816
12817 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12818
12819         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12820           Catch the special case where we are operating chain-based,
12821           but the downstream peer pad has no chain function. Emit a
12822           custom error message in this case instead of letting the
12823           core generate one implying that this is some sort of core
12824           bug. It's not, it just means that whatever got plugged
12825           into the pipeline downstream when we announced the type
12826           can only operate pull-based, while our source can only
12827           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12828           Error string has not been marked for translation yet, as
12829           it probably needs some more work first.
12830
12831         (gst_type_find_element_get_best_possibility):
12832           Add helper function to find the best of all available
12833           found possibilities that qualify given the min. threshold.
12834
12835         (gst_type_find_element_handle_event):
12836           Fix the case where we get an EOS while still in TYPEFIND
12837           mode (we want to chose the best of all possible types,
12838           not just the first type that happens to be in our unsorted
12839           list of possible types).
12840
12841         (gst_type_find_element_chain):
12842           Make sure we return GST_FLOW_ERROR when we errored out
12843           in stop_typefinding(); also, don't just find the best of
12844           all found type entries and then use the last examined
12845           type entry, but actually use the best entry.
12846
12847 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12848
12849         * tests/examples/typefind/typefind.c: (type_found):
12850         * tests/examples/xml/runxml.c: (xml_loaded):
12851           More gcc4 fixes and a mem leak fix.
12852
12853 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12854
12855         * tests/examples/xml/createxml.c: (object_saved):
12856           gcc 4 fixes
12857
12858 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12859
12860         * tests/Makefile.am:
12861           enable the examples even more
12862
12863 2005-12-12  Andy Wingo  <wingo@pobox.com>
12864
12865         * libs/gst/net/gstnettimeprovider.c
12866         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12867         (gst_net_time_provider_set_property)
12868         (gst_net_time_provider_get_property):
12869         API addition: Export "active" as a GObject property.
12870         (gst_net_time_provider_thread): Only respond to time queries if
12871         the time provider is active.
12872
12873         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12874         NetTimeProvider, preserving binary compat.
12875
12876 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12877
12878         * tests/examples/controller/audio-example.c: (main):
12879         * tests/examples/launch/Makefile.am:
12880           convert comments again
12881
12882 2005-12-12  Wim Taymans  <wim@fluendo.com>
12883
12884         * libs/gst/base/gstpushsrc.c:
12885         Fix typo.
12886
12887 2005-12-12  Wim Taymans  <wim@fluendo.com>
12888
12889         * docs/libs/gstreamer-libs-sections.txt:
12890         Added new symbol to docs.
12891
12892         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12893         (gst_base_src_init), (gst_base_src_set_format),
12894         (gst_base_src_default_query), (gst_base_src_query),
12895         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12896         (gst_base_src_perform_seek), (gst_base_src_send_event),
12897         (gst_base_src_default_event), (gst_base_src_event_handler),
12898         (gst_base_src_set_property), (gst_base_src_get_property),
12899         (gst_base_src_wait), (gst_base_src_do_sync),
12900         (gst_base_src_update_length), (gst_base_src_get_range),
12901         (gst_base_src_check_get_range), (gst_base_src_loop),
12902         (gst_base_src_default_negotiate), (gst_base_src_start),
12903         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12904         (gst_base_src_change_state):
12905         * libs/gst/base/gstbasesrc.h:
12906         Implement seeking to other formats than _BYTES.
12907         Implement more seeking methods correctly.
12908         Doc updates.
12909         Added query vmethod.
12910         Added do_seek vmethod to make life easier for subclasses
12911         when seeking.
12912         API addition: gst_base_src_set_format()
12913
12914 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12915
12916         * tests/examples/Makefile.am:
12917           added that too
12918
12919 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12920
12921         * configure.ac:
12922         * docs/random/ensonic/media-device-daemon.txt:
12923         * tests/examples/controller/.cvsignore:
12924         * tests/examples/controller/Makefile.am:
12925         * tests/examples/controller/audio-example.c: (main):
12926         * tests/examples/helloworld/.cvsignore:
12927         * tests/examples/helloworld/Makefile.am:
12928         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12929         * tests/examples/launch/.cvsignore:
12930         * tests/examples/launch/Makefile.am:
12931         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12932         * tests/examples/metadata/.cvsignore:
12933         * tests/examples/metadata/Makefile.am:
12934         * tests/examples/metadata/read-metadata.c: (message_loop),
12935         (make_pipeline), (print_tag), (main):
12936         * tests/examples/queue/.cvsignore:
12937         * tests/examples/queue/Makefile.am:
12938         * tests/examples/queue/queue.c: (event_loop), (main):
12939         * tests/examples/typefind/.cvsignore:
12940         * tests/examples/typefind/Makefile.am:
12941         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12942         (main):
12943         * tests/examples/xml/.cvsignore:
12944         * tests/examples/xml/Makefile.am:
12945         * tests/examples/xml/createxml.c: (object_saved), (main):
12946         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12947         * tests/old/examples/Makefile.am:
12948         * tests/old/examples/TODO:
12949         * tests/old/examples/controller/.cvsignore:
12950         * tests/old/examples/controller/Makefile.am:
12951         * tests/old/examples/controller/audio-example.c:
12952         * tests/old/examples/helloworld/.cvsignore:
12953         * tests/old/examples/helloworld/Makefile.am:
12954         * tests/old/examples/helloworld/helloworld.c:
12955         * tests/old/examples/launch/.cvsignore:
12956         * tests/old/examples/launch/Makefile.am:
12957         * tests/old/examples/launch/mp3parselaunch.c:
12958         * tests/old/examples/launch/mp3play:
12959         * tests/old/examples/manual/Makefile.am:
12960         * tests/old/examples/metadata/Makefile.am:
12961         * tests/old/examples/metadata/read-metadata.c:
12962         * tests/old/examples/queue/.cvsignore:
12963         * tests/old/examples/queue/Makefile.am:
12964         * tests/old/examples/queue/queue.c:
12965         * tests/old/examples/typefind/.cvsignore:
12966         * tests/old/examples/typefind/Makefile.am:
12967         * tests/old/examples/typefind/typefind.c:
12968         * tests/old/examples/xml/.cvsignore:
12969         * tests/old/examples/xml/Makefile.am:
12970         * tests/old/examples/xml/createxml.c:
12971         * tests/old/examples/xml/runxml.c:
12972           applied some simple fixing to some examples
12973           re-enabled the working examples
12974
12975 2005-12-12  Wim Taymans  <wim@fluendo.com>
12976
12977         * gst/gstsegment.c: (gst_segment_init),
12978         (gst_segment_set_last_stop), (gst_segment_set_seek),
12979         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12980         (gst_segment_to_running_time):
12981         Added more documentation.
12982         Make sure the last_pos value is updated properly.
12983         Make sure to_stream_time and to_running_time don't
12984         operate on wrong values.
12985
12986         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12987         Update check.
12988
12989 2005-12-12  Michael Smith  <msmith@fluendo.com>
12990
12991         * plugins/elements/gsttypefindelement.c: (free_entry),
12992         (gst_type_find_element_chain):
12993           Now that we're not leaking factories, make sure we keep references
12994           to them while we need them.
12995
12996 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12997
12998         * tests/check/gst/struct_i386.h:
12999           ifdef out the XML structs
13000
13001 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13002
13003         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13004           floor is not needed, F is always positive; this obviates the
13005           need for adding -lm when building without libxml
13006
13007 2005-12-12  Wim Taymans  <wim@fluendo.com>
13008
13009         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13010         Take current playback rate into account when reporting
13011         the position.
13012
13013 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13014
13015         * docs/manual/mime-world.fig:
13016           Let's try this again, this time with a file that is
13017           actually in XFig format.
13018
13019 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13020
13021         * docs/manual/mime-world.fig:
13022           Add audioconvert element to diagram so that it
13023           matches the text and the code (fixes #319526).
13024
13025 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13026
13027         * docs/pwg/building-chainfn.xml:
13028         * docs/pwg/building-pads.xml:
13029         * docs/pwg/building-state.xml:
13030         * docs/pwg/other-source.xml:
13031           Update state change stuff for 0.10 (fixes #322969).
13032
13033 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13034
13035         * docs/manual/advanced-dataaccess.xml:
13036         * docs/manual/appendix-checklist.xml:
13037         * docs/manual/appendix-programs.xml:
13038         * docs/manual/basics-pads.xml:
13039         * docs/manual/highlevel-components.xml:
13040         * docs/manual/manual.xml:
13041           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13042           add converters in front of pipelines; remove curly
13043           brackets for threads stuff, they no longer exist; use
13044           GST_TYPE_FRACTION for framerates; update some pieces of
13045           code to 0.10, but there's plenty more to do.
13046
13047         * docs/manual/appendix-porting.xml:
13048           Expand on asynchroneous state changes; s/0.9/0.10/;
13049           mention disappearance of gst_init_get_popt_table()
13050           (fixes #322916).
13051
13052 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13053
13054         * docs/faq/using.xml:
13055           Spider no longer exists, and neither does gst-launch-ext.
13056           Update examples to use decodebin and playbin and put
13057           converters in front of sinks (fixes #323726).
13058
13059 2005-12-09  Michael Smith  <msmith@fluendo.com>
13060
13061         * plugins/elements/gsttypefindelement.c: (find_peek),
13062         (gst_type_find_element_chain):
13063           Fix leaking element factories in typefinding.
13064           Fix problem where we forgot about a probable type on non-seekable
13065           files, and thus later mis-typefound it.
13066
13067 2005-12-09  Michael Smith  <msmith@fluendo.com>
13068
13069         * common/m4/gst-makecontext.m4:
13070         * common/m4/gst-mcsc.m4:
13071         * configure.ac:
13072         * win32/common/config.h:
13073         * win32/common/config.h.in:
13074           Remove makecontext stuff; not used in 0.10 and causes problems on
13075           HPUX according to bug #322441
13076
13077 2005-12-07  Wim Taymans  <wim@fluendo.com>
13078
13079         * tests/check/Makefile.am:
13080         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13081         (main):
13082         * tests/check/libs/struct_i386.h:
13083         Added ABI check for libs
13084
13085 2005-12-07  Wim Taymans  <wim@fluendo.com>
13086
13087         * tests/check/Makefile.am:
13088         And add the struct_i386.h to dist.
13089
13090 2005-12-07  Wim Taymans  <wim@fluendo.com>
13091
13092         * tests/check/Makefile.am:
13093         * tests/check/gst/.cvsignore:
13094         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13095         (main):
13096         * tests/check/gst/struct_i386.h:
13097         Added check for ABI compatibility.
13098
13099 2005-12-07  Wim Taymans  <wim@fluendo.com>
13100
13101         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13102         (gst_fake_src_get_times), (gst_fake_src_create):
13103         Fix broken sync option, fixes #323259
13104
13105 2005-12-07  Wim Taymans  <wim@fluendo.com>
13106
13107         * gst/gstbuffer.c:
13108         Small docs update.
13109
13110         * gst/gstcaps.c: (gst_caps_is_equal):
13111         Don't assert on NULL <--> X. Fixes #323260
13112
13113         * gst/gstminiobject.c: (gst_mini_object_replace):
13114         If we're doing atomic operations, we might just as well use
13115         the proper way to get an atomic pointer.
13116
13117         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13118         Clean up debugging.
13119
13120 2005-12-07  Michael Smith  <msmith@fluendo.com>
13121
13122         * gst/parse/grammar.y:
13123           Remove handling of { } for threads.
13124
13125 2005-12-06  David Schleef  <ds@schleef.org>
13126
13127         * libs/gst/base/gstbasetransform.c: speling fix.
13128
13129 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13130
13131         * docs/libs/tmpl/gstdataprotocol.sgml:
13132         * docs/random/omega/testing/gstobject.c:
13133         * gst/gst.c:
13134         * gst/gstclock.c:
13135         * gst/gstelement.c:
13136         * gst/gstelementfactory.c:
13137         * gst/gsterror.c:
13138         * gst/gstevent.c:
13139         * gst/gstghostpad.c:
13140         * gst/gstinfo.c:
13141         * gst/gstpadtemplate.c:
13142         * gst/gstregistryxml.c:
13143         * gst/gsttaglist.c:
13144         * gst/gsttagsetter.c:
13145         * gst/gsttypefind.c:
13146         * gst/gstvalue.c:
13147         * libs/gst/base/gstbasesrc.c:
13148         * libs/gst/net/gstnetclientclock.c:
13149         * libs/gst/net/gstnettimeprovider.c:
13150         * plugins/elements/gstfakesrc.c:
13151         * plugins/elements/gstfdsrc.c:
13152         * plugins/elements/gstfilesrc.c:
13153         * plugins/elements/gstidentity.c:
13154         * plugins/elements/gstqueue.c:
13155         * plugins/elements/gsttypefindelement.c:
13156         * plugins/indexers/gstfileindex.c:
13157         * plugins/indexers/gstmemindex.c:
13158         * tests/check/gst/gsttag.c:
13159         * tests/old/examples/cutter/cutter.c:
13160         * tests/old/examples/mixer/mixer.c:
13161         * tests/old/examples/xml/runxml.c: (main):
13162         * tests/old/testsuite/caps/normalisation.c:
13163         * tests/old/testsuite/debug/global.c:
13164         * tests/old/testsuite/parse/parse1.c:
13165         * tools/gst-xmlinspect.c:
13166         * win32/common/dirent.c:
13167           expand tabs
13168
13169 === release 0.10.0 ===
13170
13171 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13172
13173         * configure.ac:
13174           releasing 0.10.0, "Maroilles"
13175
13176 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13177
13178         submitted by: Funda Wang <fundawang@linux.net.cn>
13179
13180         * po/LINGUAS:
13181         * po/zh_CN.po:
13182           added Chinese (Traditional) translation
13183
13184 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13185
13186         * docs/gst/gstreamer-sections.txt:
13187         * docs/libs/tmpl/gstdataprotocol.sgml:
13188         * docs/random/thomasvs/TODO:
13189         * gst/gstutils.c:
13190         * gst/gstutils.h:
13191           fix docs
13192
13193 2005-12-05  Andy Wingo  <wingo@pobox.com>
13194
13195         patch by: Wim Taymans <wim@fluendo.com>
13196
13197         * libs/gst/base/gstbasetransform.c
13198         (gst_base_transform_prepare_output_buf)
13199         (gst_base_transform_buffer_alloc):
13200         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13201         alloc_buffer_and_set_caps.
13202
13203         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13204         set_caps on the source pad.
13205         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13206         alloc_buffer used to do. Fixes #322874.
13207
13208         * docs/gst/gstreamer-sections.txt: 
13209         * docs/design/part-negotiation.txt: 
13210         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13211         changes.
13212
13213 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13214
13215         patch by: Sebastien Moutte
13216
13217         * win32/MANIFEST:
13218         * win32/common/config.h.in:
13219         * win32/vs6/libgstcontroller.dsp:
13220           win32 build fixes
13221
13222 2005-12-05  Wim Taymans  <wim@fluendo.com>
13223
13224         * gst/gstcaps.c: (gst_caps_is_equal):
13225         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13226         (gst_fake_src_create):
13227         Back out previous code changes, leave doc updates, file bugs 
13228         instead. 
13229
13230 2005-12-05  Wim Taymans  <wim@fluendo.com>
13231
13232         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13233         (gst_fake_src_get_times), (gst_fake_src_create):
13234         * plugins/elements/gstfakesrc.h:
13235         Fix broken sync code.
13236
13237 2005-12-05  Wim Taymans  <wim@fluendo.com>
13238
13239         * gst/gstcaps.c: (gst_caps_is_equal):
13240         Comparing NULL against !NULL yields different caps, not a
13241         failure.
13242
13243 2005-12-05  Wim Taymans  <wim@fluendo.com>
13244
13245         * gst/gstpipeline.c:
13246         Fix small typo in docs.
13247
13248 2005-12-05  Andy Wingo  <wingo@pobox.com>
13249
13250         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13251
13252         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13253         registries/plugins with a MAJORMINOR one.
13254         (plugin_desc): Rename library from gstcoreleements to
13255         staticelements. Fixes #323222.
13256
13257 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13258
13259         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13260           Change debug category to 'collectpads' from 'collect_pads'
13261           (fixes #323250).
13262
13263 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13264
13265         patch by: Sebastien Moutte
13266
13267         * libs/gst/controller/gstinterpolation.c:
13268           use convert function for uint64/double
13269         * win32/vs6/libgstcontroller.dsp:
13270           link to GLib
13271
13272 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13273
13274         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13275         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13276         * gst/gstutils.h:
13277         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13278           add tests that seem to show that the guint64/gdouble conversions
13279           are correct.
13280
13281 2005-12-02  Wim Taymans  <wim@fluendo.com>
13282
13283         * gst/gstregistry.c: (gst_registry_add_path):
13284         * gst/gstregistry.h:
13285         * gst/gstregistryxml.c:
13286         Fix docs again.
13287
13288 2005-12-02  Wim Taymans  <wim@fluendo.com>
13289
13290         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13291         (gst_util_uint64_scale_int):
13292         Small cleanup.
13293
13294         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13295         Add debug log line.
13296
13297         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13298         Add FIXME.
13299
13300 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13301
13302         * win32/MANIFEST:
13303         * win32/common/config.h:
13304         * win32/vs6/gstreamer.dsw:
13305         * win32/vs6/libgstcoreelements.dsp:
13306         * win32/vs6/libgstelements.dsp:
13307           renamed core elements plugin
13308
13309 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13310
13311         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13312         (get_candidates):
13313           do piece-wise major/minor comparison so 0.9 < 0.10
13314           also allow .exe extensions for tools
13315
13316 2005-12-02  Michael Smith  <msmith@fluendo.com>
13317
13318         * gst/gst.c:
13319           Escape a % to make gtkdoc happier; bug 322958.
13320
13321 === release 0.9.7 ===
13322
13323 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13324
13325         * configure.ac:
13326           releasing 0.9.7, "My Dog Has No Nose"
13327
13328 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13329
13330         * common/gst-xmlinspect.py:
13331         * configure.ac:
13332         * docs/libs/tmpl/gstdataprotocol.sgml:
13333         * docs/random/release:
13334         * po/af.po:
13335         * po/az.po:
13336         * po/bg.po:
13337         * po/ca.po:
13338         * po/cs.po:
13339         * po/de.po:
13340         * po/en_GB.po:
13341         * po/fr.po:
13342         * po/it.po:
13343         * po/nb.po:
13344         * po/nl.po:
13345         * po/ru.po:
13346         * po/sq.po:
13347         * po/sr.po:
13348         * po/sv.po:
13349         * po/tr.po:
13350         * po/uk.po:
13351         * po/vi.po:
13352         * win32/common/config.h:
13353         * win32/common/config.h.in:
13354         * win32/vs6/gst_inspect.dsp:
13355         * win32/vs6/gst_launch.dsp:
13356         * win32/vs6/libgstbase.dsp:
13357         * win32/vs6/libgstelements.dsp:
13358         * win32/vs6/libgstreamer.dsp:
13359         * win32/vs7/GStreamer.vcproj:
13360         * win32/vs7/gst-inspect.vcproj:
13361         * win32/vs7/gst-launch.vcproj:
13362         * win32/vs7/libgstbase.vcproj:
13363           bump GST_MAJORMINOR to 0.10
13364           reset libtool version
13365
13366 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13367
13368         * po/LINGUAS:
13369         * po/bg.po:
13370           Added Bulgarian translation by (Alexander Shopov)
13371
13372 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13373
13374         * tests/check/gst/gstplugin.c:
13375           fix test
13376
13377 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13378
13379         * common/gst-xmlinspect.py:
13380         * common/gtk-doc-plugins.mak:
13381         * configure.ac:
13382         * docs/Makefile.am:
13383         * docs/gst/Makefile.am:
13384         * docs/gst/gstreamer-docs.sgml:
13385         * docs/gst/gstreamer-sections.txt:
13386         * docs/gst/gstreamer.types:
13387         * docs/gst/gstreamer.types.in:
13388         * docs/plugins/Makefile.am:
13389         * docs/plugins/gstreamer-plugins-docs.sgml:
13390         * docs/plugins/gstreamer-plugins-sections.txt:
13391         * docs/plugins/gstreamer-plugins.types:
13392         * docs/plugins/inspect.stamp:
13393         * docs/plugins/inspect/plugin-coreelements.xml:
13394         * docs/plugins/inspect/plugin-coreindexers.xml:
13395         * docs/plugins/scanobj-build.stamp:
13396         * gstreamer.spec.in:
13397         * plugins/elements/Makefile.am:
13398         * plugins/elements/gstelements.c:
13399         * plugins/elements/gstfakesink.c:
13400         * plugins/elements/gstfakesrc.c:
13401         * plugins/elements/gstfilesink.c:
13402         * plugins/elements/gstfilesrc.c:
13403         * plugins/elements/gstqueue.c:
13404         * plugins/indexers/Makefile.am:
13405         * plugins/indexers/gstindexers.c:
13406           document core plugins in a separate document just like all the
13407           others
13408           rename these plugins to something starting with core
13409
13410 2005-12-01  Andy Wingo  <wingo@pobox.com>
13411
13412         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13413         padding here before, but it missed the commit.
13414
13415 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13416
13417         * libs/gst/controller/gstinterpolation.c:
13418           whitespace prices have crashed, we should feel free to use some now
13419           use gst_guint64_to_gdouble
13420
13421 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13422
13423         * libs/gst/controller/gstcontroller.c:
13424         * libs/gst/controller/gsthelper.c:
13425         * libs/gst/controller/gstinterpolation.c:
13426         * libs/gst/controller/lib.c:
13427           wrap config.h include
13428
13429 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13430
13431         * docs/gst/gstreamer-sections.txt:
13432           update docs
13433
13434 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13435
13436         * plugins/elements/gstelements.c:
13437         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13438         (gst_fd_sink__class_init), (gst_fd_sink__init),
13439         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13440         (gst_fd_sink__get_property):
13441         * plugins/elements/gstfdsink.h:
13442         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13443         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13444         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13445         (gst_fd_src_unlock), (gst_fd_src_set_property),
13446         (gst_fd_src_get_property), (gst_fd_src_create),
13447         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13448         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13449         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13450         (gst_fd_src_uri_handler_init):
13451         * plugins/elements/gstfdsrc.h:
13452         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13453           more anal cleanup
13454
13455 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13456
13457         * docs/gst/Makefile.am:
13458         * docs/gst/gstreamer.types.in:
13459         * gst/Makefile.am:
13460           fix the docs build
13461
13462 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13463
13464         * configure.ac:
13465         * gst/Makefile.am:
13466         * gst/gst.c:
13467         * gst/gstplugin.h:
13468         * gst/gstregistry.h:
13469         * tests/benchmarks/complexity.c:
13470         * tests/benchmarks/mass-elements.c:
13471         * tests/check/Makefile.am:
13472         * tools/Makefile.am:
13473         * tools/gst-inspect.c:
13474         * tools/gst-xmlinspect.c:
13475           various fixes to make
13476           --disable-nls --disable-registry --disable-loadsave
13477           --disable-parse --disable-gst-debug
13478           work and get the core .so down to 360444 bytes after stripping
13479
13480 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13481
13482         * Makefile.am:
13483         * configure.ac:
13484           descend into tests
13485         * docs/random/thomasvs/TODO:
13486         * tests/Makefile.am:
13487         * tests/README:
13488           add a README
13489
13490 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13491
13492         * win32/GStreamer.vcproj:
13493         * win32/MANIFEST:
13494         * win32/Makefile:
13495         * win32/Makefile.inspect:
13496         * win32/Makefile.launch:
13497         * win32/Makefile.register:
13498         * win32/README.txt:
13499         * win32/gst-inspect.vcproj:
13500         * win32/gst-launch.vcproj:
13501         * win32/gst-register.vcproj:
13502         * win32/gstelements.vcproj:
13503         * win32/gstgetbits.def:
13504         * win32/gstgetbits.vcproj:
13505         * win32/gstreamer-dbg.def:
13506         * win32/gstreamer.def:
13507         * win32/libgstbase.def:
13508         * win32/libgstbase.vcproj:
13509         * win32/link_oldruntime.c:
13510         * win32/mman.c:
13511         * win32/mman.h:
13512         * win32/mman.inl:
13513         * win32/msvc71.sln:
13514           move even more stuff, win32/ is nice and clean now
13515
13516 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13517
13518         * libs/gst/control/.cvsignore:
13519         * win32/MANIFEST:
13520         * win32/config.h:
13521         * win32/dirent.c:
13522         * win32/dirent.h:
13523         * win32/gstbytestream.def:
13524         * win32/gstbytestream.vcproj:
13525         * win32/gstconfig.h:
13526         * win32/gstenumtypes.c:
13527         * win32/gstenumtypes.h:
13528         * win32/gstoptimalscheduler.vcproj:
13529         * win32/gstversion.h:
13530         * win32/gtchar.h:
13531         * win32/testsuite/bins.vcproj:
13532         * win32/testsuite/bytestream.vcproj:
13533         * win32/testsuite/caps.vcproj:
13534         * win32/testsuite/cleanup.vcproj:
13535         * win32/testsuite/clock.vcproj:
13536         * win32/testsuite/debug.vcproj:
13537         * win32/testsuite/dlopen.vcproj:
13538         * win32/testsuite/dynparams.vcproj:
13539         * win32/testsuite/elements.vcproj:
13540         * win32/testsuite/ghostpads.vcproj:
13541         * win32/testsuite/indexers.vcproj:
13542         * win32/testsuite/negotiation.vcproj:
13543         * win32/testsuite/parse.vcproj:
13544         * win32/testsuite/plugin.vcproj:
13545         * win32/testsuite/refcounting.vcproj:
13546         * win32/testsuite/schedulers.vcproj:
13547         * win32/testsuite/states.vcproj:
13548         * win32/testsuite/tags.vcproj:
13549         * win32/testsuite/threads.vcproj:
13550           remove old win32 stuff that isn't maintained and should be
13551           reorganized
13552
13553 2005-11-30  Andy Wingo  <wingo@pobox.com>
13554
13555         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13556         loading the gst.interfaces python module bork.
13557
13558         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13559         available since GLib 2.2. Fixes #318031.
13560
13561 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13562
13563         * Makefile.am:
13564         * check/.cvsignore:
13565         * check/Makefile.am:
13566         * check/elements/.cvsignore:
13567         * check/elements/fakesrc.c:
13568         * check/elements/fdsrc.c:
13569         * check/elements/identity.c:
13570         * check/generic/.cvsignore:
13571         * check/generic/states.c:
13572         * check/gst-libs/.cvsignore:
13573         * check/gst-libs/controller.c:
13574         * check/gst-libs/gdp.c:
13575         * check/gst/.cvsignore:
13576         * check/gst/capslist.h:
13577         * check/gst/gst.c:
13578         * check/gst/gstbin.c:
13579         * check/gst/gstbuffer.c:
13580         * check/gst/gstbus.c:
13581         * check/gst/gstcaps.c:
13582         * check/gst/gstelement.c:
13583         * check/gst/gstevent.c:
13584         * check/gst/gstghostpad.c:
13585         * check/gst/gstiterator.c:
13586         * check/gst/gstmessage.c:
13587         * check/gst/gstminiobject.c:
13588         * check/gst/gstobject.c:
13589         * check/gst/gstpad.c:
13590         * check/gst/gstpipeline.c:
13591         * check/gst/gstplugin.c:
13592         * check/gst/gstsegment.c:
13593         * check/gst/gststructure.c:
13594         * check/gst/gstsystemclock.c:
13595         * check/gst/gsttag.c:
13596         * check/gst/gstutils.c:
13597         * check/gst/gstvalue.c:
13598         * check/net/.cvsignore:
13599         * check/net/gstnetclientclock.c:
13600         * check/net/gstnettimeprovider.c:
13601         * check/pipelines/.cvsignore:
13602         * check/pipelines/cleanup.c:
13603         * check/pipelines/simple_launch_lines.c:
13604         * check/pipelines/stress.c:
13605         * check/states/.cvsignore:
13606         * check/states/sinks.c:
13607         * configure.ac:
13608         * examples/Makefile.am:
13609         * examples/appreader/.cvsignore:
13610         * examples/appreader/Makefile.am:
13611         * examples/appreader/appreader.c:
13612         * examples/controller/.cvsignore:
13613         * examples/controller/Makefile.am:
13614         * examples/controller/audio-example.c:
13615         * examples/cutter/.cvsignore:
13616         * examples/cutter/Makefile.am:
13617         * examples/cutter/cutter.c:
13618         * examples/cutter/cutter.h:
13619         * examples/events/Makefile.am:
13620         * examples/events/seek.c:
13621         * examples/helloworld/.cvsignore:
13622         * examples/helloworld/Makefile.am:
13623         * examples/helloworld/helloworld.c:
13624         * examples/helloworld2/.cvsignore:
13625         * examples/helloworld2/Makefile.am:
13626         * examples/helloworld2/helloworld2.c:
13627         * examples/launch/.cvsignore:
13628         * examples/launch/Makefile.am:
13629         * examples/launch/mp3parselaunch.c:
13630         * examples/launch/mp3play:
13631         * examples/manual/.cvsignore:
13632         * examples/manual/Makefile.am:
13633         * examples/manual/extract.pl:
13634         * examples/metadata/Makefile.am:
13635         * examples/metadata/read-metadata.c:
13636         * examples/mixer/.cvsignore:
13637         * examples/mixer/Makefile.am:
13638         * examples/mixer/mixer.c:
13639         * examples/mixer/mixer.h:
13640         * examples/pingpong/.cvsignore:
13641         * examples/pingpong/Makefile.am:
13642         * examples/pingpong/pingpong.c:
13643         * examples/plugins/.cvsignore:
13644         * examples/plugins/Makefile.am:
13645         * examples/plugins/example.c:
13646         * examples/plugins/example.h:
13647         * examples/pwg/.cvsignore:
13648         * examples/pwg/Makefile.am:
13649         * examples/pwg/extract.pl:
13650         * examples/queue/.cvsignore:
13651         * examples/queue/Makefile.am:
13652         * examples/queue/queue.c:
13653         * examples/queue2/.cvsignore:
13654         * examples/queue2/Makefile.am:
13655         * examples/queue2/queue2.c:
13656         * examples/queue3/.cvsignore:
13657         * examples/queue3/Makefile.am:
13658         * examples/queue3/queue3.c:
13659         * examples/queue4/.cvsignore:
13660         * examples/queue4/Makefile.am:
13661         * examples/queue4/queue4.c:
13662         * examples/retag/.cvsignore:
13663         * examples/retag/Makefile.am:
13664         * examples/retag/retag.c:
13665         * examples/retag/transcode.c:
13666         * examples/thread/.cvsignore:
13667         * examples/thread/Makefile.am:
13668         * examples/thread/thread.c:
13669         * examples/typefind/.cvsignore:
13670         * examples/typefind/Makefile.am:
13671         * examples/typefind/typefind.c:
13672         * examples/xml/.cvsignore:
13673         * examples/xml/Makefile.am:
13674         * examples/xml/createxml.c:
13675         * examples/xml/runxml.c:
13676         * tests/Makefile.am:
13677         * tests/check/Makefile.am:
13678         * testsuite/.cvsignore:
13679         * testsuite/Makefile.am:
13680         * testsuite/Rules:
13681         * testsuite/caps/.cvsignore:
13682         * testsuite/caps/Makefile.am:
13683         * testsuite/caps/app_fixate.c:
13684         * testsuite/caps/audioscale.c:
13685         * testsuite/caps/caps.c:
13686         * testsuite/caps/caps.h:
13687         * testsuite/caps/caps_strings:
13688         * testsuite/caps/compatibility.c:
13689         * testsuite/caps/deserialize.c:
13690         * testsuite/caps/enumcaps.c:
13691         * testsuite/caps/eratosthenes.c:
13692         * testsuite/caps/filtercaps.c:
13693         * testsuite/caps/fixed.c:
13694         * testsuite/caps/fraction-convert.c:
13695         * testsuite/caps/fraction-multiply-and-zero.c:
13696         * testsuite/caps/intersect2.c:
13697         * testsuite/caps/intersection.c:
13698         * testsuite/caps/normalisation.c:
13699         * testsuite/caps/random.c:
13700         * testsuite/caps/renegotiate.c:
13701         * testsuite/caps/sets.c:
13702         * testsuite/caps/simplify.c:
13703         * testsuite/caps/string-conversions.c:
13704         * testsuite/caps/structure.c:
13705         * testsuite/caps/subtract.c:
13706         * testsuite/caps/union.c:
13707         * testsuite/debug/.cvsignore:
13708         * testsuite/debug/Makefile.am:
13709         * testsuite/debug/category.c:
13710         * testsuite/debug/commandline.c:
13711         * testsuite/debug/global.c:
13712         * testsuite/debug/output.c:
13713         * testsuite/debug/printf_extension.c:
13714         * testsuite/dlopen/.cvsignore:
13715         * testsuite/dlopen/Makefile.am:
13716         * testsuite/dlopen/dlopen_gst.c:
13717         * testsuite/dlopen/loadgst.c:
13718         * testsuite/elements/.cvsignore:
13719         * testsuite/elements/Makefile.am:
13720         * testsuite/elements/gst-inspect-check.in:
13721         * testsuite/elements/struct_i386.h:
13722         * testsuite/elements/struct_size.c:
13723         * testsuite/indexers/.cvsignore:
13724         * testsuite/indexers/Makefile.am:
13725         * testsuite/indexers/cache1.c:
13726         * testsuite/indexers/indexdump.c:
13727         * testsuite/parse/.cvsignore:
13728         * testsuite/parse/Makefile.am:
13729         * testsuite/parse/parse1.c:
13730         * testsuite/parse/parse2.c:
13731         * testsuite/plugin/.cvsignore:
13732         * testsuite/plugin/Makefile.am:
13733         * testsuite/plugin/README:
13734         * testsuite/plugin/dynamic.c:
13735         * testsuite/plugin/linked.c:
13736         * testsuite/plugin/loading.c:
13737         * testsuite/plugin/registry.c:
13738         * testsuite/plugin/static.c:
13739         * testsuite/plugin/static2.c:
13740         * testsuite/plugin/testplugin.c:
13741         * testsuite/plugin/testplugin2.c:
13742         * testsuite/plugin/testplugin2_s.c:
13743         * testsuite/plugin/testplugin_s.c:
13744         * testsuite/refcounting/.cvsignore:
13745         * testsuite/refcounting/Makefile.am:
13746         * testsuite/refcounting/bin.c:
13747         * testsuite/refcounting/element.c:
13748         * testsuite/refcounting/element_pad.c:
13749         * testsuite/refcounting/mainloop.c:
13750         * testsuite/refcounting/mem.c:
13751         * testsuite/refcounting/mem.h:
13752         * testsuite/refcounting/object.c:
13753         * testsuite/refcounting/pad.c:
13754         * testsuite/refcounting/sched.c:
13755         * testsuite/refcounting/thread.c:
13756         * testsuite/states/.cvsignore:
13757         * testsuite/states/Makefile.am:
13758         * testsuite/states/bin.c:
13759         * testsuite/states/locked.c:
13760         * testsuite/states/parent.c:
13761         * testsuite/threads/.cvsignore:
13762         * testsuite/threads/159566.c:
13763         * testsuite/threads/159852.c:
13764         * testsuite/threads/Makefile.am:
13765         * testsuite/threads/queue.c:
13766         * testsuite/threads/signals.c:
13767         * testsuite/threads/staticrec.c:
13768         * testsuite/threads/thread.c:
13769         * testsuite/threads/threadb.c:
13770         * testsuite/threads/threadc.c:
13771         * testsuite/threads/threadd.c:
13772         * testsuite/threads/threade.c:
13773         * testsuite/threads/threadf.c:
13774         * testsuite/threads/threadg.c:
13775         * testsuite/threads/threadh.c:
13776         * testsuite/threads/threadi.c:
13777           move all of these under tests
13778
13779 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13780
13781         * configure.ac:
13782         * tests/Makefile.am:
13783           fix distcheck
13784
13785 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13786
13787         * docs/gst/gstreamer-sections.txt:
13788         * tests/sched/.cvsignore:
13789         * tests/sched/Makefile.am:
13790         * tests/sched/cases/(fs-fs).xml:
13791         * tests/sched/cases/(fs-i-fs).xml:
13792         * tests/sched/cases/(fs-i-i-fs).xml:
13793         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13794         * tests/sched/dynamic-pipeline.c:
13795         * tests/sched/interrupt1.c:
13796         * tests/sched/interrupt2.c:
13797         * tests/sched/interrupt3.c:
13798         * tests/sched/runtestcases:
13799         * tests/sched/runxml.c:
13800         * tests/sched/sched-stress.c:
13801         * tests/sched/sort.c:
13802         * tests/sched/testcases:
13803         * tests/sched/testcases1.tc:
13804         * tests/seeking/.cvsignore:
13805         * tests/seeking/Makefile.am:
13806         * tests/seeking/seeking1.c:
13807         * tests/threadstate/.cvsignore:
13808         * tests/threadstate/Makefile.am:
13809         * tests/threadstate/test1.c:
13810         * tests/threadstate/test2.c:
13811         * tests/threadstate/threadstate1.c:
13812         * tests/threadstate/threadstate2.c:
13813         * tests/threadstate/threadstate3.c:
13814         * tests/threadstate/threadstate4.c:
13815         * tests/threadstate/threadstate5.c:
13816           remove obsolete tests
13817         * configure.ac:
13818         * tests/bench-complexity.scm:
13819         * tests/bench-mass_elements.scm:
13820         * tests/complexity.c:
13821         * tests/complexity.gnuplot:
13822         * tests/instantiate/.cvsignore:
13823         * tests/instantiate/Makefile.am:
13824         * tests/instantiate/caps.c:
13825         * tests/mass_elements.c:
13826         * tests/network-clock-utils.scm:
13827         * tests/network-clock.scm:
13828         * tests/plot-data:
13829         First pass at cleaning up tests/ dir before moving the rest
13830         Combined with CVS surgery
13831
13832 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13833
13834         * po/POTFILES.in:
13835           queue has moved, update
13836
13837 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13838
13839         * docs/gst/gstreamer-sections.txt:
13840           remove double entries from the docs
13841         * gst/gst_private.h:
13842         * gst/gstinfo.c: (_gst_debug_init):
13843           remove the THREAD debug category
13844         * gst/Makefile.am:
13845         * gst/gstqueue.c:
13846         * gst/gstqueue.h:
13847         * docs/gst/gstreamer.types:
13848         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13849         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13850           completely move queue and fix up debugging categories
13851
13852 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13853
13854         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13855           make initialization portable, using LL is not
13856
13857 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13858
13859         * win32/common/gstconfig.h:
13860           add large padding
13861
13862 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13863
13864         * win32/common/libgstreamer.def:
13865           rename symbols; sort base section
13866
13867 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13868
13869         * gst/gstclock.c: (do_linear_regression):
13870           remove crack non-portable handrolled DEBUG macro
13871
13872 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13873
13874         * docs/random/release:
13875           update notes
13876         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13877         (gst_object_flags_get_type), (register_gst_bin_flags),
13878         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13879         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13880         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13881         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13882         (gst_caps_flags_get_type), (register_gst_clock_return),
13883         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13884         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13885         (gst_clock_flags_get_type), (register_gst_state),
13886         (gst_state_get_type), (register_gst_state_change_return),
13887         (gst_state_change_return_get_type), (register_gst_state_change),
13888         (gst_state_change_get_type), (register_gst_element_flags),
13889         (gst_element_flags_get_type), (register_gst_core_error),
13890         (gst_core_error_get_type), (register_gst_library_error),
13891         (gst_library_error_get_type), (register_gst_resource_error),
13892         (gst_resource_error_get_type), (register_gst_stream_error),
13893         (gst_stream_error_get_type), (register_gst_event_type_flags),
13894         (gst_event_type_flags_get_type), (register_gst_event_type),
13895         (gst_event_type_get_type), (register_gst_seek_type),
13896         (gst_seek_type_get_type), (register_gst_seek_flags),
13897         (gst_seek_flags_get_type), (register_gst_format),
13898         (gst_format_get_type), (register_gst_index_certainty),
13899         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13900         (gst_index_entry_type_get_type),
13901         (register_gst_index_lookup_method),
13902         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13903         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13904         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13905         (gst_index_flags_get_type), (register_gst_debug_level),
13906         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13907         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13908         (gst_iterator_result_get_type), (register_gst_iterator_item),
13909         (gst_iterator_item_get_type), (register_gst_message_type),
13910         (gst_message_type_get_type), (register_gst_mini_object_flags),
13911         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13912         (gst_pad_link_return_get_type), (register_gst_flow_return),
13913         (gst_flow_return_get_type), (register_gst_activate_mode),
13914         (gst_activate_mode_get_type), (register_gst_pad_direction),
13915         (gst_pad_direction_get_type), (register_gst_pad_flags),
13916         (gst_pad_flags_get_type), (register_gst_pad_presence),
13917         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13918         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13919         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13920         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13921         (gst_plugin_flags_get_type), (register_gst_rank),
13922         (gst_rank_get_type), (register_gst_query_type),
13923         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13924         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13925         (gst_tag_flag_get_type), (register_gst_task_state),
13926         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13927         (gst_alloc_trace_flags_get_type),
13928         (register_gst_type_find_probability),
13929         (gst_type_find_probability_get_type), (register_gst_uri_type),
13930         (gst_uri_type_get_type), (register_gst_parse_error),
13931         (gst_parse_error_get_type):
13932         * win32/common/gstenumtypes.h:
13933         * win32/common/gstversion.h:
13934           update visual studio generated files
13935
13936 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13937
13938         * win32/vs6/libgstbase.dsp:
13939         * win32/vs6/libgstelements.dsp:
13940           update project files for new locations
13941
13942 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13943
13944         * Makefile.am:
13945           remove some files
13946         * README:
13947           reinstate and update
13948         * DEVEL:
13949         * REQUIREMENTS:
13950           removed
13951         * LICENSE:
13952         * docs/random/LICENSE:
13953           moved to random
13954
13955 2005-11-30  Edward Hervey  <edward@fluendo.com>
13956
13957         * gst/gsttypefind.c: (gst_type_find_register):
13958         * gst/gsttypefind.h:
13959         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13960         (gst_type_find_factory_dispose):
13961         * gst/gsttypefindfactory.h:
13962         Fix memory leak in GstTypeFindFactory.
13963
13964 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13965
13966         * gst/gst.c:
13967         * plugins/elements/Makefile.am:
13968         * plugins/elements/gstelements.c:
13969         * plugins/elements/gstqueue.c:
13970           move queue from core to the elements plugin
13971
13972 2005-11-29  Andy Wingo  <wingo@pobox.com>
13973
13974         * libs/gst/base/gstbasetransform.h: 
13975         * libs/gst/base/gstbasesrc.h: 
13976         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13977
13978         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13979         of pointers by which to pad very extensible base classes (like the
13980         ones in libs/gst/base).
13981
13982 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13983
13984         * docs/gst/gstreamer-docs.sgml:
13985         * docs/gst/gstreamer-sections.txt:
13986         * docs/libs/gstreamer-libs-docs.sgml:
13987         * docs/libs/gstreamer-libs-sections.txt:
13988           moving documentation from core to lib
13989
13990 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13991
13992         * check/Makefile.am:
13993         * configure.ac:
13994         * docs/gst/Makefile.am:
13995         * gst/Makefile.am:
13996         * gst/base/.cvsignore:
13997         * gst/base/Makefile.am:
13998         * gst/base/README:
13999         * gst/base/gstadapter.c:
14000         * gst/base/gstadapter.h:
14001         * gst/base/gstbasesink.c:
14002         * gst/base/gstbasesink.h:
14003         * gst/base/gstbasesrc.c:
14004         * gst/base/gstbasesrc.h:
14005         * gst/base/gstbasetransform.c:
14006         * gst/base/gstbasetransform.h:
14007         * gst/base/gstcollectpads.c:
14008         * gst/base/gstcollectpads.h:
14009         * gst/base/gstpushsrc.c:
14010         * gst/base/gstpushsrc.h:
14011         * gst/base/gsttypefindhelper.c:
14012         * gst/base/gsttypefindhelper.h:
14013         * gst/check/Makefile.am:
14014         * gst/check/gstcheck.c:
14015         * gst/check/gstcheck.h:
14016         * gst/net/Makefile.am:
14017         * gst/net/gstnet.h:
14018         * gst/net/gstnetclientclock.c:
14019         * gst/net/gstnetclientclock.h:
14020         * gst/net/gstnettimepacket.c:
14021         * gst/net/gstnettimepacket.h:
14022         * gst/net/gstnettimeprovider.c:
14023         * gst/net/gstnettimeprovider.h:
14024         * libs/gst/Makefile.am:
14025         * libs/gst/base/Makefile.am:
14026         * libs/gst/base/gstbasetransform.c:
14027         * libs/gst/check/Makefile.am:
14028         * plugins/elements/Makefile.am:
14029         * po/POTFILES.in:
14030           CVS surgery + support to move base, check, and net out of gst
14031           and into libs/gst
14032
14033 2005-11-29  Andy Wingo  <wingo@pobox.com>
14034
14035         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14036
14037         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14038         padding.
14039
14040         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14041
14042         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14043
14044         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14045
14046         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14047         padding; reduces object size by about 30%. We don't expect
14048         anything else to go into gstobject.
14049
14050         * gst/gstminiobject.h (struct _GstMiniObject)
14051         (struct _GstMiniObjectClass): Only one pointer of padding; the
14052         payload is only a pointer and two ints anyway. For the class there
14053         are only two methods as well.
14054         
14055         * gst/gstelement.h (struct _GstElementClass): Removed
14056         the state_changed signal callback, it is not used.
14057
14058 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14059
14060         * docs/gst/gstreamer.types:
14061           fix includes, though they are a little dinky
14062
14063 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14064
14065         * check/Makefile.am:
14066           look in the right place for elements, a lot more chance of
14067           success
14068         * gst/Makefile.am:
14069           remove indexers and elements subdirs
14070         * plugins/Makefile.am:
14071           make indexers conditional
14072
14073 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14074
14075         * Makefile.am:
14076         * configure.ac:
14077         * plugins/elements/Makefile.am:
14078         * plugins/elements/gstcapsfilter.c:
14079         * plugins/elements/gstfilesink.c:
14080         * plugins/elements/gstfilesrc.c:
14081         * plugins/elements/gstidentity.c:
14082         * plugins/indexers/Makefile.am:
14083           do CVS surgery and related build fixery to move elements
14084           and indexers in a new gstreamer/plugins directory, out of the
14085           gst/ directory
14086
14087 2005-11-29  Andy Wingo  <wingo@pobox.com>
14088
14089         * check/Makefile.am:
14090         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14091         * pkgconfig/gstreamer-net.pc.in:
14092         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14093         #322257.
14094
14095 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14096
14097         * tools/Makefile.am:
14098         * tools/gst-complete.1.in:
14099         * tools/gst-complete.c:
14100         * tools/gst-compprep.1.in:
14101         * tools/gst-compprep.c:
14102           removing -compprep and -complete
14103
14104 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14105
14106         * gst/gstevent.c: (gst_event_new_new_segment),
14107         (gst_event_parse_new_segment):
14108         * gst/gstevent.h:
14109           fix #320529 - clean up new_segment API and structure.
14110           Let's hope everyone was using the methods, and not the structure.
14111
14112 2005-11-29  Edward Hervey  <edward@fluendo.com>
14113
14114         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14115         (gst_base_sink_event), (gst_base_sink_do_sync),
14116         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14117         Properly handle non GST_FORMAT_TIME segment
14118         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14119         Properly handle non GST_FORMAT_TIME segment
14120         * gst/gstsegment.c:
14121         This function is valid if the accumulator is 0 and the format
14122         is different from the requested format.
14123         
14124 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14125
14126         * docs/gst/gstreamer-sections.txt:
14127         Add gst_query_new_seeking and gst_query_parse_seeking to the
14128         docs.
14129
14130 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14131
14132         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14133           Treat a pad alloc with new caps the same as if we were not
14134           negotiated, in order to allow a changing upstream output
14135           to produce a new format of data.
14136
14137 2005-11-29  Edward Hervey  <edward@fluendo.com>
14138
14139         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14140         (gst_base_transform_event), (gst_base_transform_eventfunc):
14141         The event virtual method is now properly implemented, with a default
14142         handler
14143         Sub classes should call the parent_class event method. They should
14144         return FALSE if they had a problem handling the given event, or don't
14145         want GstBaseTransform to send that even downstream
14146         * gst/elements/gstidentity.c: (gst_identity_class_init),
14147         (gst_identity_init), (gst_identity_event),
14148         (gst_identity_transform_ip), (gst_identity_set_property),
14149         (gst_identity_get_property):
14150         * gst/elements/gstidentity.h:
14151         Added the single-segment boolean property.
14152         If set to TRUE, it will output a single segment of data, starting from
14153         0, will eat up all incoming newsegment, and modify the timestamp of the
14154         buffers accordingly
14155
14156 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14157
14158         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14159           Don't ref NULL target pad (#322751). Improve docs.
14160
14161 2005-11-29  Michael Smith  <msmith@fluendo.com>
14162
14163         * gst/gstregistryxml.c: (load_plugin):
14164           Don't crash if we failed to load a feature from a plugin. 
14165
14166 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14167
14168         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14169         (GST_START_TEST):
14170           use more check API and less GLib API
14171
14172 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14173
14174         * Makefile.am:
14175           don't run checks if we don't have check
14176         * common/check.mak:
14177           remove the registry when running make torture
14178         * docs/gst/gstreamer-sections.txt:
14179           remove second multiply
14180         * gst/gstqueue.c: (gst_queue_loop):
14181           fix a compile warning when disabling debug
14182
14183 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14184
14185         * gst/gstinfo.h:
14186         Hey! Let's print the pad name if the pointer != NULL instead
14187         of when it == NULL :-)
14188
14189 2005-11-28  Wim Taymans  <wim@fluendo.com>
14190
14191         * check/gst/gstutils.c: (GST_START_TEST):
14192         Updated check, add some scaling accuracy checking code.
14193
14194         * gst/gstutils.c: (gst_util_div128_64),
14195         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14196         (gst_util_uint64_scale_int):
14197         Fix 6 times faster division code. Optimize for common 
14198         1/1 and less common X/1 cases.
14199
14200 2005-11-28  Wim Taymans  <wim@fluendo.com>
14201
14202         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14203         More checks.
14204
14205         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14206         (do_linear_regression), (gst_clock_add_observation):
14207         Cleanups.
14208         Release lock when the clock cannot be slaved.
14209         Catch the case where the regression returned an invalid denominator.
14210
14211         * gst/gstutils.c: (gst_util_div128_64_iterate),
14212         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14213         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14214         Add protentially more performant non-iterative 128/64 divide function
14215         that unfortunatly does not work yet.
14216         Shortcut the trivial 0/X = 0 case.
14217         Remove the warnings on overflow.
14218
14219 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14220
14221         * gst/gstplugin.c: (gst_plugin_register_func):
14222           everything causing a plugin not to load should be at least a WARNING
14223
14224 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14225
14226         * docs/random/ensonic/dparams.txt:
14227           some TODOs for the next dev cycle
14228         * libs/gst/controller/gstcontroller.c:
14229         (gst_controlled_property_set_interpolation_mode),
14230         (gst_controlled_property_new):
14231         * libs/gst/controller/gstcontroller.h:
14232           use base type to assign acccessor functions
14233
14234 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14235
14236         * check/Makefile.am:
14237         Oops, that should have been top_srcdir
14238
14239 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14240
14241         * check/Makefile.am:
14242         * check/elements/fdsrc.c: (GST_START_TEST):
14243         Use a cmdline define to specify the location of a file to use for
14244         testing, to avoid breaking distcheck.
14245
14246 2005-11-28  Andy Wingo  <wingo@pobox.com>
14247
14248         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14249
14250 2005-11-28  Edward Hervey  <edward@fluendo.com>
14251
14252         * tools/gst-launch.c: (main):
14253         Clarify the output strings, makes it easier to translate.
14254         Fixes #322626
14255
14256 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14257
14258         * gst/Makefile.am:
14259           don't try and build net if we don't even have <sys/socket.h>
14260
14261 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14262
14263         * check/Makefile.am:
14264         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14265         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14266           Add tests for fdsrc seekability
14267
14268         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14269         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14270         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14271         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14272         * gst/elements/gstfdsrc.h:
14273           fdsrc should not be a 'live' source.
14274           Implement seeking on seekable fd's.
14275
14276         * gst/gstquery.c: (gst_query_new_seeking),
14277         (gst_query_parse_seeking):
14278         * gst/gstquery.h:
14279           Implement SEEKING query functions: 
14280             *_new_seeking and *_parse_seeking
14281
14282 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14283
14284         * gst/gstelement.c: (gst_element_dispose):
14285           don't loop forever
14286
14287         * gst/gstiterator.c:
14288         * gst/gststructure.c:
14289           doc fixes
14290
14291         * libs/gst/controller/gstcontroller.c:
14292         (gst_controlled_property_set_interpolation_mode):
14293         * libs/gst/controller/gstcontroller.h:
14294         * libs/gst/controller/gstinterpolation.c:
14295         (interpolate_none_get_enum_value_array):
14296           support controlling enums
14297
14298 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14299
14300         * gst/gstvalue.c:
14301           Improve documentation for gst_value_union().
14302
14303         * gst/gstvalue.h:
14304           Change return value for union, intersect and subtract functions
14305           from gint to gboolean.
14306
14307 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14308
14309         * gst/gstvalue.c: (gst_value_serialize_any_list),
14310         (gst_value_transform_any_list_string),
14311         (gst_value_deserialize_list), (gst_value_deserialize_array),
14312         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14313         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14314         (gst_value_set_fraction_range_full),
14315         (gst_value_deserialize_fraction_range),
14316         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14317         (gst_value_deserialize_boolean),
14318         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14319         (gst_value_serialize_float), (gst_value_deserialize_float),
14320         (gst_string_wrap), (gst_value_deserialize_string),
14321         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14322         (gst_value_union_int_range_int_range),
14323         (gst_value_intersect_int_range_int_range),
14324         (gst_value_intersect_double_range_double_range),
14325         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14326         (gst_value_subtract_int_range_int_range),
14327         (gst_value_subtract_double_double_range),
14328         (gst_value_subtract_double_range_double_range),
14329         (gst_value_deserialize_fraction):
14330         * gst/gstvalue.h:
14331           Use gint, gdouble and gchar in our API instead of int, double and
14332           char (and make usage in gstvalue.c more consistent).
14333
14334 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14335
14336         * check/Makefile.am:
14337         * libs/gst/controller/Makefile.am:
14338         * libs/gst/dataprotocol/Makefile.am:
14339           fix up Makefile.am and remove GST_ENABLE_NEW
14340
14341 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14342
14343         * configure.ac:
14344         * gst/Makefile.am:
14345         * gst/base/Makefile.am:
14346         * gst/check/Makefile.am:
14347         * gst/elements/Makefile.am:
14348         * gst/net/Makefile.am:
14349           update LDFLAGS use some more
14350
14351 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14352
14353         * common/m4/gst-doc.m4:
14354           Fixes #312589
14355
14356 2005-11-26  Edward Hervey  <edward@fluendo.com>
14357
14358         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14359         This shouldn't issue a g_warning since it returns NULL if it
14360         couldn't find the plugin, and all functions using this behave
14361         properly on a NULL return. Switching to a GST_WARNING.
14362
14363 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14364
14365         * gst/gstbin.c: (gst_bin_handle_message_func):
14366         Don't leak clock messages.
14367
14368 2005-11-25  Wim Taymans  <wim@fluendo.com>
14369
14370         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14371         (gst_util_uint64_scale_int):
14372         Optimisations, remove unneeded vars.
14373
14374 2005-11-25  Wim Taymans  <wim@fluendo.com>
14375
14376         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14377         Added more checks for the high precision uint64 cases.
14378
14379         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14380         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14381         Implement high precision (guint64 * guint64) / guint64.
14382
14383 2005-11-24  Wim Taymans  <wim@fluendo.com>
14384
14385         * gst/base/gstbasesrc.c: (gst_base_src_query):
14386         Fix wrong percentage query.
14387
14388         * gst/gstutils.c: (gst_util_uint64_scale),
14389         (gst_util_uint64_scale_int):
14390         Add some more common cases that can be handled 
14391         efficiently to _scale.
14392
14393 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14394
14395         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14396         (gst_mini_object_suite):
14397           don't use check calls from threads; check probably isn't
14398           threadsafe and using a lock to make it threadsafe would
14399           defeat the purpose of this check
14400         * gst/check/gstcheck.c:
14401         * gst/check/gstcheck.h:
14402           use GST_DEBUG some more
14403
14404 2005-11-24  Wim Taymans  <wim@fluendo.com>
14405
14406         * gst/gstutils.c: (gst_util_uint64_scale),
14407         (gst_util_uint64_scale_int):
14408         Chain trivial case to _scale_int.
14409
14410 2005-11-24  Wim Taymans  <wim@fluendo.com>
14411
14412         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14413         Added test for scaling.
14414
14415         * gst/gstclock.h:
14416         Small doc fix.
14417
14418         * gst/gstutils.c: (gst_util_uint64_scale_int):
14419         Implemented high precision scaling code.
14420
14421 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14422
14423         * gst/gstinfo.h:
14424           do not crash on pad==NULL
14425
14426 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14427
14428         Patch by: Stefan Kost
14429
14430         * common/gtk-doc.mak:
14431         * docs/gst/Makefile.am:
14432         * docs/libs/Makefile.am:
14433           Fix distcheck issues for the libraries docs build
14434           Closes #319599.
14435
14436 2005-11-24  Michael Smith <msmith@fluendo.com>
14437
14438         * docs/manual/basics-helloworld.xml:
14439           Fix bug #315027: memory leak in example code in docs.
14440
14441 2005-11-24  Michael Smith <msmith@fluendo.com>
14442
14443         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14444           Unlock the PREROLL_LOCK in a failure case.
14445
14446 2005-11-24  Wim Taymans  <wim@fluendo.com>
14447
14448         * docs/gst/gstreamer-sections.txt:
14449         * gst/base/gstadapter.h:
14450         * gst/base/gstbasesink.h:
14451         * gst/base/gstbasesrc.h:
14452         * gst/base/gstbasetransform.h:
14453         * gst/base/gstpushsrc.h:
14454         * gst/elements/gstfakesink.h:
14455         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14456         * gst/elements/gstfakesrc.h:
14457         * gst/elements/gstfilesink.h:
14458         * gst/elements/gstfilesrc.h:
14459         * gst/gst.c:
14460         * gst/gstbin.c:
14461         * gst/gstbuffer.c: (_gst_buffer_copy):
14462         * gst/gstbus.h:
14463         * gst/gstcaps.c:
14464         * gst/gstchildproxy.c:
14465         * gst/gstclock.c:
14466         * gst/gstelement.c:
14467         * gst/gstelementfactory.c:
14468         * gst/gstelementfactory.h:
14469         * gst/gstevent.c:
14470         * gst/gstghostpad.h:
14471         * gst/gstindex.h:
14472         * gst/gstinterface.h:
14473         * gst/gstminiobject.c:
14474         * gst/gstminiobject.h:
14475         * gst/gstpad.c:
14476         * gst/gstpad.h:
14477         * gst/gstpadtemplate.h:
14478         * gst/gstpipeline.h:
14479         * gst/gstpluginfeature.h:
14480         * gst/gstquery.h:
14481         * gst/gstqueue.h:
14482         * gst/gsttaglist.c:
14483         * gst/gsttaglist.h:
14484         * gst/gsttagsetter.c:
14485         * gst/gsttagsetter.h:
14486         * gst/gsttrace.c:
14487         * gst/gsttrace.h:
14488         * gst/gsttypefind.h:
14489         * gst/gsturi.h:
14490         * gst/gstvalue.c:
14491         * gst/net/gstnetclientclock.c:
14492         * gst/net/gstnetclientclock.h:
14493         * gst/net/gstnettimepacket.c:
14494         * gst/net/gstnettimeprovider.c:
14495         * gst/net/gstnettimeprovider.h:
14496         Doc fixes.
14497
14498 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14499
14500         * configure.ac: back to HEAD
14501
14502 === release 0.9.6 ===
14503
14504 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14505
14506         * configure.ac:
14507           releasing 0.9.6, "Always On Time"
14508
14509 2005-11-23  Wim Taymans  <wim@fluendo.com>
14510
14511         * docs/gst/gstreamer-sections.txt:
14512         * gst/glib-compat.c:
14513         * gst/gsttagsetter.c:
14514         * gst/gstvalue.c:
14515         * gst/net/gstnetclientclock.c:
14516         * gst/net/gstnettimepacket.h:
14517         Doc updates.
14518
14519 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14520
14521         * docs/faq/using.xml:
14522         * docs/libs/tmpl/gstcontrol.sgml:
14523         * docs/manual/advanced-dparams.xml:
14524         * docs/manual/appendix-checklist.xml:
14525         * docs/manual/basics-elements.xml:
14526         * docs/pwg/other-source.xml:
14527         * docs/random/moving-plugins:
14528         * gst/gstpad.c:
14529         * tools/gst-launch.1.in:
14530           remove mentions of sinesrc
14531
14532 2005-11-23  Michael Smith <msmith@fluendo.com>
14533
14534         * docs/gst/gstreamer-sections.txt:
14535           Update for new API and API changes.
14536         * gst/gstobject.h:
14537           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14538         * gst/gstvalue.c:
14539           Documentation typo fix.
14540         * gst/net/gstnettimepacket.c:
14541           Documentation fixes for arguments.
14542
14543 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14544
14545         * gst/gststructure.c: (gst_structure_get_fraction),
14546         (gst_structure_parse_value),
14547         (gst_structure_fixate_field_nearest_fraction):
14548         * gst/gststructure.h:
14549         * gst/gstutils.c: (gst_util_uint64_scale_int):
14550         * gst/gstutils.h:
14551         * scripts/update-funcnames:
14552         API Changes. 
14553         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14554         Make gst_structure_fixate_field_nearest_fraction take a numerator
14555         and denominator argument instead of a GValue
14556         add gst_structure_get_fraction helper function.
14557
14558 2005-11-23  Wim Taymans  <wim@fluendo.com>
14559
14560         * docs/design/part-TODO.txt:
14561         Update TODO.
14562
14563         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14564         * gst/net/gstnetclientclock.h:
14565         Use parent fields for timeout and window_size.
14566
14567 2005-11-23  Andy Wingo  <wingo@pobox.com>
14568
14569         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14570         rate_num/rate_denom change.
14571
14572         * gst/net/gstnetclientclock.c
14573         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14574         OBJECT_LOCK. Don't call add_observation with the lock.
14575
14576         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14577         fraction.
14578         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14579         rate fraction.
14580         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14581         deal with rate as a fraction whose numerator and denominator are
14582         GstClockTime values.
14583         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14584         master; the other fields are protected by the SLAVE_LOCK.
14585         (do_linear_regression): Note that this must be called with the
14586         SLAVE_LOCK.
14587         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14588         OBJECT_LOCK. Call set_calibration instead of touching the
14589         variables directly.
14590         (gst_clock_set_property, gst_clock_get_property): Protect
14591         master/slave parameters with the SLAVE_LOCK.
14592
14593         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14594         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14595         note that all of the instance variables that add_observation and
14596         the set_master functions use are protected by that lock and not
14597         the OBJECT_LOCK.
14598         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14599
14600         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14601         the caller to take the object lock.
14602
14603 2005-11-23  Wim Taymans  <wim@fluendo.com>
14604
14605         * gst/gsterror.c: (_gst_core_errors_init):
14606         * gst/gsterror.h:
14607         Add error for clock stuff.
14608
14609         * gst/gstpipeline.c: (gst_pipeline_change_state),
14610         (gst_pipeline_set_clock):
14611         Post clock error when clock cannot be used in a pipeline.
14612
14613 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14614
14615         * docs/gst/gstreamer-sections.txt:
14616           make two symbols from gstinfo private for the docs
14617         * gst/base/gstcollectpads.h:
14618         * gst/gstutils.c:
14619           fix doc typos, update docs
14620
14621 2005-11-22  Wim Taymans  <wim@fluendo.com>
14622
14623         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14624         (gst_base_sink_wait), (gst_base_sink_do_sync),
14625         (gst_base_sink_handle_event):
14626         * gst/base/gstbasesink.h:
14627         No need to store the clock, the parent element class already
14628         has it.
14629
14630         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14631         Updates for clock_set returning a gboolean
14632
14633         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14634         (gst_clock_id_wait_async), (gst_clock_class_init),
14635         (gst_clock_init), (gst_clock_finalize),
14636         (gst_clock_get_internal_time), (gst_clock_get_time),
14637         (gst_clock_slave_callback), (gst_clock_set_master),
14638         (gst_clock_get_master), (do_linear_regression),
14639         (gst_clock_add_observation), (gst_clock_set_property),
14640         (gst_clock_get_property):
14641         * gst/gstclock.h:
14642         Implement master/slave. When setting a clock as a slave, a
14643         periodic timeout is scheduled to sample master and slave times.
14644         Then the slave clock is recalibrated to match offset and rate
14645         of the master clock.
14646         Update logging a bit.
14647         Add flag so that a clock can state that is cannot be slaved to
14648         another clock.
14649
14650         * gst/gstelement.c: (gst_element_set_clock):
14651         * gst/gstelement.h:
14652         The set clock returns a gboolean for when an element cannot
14653         deal with the selected clock in the pipeline. 
14654
14655         * gst/gstpipeline.c: (gst_pipeline_change_state),
14656         (gst_pipeline_set_clock):
14657         * gst/gstpipeline.h:
14658         Handle the case where the selected clock cannot be set on
14659         the pipeline.
14660
14661         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14662         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14663         (gst_net_client_clock_set_property),
14664         (gst_net_client_clock_get_property),
14665         (gst_net_client_clock_observe_times):
14666         * gst/net/gstnetclientclock.h:
14667         Use regression code in GstClock parent, remove duplicated
14668         functionality.
14669
14670 2005-11-22  Michael Smith <msmith@fluendo.com>
14671
14672         * gst/gstutils.c: (gst_util_clock_time_scale):
14673         * gst/gstutils.h:
14674         * docs/gst/gstreamer-sections.txt:
14675           Rename method to have extra underscore.
14676
14677 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14678
14679         * gst/elements/Makefile.am:
14680         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14681         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14682         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14683         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14684         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14685         * gst/elements/gstfakesrc.h:
14686         * gst/gstqueue.c: (queue_leaky_get_type):
14687           correctly fix GEnumValues so that nick is the short lowercase
14688           dashed tag
14689         * tools/gst-inspect.c: (print_element_properties_info):
14690           also show the nick, since it's useful to use from parse_launch
14691           syntax
14692           Fixes #322139
14693
14694 2005-11-22  Michael Smith <msmith@fluendo.com>
14695
14696         * gst/gstutils.c: (gst_util_clocktime_scale):
14697         * gst/gstutils.h:
14698         * docs/gst/gstreamer-sections.txt:
14699           Add util method for scaling a clocktime by a fraction. Useful 
14700           implementation is left as an exercise for the reader.
14701
14702 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14703
14704         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14705         If needed, allocate storage in the destination value during
14706         collection.
14707
14708 2005-11-22  Edward Hervey  <edward@fluendo.com>
14709
14710         * docs/gst/gstreamer-sections.txt:
14711         * gst/Makefile.am:
14712         * gst/gst.h:
14713         * gst/gsturitype.c:
14714         * gst/gsturitype.h:
14715         * gst/gstutils.c: (gst_util_set_object_arg):
14716         * tools/gst-compprep.c: (main):
14717         * tools/gst-inspect.c: (print_element_properties_info):
14718         Removed GstURI, closes bug #321061
14719
14720 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14721
14722         * check/gst/gststructure.c: (GST_START_TEST):
14723         * gst/gststructure.c: (gst_structure_parse_value):
14724           Oops, broke automatic string type parsing.
14725           Add a test to catch it in future.
14726
14727 2005-11-22  Andy Wingo  <wingo@pobox.com>
14728
14729         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14730         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14731         Actually rename the function implementations. Grr.
14732
14733 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14734
14735         * check/gst/capslist.h:
14736           Comment test cases
14737         * check/gst/gststructure.c: (GST_START_TEST),
14738         (gst_structure_suite):
14739           Test automatic value type detection in gst_structure_from_string.
14740         * gst/gststructure.c: (gst_structure_parse_value):
14741           Add fraction as a type we try and guess automatically in
14742           caps/structure strings.
14743
14744 2005-11-22  Andy Wingo  <wingo@pobox.com>
14745
14746         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14747
14748         * gst/gsttagsetter.h:
14749         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14750         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14751         (gst_tag_setter_add_tag_valist)
14752         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14753         _add_values, _add_valist, and _add_valist_values. Since this is an
14754         interface the function suffixes should be more explicit so
14755         language binding don't end up with element.add_valist ->
14756         gst_tag_setter_add_valist, for example. Fixes #322069.
14757
14758 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14759
14760         * check/gst/gstcaps.c: (GST_START_TEST):
14761           Extend caps string tests to check that a caps to string
14762           conversion is reversible and produces the same caps.
14763
14764         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14765           Output "fraction" as the generic type fraction range, so caps
14766           serialisation and deserialisation works.
14767         * check/gst/capslist.h:
14768         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14769           Support 'MIN' and 'MAX' for deserialising fractions.
14770
14771 2005-11-22  Andy Wingo  <wingo@pobox.com>
14772
14773         * gst/gstevent.h (gst_event_new_new_segment)
14774         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14775         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14776         Renamed from *_newsegment, *_buffersize, *_notarget.
14777
14778         * scripts/update-funcnames: New script, performs the changes
14779         listed above.
14780
14781 2005-11-22  Wim Taymans  <wim@fluendo.com>
14782
14783         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14784         Make sure the GstFlowReturn is returned.
14785
14786         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14787         (gst_bus_add_signal_watch):
14788         * gst/gstbus.h:
14789         add gst_bus_add_signal_watch_full.
14790
14791         * gst/gstplugin.c: (gst_plugin_load_file):
14792         Small style cleanup.
14793
14794 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14795
14796         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14797           Block the fakesrc srcpad when we send an event, to avoid
14798           contention on the stream_lock causing random test failures.
14799
14800 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14801
14802         * check/gst/gstvalue.c: (GST_START_TEST):
14803         * gst/gstvalue.c: (gst_value_fraction_subtract):
14804           Fix subtraction.
14805
14806 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14807
14808         * gst/gst.h:
14809           include "gstchildproxy.h"
14810         * gst/gstchildproxy.h:
14811         * libs/gst/controller/gstcontroller.h:
14812           use G_GNUC_NULL_TERMINATED
14813
14814 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14815
14816         * check/gst/capslist.h:
14817         * check/gst/gstcaps.c: (GST_START_TEST):
14818         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14819         * gst/gststructure.c: (gst_structure_parse_range),
14820         (gst_structure_fixate_field_nearest_fraction):
14821         * gst/gststructure.h:
14822         * gst/gstvalue.c: (gst_value_init_fraction_range),
14823         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14824         (gst_value_collect_fraction_range),
14825         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14826         (gst_value_set_fraction_range_full),
14827         (gst_value_get_fraction_range_min),
14828         (gst_value_get_fraction_range_max),
14829         (gst_value_serialize_fraction_range),
14830         (gst_value_transform_fraction_range_string),
14831         (gst_value_compare_fraction_range),
14832         (gst_value_deserialize_fraction_range),
14833         (gst_value_intersect_fraction_fraction_range),
14834         (gst_value_intersect_fraction_range_fraction_range),
14835         (gst_value_subtract_fraction_fraction_range),
14836         (gst_value_subtract_fraction_range_fraction),
14837         (gst_value_subtract_fraction_range_fraction_range),
14838         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14839         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14840         (gst_value_transform_string_fraction), (_gst_value_initialize):
14841         * gst/gstvalue.h:
14842           Implement fraction ranges and extend GstFraction to support
14843           arithmetic subtraction, as well as deserialization from integer
14844           strings such as "100"
14845           Add a testsuite as for int and double range set operations
14846
14847 2005-11-21  Andy Wingo  <wingo@pobox.com>
14848
14849         * gst/gsttaglist.h: 
14850         * gst/gstcaps.h: 
14851         * gst/gststructure.h: Add glib-compat.h.
14852
14853 2005-11-21  Wim Taymans  <wim@fluendo.com>
14854
14855         * gst/gstbin.c: (gst_bin_change_state_func):
14856         Fix for #321595
14857
14858 2005-11-21  Wim Taymans  <wim@fluendo.com>
14859
14860         * gst/gstsegment.h:
14861         And add a nice define too.
14862
14863 2005-11-21  Wim Taymans  <wim@fluendo.com>
14864
14865         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14866         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14867         (gst_segment_set_duration), (gst_segment_set_last_stop),
14868         (gst_segment_set_seek), (gst_segment_set_newsegment),
14869         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14870         (gst_segment_clip):
14871         * gst/gstsegment.h:
14872         Make binding friendly.
14873
14874 2005-11-21  Andy Wingo  <wingo@pobox.com>
14875
14876         * gst/gsttagsetter.h: 
14877         * gst/gsttaglist.h: 
14878         * gst/gststructure.h: 
14879         * gst/gstcaps.h: 
14880         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14881         #319940.
14882
14883         * gst/gsterror.c (_gst_core_errors_init):
14884         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14885         category.
14886
14887         * gst/Makefile.am (gst_headers): Add glib-compat.h.
14888         (noinst_HEADERS): noinst the -private.
14889
14890 2005-11-21  Michael Smith <msmith@fluendo.com>
14891
14892         * gst/gstplugin.h:
14893         * gst/gstregistry.h:
14894           Remove unimplemented declarations for which we can see no sensible
14895           use.
14896
14897 2005-11-21  Andy Wingo  <wingo@pobox.com>
14898
14899         * gst/gst.h: Include glib-compat.h.
14900
14901         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14902
14903         * gst/glib-compat.c: Include the public and the private header.
14904
14905         * gst/glib-compat-private.h: Copied here from glib-compat.h.
14906
14907         * gst/gstvalue.c: 
14908         * gst/gstpad.c: 
14909         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14910
14911         * check/gst/gstevent.c (create_custom_events): Check that
14912         FLUSH_STOP is serialized.
14913
14914         * check/elements/identity.c (event_func): 
14915         * check/elements/fakesrc.c (event_func): No stream lock, the core
14916         takes it.
14917
14918         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14919         stream lock taking, yay.
14920
14921         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14922         ensure that core takes the stream lock.
14923
14924         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14925         lock name change.
14926
14927         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14928         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14929         it already. For the flush start we do take it though so we get the
14930         right preroll state change messages.
14931
14932         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14933         the stream lock here, the core does it for us.
14934
14935         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14936         GST_STREAM_GET_LOCK.
14937         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
14938         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
14939         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14940         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14941         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
14942         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14943
14944         * gst/gstpad.c: Update for stream lock name change.
14945
14946         * gst/base/gstbasesink.c: Update for preroll lock name change.
14947
14948 2005-11-21  Wim Taymans  <wim@fluendo.com>
14949
14950         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14951         (gst_clock_get_master):
14952         * gst/gstclock.h:
14953         * gst/gstsystemclock.c: (gst_system_clock_init):
14954         Convert Clock flags to object flags.
14955         Added methods to manage master/slave clocks.
14956
14957 2005-11-21  Wim Taymans  <wim@fluendo.com>
14958
14959         * check/gst/gstsegment.c: (GST_START_TEST):
14960         * docs/design/part-TODO.txt:
14961         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14962         (gst_base_sink_event), (gst_base_sink_do_sync),
14963         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14964         (gst_base_sink_query), (gst_base_sink_change_state):
14965         * gst/base/gstbasesink.h:
14966         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14967         (gst_base_src_default_newsegment),
14968         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14969         (gst_base_src_get_range), (gst_base_src_loop),
14970         (gst_base_src_change_state):
14971         * gst/base/gstbasesrc.h:
14972         * gst/base/gstbasetransform.c:
14973         (gst_base_transform_prepare_output_buf),
14974         (gst_base_transform_event), (gst_base_transform_change_state):
14975         * gst/base/gstbasetransform.h:
14976         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14977         (gst_collect_pads_event):
14978         * gst/base/gstcollectpads.h:
14979         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14980         (gst_fake_src_create):
14981         * gst/elements/gstfakesrc.h:
14982         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14983         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14984         (gst_segment_set_last_stop), (gst_segment_set_seek),
14985         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14986         (gst_segment_to_running_time), (gst_segment_clip):
14987         * gst/gstsegment.h:
14988         More segment updates, replace code in plugins with segment
14989         helper functions.
14990
14991 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14992
14993         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14994         Don't ignore sscanf results
14995
14996 2005-11-21  Andy Wingo  <wingo@pobox.com>
14997
14998         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14999
15000         * *.h:
15001         * *.c: Ran scripts/update-macros. Oh yes.
15002
15003         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15004         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15005         GST_GET_LOCK, etc.
15006
15007         * scripts/update-macros: New script. Run it on your files to
15008         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15009         well.
15010
15011 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15012
15013         * docs/gst/Makefile.am:
15014         * docs/gst/gstreamer-docs.sgml:
15015         * docs/gst/gstreamer-sections.txt:
15016         * docs/gst/gstreamer.types:
15017         * gst/gstinfo.h:
15018           more docs fixes, add new api to the docs
15019
15020 2005-11-21  Andy Wingo  <wingo@pobox.com>
15021
15022         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15023         state_broadcast call.
15024
15025         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15026
15027 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15028
15029         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15030         function calls for arrays.
15031
15032 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15033
15034         * docs/random/ensonic/media-device-daemon.txt:
15035           wild idea, can this be done?
15036         * docs/gst/gstreamer-sections.txt:
15037         * gst/gsterror.h:
15038         * gst/gstfilter.c:
15039         * gst/gstfilter.h:
15040         * gst/gstplugin.h:
15041         * gst/gstpluginfeature.c:
15042         * gst/gsttrace.c:
15043         * gst/gstvalue.c:
15044         * gst/gstvalue.h:
15045           doc fixes and additions
15046
15047 2005-11-21  Andy Wingo  <wingo@pobox.com>
15048
15049         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15050         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15051         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15052         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15053         private to the basesrc implementation.
15054
15055         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15056         behalf of event function if necessary. It should no longer be
15057         necessary to take the stream lock in pad's event functions. Fixes
15058         #320299.
15059
15060 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15061         * docs/gst/gstreamer-sections.txt:
15062         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15063         (gst_structure_fixate_field_nearest_double),
15064         (gst_structure_fixate_field_boolean):
15065         * gst/gststructure.h:
15066         * win32/common/libgstreamer.def:
15067         * win32/gstreamer.def:
15068
15069         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15070         (#322027)
15071
15072 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15073
15074         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15075         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15076         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15077         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15078         (gst_fdsrc_uri_handler_init):
15079         * gst/elements/gstfdsrc.h:
15080           Port fd:// URI handler from 0.8 to fdsrc
15081
15082 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15083
15084         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15085         (gst_value_serialize_fourcc):
15086         * gst/gstvalue.h:
15087           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15088           consistent with our other format defines (#320324).
15089
15090 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15091
15092         * gst/gstvalue.c: (gst_value_is_fixed):
15093           Revert previous commit. Value lists are by definition
15094           not fixed, as they are a list of possible values.
15095
15096 2005-11-21  Andy Wingo  <wingo@pobox.com>
15097
15098         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15099         during the stable series if we need it. Fixes #319178.
15100
15101         * gst/gstevent.c (gst_event_new_filler): Removed.
15102
15103         * check/gst/gstevent.c: Update comment about filler events.
15104
15105 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15106
15107         * gst/gstvalue.c: (gst_value_is_fixed):
15108           Should handle both value arrays and value lists.
15109
15110 2005-11-21  Andy Wingo  <wingo@pobox.com>
15111
15112         patch by: Alessandro Dessina <alessandro nnva org>
15113
15114         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15115         functions to access arrays. Fixes #321962.
15116
15117 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15118
15119         * docs/gst/gstreamer.types:
15120           gst_collectpads_get_type => gst_collect_pads_get_type.
15121           
15122         * gst/base/gstbasetransform.c:
15123           Remove unused SIGNAL_HANDOFF enum.
15124
15125 2005-11-21  Andy Wingo  <wingo@pobox.com>
15126
15127         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15128         the event type (upstream, downstream, serialized). Renamed
15129         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15130         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15131         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15132
15133         * gst/gstevent.c: Update for new CUSTOM event names.
15134
15135         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15136
15137         * gst/gstevent.h:
15138         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15139         bug #319392.
15140
15141 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15142
15143         * docs/gst/gstreamer-sections.txt:
15144         * win32/common/libgstbase.def:
15145         * win32/libgstbase.def:
15146         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15147         (gst_collect_pads_class_init), (gst_collect_pads_init),
15148         (gst_collect_pads_finalize), (gst_collect_pads_new),
15149         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15150         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15151         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15152         (gst_collect_pads_start), (gst_collect_pads_stop),
15153         (gst_collect_pads_peek), (gst_collect_pads_pop),
15154         (gst_collect_pads_available), (gst_collect_pads_read),
15155         (gst_collect_pads_flush), (gst_collect_pads_event),
15156         (gst_collect_pads_chain):
15157         * gst/base/gstcollectpads.h:
15158           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15159           unimplemented functions as unimplemented. Add padding to
15160           GstCollectData. (#320766, #320423)
15161
15162 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15163
15164         * gst/gstmessage.c:
15165           Improve docs for DURATION message (usage of duration parameter)
15166           (#320113)
15167
15168 2005-11-20  Wim Taymans  <wim@fluendo.com>
15169
15170         * check/Makefile.am:
15171         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15172         (main):
15173         * gst/Makefile.am:
15174         * gst/gst.h:
15175         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15176         (gst_segment_set_seek), (gst_segment_set_newsegment),
15177         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15178         (gst_segment_clip):
15179         * gst/gstsegment.h:
15180         Added segment helper structure and methods. Not fully implemented
15181         yet.
15182         Added segment check.
15183
15184 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15185
15186         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15187           Add a deserialisation test for fractions
15188         * examples/metadata/read-metadata.c: (message_loop),
15189         (make_pipeline), (main):
15190           Fix up metadata reading sample.
15191         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15192           Debug format fix
15193         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15194           Don't try and fixate empty caps
15195         * gst/gst_private.h:
15196           Wrap in G_BEGIN_DECLS/G_END_DECLS
15197         * gst/gstvalue.c: (gst_value_collect_fraction),
15198         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15199         (gst_value_transform_string_fraction),
15200         (gst_value_compare_fraction):
15201           Add some extra guards to ensure that we don't end up 
15202           with an invalid denominator of 0 in a gstfraction and
15203           that fractions always get reduced.
15204
15205 2005-11-20  Wim Taymans  <wim@fluendo.com>
15206
15207         * docs/gst/gstreamer-sections.txt:
15208         * gst/gstbuffer.h:
15209         * gst/gstelement.c:
15210         * gst/gstformat.c:
15211         * gst/gstformat.h:
15212         * gst/gstindex.h:
15213         * gst/gstquery.c:
15214         * gst/gstquery.h:
15215         * gst/gstvalue.c:
15216         Doc fixes.
15217
15218 2005-11-20  Wim Taymans  <wim@fluendo.com>
15219
15220         * docs/design/part-TODO.txt:
15221         * gst/gstcaps.h:
15222         Make a proper enum of the flag.
15223
15224 2005-11-19  Wim Taymans  <wim@fluendo.com>
15225
15226         * docs/design/part-TODO.txt:
15227         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15228         (gst_format_to_quark), (gst_format_register):
15229         * gst/gstformat.h:
15230         * gst/gstquery.c: (_gst_query_initialize),
15231         (gst_query_type_get_name), (gst_query_type_to_quark),
15232         (gst_query_type_register):
15233         * gst/gstquery.h:
15234         Add type to quark and type to string conversions.
15235
15236 2005-11-19  Andy Wingo  <wingo@pobox.com>
15237
15238         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15239         #320097.
15240
15241 2005-11-19  Wim Taymans  <wim@fluendo.com>
15242
15243         * docs/design/part-TODO.txt:
15244         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15245         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15246         (gst_bin_handle_message_func):
15247         * gst/gstbin.h:
15248         Make message handling overridable.
15249
15250 2005-11-19  Andy Wingo  <wingo@pobox.com>
15251
15252         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15253
15254         * gst/gstclock.h:
15255         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15256         be a GstClockTime.
15257         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15258         is a GstClockTime. Fixes #321710.
15259
15260         * gst/gstclock.h (GstClock): Remove offset property. Add
15261         internal_calibration and external_calibration. Fix padding. Pad
15262         also by GstClockTime so we don't run into problems.
15263
15264         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15265         (gst_clock_get_rate_offset): Remove.
15266         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15267
15268         * gst/gstutils.h:
15269         * gst/gstutils.c (g_static_rec_cond_wait)
15270         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15271
15272         * gst/gstbin.c: Remove terrible continue_state prototype.
15273
15274         * gst/gstelement.h (gst_element_continue_state): Make public.
15275
15276         * gst/gstelement.h:
15277         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15278         by continue_state. Fixes #319389.
15279
15280         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15281         Really fixes #168438. However I don't see anywhere where the
15282         filter function is called... stupid GStreamer...
15283         
15284         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15285         don't have a dispose function, so it won't get called when the
15286         object is unreffed, but oh well!
15287
15288         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15289         allows a destroy function to be set so user_data can be freed.
15290         Fixes #168438.
15291         (gst_index_set_filter): Call gst_index_set_filter_full.
15292
15293         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15294
15295         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15296         string should produce an error, given the lack of a way to
15297         represent NULL strings. Fixes #165650.
15298         
15299         * gst/gstvalue.h: 
15300         * gst/gstvalue.c (gst_value_array_append_value) 
15301         (gst_value_array_prepend_value, gst_value_array_get_size) 
15302         (gst_value_array_get_value): New API, copied from
15303         gst_value_list_*, only operates on arrays.
15304         (gst_value_list_append_value, gst_value_list_prepend_value) 
15305         (gst_value_list_concat, gst_value_list_get_size) 
15306         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15307
15308         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15309         init_list, because it works on both.
15310         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15311         (gst_value_copy_list_or_array): Renamed from copy_list.
15312         (gst_value_free_list_or_array): Renamed from free_list.
15313         (gst_value_collect_list_or_array): Renamed from collect_list.
15314         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15315         (gst_value_list_or_array_peek_pointer): Renamed from
15316         list_peek_pointer.
15317         (_gst_value_array_value_table, _gst_value_list_value_table):
15318         Update value table functions.
15319         (gst_value_compare_list_or_array): Renamed from compare_list.
15320
15321         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15322         some constness.
15323
15324         * gst/gsttaglist.c:
15325         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15326         GstTagList*. Fixes #143472.
15327
15328         * gst/gststructure.h: Clarify what the foreach/map functions can
15329         or can't do to their arguments.
15330
15331 2005-11-18  Wim Taymans  <wim@fluendo.com>
15332
15333         * gst/gstclock.c: (gst_clock_set_calibration),
15334         (gst_clock_get_calibration):
15335         Doc and API fixes.
15336         Calibration can be set with internal time equal to current
15337         internal time too.
15338
15339 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15340
15341         * gst/gsterror.c:
15342         * gst/gsterror.h:
15343           document
15344
15345 2005-11-18  Andy Wingo  <wingo@pobox.com>
15346
15347         * configure.ac: 
15348         * pkgconfig/gstreamer-net.pc.in:
15349         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15350         * pkgconfig/Makefile.am: Add net pkgconfig files.
15351
15352 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15353
15354         * gst/gstcaps.c:
15355         * gst/gstghostpad.c:
15356         * gst/gsttrace.c:
15357         * gst/gstvalue.c:
15358         * gst/gstvalue.h:
15359           docs fixes
15360
15361 2005-11-18  Andy Wingo  <wingo@pobox.com>
15362
15363         * gst/net/gstnetclientclock.c: Turn off debugging.
15364
15365         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15366         times connverge somewhat. Can't make a real test.
15367
15368         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15369         integer arithmetic. Return the minimum of the domain, which can be
15370         set as "internal" for gst_clock_set_calibration.
15371         (gst_net_client_clock_observe_times): Call _set_calibration.
15372         (gst_net_client_clock_new): Call _set_calibration instead of
15373         rate_offset.
15374
15375         * check/net/gstnetclientclock.c (test_functioning): Use the right
15376         adjustment api.
15377
15378         * gst/gstclock.h:
15379         * gst/gstclock.c (gst_clock_get_calibration) 
15380         (gst_clock_set_calibration): New functions, obsolete the ones I
15381         added yesterday. Doh. Precision issues mean we have to extrapolate
15382         from a point in the more recent past than 1970.
15383         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15384         obsolete.
15385         (gst_clock_adjust_unlocked): Use the right calibration data.
15386
15387 2005-11-18  Edward Hervey  <edward@fluendo.com>
15388
15389         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15390         Also reset the ->current_* values in READY->PAUSED
15391
15392 2005-11-18  Andy Wingo  <wingo@pobox.com>
15393
15394         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15395         Whoops, check the right fd. Also add some debugging.
15396         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15397         (do_linear_regression): Add a crapload of debugging. Subtract off
15398         the minimum values from the input series to discard unneeded bits.
15399         Use only int arithmetic. There is still double arithmetic when
15400         calculating the intercept that needs fixing. Return boolean to
15401         indicate success; FALSE would mean the domain or range is too
15402         great. Still needs fixes.
15403
15404 2005-11-18  Wim Taymans  <wim@fluendo.com>
15405
15406         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15407         For the current position in stream time, we need to subtract
15408         accumulated time.
15409         
15410         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15411         Release lock before calling the callback function of async
15412         entries.
15413
15414 2005-11-18  Andy Wingo  <wingo@pobox.com>
15415
15416         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15417         Port goes all the way to MAXUINT16.
15418
15419         * gst/net/gstnettimeprovider.c: Make the port range the same as
15420         for the kernel: 0 assigns, otherwise ports are less than
15421         MAXUINT16.
15422
15423         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15424         port change.
15425
15426         * check/net/gstnetclientclock.c (test_functioning): Add the start
15427         of another test. 
15428
15429 2005-11-18  Wim Taymans  <wim@fluendo.com>
15430
15431         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15432         (gst_bin_remove_func), (bin_bus_handler):
15433         * gst/gstbin.h:
15434         Removing a clock provider from a bin, triggers a clock lost message
15435         so that a new clock will be selected.
15436         Adding a clock to a bin triggers a clock provider message.
15437         Make sure we reselect a clock when we received a clock lost message.
15438         Keep a reference to the element that provided the clock.
15439
15440 2005-11-18  Andy Wingo  <wingo@pobox.com>
15441
15442         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15443         the clock initially so it produces values around the base time.
15444         (gst_net_client_clock_class_init): Typo fix.
15445         (gst_net_client_clock_thread): Add note on when the socket gets
15446         closed.
15447
15448 2005-11-17  Wim Taymans  <wim@fluendo.com>
15449
15450         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15451         Free remote and local time arrays.
15452
15453 2005-11-17  Wim Taymans  <wim@fluendo.com>
15454
15455         * gst/net/gstnetclientclock.c: (do_linear_regression),
15456         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15457         Fix compilation, uninitialized vars and a forgotten continue.
15458
15459 2005-11-17  Andy Wingo  <wingo@pobox.com>
15460
15461         * check/Makefile.am (check_PROGRAMS): 
15462         * check/net/gstnetclientclock.c: Add a most minimal test for the
15463         net client clock. More to come later.
15464
15465         * gst/net/gstnet.h: 
15466         * gst/net/Makefile.am: Add netclientclock.
15467
15468         * gst/net/gstnetclientclock.h:
15469         * gst/net/gstnetclientclock.c: New files, implement an untested
15470         GstClock that takes its time from a network time provider.
15471         Implements the algorithm in network-clock.scm.
15472
15473         * tests/network-clock.scm (*window-size*): Rename from
15474         *queue-length*.
15475         * tests/network-clock.scm (network-time): 
15476         * tests/network-clock-utils.scm (q-push): Update callers.
15477
15478 2005-11-17  Wim Taymans  <wim@fluendo.com>
15479
15480         * gst/gstbin.c: (gst_bin_provide_clock_func),
15481         (gst_bin_sort_iterator_new):
15482         And unref the child too..
15483
15484 2005-11-17  Wim Taymans  <wim@fluendo.com>
15485
15486         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15487         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15488         Refactor the sort iterator so it can be used while holding the
15489         LOCK too.
15490         Make clock selection select a clock closest to the source.
15491
15492 2005-11-17  Michael Smith <msmith@fluendo.com>
15493
15494         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15495         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15496         * gst/gstclock.h:
15497           Anonymous structs are a gcc (and some other compilers) extension, so
15498           don't use them. Since this is only for ABI-compatibility, and our
15499           API/ABI freeze is over in a few days, this whole thing will only
15500           last a few days, so don't bother trying to think up a meaningful
15501           name for the struct.
15502
15503 2005-11-17  Andy Wingo  <wingo@pobox.com>
15504
15505         * gst/gstclock.h (GstClock): Add rate and offset properties,
15506         preserving ABI stability. Add rate/offset accessors. Will file bug
15507         for the freeze break.
15508
15509         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15510         and offset, trying to keep precision and avoiding
15511         underflow/overflow.
15512         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15513         functions. Make gst_clock_set_time_adjust obsolete.
15514         (gst_clock_set_time_adjust): Note that this function is obsolete.
15515         Will file bug soon.
15516
15517         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15518         greppable by using GST_PADDING-1+1.
15519
15520 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15521
15522         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15523
15524         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15525           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15526
15527         * gst/gstpadtemplate.h:
15528         * gst/gstpluginfeature.h:
15529           Don't use c++ style comments in headers (#321638).
15530
15531 2005-11-16  Andy Wingo  <wingo@pobox.com>
15532
15533         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15534         buffer.
15535
15536         * check/net/gstnettimeprovider.c: Check to see that the time
15537         provider actually provides times. Works, yo!
15538
15539 2005-11-16  Wim Taymans  <wim@fluendo.com>
15540
15541         * check/Makefile.am:
15542         Enable more tests.
15543
15544         * check/elements/fakesrc.c: (GST_START_TEST):
15545         Set element to NULL before disposing it.
15546
15547 2005-11-16  Andy Wingo  <wingo@pobox.com>
15548
15549         * gst/net/Makefile.am:
15550         * gst/net/gstnet.h:
15551         * gst/net/gstnettimeprovider.c: 
15552         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15553         provider, include it from gstnet.h, and add it to the build.
15554
15555         * gst/net/gstnettimepacket.h: 
15556         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15557         sending and receiving.
15558
15559 2005-11-16  Wim Taymans  <wim@fluendo.com>
15560
15561         * check/Makefile.am:
15562         Enable valgrind check.
15563
15564         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15565         (gst_fake_src_alloc_buffer):
15566         Fix memleak.
15567
15568 2005-11-16  Wim Taymans  <wim@fluendo.com>
15569
15570         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15571         Call parent finalize too.
15572
15573 2005-11-16  Wim Taymans  <wim@fluendo.com>
15574
15575         * check/Makefile.am:
15576         Enable valgrind check that should work fine now.
15577
15578         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15579         * gst/gstqueue.c: (gst_queue_init):
15580         Fix memleaks in pad allocation.
15581
15582 2005-11-16  Andy Wingo  <wingo@pobox.com>
15583
15584         * gst/net/Makefile.am:
15585         * gst/net/gstnet.h: New part of core to hold network elements and
15586         objects. Put in core because it exposes API that applications want
15587         to use. The library is named libgstnet-tempname right now because
15588         of the existing libgstnet in gst-plugins-base. Solution is
15589         probably to rename the one in plugins-base; will file a bug for
15590         the freeze break.
15591
15592         * gst/net/gstnettimeprovider.c: 
15593         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15594         get_time call over the network.
15595
15596         * configure.ac: 
15597         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15598
15599         * check/Makefile.am:
15600         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15601         get additions shortly.
15602
15603 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15604
15605         * gst/gstpad.c: (gst_pad_new_from_static_template):
15606         * gst/gstpad.h:
15607           add gst_pad_new_from_static_template functions
15608         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15609         (gst_check_setup_sink_pad):
15610         * gst/elements/gsttee.c: (gst_tee_init):
15611           and use them
15612
15613 2005-11-16  Wim Taymans  <wim@fluendo.com>
15614
15615         * gst/gstpad.c: (gst_pad_pause_task):
15616         Removed warning, it's not really an error either.
15617
15618 2005-11-16  Wim Taymans  <wim@fluendo.com>
15619
15620         * gst/base/gstbasetransform.c:
15621         (gst_base_transform_prepare_output_buf),
15622         (gst_base_transform_event):
15623         Check if the caps are NULL, this can happen if the element
15624         is shutting down and the pad caps are set to NULL.
15625
15626 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15627
15628         * gst/elements/gsttee.c: (gst_tee_init):
15629           fix pad template leak in tee
15630
15631 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15632
15633         * gst/glib-compat.c: (g_value_dup_gst_object):
15634         * gst/glib-compat.h:
15635         * gst/gstpad.c: (gst_pad_set_property):
15636           use gst_object_ref when setting the pad template; this will
15637           trigger the pad template leaks on GLib 2.6 and the slaves
15638
15639 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15640
15641         * gst/glib-compat.c: (gst_flags_get_first_value):
15642         * gst/glib-compat.h:
15643         * gst/gstregistryxml.c:
15644           remove functions copied from GLib 2.6
15645
15646 2005-11-16  Michael Smith <msmith@fluendo.com>
15647
15648         * gst/Makefile.am:
15649           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15650           do, but only breaks with newer valgrind versions. We're not a
15651           valgrind tool, we have no link-time dependencies on libcoregrind.
15652
15653 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15654
15655         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15656           some debug changes
15657         * gst/gstmessage.h:
15658           typo fixes
15659
15660 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15661
15662         * gst/base/gstbasesrc.c: (gst_base_src_init):
15663         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15664         * gst/gstqueue.c: (gst_queue_init):
15665         * gst/gstregistryxml.c: (load_feature):
15666           Revert all these unrefs, they don't even pass make check !
15667
15668 2005-11-15  Johan Dahlin  <johan@gnome.org>
15669
15670         * gst/base/gstbasesrc.c: (gst_base_src_init):
15671         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15672         * gst/gstqueue.c: (gst_queue_init): 
15673         Free pad templates, fixes a couple of leaks.
15674
15675 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15676
15677         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15678
15679         * gst/gstpad.c: (gst_pad_get_property):
15680           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15681           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15682           (#321452)
15683
15684 2005-11-15  Wim Taymans  <wim@fluendo.com>
15685
15686         * gst/gstevent.c:
15687         Small doc update.
15688
15689 2005-11-15  Andy Wingo  <wingo@pobox.com>
15690
15691         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15692
15693         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15694         using GST_CLOCK_TIME_NONE to disable base time management.
15695         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15696         time if it was NONE before.
15697         (gst_pipeline_change_state): Only munge the base time if
15698         stream_time != GST_CLOCK_TIME_NONE.
15699
15700         * check/gst/gstpipeline.c (test_base_time): Punt around the
15701         problem of the probe not being called, because that's not the
15702         issue I'm looking at. Add a check that setting stream_time to NONE
15703         disables base time management.
15704         
15705 2005-11-15  Wim Taymans  <wim@fluendo.com>
15706
15707         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15708         segment_stop == -1 at startup.
15709
15710         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15711         (gst_base_transform_change_state):
15712         Init segment values at start.
15713
15714 2005-11-15  Wim Taymans  <wim@fluendo.com>
15715
15716         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15717         0 segment values are 0 in any format.
15718
15719         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15720         * gst/base/gstbasetransform.h:
15721         Parse newsegment correctly in basetransform
15722
15723         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15724         Sync to clock using updated segment values.
15725
15726 2005-11-15  Andy Wingo  <wingo@pobox.com>
15727
15728         * check/gst/gstpipeline.c (test_base_time): Add check that the
15729         base time and stream time are reset correctly.
15730
15731 2005-11-15  Wim Taymans  <wim@fluendo.com>
15732
15733         * docs/design/part-TODO.txt:
15734         Some more TODO items.
15735
15736 2005-11-15  Andy Wingo  <wingo@pobox.com>
15737
15738         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15739         error if the user selected "no clock" as the clocking method.
15740
15741         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15742         timestamps with live capture.
15743
15744         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15745         is 0 but we are a live source, timestamp the buffers using the
15746         element's clock.
15747
15748 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15749
15750         * docs/gst/gstreamer-sections.txt:
15751         * gst/gsterror.c:
15752         * gst/gstghostpad.c:
15753         * gst/gstobject.h:
15754         * gst/gstxml.c:
15755           more section docs
15756
15757 2005-11-14  Wim Taymans  <wim@fluendo.com>
15758
15759         * common/gst.supp:
15760           add suppressions from Wim's Debian machine
15761
15762 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15763
15764         * common/gst.supp:
15765           add suppressions from Andy's AMD64 Ubuntu machine
15766
15767 2005-11-14  Andy Wingo  <wingo@pobox.com>
15768
15769         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15770         STATE_LOCK not necessary. Fixes #311489.
15771
15772         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15773         #305291.
15774
15775         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15776         this function is not implemented.
15777
15778 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15779
15780         * gst/base/gstbasetransform.c:
15781         (gst_base_transform_prepare_output_buf):
15782         Ref the source pad caps while we need them.
15783         Fixes (#321386)
15784
15785 2005-11-11  Wim Taymans  <wim@fluendo.com>
15786
15787         * docs/gst/gstreamer-sections.txt:
15788         Added some docs for GstCollectData.
15789
15790         * gst/base/gstadapter.c:
15791         Some small code example fix.
15792
15793         * gst/base/gstcollectpads.c:
15794         * gst/base/gstcollectpads.h:
15795         Document some more.
15796
15797 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15798
15799         * configure.ac: back to HEAD
15800
15801 === release 0.9.5 ===
15802
15803 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15804
15805         * configure.ac:
15806           releasing 0.9.5, "Bike Lunch Day"
15807
15808 2005-11-11  Wim Taymans  <wim@fluendo.com>
15809
15810         * gst/gstbuffer.c: (_gst_buffer_copy):
15811         Copy more flags.
15812
15813         * gst/gstcaps.c: (gst_caps_is_equal):
15814         Fix some docs.
15815         Make _is_equal fast in the trivial cases.
15816
15817         * gst/gstminiobject.c:
15818         * gst/gstminiobject.h:
15819         More docs. Spifify .h file.
15820
15821         * gst/gstutils.c:
15822         Small doc update.
15823
15824 2005-11-11  Wim Taymans  <wim@fluendo.com>
15825
15826         * gst/base/gstbasetransform.c:
15827         (gst_base_transform_prepare_output_buf),
15828         (gst_base_transform_handle_buffer):
15829         Small cleanups.
15830         If we're processing a buffer and need to allocate an output
15831         buffer, we cannot accept a format change. If we did get a 
15832         format change, we have to alloc a buffer ourselves of the 
15833         right size.
15834
15835 2005-11-11  Wim Taymans  <wim@fluendo.com>
15836
15837         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15838         While checking the flag for reentrancy in the gstcaps function
15839         is nice to detect recursive invocations, it also makes it 
15840         impossible to call getcaps from multiple threads, which must be
15841         possible. So, checking for recursive calls has to go.
15842
15843 2005-11-11  Michael Smith <msmith@fluendo.com>
15844
15845         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15846           Don't sync on buffers that fall partially outside our current
15847           segment. Prevents an assertion failure/abort playing some files.
15848
15849 2005-11-10  Andy Wingo  <wingo@pobox.com>
15850
15851         * check/gst/gstbin.c (test_message_state_changed_children): Style
15852         fix..
15853
15854         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15855         gst_bus_poll with the signal watch. Ensures that poll and a signal
15856         watch see the same messages.
15857
15858         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15859         a poll and a watch at the same time get the same messages.
15860
15861 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15862
15863         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15864         * gst/gstcaps.c: (gst_caps_intersect):
15865           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15866           and it's not needed.
15867
15868 2005-11-10  Wim Taymans  <wim@fluendo.com>
15869
15870         * docs/design/part-TODO.txt:
15871         Updated todo.
15872
15873 2005-11-10  Wim Taymans  <wim@fluendo.com>
15874
15875         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15876         * gst/base/gstbasesrc.c: (gst_base_src_wait),
15877         (gst_base_src_do_sync), (gst_base_src_get_range):
15878         Implement clock sync in base class.
15879
15880 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15881
15882         patch by: Tim-Philipp Müller <tim at centricular dot net>
15883
15884         * gst/gststructure.c: (gst_structure_parse_field),
15885         (gst_structure_from_string):
15886           Forward-port a 0.8 patch to handle escaped spaces in structure string,
15887           so that gst_parse_launch() can deal with spaces in filtered link
15888           caps (fixes #164479)
15889         * check/gst/capslist.h:
15890         * check/gst/gststructure.c: (GST_START_TEST):
15891           add unit tests for this change
15892
15893 2005-11-10  Wim Taymans  <wim@fluendo.com>
15894
15895         * docs/gst/gstreamer-sections.txt:
15896         * gst/gstelement.c:
15897         * gst/gstelement.h:
15898         Fix docs, move some STATE macros to private.
15899
15900 2005-11-10  Wim Taymans  <wim@fluendo.com>
15901
15902         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15903         Added check for bug #317341
15904
15905         * gst/gstbuffer.c:
15906         * gst/gstbuffer.h:
15907         Some more spiffifying.
15908
15909         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15910         Call peer linkfunction if we are a source pad. Totally fixes
15911         #317341
15912
15913         * gst/gstpad.c:
15914         Update docs, source pads should call the peer linkfunction
15915         so they can atomically perform the pad link.
15916
15917 2005-11-09  Wim Taymans  <wim@fluendo.com>
15918
15919         * gst/gstbuffer.c:
15920         * gst/gstbuffer.h:
15921         Uber-spiffy-spiffify some more.
15922
15923 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
15924
15925         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15926         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15927         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15928         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15929         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15930         * gst/gstpad.c: (gst_pad_init):
15931           Use GST_DEBUG_FUNCPTR() more extensively.
15932
15933 2005-11-09  Wim Taymans  <wim@fluendo.com>
15934
15935         * gst/gstobject.c: (gst_object_class_init):
15936         * gst/gstobject.h:
15937         Documentation fixes.
15938
15939 2005-11-09  Edward Hervey  <edward@fluendo.com>
15940
15941         * gst/gsttypefindfactory.c:
15942         Fix docs.
15943         
15944 2005-11-09  Edward Hervey  <edward@fluendo.com>
15945
15946         * gst/base/gsttypefindhelper.c:
15947         * gst/gsttypefind.c:
15948         * gst/gsttypefind.h:
15949         Fix docs.
15950
15951 2005-11-09  Wim Taymans  <wim@fluendo.com>
15952
15953         * gst/gstiterator.c:
15954         Fix revision data.
15955
15956         * gst/gsttask.c:
15957         * gst/gsttask.h:
15958         Fix docs.
15959
15960 2005-11-09  Wim Taymans  <wim@fluendo.com>
15961
15962         * gst/gstevent.h:
15963         * gst/gsturi.h:
15964         Fix docs.
15965
15966 2005-11-09  Wim Taymans  <wim@fluendo.com>
15967
15968         * docs/gst/gstreamer-sections.txt:
15969         Moved the message async delivery private lock and cond
15970         to the private section.
15971
15972         * gst/gstmessage.c:
15973         * gst/gstmessage.h:
15974         Fixed docs.
15975
15976 2005-11-09  Edward Hervey  <edward@fluendo.com>
15977
15978         * docs/gst/gstreamer-sections.txt:
15979         * gst/gsturi.c:
15980         * gst/gsturi.h:
15981         Document GstURIHandler
15982
15983 2005-11-09  Wim Taymans  <wim@fluendo.com>
15984
15985         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15986         (gst_iterator_find_custom):
15987         * gst/gstiterator.h:
15988         Fix iterator docs.
15989
15990 2005-11-09  Wim Taymans  <wim@fluendo.com>
15991
15992         * gst/gstbin.h:
15993         Document another field.
15994
15995         * gst/gststructure.c:
15996         * gst/gststructure.h:
15997         Document.
15998
15999 2005-11-09  Wim Taymans  <wim@fluendo.com>
16000
16001         * gst/gstbin.h:
16002         Documented structs.
16003
16004 2005-11-09  Wim Taymans  <wim@fluendo.com>
16005
16006         * docs/gst/gstreamer-sections.txt:
16007         Added some new macros.
16008
16009         * gst/gstclock.c:
16010         * gst/gstclock.h:
16011         * gst/gstobject.h:
16012         Docs updates.
16013
16014 2005-11-09  Wim Taymans  <wim@fluendo.com>
16015
16016         * docs/design/part-TODO.txt:
16017         Some more items for the TODO
16018
16019         * gst/gstcaps.c:
16020         * gst/gstcaps.h:
16021         Document GstCaps.
16022
16023 2005-11-09  Andy Wingo  <wingo@pobox.com>
16024
16025         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16026         to work on something else now tho...
16027
16028         * gst/base/gstadapter.c: More adapter docs.
16029
16030         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16031         (gst_file_sink_stop): New functions, replace the state change
16032         handler.
16033         (gst_file_sink_class_init): Hook up the start and stop functions.
16034         (gst_file_sink_base_init): Don't set the state change handler any
16035         more. It was a bit ugly too, being set from here...
16036         (gst_file_sink_get_property, gst_file_sink_set_property):
16037         Cleanups...
16038         (gst_file_sink_set_location): More robust check that doesn't call
16039         GST_STATE. Ugggggg.
16040
16041 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16042
16043         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16044           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16045
16046 2005-11-08  Wim Taymans  <wim@fluendo.com>
16047
16048         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16049         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16050         (gst_base_sink_chain), (gst_base_sink_change_state):
16051         * gst/base/gstbasesink.h:
16052         * gst/base/gstbasesrc.h:
16053         * gst/gstelement.h:
16054         * gst/gstevent.h:
16055         Avoid excessive typechecking in macros.
16056
16057         * gst/gstminiobject.c: (gst_mini_object_get_type),
16058         (gst_mini_object_init), (gst_mini_object_new),
16059         (gst_mini_object_free):
16060         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16061         (gst_object_finalize):
16062         Remove cruft code, optimize alloc_trace.
16063
16064 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16065
16066         * docs/faq/gst-uninstalled:
16067           fix up PS1 for systems that try to reset it
16068
16069 2005-11-07  Wim Taymans  <wim@fluendo.com>
16070
16071         * gst/base/gstbasesrc.c: (gst_base_src_init),
16072         (gst_base_src_get_range):
16073         Set the segment_end to -1 initially. Fixed typefind.
16074
16075 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16076
16077         * gst/base/gstadapter.c:
16078           Debug category should be 'adapter', not 'GstAdapter'.
16079           
16080         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16081         (gst_collectpads_class_init), (gst_collectpads_init),
16082         (gst_collectpads_peek), (gst_collectpads_pop),
16083         (gst_collectpads_event), (gst_collectpads_chain):
16084           Add debug category and some debugging output. Use boilerplate
16085           macros. Remove some extraneous words from docs.
16086
16087 2005-11-05  Andy Wingo  <wingo@pobox.com>
16088
16089         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16090         macro.
16091
16092 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16093
16094         * docs/gst/gstreamer-sections.txt:
16095         * gst/gstcaps.h:
16096         * gst/gstinfo.c:
16097         * gst/gstminiobject.h:
16098         * gst/gstobject.h:
16099         * gst/gstutils.h:
16100           more docs added
16101
16102 2005-11-04  Wim Taymans  <wim@fluendo.com>
16103
16104         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16105         Small update to stop at the configured segment_end
16106         position.
16107
16108 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16109
16110         * gst/gstregistry.c:
16111         * gst/gstregistry.h:
16112           added missing docs
16113
16114 2005-11-04  Edward Hervey  <edward@fluendo.com>
16115
16116         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16117         Check if we are doing a segment seek and have arrived at the
16118         end of that segment.
16119
16120 2005-11-04  Wim Taymans  <wim@fluendo.com>
16121
16122         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16123         Don't leak a mutex unlock in case of an error.
16124
16125         * gst/gstbus.h:
16126         Doc fixes.
16127
16128 2005-11-04  Wim Taymans  <wim@fluendo.com>
16129
16130         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16131         (gst_bus_post):
16132         Get the context to wake up only once.
16133
16134 2005-11-03  Wim Taymans  <wim@fluendo.com>
16135
16136         * check/states/sinks.c: (GST_START_TEST):
16137         Uncomment fixed check.
16138
16139         * docs/design/part-TODO.txt:
16140         Updated TODO.
16141
16142         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16143         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16144         (gst_base_sink_get_position):
16145         If we are going to PLAYING, post the right pending state
16146         when we post the intermediate paused message.
16147
16148         * gst/gstelement.c: (gst_element_continue_state),
16149         (gst_element_set_state_func), (gst_element_change_state):
16150         Don't post state changes that were between the same state
16151         and were not ASYNC.
16152
16153 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16154
16155         * docs/gst/gstreamer-sections.txt:
16156         * gst/gstcaps.h:
16157         * gst/gstinfo.c:
16158         * gst/gstminiobject.h:
16159         * gst/gstobject.h:
16160         * gst/gstutils.h:
16161           more docs and doc style fixes
16162
16163 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16164
16165         * docs/gst/gstreamer-sections.txt:
16166         * gst/gstelement.c:
16167         * gst/gstminiobject.c:
16168         doc fixes
16169
16170 2005-11-03  Andy Wingo  <wingo@pobox.com>
16171
16172         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16173         state-changed messages actually have the right order and the right
16174         values.
16175
16176 2005-11-03  Wim Taymans  <wim@fluendo.com>
16177
16178         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16179         Added some more checks. Specifically the case where NO_PREROLL
16180         elements are in the pipeline.
16181
16182         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16183         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16184         (gst_base_sink_get_position):
16185         Post READY->PAUSED state change messages too.
16186         Fix bug where VOID was posted as pending state...
16187
16188         * gst/gstbin.c: (gst_bin_recalc_state):
16189         use _element_continue_state() to continue the state change.
16190
16191         * gst/gstelement.c: (gst_element_continue_state),
16192         (gst_element_commit_state), (gst_element_set_state_func),
16193         (gst_element_change_state), (gst_element_change_state_func):
16194         Lots of state change cleanups, assign the STATE_RETURN in
16195         a new continue_state() function that also propagates the
16196         last return value from a state change to the app.
16197         Update some debug statements with proper category.
16198
16199 2005-11-03  Wim Taymans  <wim@fluendo.com>
16200
16201         * docs/design/part-events.txt:
16202         * docs/design/part-gstpipeline.txt:
16203         * docs/design/part-messages.txt:
16204         * docs/design/part-overview.txt:
16205         * docs/design/part-seeking.txt:
16206         * docs/design/part-states.txt:
16207         * docs/design/part-trickmodes.txt:
16208         * docs/manual/advanced-position.xml:
16209         Small docs updates.
16210
16211         * gst/gstobject.h:
16212         People think !! is ugly, this looks better.
16213
16214         * gst/gstpad.c: (gst_pad_set_blocked_async):
16215         Remove !! since it's fixed elsewhere now.
16216
16217 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16218
16219         * gst/gstminiobject.h:
16220         * gst/gstobject.h:
16221           Add !! to _FLAG_IS_SET macros to make the result boolean.
16222
16223 2005-11-03  Edward Hervey  <edward@fluendo.com>
16224
16225         * gst/gstpad.c: (gst_pad_set_blocked_async):
16226         comparing a flag and a gboolean rarely returns coherent results...
16227         Added two characters (!!) to make that work correctly.
16228         
16229 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16230
16231         * gst/gstbus.c: (gst_bus_class_init):
16232           Fix some typos.
16233           
16234         * gst/gstqueue.c: (gst_queue_loop):
16235           Don't assume a miniobject that isn't a buffer is an
16236           event (it could be that there is a refcounting
16237           problem somewhere and the pointer is stale and
16238           refers to an already destroyed miniobject).
16239
16240 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16241
16242         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16243
16244 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16245
16246         * docs/manual/advanced-position.xml:
16247           Update seek example and explanations to current 0.9 API.
16248
16249         * gst/elements/gsttypefindelement.c:
16250         (gst_type_find_element_activate):
16251           Remove FIXME comment now that the found caps
16252           are unreffed.
16253
16254 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16255
16256         * gst/gstregistryxml.c: (load_feature):
16257           Add another GST_STR_NULL instance
16258
16259 2005-11-02  Edward Hervey  <edward@fluendo.com>
16260
16261         * gst/gstpad.c: (handle_pad_block):
16262         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16263         
16264 2005-11-02  Wim Taymans  <wim@fluendo.com>
16265
16266         * gst/gstbin.c:
16267         Fix typo in docs.
16268
16269         * gst/gstelement.c: (gst_element_commit_state):
16270         Remove unused value.
16271
16272         * gst/gstiterator.c:
16273         Mention that the returned element is reffed in the docs.
16274
16275 2005-11-02  Wim Taymans  <wim@fluendo.com>
16276
16277         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16278         (gst_pad_push), (gst_pad_push_event):
16279         Unlock blocked pads when they are flushed.
16280
16281 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16282
16283         * docs/README:
16284         * docs/gst/gstreamer-sections.txt:
16285         * gst/gstbin.c:
16286           doc updates
16287         * gst/gstregistry.c: (gst_registry_scan_path_level):
16288           fix for a nasty little missed situation where an installed plug-in
16289           which was in the cache did not get overridden by an uninstalled one
16290           which was earlier in the plugin path because the newly created plugin
16291           for the uninstalled one (not in the registry) didn't get its
16292           ->registered set to TRUE
16293
16294 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16295
16296         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16297         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16298         (gst_collectpads_is_active), (gst_collectpads_collect),
16299         (gst_collectpads_collect_range), (gst_collectpads_start),
16300         (gst_collectpads_stop), (gst_collectpads_peek),
16301         (gst_collectpads_pop), (gst_collectpads_available),
16302         (gst_collectpads_read), (gst_collectpads_flush):
16303           Guard public API with assertions.
16304         
16305         * gst/gstpad.c:
16306           Fix docs for gst_pad_set_link_function().
16307
16308 2005-11-02  Johan Dahlin  <johan@gnome.org>
16309
16310         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16311         Unref found_caps after we used it.
16312
16313 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16314
16315         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16316           Don't try to ref NULL.
16317
16318 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16319
16320         * win32/common/config.h.in:
16321           provide a GST_FUNCTION that just gives a string for now
16322
16323 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16324
16325         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16326         (gst_object_flags_get_type), (register_gst_bin_flags),
16327         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16328         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16329         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16330         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16331         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16332         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16333         (gst_clock_flags_get_type), (register_gst_state),
16334         (gst_state_get_type), (register_gst_state_change_return),
16335         (gst_state_change_return_get_type), (register_gst_state_change),
16336         (gst_state_change_get_type), (register_gst_element_flags),
16337         (gst_element_flags_get_type), (register_gst_core_error),
16338         (gst_core_error_get_type), (register_gst_library_error),
16339         (gst_library_error_get_type), (register_gst_resource_error),
16340         (gst_resource_error_get_type), (register_gst_stream_error),
16341         (gst_stream_error_get_type), (register_gst_event_type),
16342         (gst_event_type_get_type), (register_gst_seek_type),
16343         (gst_seek_type_get_type), (register_gst_seek_flags),
16344         (gst_seek_flags_get_type), (register_gst_format),
16345         (gst_format_get_type), (register_gst_index_certainty),
16346         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16347         (gst_index_entry_type_get_type),
16348         (register_gst_index_lookup_method),
16349         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16350         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16351         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16352         (gst_index_flags_get_type), (register_gst_debug_level),
16353         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16354         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16355         (gst_iterator_result_get_type), (register_gst_iterator_item),
16356         (gst_iterator_item_get_type), (register_gst_message_type),
16357         (gst_message_type_get_type), (register_gst_mini_object_flags),
16358         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16359         (gst_pad_link_return_get_type), (register_gst_flow_return),
16360         (gst_flow_return_get_type), (register_gst_activate_mode),
16361         (gst_activate_mode_get_type), (register_gst_pad_direction),
16362         (gst_pad_direction_get_type), (register_gst_pad_flags),
16363         (gst_pad_flags_get_type), (register_gst_pad_presence),
16364         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16365         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16366         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16367         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16368         (gst_plugin_flags_get_type), (register_gst_rank),
16369         (gst_rank_get_type), (register_gst_query_type),
16370         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16371         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16372         (gst_tag_flag_get_type), (register_gst_task_state),
16373         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16374         (gst_alloc_trace_flags_get_type),
16375         (register_gst_type_find_probability),
16376         (gst_type_find_probability_get_type), (register_gst_uri_type),
16377         (gst_uri_type_get_type), (register_gst_parse_error),
16378         (gst_parse_error_get_type):
16379         * win32/common/gstversion.h:
16380           update win32 copies
16381
16382 2005-11-01  Luca Ognibene  <luogni@tin.it>
16383
16384         * gst/gst.c:
16385           fix docs. popt is dead, long live GOption.
16386
16387 2005-10-31  Wim Taymans  <wim@fluendo.com>
16388
16389         * gst/gstbuffer.h:
16390         Small doc fix.
16391
16392 2005-10-31  Andy Wingo  <wingo@pobox.com>
16393
16394         * Boo!
16395
16396         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16397
16398         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16399         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16400         the possibility of deadlocks here if code calling notify() or
16401         set() has a lock that can be taken in another notify handler (ABBA
16402         with class lock and e.g. python GIL state lock).
16403
16404 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16405
16406         * gst/gstbus.c: Doc updates.
16407
16408 2005-10-28  Wim Taymans  <wim@fluendo.com>
16409
16410         * docs/design/part-TODO.txt:
16411         * gst/gstiterator.c:
16412         * gst/gstsystemclock.c:
16413         * gst/gstsystemclock.h:
16414         Doc updates.
16415
16416 2005-10-28  Edward Hervey  <edward@fluendo.com>
16417
16418         * docs/gst/gstreamer-docs.sgml:
16419         * docs/gst/gstreamer-sections.txt:
16420         the GstURIType documentation page is private, it only defines GstURIType
16421         which should be defined in the GstURIHandler page
16422         
16423 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16424
16425         * gst/gstbin.c: (gst_bin_class_init):
16426         * gst/gstbin.h:
16427         * gst/gstutils.c:
16428         Documentation updates.
16429
16430 2005-10-28  Wim Taymans  <wim@fluendo.com>
16431
16432         * docs/gst/gstreamer-sections.txt:
16433         * gst/gstclock.c:
16434         * gst/gstclock.h:
16435         Documented the clocks.
16436
16437 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16438
16439         * docs/gst/gstreamer-sections.txt:
16440           move some macros to private sections
16441         * gst/gstminiobject.c:
16442         * gst/gstminiobject.h:
16443           add descriptions provided by ds and some more
16444         * gst/gstpad.h:
16445           mark macro as to be removed
16446
16447 2005-10-28  Wim Taymans  <wim@fluendo.com>
16448
16449         * docs/design/part-TODO.txt:
16450         Add an item to TODO.
16451
16452         * gst/gstiterator.c: (gst_iterator_fold),
16453         (gst_iterator_find_custom):
16454         * gst/gstiterator.h:
16455         Add iterator docs.
16456
16457 2005-10-28  Wim Taymans  <wim@fluendo.com>
16458
16459         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16460         (gst_base_transform_init):
16461         Don't leak class.
16462
16463         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16464         An EOS event marks the queue as completely filled.
16465
16466 2005-10-27  Wim Taymans  <wim@fluendo.com>
16467
16468         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16469         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16470         Some more debugging.
16471
16472         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16473         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16474         (gst_base_transform_event), (gst_base_transform_getrange),
16475         (gst_base_transform_chain):
16476         * gst/base/gstbasetransform.h:
16477         Fix debugging,
16478         Protect transform and concurrent buffer alloc with a new lock.
16479         Try not to break ABI/API.
16480
16481 2005-10-27  Wim Taymans  <wim@fluendo.com>
16482
16483         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16484         (gst_base_src_init), (gst_base_src_query),
16485         (gst_base_src_default_newsegment),
16486         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16487         (gst_base_src_send_event), (gst_base_src_event_handler),
16488         (gst_base_src_pad_get_range), (gst_base_src_loop),
16489         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16490         (gst_base_src_start), (gst_base_src_deactivate),
16491         (gst_base_src_activate_push), (gst_base_src_change_state):
16492         Move some stuff around and cleanup things.
16493
16494 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16495
16496         * gst/base/gstbasesrc.c: (gst_base_src_query):
16497           Add missing break statements.
16498
16499 2005-10-27  Wim Taymans  <wim@fluendo.com>
16500
16501         * check/gst/gstbin.c: (GST_START_TEST):
16502         An extra refcount is taken in basesrc.
16503
16504         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16505         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16506         (gst_base_src_loop):
16507         Small cleanups, check for flushing after being unlocked from the 
16508         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16509         Don't send out EOS when going to READY.
16510
16511 2005-10-27  Wim Taymans  <wim@fluendo.com>
16512
16513         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16514         (gst_base_sink_get_position):
16515         Some more debug.
16516
16517         * gst/gstbin.c: (message_check), (bin_replace_message),
16518         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16519         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16520         (bin_query_duration_init), (bin_query_duration_fold),
16521         (bin_query_duration_done), (bin_query_generic_fold),
16522         (gst_bin_query):
16523         * tools/gst-launch.c: (main):
16524         Remove old option.
16525
16526 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16527
16528         * examples/controller/audio-example.c: (main):
16529         * examples/queue/queue.c: (event_loop):
16530         * gst/base/gstbasetransform.h:
16531         * gst/gstelement.c: (gst_element_send_event):
16532         * gst/gstevent.h:
16533         * gst/gstpad.c: (gst_pad_send_event):
16534           fixing examples
16535           fixing docs typos
16536           changing log priority in error situations
16537
16538 2005-10-25  Wim Taymans  <wim@fluendo.com>
16539
16540         * gst/gstbin.c: (message_check), (bin_replace_message),
16541         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16542         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16543         (bin_query_duration_init), (bin_query_duration_fold),
16544         (bin_query_duration_done), (bin_query_generic_fold),
16545         (gst_bin_query):
16546         Some doc and debug updates.
16547         Cache previously requested query DURATION for speed. invalidate
16548         cached duration if element posts a DURATION message.
16549
16550 2005-10-25  Wim Taymans  <wim@fluendo.com>
16551
16552         * docs/design/part-TODO.txt:
16553         Update TODO.
16554
16555         * gst/gstbin.c: (message_check), (bin_replace_message),
16556         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16557         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16558         (bin_query_duration_init), (bin_query_duration_fold),
16559         (bin_query_duration_done), (bin_query_generic_fold),
16560         (gst_bin_query):
16561         Handle SEGMENT_START/DONE messages correctly.
16562         More evolved query algorithm that handles duration queries
16563         correctly.
16564
16565         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16566         (gst_element_get_state_func), (gst_element_abort_state),
16567         (gst_element_commit_state), (gst_element_lost_state):
16568         Some more debugging.
16569
16570         * gst/gstmessage.h:
16571         Added doc.
16572
16573 2005-10-25  Wim Taymans  <wim@fluendo.com>
16574
16575         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16576         Don't use invalid stream_time.
16577
16578         * gst/gstevent.c: (gst_event_new_newsegment):
16579         stream_time in newsegment cannot be undefined.
16580
16581 2005-10-24  Wim Taymans  <wim@fluendo.com>
16582
16583         * gst/gstbus.c:
16584         Doc fix.
16585
16586         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16587         (gst_queue_loop):
16588         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16589
16590 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16591
16592         * docs/libs/tmpl/gstdparam.sgml:
16593         * docs/libs/tmpl/gstdplinint.sgml:
16594         * docs/libs/tmpl/gstdpman.sgml:
16595         * docs/libs/tmpl/gstdpsmooth.sgml:
16596         * docs/libs/tmpl/gstunitconvert.sgml:
16597           these are obsolete
16598
16599 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16600
16601         * configure.ac:
16602           back to HEAD
16603
16604 === release 0.9.4 ===
16605
16606 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16607
16608         * configure.ac:
16609           releasing 0.9.4, "Tyrannosaurus Rex"
16610
16611 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16612
16613         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16614         (gst_file_sink_get_current_offset):
16615           Use fseeko() and ftello() if available. When falling back on
16616           lseek() to get the current offset, fflush() first to make sure
16617           everything is up-to-date and we get the right offset.
16618
16619 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16620
16621         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16622         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16623         * gst/gsterror.c: (_gst_stream_errors_init):
16624         * gst/gsterror.h:
16625         * gst/gstqueue.c: (gst_queue_loop):
16626         * po/POTFILES.in:
16627           remove prematurely added error category and clean up the instances
16628
16629 2005-10-21  Wim Taymans  <wim@fluendo.com>
16630
16631         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16632         (gst_base_sink_get_position), (gst_base_sink_query),
16633         (gst_base_sink_change_state):
16634         Simply set the right flag when going to playing, that's all
16635         we need to do instead of calling a function inside the object
16636         lock (that could take the lock as well and deadlock)
16637
16638 2005-10-21  Wim Taymans  <wim@fluendo.com>
16639
16640         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16641         (gst_base_src_loop):
16642         Don't warn, the peer element knows what to do best when
16643         the seek failed, it might try something else.
16644
16645 2005-10-21  Wim Taymans  <wim@fluendo.com>
16646
16647         * gst/base/gstbasesrc.c: (gst_base_src_init),
16648         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16649         Fix seeking.
16650
16651 2005-10-21  Wim Taymans  <wim@fluendo.com>
16652
16653         * docs/design/part-segments.txt:
16654         More docs.
16655
16656         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16657         Correctly set caps, even on the subbufer.
16658
16659 2005-10-21  Wim Taymans  <wim@fluendo.com>
16660
16661         * docs/gst/gstreamer-docs.sgml:
16662         * docs/gst/gstreamer-sections.txt:
16663         * gst/gstelement.h:
16664         * gst/gstevent.c:
16665         * gst/gstevent.h:
16666         * gst/gstmessage.h:
16667         * gst/gstpad.h:
16668         * gst/gstparse.h:
16669         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16670         * gst/gsttask.h:
16671         * gst/gstutils.c:
16672         * gst/gstutils.h:
16673         And 2% more doc coverage.
16674
16675 2005-10-21  Andy Wingo  <wingo@pobox.com>
16676
16677         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16678         position reporting.
16679
16680 2005-10-20  Wim Taymans  <wim@fluendo.com>
16681
16682         * gst/gsterror.c: (gst_error_get_message):
16683         * gst/gstparse.h:
16684         * gst/gstquery.h:
16685         * gst/gststructure.c:
16686         * gst/gsttrace.c:
16687         * gst/gstutils.c:
16688         More docs.
16689
16690 2005-10-20  Wim Taymans  <wim@fluendo.com>
16691
16692         * gst/gstbuffer.h:
16693         * gst/gstpad.c:
16694         * gst/gstparse.c:
16695         Another 1% more coverage.
16696
16697 2005-10-20  Wim Taymans  <wim@fluendo.com>
16698
16699         * docs/gst/gstreamer-sections.txt:
16700         * gst/gstelement.c: (gst_element_get_state_func),
16701         (gst_element_abort_state), (gst_element_commit_state),
16702         (gst_element_lost_state):
16703         * gst/gstevent.h:
16704         * gst/gstquery.c: (gst_query_set_position),
16705         (gst_query_parse_position), (gst_query_set_duration),
16706         (gst_query_parse_duration), (gst_query_new_convert):
16707         * gst/gstutils.c:
16708         Yay! 1% more docs coverage.
16709
16710 2005-10-20  Wim Taymans  <wim@fluendo.com>
16711
16712         * gst/gstpad.h:
16713         * gst/gstquery.c: (gst_query_set_position),
16714         (gst_query_parse_position), (gst_query_set_duration),
16715         (gst_query_parse_duration), (gst_query_new_convert):
16716         * gst/gstquery.h:
16717         * gst/gstutils.c: (gst_element_query_convert):
16718         * gst/gstutils.h:
16719         Docs and consistency fixes.
16720
16721 2005-10-20  Wim Taymans  <wim@fluendo.com>
16722
16723         * gst/gsttask.c:
16724         * gst/gsttask.h:
16725         More docs.
16726
16727 2005-10-20  Wim Taymans  <wim@fluendo.com>
16728
16729         * gst/gstbin.c: (message_check), (bin_replace_message),
16730         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16731         (update_degree), (gst_bin_sort_iterator_next),
16732         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16733         Reworked the message handling a bit, cache the messages instead of
16734         only the senders. alows us to do more in the future.
16735
16736 2005-10-20  Wim Taymans  <wim@fluendo.com>
16737
16738         * docs/design/part-TODO.txt:
16739         Update TODO
16740
16741         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16742         (gst_base_sink_query):
16743         Don't use clock time to report position when in EOS.
16744
16745 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16746
16747         * tools/gst-inspect.c: (print_interfaces),
16748         (print_element_properties_info), (print_element_info):
16749           Fix interface output with gst-inspect -a; don't print
16750           newlines after double/float properties.
16751
16752 2005-10-20  Wim Taymans  <wim@fluendo.com>
16753
16754         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16755         (gst_base_sink_query):
16756         Speed up current position calculation.
16757
16758         * gst/base/gstbasesrc.c: (gst_base_src_query),
16759         (gst_base_src_default_newsegment):
16760         Correctly set stream position in newsegment.
16761
16762         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16763         (update_degree), (gst_bin_sort_iterator_next),
16764         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16765         * gst/gstmessage.c: (gst_message_new_custom):
16766         Clean up debugging info
16767
16768         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16769         (gst_queue_loop), (gst_queue_handle_src_query):
16770         Pause task faster.
16771
16772 2005-10-19  Wim Taymans  <wim@fluendo.com>
16773
16774         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16775         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16776         Fix query handling again.
16777
16778 2005-10-19  Wim Taymans  <wim@fluendo.com>
16779
16780         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16781         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16782         * gst/base/gstbasesrc.c: (gst_base_src_query):
16783         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16784         * gst/elements/gsttypefindelement.c:
16785         (gst_type_find_handle_src_query), (find_element_get_length),
16786         (gst_type_find_element_activate):
16787         API change fix.
16788
16789         * gst/gstquery.c: (gst_query_new_position),
16790         (gst_query_set_position), (gst_query_parse_position),
16791         (gst_query_new_duration), (gst_query_set_duration),
16792         (gst_query_parse_duration), (gst_query_set_segment),
16793         (gst_query_parse_segment):
16794         * gst/gstquery.h:
16795         Bundling query position/duration is not a good idea since duration
16796         does not change much and we don't want to recalculate it for every
16797         position query, so they are separated again..
16798         Base value in segment query is not needed.
16799
16800         * gst/gstqueue.c: (gst_queue_handle_src_query):
16801         * gst/gstutils.c: (gst_element_query_position),
16802         (gst_element_query_duration), (gst_pad_query_position),
16803         (gst_pad_query_duration):
16804         * gst/gstutils.h:
16805         Updates for query API change.
16806         Added some docs here and there.
16807
16808 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16809
16810         * check/gst/gstbin.c: (GST_START_TEST):
16811         * check/gst/gstghostpad.c: (GST_START_TEST):
16812         * check/pipelines/cleanup.c: (GST_START_TEST):
16813           wait on thread to die so we can check refcount correctly
16814
16815 2005-10-18  Wim Taymans  <wim@fluendo.com>
16816
16817         * check/pipelines/stress.c: (GST_START_TEST):
16818         Make check a little more time consuming.
16819
16820 2005-10-18  Wim Taymans  <wim@fluendo.com>
16821
16822         * check/Makefile.am:
16823         * check/pipelines/stress.c: (GST_START_TEST),
16824         (simple_launch_lines_suite), (main):
16825         Small state change torture test.
16826
16827         * docs/design/part-states.txt:
16828         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16829         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16830         (gst_base_sink_change_state):
16831         Never take state lock from streaming thread, clean up ugly
16832         hacks. Unfortunatly core does not yet support nice ways to
16833         async commit state.
16834         
16835         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16836         (bin_bus_handler):
16837         Start state recalc if a STATE_DIRTY message is posted, but only
16838         on the toplevel bin.
16839
16840         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16841         (gst_element_get_state_func), (gst_element_abort_state),
16842         (gst_element_commit_state), (gst_element_lost_state),
16843         (gst_element_set_state_func), (gst_element_change_state):
16844         * gst/gstelement.h:
16845         State variables are now protected with the LOCK, the state
16846         lock is only used to serialize _set_state().
16847
16848 2005-10-18  Wim Taymans  <wim@fluendo.com>
16849
16850         * check/gst/gstbin.c: (GST_START_TEST):
16851         * check/gst/gstmessage.c: (GST_START_TEST):
16852         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16853         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16854         (bin_bus_handler):
16855         * gst/gstelement.c: (gst_element_abort_state),
16856         (gst_element_commit_state), (gst_element_lost_state):
16857         * gst/gstmessage.c: (gst_message_new_state_changed),
16858         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16859         (gst_message_new_segment_done), (gst_message_new_duration),
16860         (gst_message_parse_state_changed),
16861         (gst_message_parse_segment_start),
16862         (gst_message_parse_segment_done), (gst_message_parse_duration):
16863         * gst/gstmessage.h:
16864         * tools/gst-launch.c: (event_loop):
16865         Seriously, this is better than a previous commit as we only need
16866         to notify the fact that an element changed state in a streaming
16867         thread, marking the state of the parents dirty, hence the 
16868         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16869         message.
16870
16871 2005-10-18  Wim Taymans  <wim@fluendo.com>
16872
16873         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16874         (gst_bin_recalc_func):
16875         * gst/gstelement.c: (gst_element_set_clock),
16876         (gst_element_abort_state), (gst_element_lost_state):
16877         Cleanups, prepare for state change fixes.
16878
16879 2005-10-18  Wim Taymans  <wim@fluendo.com>
16880
16881         * gst/gstbin.h:
16882         * gst/gstelement.c: (gst_element_class_init),
16883         (gst_element_set_state), (gst_element_set_state_func):
16884         * gst/gstelement.h:
16885         Pending ABI changes.
16886         GThreadPool in GstBinClass to monitor async state changes.
16887         state_cookie in GstElement to detect concurrent gst/set state.
16888         set_state is now virtual too in case a very complicated element
16889         has to be constructed.
16890
16891 2005-10-18  Wim Taymans  <wim@fluendo.com>
16892
16893         * check/gst/gstbin.c: (GST_START_TEST):
16894         * check/gst/gstmessage.c: (GST_START_TEST):
16895         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16896         * gst/gstbin.c: (bin_bus_handler):
16897         * gst/gstelement.c: (gst_element_commit_state),
16898         (gst_element_lost_state):
16899         * gst/gstmessage.c: (gst_message_new_state_changed),
16900         (gst_message_new_segment_start), (gst_message_new_segment_done),
16901         (gst_message_new_duration), (gst_message_parse_state_changed),
16902         (gst_message_parse_segment_start),
16903         (gst_message_parse_segment_done), (gst_message_parse_duration):
16904         * gst/gstmessage.h:
16905         * tools/gst-launch.c: (event_loop):
16906         Make messages future proof.
16907         state-change gets a flag if it was a message comming from the
16908         streaming thread.
16909         segment-start/stop can also be specified in other formats.
16910         A message to notify an app that a pipeline changed playback 
16911         duration.
16912         Also fix a GstMessage leak in -launch
16913
16914 2005-10-18  Andy Wingo  <wingo@pobox.com>
16915
16916         * gst/gstelement.c (gst_element_dispose): More helpful message.
16917
16918 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16919
16920         reviewed by: <delete if not using a buddy>
16921
16922         * common/gtk-doc.mak:
16923
16924 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16925
16926         * gst/gstregistry.c: (gst_registry_scan_path_level):
16927           unref a plug-in we get that was already initialized
16928
16929 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
16930
16931         * docs/gst/gstreamer-sections.txt:
16932         * docs/libs/gstreamer-libs-sections.txt:
16933         * gst/gstelement.h:
16934           add new api entries
16935           hide internal macro
16936
16937 2005-10-17  Andy Wingo  <wingo@pobox.com>
16938
16939         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16940         cleanup.
16941
16942         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16943
16944         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16945
16946         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16947         (gst_element_get_state_func): Better debug message.
16948         (gst_element_commit_state): s/INFO/DEBUG/.
16949         (gst_element_lost_state, gst_element_change_state): 
16950
16951         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16952         (gst_message_new_custom): s/INFO/LOG/.
16953
16954 2005-10-17  Michael Smith <msmith@fluendo.com>
16955
16956         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16957           Check if end time is valid using end time, not start time.
16958
16959 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
16960
16961         * check/gst-libs/controller.c: (GST_START_TEST),
16962         (gst_controller_suite):
16963         * libs/gst/controller/gstcontroller.c:
16964         (gst_controlled_property_set_interpolation_mode):
16965         * libs/gst/controller/gstcontroller.h:
16966         * libs/gst/controller/gstinterpolation.c:
16967         * testsuite/controller/.cvsignore:
16968         * testsuite/controller/Makefile.am:
16969         * testsuite/controller/interpolator.c:
16970           merge controller testsuites
16971           fix broken tests
16972           remove mem-chunk from docs
16973
16974 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16975
16976         * gst/gstmemchunk.c:
16977         * gst/gstmemchunk.h:
16978         * gst/gsttrashstack.c:
16979         * gst/gsttrashstack.h:
16980           out.  get out.  you're fired.  to the Attic !
16981
16982 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16983
16984         * gst/gstcaps.c: (gst_caps_intersect):
16985           fix signedness issues in a (hopefully) correct way
16986         * gst/gstelement.c: (gst_element_pads_activate):
16987           some debugging
16988         * gst/gstobject.c: (gst_object_set_parent):
16989           some debugging
16990
16991 2005-10-17  Julien MOUTTE  <julien@moutte.net>
16992
16993         * gst/gstvalue.h: Fix prototypes.
16994
16995 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16996
16997         * docs/gst/gstreamer-sections.txt:
16998         * gst/gst.c: (gst_version_string):
16999         * gst/gst.h:
17000         * gst/gstversion.h.in:
17001         * win32/common/libgstreamer.def:
17002           add gst_version_string ()
17003
17004 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17005
17006         * configure.ac:
17007           clean up further
17008         * gst/gst.c: (init_post):
17009         * win32/common/config.h.in:
17010           it's PLUGINDIR now
17011         * gst/gstcaps.c: (gst_caps_intersect):
17012           use gint64, the range could be bigger than a guint
17013
17014 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17015
17016         * gst/gstclock.h:
17017           document potential problem in 2038
17018
17019 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17020
17021         * gst/gstcaps.c: (gst_caps_intersect):
17022           Fix guint j diving under 0
17023
17024 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17025
17026         * configure.ac:
17027         * win32/common/config.h:
17028         * win32/common/config.h.in:
17029           check for process.h, declares getpid() on Windows
17030         * gst/gstinfo.c:
17031           include process.h if we have it
17032         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17033         * gst/gstmemchunk.h:
17034           fix signedness issues
17035         * win32/common/libgstreamer.def:
17036           fix get_type's
17037
17038 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17039
17040         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17041         fix. Because of unsigned ints, caps intersection was going nuts and
17042         trying to access structures with G_MAXUINT index. That fixes
17043         videotestsrc ! ffmpegcolorspace ! fakesink
17044         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17045         consistency.
17046
17047 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17048
17049         * configure.ac:
17050           use the gettext macro
17051         * gst/elements/gstelements.c:
17052         * gst/gst.c:
17053         * gst/indexers/gstindexers.c:
17054           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17055         * win32/common/config.h:
17056           updated config.h
17057         * win32/common/config.h.in:
17058           add the template to generate config.h
17059         * win32/common/gstenumtypes.c:
17060         * win32/common/gstversion.h:
17061           updated copies
17062
17063 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17064
17065         * gst/gst.c: (gst_version):
17066         * gst/gstversion.h.in:
17067           add the nano
17068
17069 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17070
17071         * gst/gstevent.h:
17072           Oops, add missing closing bracket.
17073
17074 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17075
17076         * configure.ac:
17077           use common m4's for argument checking
17078
17079 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17080
17081         * docs/gst/gstreamer-sections.txt:
17082         * gst/gstevent.h:
17083           Add GST_EVENT_TYPE_NAME() macro.
17084
17085 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17086
17087         * gst/gstinfo.c:
17088         * gst/gstpluginfeature.c:
17089         * gst/gsttask.c:
17090           privatize more symbols
17091
17092 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17093
17094         * configure.ac:
17095           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17096           everything that uses GStreamer API should have the includes
17097
17098 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17099
17100         * docs/gst/gstreamer-sections.txt:
17101         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17102         * gst/gstvalue.h:
17103           give each value a _get_type, removes the DATA exports
17104
17105 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17106
17107         * gst/gst.c:
17108         * gst/gst.h:
17109           remove _gst_registry_auto_load, not used anymore
17110         * gst/gstbin.c: (gst_bin_get_type):
17111         * gst/gstbin.h:
17112         * gst/gstelement.c: (gst_element_get_type):
17113         * gst/gstelement.h:
17114         * gst/gstobject.c: (gst_object_get_type):
17115         * gst/gstobject.h:
17116         * gst/gstpad.c: (gst_pad_get_type):
17117         * gst/gstpad.h:
17118           make _get_type functions similar, fixes data export from library
17119
17120 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17121
17122         * configure.ac:
17123           correctly make conditionals
17124         * gst/elements/Makefile.am:
17125         * gst/elements/gstelements.c:
17126           fix typo causing fdsrc not to build
17127
17128 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17129
17130         * testsuite/Makefile.am:
17131         * testsuite/bytestream/.cvsignore:
17132         * testsuite/bytestream/Makefile.am:
17133         * testsuite/bytestream/filepadsink.c:
17134         * testsuite/bytestream/gstbstest.c:
17135         * testsuite/bytestream/test1.c:
17136         * testsuite/bytestream/testfile1:
17137         * testsuite/caps/normalisation.c:
17138         * testsuite/caps/random.c: (main):
17139         * testsuite/cleanup/.cvsignore:
17140         * testsuite/cleanup/Makefile.am:
17141         * testsuite/cleanup/cleanup1.c:
17142         * testsuite/cleanup/cleanup2.c:
17143         * testsuite/cleanup/cleanup3.c:
17144         * testsuite/cleanup/cleanup4.c:
17145         * testsuite/cleanup/cleanup5.c:
17146         * testsuite/controller/interpolator.c:
17147         * testsuite/debug/printf_extension.c: (main):
17148         * testsuite/elements/tee.c:
17149         * testsuite/negotiation/.cvsignore:
17150         * testsuite/negotiation/Makefile.am:
17151         * testsuite/negotiation/pad_link.c:
17152         * testsuite/pad/Makefile.am:
17153         * testsuite/pad/chainnopull.c:
17154         * testsuite/pad/getnopush.c:
17155         * testsuite/pad/link.c:
17156         * testsuite/refcounting/sched.c: (create_pipeline):
17157         * testsuite/registry/Makefile.am:
17158         * testsuite/registry/gst-print-formats.c:
17159         * testsuite/schedulers/.cvsignore:
17160         * testsuite/schedulers/142183-2.c:
17161         * testsuite/schedulers/142183.c:
17162         * testsuite/schedulers/143777-2.c:
17163         * testsuite/schedulers/143777.c:
17164         * testsuite/schedulers/147713.c:
17165         * testsuite/schedulers/147819.c:
17166         * testsuite/schedulers/147894-2.c:
17167         * testsuite/schedulers/147894.c:
17168         * testsuite/schedulers/Makefile.am:
17169         * testsuite/schedulers/group_link.c:
17170         * testsuite/schedulers/queue_link.c:
17171         * testsuite/schedulers/relink.c:
17172         * testsuite/schedulers/unlink.c:
17173         * testsuite/schedulers/unref.c:
17174         * testsuite/schedulers/useless_iteration.c:
17175         * testsuite/states/bin.c:
17176           clean out/remove some stuff from the testsuite directories
17177
17178 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17179
17180         * configure.ac:
17181           check for some headers
17182         * gst/elements/Makefile.am:
17183         * gst/elements/gstelements.c:
17184           don't compile fdsrc without sys/socket.h
17185         * gst/indexers/Makefile.am:
17186         * gst/indexers/gstindexers.c: (plugin_init):
17187           don't compile fileindex without mmap
17188
17189 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17190
17191         * configure.ac:
17192           reorganize
17193           clean up
17194           document more
17195           remove cruft
17196         * check/Makefile.am:
17197         * docs/gst/Makefile.am:
17198         * examples/helloworld/Makefile.am:
17199         * gst/Makefile.am:
17200         * gst/base/Makefile.am:
17201         * gst/check/Makefile.am:
17202         * gst/elements/Makefile.am:
17203         * gst/indexers/Makefile.am:
17204         * gst/parse/Makefile.am:
17205         * libs/gst/controller/Makefile.am:
17206         * libs/gst/dataprotocol/Makefile.am:
17207         * examples/helloworld/helloworld.c: (event_loop):
17208           compile fixes, though it's not being compiled currently
17209
17210 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17211
17212         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17213           Add some simple tests for the new taglist date API.
17214
17215 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17216
17217         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17218         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17219           Beautify 'last-message' output: print 'none' for buffer timestamps
17220           and durations if none is set; improve alignment with next messages.
17221
17222 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17223
17224         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17225         * gst/gstpluginfeature.h:
17226         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17227         * gst/gstregistry.h:
17228         * docs/gst/gstreamer-sections.txt:
17229           Add new API to check plugin feature version requirements.
17230
17231         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17232           Some basic tests for the above.         
17233
17234 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17235
17236         * gst/gststructure.c: (gst_structure_to_string):
17237           guard against NULL printf - happens when for example
17238           a message structure with GstClock gets serialized
17239
17240 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17241
17242         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17243           Fix presumable copy'n'pasto.
17244
17245 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17246
17247         * gst/elements/gstfakesrc.h:
17248         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17249         * gst/elements/gsttypefindelement.c:
17250           fix some signedness
17251         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17252           I wonder if this could actually write +2GB files before
17253
17254 2005-10-13  Andy Wingo  <wingo@pobox.com>
17255
17256         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17257         Fix Timmeke Waymans bug.
17258         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17259         string of the proper length to gst_caps_from_string. There's a
17260         potential for, before this fix, that this could cause someone
17261         connecting over the network to cause a segfault if the payload is
17262         not NUL-terminated.
17263
17264 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17265
17266         * docs/design/draft-push-pull.txt:
17267         * docs/design/part-overview.txt:
17268         * docs/random/TODO-pre-0.9:
17269         * docs/random/old/ChangeLog.gstreamer:
17270         * gst/base/gstpushsrc.c:
17271         * gst/gstclock.c:
17272           fixed typos
17273
17274 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17275
17276         * gst/glib-compat.c: (gst_flags_get_first_value):
17277         * gst/glib-compat.h:
17278         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17279         (gst_value_compare_double), (gst_value_serialize_flags):
17280           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17281           infinite loop
17282
17283 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17284
17285         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17286         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17287           fix up debugging
17288         * tools/gst-launch.c: (event_loop):
17289           print out clock nicely
17290
17291 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17292
17293         * docs/gst/gstreamer-sections.txt:
17294         * gst/gsttaglist.h:
17295         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17296         (gst_tag_list_get_date_index):
17297           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17298           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17299
17300 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17301
17302         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17303         (gst_collectpads_chain):
17304         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17305         in CollectData.
17306
17307 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17308
17309         * docs/gst/gstreamer-sections.txt:
17310         * gst/gst.c:
17311         * gst/gsterror.h:
17312         * tools/gst-inspect.c: (main):
17313         * tools/gst-launch.c: (main):
17314         * tools/gst-run.c: (main):
17315         * tools/gst-xmlinspect.c: (main):
17316           fix GOption context leaks
17317           doc fixes
17318
17319 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17320
17321         * gst/gstbus.c:
17322           use HAVE_UNISTD_H
17323         * win32/common/config.h:
17324           update config
17325         * win32/vs6/grammar.dsp:
17326         * win32/vs6/libgstelements.dsp:
17327         * win32/vs6/libgstreamer.dsp:
17328           update vs6 files
17329
17330 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17331
17332         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17333         * gst/base/gstbasesrc.c: (gst_base_src_query):
17334           fix more guint64<->gdouble conversions
17335
17336 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17337
17338         * Makefile.am:
17339           add win32-update target
17340         * win32/common/gstconfig.h:
17341         * win32/common/gstenumtypes.c:
17342         * win32/common/gstenumtypes.h:
17343         * win32/common/gstversion.h:
17344           add files that visual studio can't generate
17345
17346 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17347
17348         * Makefile.am:
17349           add a win32-update target
17350         * configure.ac:
17351
17352 2005-10-12  Wim Taymans  <wim@fluendo.com>
17353
17354         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17355         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17356         * gst/gstelement.c: (gst_element_commit_state),
17357         (gst_element_set_state):
17358         Protect flags with proper lock.
17359         unref provided cached clock in dispose.
17360
17361 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17362
17363         * gst/gst.c:
17364         * gst/gstminiobject.h:
17365         * gst/gstpad.h:
17366         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17367           removed unused flags from miniobject
17368           doc fixes
17369
17370 2005-10-12  Wim Taymans  <wim@fluendo.com>
17371
17372         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17373         (gst_file_sink_event), (gst_file_sink_render):
17374         Flush before seeking.
17375
17376 2005-10-12  Andy Wingo  <wingo@pobox.com>
17377
17378         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17379         always been the case.
17380
17381 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17382
17383         * check/gst/gstbin.c: (GST_START_TEST):
17384         * docs/gst/gstreamer-sections.txt:
17385         * gst/base/gstbasesink.c: (gst_base_sink_init):
17386         * gst/base/gstbasesrc.c: (gst_base_src_init),
17387         (gst_base_src_get_range), (gst_base_src_check_get_range),
17388         (gst_base_src_start), (gst_base_src_stop):
17389         * gst/base/gstbasesrc.h:
17390         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17391         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17392         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17393         (bin_bus_handler):
17394         * gst/gstbin.h:
17395         * gst/gstbuffer.h:
17396         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17397         * gst/gstbus.h:
17398         * gst/gstelement.c: (gst_element_is_locked_state),
17399         (gst_element_set_locked_state), (gst_element_commit_state),
17400         (gst_element_set_state):
17401         * gst/gstelement.h:
17402         * gst/gstindex.c: (gst_index_init):
17403         * gst/gstindex.h:
17404         * gst/gstminiobject.h:
17405         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17406         (gst_object_set_parent):
17407         * gst/gstobject.h:
17408         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17409         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17410         * gst/gstpad.h:
17411         * gst/gstpadtemplate.h:
17412         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17413         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17414         * gst/gstpipeline.h:
17415         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17416         (gst_file_index_commit):
17417         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17418         * testsuite/pad/link.c: (gst_test_src_init),
17419         (gst_test_filter_init), (gst_test_sink_init):
17420         * testsuite/states/locked.c: (main):
17421           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17422           moved bitshift from macro to enum definition
17423
17424 2005-10-12  Wim Taymans  <wim@fluendo.com>
17425
17426         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17427         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17428         (gst_file_sink_render):
17429         Some more debugging info.
17430
17431 2005-10-12  Wim Taymans  <wim@fluendo.com>
17432
17433         * docs/design/part-states.txt:
17434         * tools/gst-launch.c: (main):
17435         Some doc updates.
17436         Revert non-intentional change.
17437
17438 2005-10-12  Wim Taymans  <wim@fluendo.com>
17439
17440         * check/gst/gstbin.c: (GST_START_TEST):
17441         * check/gst/gstelement.c: (GST_START_TEST):
17442         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17443         * check/gst/gstghostpad.c: (GST_START_TEST):
17444         * check/gst/gstpipeline.c: (GST_START_TEST):
17445         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17446         * check/states/sinks.c: (GST_START_TEST):
17447         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17448         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17449         (gst_bin_remove_func), (gst_bin_get_state_func),
17450         (gst_bin_recalc_state), (gst_bin_change_state_func),
17451         (bin_bus_handler):
17452         * gst/gstelement.c: (gst_element_get_state_func),
17453         (gst_element_get_state), (gst_element_abort_state),
17454         (gst_element_commit_state), (gst_element_set_state),
17455         (gst_element_change_state), (gst_element_change_state_func):
17456         * gst/gstelement.h:
17457         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17458         (gst_pipeline_provide_clock_func):
17459         * gst/gstutils.c: (gst_element_link_pads_filtered):
17460         * tools/gst-launch.c: (main):
17461         * tools/gst-typefind.c: (main):
17462         Use GstClockTime in _get_state() instead of GTimeVal.
17463         Remove old code in gstutils.c
17464
17465 2005-10-12  Andy Wingo  <wingo@pobox.com>
17466
17467         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17468         removed.
17469
17470         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17471         there is no task. Shouldn't affect any code, as nothing in our
17472         plugins checks this return value.
17473         (gst_pad_stop_task): Also take the stream lock if the pad has no
17474         task. Docs updated.
17475
17476 2005-10-12  Wim Taymans  <wim@fluendo.com>
17477
17478         * gst/gstpad.c: (pre_activate), (post_activate),
17479         (gst_pad_activate_pull), (gst_pad_activate_push):
17480         Cleanup activation code. Reset old state if
17481         activation failed.
17482
17483 2005-10-12  Wim Taymans  <wim@fluendo.com>
17484
17485         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17486         (gst_base_sink_change_state):
17487         No need to prerol after receiving EOS.
17488
17489         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17490         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17491         * gst/elements/gstidentity.c: (gst_identity_event):
17492         Print events more verbosely.
17493
17494 2005-10-12  Wim Taymans  <wim@fluendo.com>
17495
17496         * check/Makefile.am:
17497         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17498         * check/states/sinks2.c:
17499         Moved sinks2 testcode in sinks check.
17500
17501         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17502         (gst_bin_remove_func), (gst_bin_recalc_state),
17503         (gst_bin_change_state_func), (bin_bus_handler):
17504         Fix potential race condition when _get_state() iterated over an
17505         ASYNC element right before it posted a state completion.
17506
17507         * gst/gstclock.h:
17508         Do proper cast here.
17509
17510         * gst/gstevent.c: (gst_event_new_newsegment),
17511         (gst_event_parse_newsegment):
17512         A playback rate of 0.0 is not allowed.
17513
17514 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17515
17516         * win32/common/config.h:
17517         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17518         (_trewinddir), (_ttelldir), (_tseekdir):
17519         * win32/common/dirent.h:
17520         * win32/common/gtchar.h:
17521         * win32/common/libgstbase.def:
17522         * win32/common/libgstreamer.def:
17523         * win32/vs6/grammar.dsp:
17524         * win32/vs6/gst_inspect.dsp:
17525         * win32/vs6/gst_launch.dsp:
17526         * win32/vs6/gstreamer.dsw:
17527         * win32/vs6/libgstbase.dsp:
17528         * win32/vs6/libgstelements.dsp:
17529         * win32/vs6/libgstreamer.dsp:
17530           Visual Studio 6 project files, and a new common directory.
17531           Phear.
17532
17533 2005-10-11  Wim Taymans  <wim@fluendo.com>
17534
17535         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17536         (gst_base_sink_do_sync), (gst_base_sink_query),
17537         (gst_base_sink_change_state):
17538         * gst/base/gstbasesink.h:
17539         Correctly parse newsegment info.
17540
17541 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17542
17543         * gst/gst.c: (init_post):
17544           split plugin paths correctly
17545
17546 2005-10-11  Wim Taymans  <wim@fluendo.com>
17547
17548         * check/gst/gstevent.c: (GST_START_TEST):
17549         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17550         (gst_base_sink_change_state):
17551         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17552         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17553         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17554         * gst/gstevent.c: (gst_event_new_newsegment),
17555         (gst_event_parse_newsegment):
17556         * gst/gstevent.h:
17557         Added extra flag to newsegment for future API freeze.
17558         Updated check and base elements.
17559
17560 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17561
17562         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17563         (gst_collectpads_add_pad), (gst_collectpads_pop),
17564         (gst_collectpads_event), (gst_collectpads_chain):
17565         * gst/base/gstcollectpads.h: Handle EOS correctly.
17566
17567 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17568
17569         * tools/gst-launch.c: (main):
17570           more null protecting
17571
17572 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17573
17574         * gst/gst-i18n-lib.h:
17575           check for ENABLE_NLS, not GETTEXT_PACKAGE
17576         * gst/gstregistry.c: (gst_registry_add_plugin),
17577         (gst_registry_scan_path_level),
17578         (_gst_registry_remove_cache_plugins):
17579           protect possibly NULL strings
17580         * gst/parse/types.h:
17581           config.h already included before
17582         * tools/gst-inspect.c: (main):
17583           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17584           check for ENABLE_NLS, not GETTEXT_PACKAGE
17585         * tools/gst-launch.c: (main):
17586           check for ENABLE_NLS, not GETTEXT_PACKAGE
17587
17588 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17589
17590         * configure.ac:
17591           if we don't have glib, fail before testing 2.8
17592         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17593           fix a leak, should fix plugins-base testsuite
17594
17595 2005-10-11  Andy Wingo  <wingo@pobox.com>
17596
17597         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17598         take the mode we're going to as an arg. Go head and set the mode
17599         and flushing flags now, so that if the activate function starts a
17600         thread all the flags will be in the right state.
17601         (post_activate): Renamed also. Just handle making sure streaming
17602         finishes for the deactivation case, and setting the deactivated
17603         mode.
17604         (gst_pad_set_active): Complain loudly if deactivation fails.
17605         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17606         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17607         remove the terrible hack.
17608
17609 2005-10-11  Wim Taymans  <wim@fluendo.com>
17610
17611         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17612         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17613         (gst_bin_recalc_state), (gst_bin_change_state_func),
17614         (gst_bin_dispose), (bin_bus_handler):
17615         * gst/gstbin.h:
17616         Prepare to make current EOS message queue more generic.
17617         Fix some typos.
17618
17619         * gst/gstevent.c: (gst_event_new_newsegment),
17620         (gst_event_parse_newsegment):
17621         * gst/gstevent.h:
17622         Rename base to stream_time.
17623
17624         * gst/gstmessage.h:
17625         Fix typo in docs.
17626
17627 2005-10-11  Wim Taymans  <wim@fluendo.com>
17628
17629         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17630         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17631         (gst_bin_change_state_func), (bin_bus_handler):
17632         * gst/gstbin.h:
17633         Work on proper clock selection.
17634
17635 2005-10-11  Edward Hervey  <edward@fluendo.com>
17636
17637         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17638         * libs/gst/controller/gstcontroller.h:
17639         Added GList* version of _remove_properties() in order to be able to wrap
17640         it in bindings.
17641
17642 2005-10-11  Wim Taymans  <wim@fluendo.com>
17643
17644         * docs/design/part-states.txt:
17645         Some more docs.
17646
17647         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17648         (gst_bin_change_state_func), (bin_bus_handler):
17649         Doc updates. Don't distribute the same clock over and over again.
17650
17651         * gst/gstclock.c:
17652         * gst/gstclock.h:
17653         Doc updates.
17654
17655         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17656         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17657         (gst_pad_send_event):
17658         * gst/gstpad.h:
17659         Make probe emission threadsafe again.
17660         Register quarks and move _get_name() from utils.
17661         Doc updates.
17662
17663         * gst/gstpipeline.c: (gst_pipeline_class_init),
17664         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17665         Only redistribute the clock of it changed.
17666
17667         * gst/gstsystemclock.h:
17668         Doc updates. 
17669
17670         * gst/gstutils.c:
17671         * gst/gstutils.h:
17672         Moved the _flow_get_name() to GstPad.
17673
17674 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17675
17676         * check/gst-libs/gdp.c: (GST_START_TEST):
17677         * check/gst/gstcaps.c: (GST_START_TEST):
17678         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17679         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17680         (gst_dp_packet_from_caps):
17681           fix more valgrind warnings before turning up the heat
17682
17683 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17684
17685         * gst/parse/grammar.y:
17686           some cleanup before the hacking
17687
17688 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17689
17690         * gst/base/gstbasesrc.c: (gst_base_src_query):
17691           use conversions
17692         * gst/gstutils.c: (gst_guint64_to_gdouble),
17693         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17694         * gst/gstutils.h:
17695           externalize, basesrc uses it
17696           obviously the implementation needs testing
17697
17698 2005-10-10  Wim Taymans  <wim@fluendo.com>
17699
17700         * tests/sched/Makefile.am:
17701         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17702         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17703
17704 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17705
17706         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17707           apparently converting from guint64 to double is not implemented
17708           on MSVC
17709
17710 2005-10-10  Wim Taymans  <wim@fluendo.com>
17711
17712         * check/Makefile.am:
17713         * check/generic/states.c: (GST_START_TEST):
17714         * check/gst/gstbin.c: (GST_START_TEST):
17715         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17716         * check/states/sinks.c: (GST_START_TEST):
17717         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17718         (main):
17719         Check fixes, use API as stated in design docs, remove hacks.
17720
17721         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17722         (gst_base_sink_change_state):
17723         Catch stopping our task while we're shutting down.
17724
17725         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17726         (gst_bin_remove_func), (gst_bin_get_state_func),
17727         (gst_bin_recalc_state), (gst_bin_change_state_func),
17728         (bin_bus_handler):
17729         * gst/gstbin.h:
17730         * gst/gstelement.c: (gst_element_init),
17731         (gst_element_get_state_func), (gst_element_abort_state),
17732         (gst_element_commit_state), (gst_element_lost_state),
17733         (gst_element_set_state), (gst_element_change_state),
17734         (gst_element_change_state_func):
17735         * gst/gstelement.h:
17736         New state change algorithm (see #318116)
17737
17738         * gst/gstpipeline.c: (gst_pipeline_class_init),
17739         (gst_pipeline_init), (gst_pipeline_set_property),
17740         (gst_pipeline_get_property), (do_pipeline_seek),
17741         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17742         * gst/gstpipeline.h:
17743         Remove crude state change hacks.
17744
17745         * gst/gstutils.h:
17746         Remove crude hacks.
17747
17748         * tools/gst-launch.c: (main):
17749         Fixes for state change. Needs some more work to fully use the
17750         new stuff.
17751
17752 2005-10-10  Andy Wingo  <wingo@pobox.com>
17753
17754         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17755
17756         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17757         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17758         issue.
17759
17760 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17761
17762         * gst/gstiterator.c: (gst_iterator_new):
17763           Fix my previous commit: GTypes passed to gst_iterator_new()
17764           can be fundamental types.
17765
17766 2005-10-10  Wim Taymans  <wim@fluendo.com>
17767
17768         * gst/gstelement.c: (gst_element_iterate_pad_list),
17769         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17770         (gst_element_iterate_sink_pads):
17771         Use src/sink pads lists for the respective iterators instead
17772         of filtering.
17773
17774 2005-10-10  Andy Wingo  <wingo@pobox.com>
17775
17776         Merged in popt removal + GOption addition patch from Ronald, bug
17777         #169772.
17778
17779         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17780         GstElement macros around, remove popt-related symbols, add goption
17781         stuff.
17782
17783         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17784         
17785         * docs/gst/Makefile.am:
17786         * docs/libs/Makefile.am: No POPT_CFLAGS.
17787         
17788         * examples/manual/Makefile.am:
17789         * docs/manual/basics-init.xml: Doc updates with an example.
17790         
17791         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17792         (gst_init), (parse_one_option), (parse_goption_arg):
17793         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17794         bit of hand merging and debugging to get the GOption stuff working
17795         tho.
17796         
17797         * tests/Makefile.am:
17798         * tools/Makefile.am:
17799         * tools/gst-inspect.c: (main):
17800         * tools/gst-launch.c: (main):
17801         * tools/gst-run.c: (main):
17802         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17803
17804 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17805
17806         * gst/gstiterator.c: (gst_iterator_new):
17807           Add assertions to make sure passed GType is likely to really
17808           be a GType (as the compiler won't catch it if the size and
17809           GType arguments get mixed up, see #318447).
17810
17811 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17812
17813         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17814
17815         * gst/gstbin.c: (gst_bin_iterate_sorted):
17816           Pass GType and size arguments to gst_iterator_new() in the right
17817           order (maybe we should make _new() take the GType as first argument
17818           just like _new_list()?) (#318447).
17819           
17820
17821 2005-10-10  Wim Taymans  <wim@fluendo.com>
17822
17823         * gst/gstelement.c: (gst_element_finalize):
17824         And free the GStaticRecMutex too
17825
17826 2005-10-10  Andy Wingo  <wingo@pobox.com>
17827
17828         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17829         Allocate and free the mutex properly.
17830
17831         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17832         New macros.
17833         (GstElement): The state_lock is now recursive. Rebuild your
17834         plugins, suckers. Old macros adapted.
17835
17836         * docs/gst/gstreamer-sections.txt: Doc updates.
17837
17838         * gst/gstutils.h:
17839         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17840         (g_static_rec_cond_wait): Ported from state changes patch, while
17841         we wait on bug #317802 to be solved in a well-distributed GLib.
17842
17843         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17844         gst_element_change_state, variable name changes.
17845         (gst_element_change_state): Split out of gst_element_set_state in
17846         preparation for the state change merge. Doesn't pay attention to
17847         the 'transition' argument.
17848         (gst_element_set_state): Updates, hopefully purely cosmetic.
17849         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17850         state change patch.
17851         (gst_element_get_state_func): Renamed from get_state, cosmetic
17852         changes.
17853
17854 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17855
17856         * gst/elements/gstelements.c:
17857         * win32/GStreamer.vcproj:
17858         * win32/config.h:
17859         * win32/dirent.c: (_tseekdir):
17860         * win32/gst-inspect.vcproj:
17861         * win32/gst-launch.vcproj:
17862         * win32/gstconfig.h:
17863         * win32/gstelements.vcproj:
17864         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17865         * win32/gstreamer.def:
17866         * win32/msvc71.sln:
17867           updates for the win32 build (patch from Sebastien Moutte)
17868
17869 2005-10-10  Andy Wingo  <wingo@pobox.com>
17870
17871         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17872         gst_bin_get_state, cleaned up (but no logic changes).
17873         (bin_element_is_sink): Comment updates.
17874         (sink_iterator_filter): Remove needless cast.
17875         (gst_bin_iterate_sinks): Doc update.
17876         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17877         cleaned up (but no logic changes).
17878
17879         * check/states/sinks.c (test_src_sink): Cleanups from the state
17880         change patch.
17881         (test_livesrc_sink): Sync on the state.
17882
17883         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17884         the state change patch.
17885
17886         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17887         change patch.
17888
17889         * check/gst/gstbin.c: Merge in some style fixes and additional
17890         checks from Wim's state change patch.
17891
17892 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17893
17894         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17895         (gst_type_find_helper):
17896           Check whether we have the requested data already in our list of
17897           cached buffers before pulling a new buffer; also make the buffer
17898           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17899
17900 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17901
17902         * gst/gstcaps.c:
17903         * gst/gstevent.c:
17904           doc updates
17905         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17906           don't use long long, it's not portable.  Replacing with
17907           gint64 seems to work; let's hope no skeletons fall out of the closet.
17908
17909 2005-10-10  Andy Wingo  <wingo@pobox.com>
17910
17911         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17912
17913 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
17914
17915         * docs/gst/gstreamer-sections.txt:
17916         * gst/gstevent.c:
17917         * gst/gstevent.h:
17918         * gst/gstinfo.c:
17919         * gst/gstinfo.h:
17920         * gst/gstmessage.c: (gst_message_parse_state_changed):
17921         * gst/gstpad.c:
17922         * gst/gstpad.h:
17923           more docs, fix compilation
17924
17925 2005-10-09  Philippe Khalaf <burger@speedy.org>
17926         * gst/gstmessage.c:
17927           Fixed a few forgotten variables on previous commit
17928
17929 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
17930
17931         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17932           Fix evil typefind crasher: getrange() might return a short
17933           buffer at the end of a file, but gst_type_find_peek() must
17934           either return the full data as requested or NULL, but
17935           never a short buffer.
17936
17937 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17938
17939         * gst/gstmessage.c: (gst_message_new_state_changed),
17940         (gst_message_parse_state_changed):
17941         * gst/gstmessage.h:
17942           don't use "new", it's a C++ keyword
17943
17944 2005-10-08  Wim Taymans  <wim@fluendo.com>
17945
17946         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17947         * gst/gstelement.c: (gst_element_post_message):
17948         * gst/gstpipeline.c: (gst_pipeline_change_state):
17949         Small docs and debug updates.
17950
17951 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17952
17953         * docs/gst/gstreamer-sections.txt:
17954         * gst/gstelementfactory.c:
17955         * gst/gstevent.c:
17956         * gst/gsttaglist.c:
17957           more docs
17958
17959 2005-10-08  Wim Taymans  <wim@fluendo.com>
17960
17961         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17962         (gst_bin_dispose), (bin_bus_handler):
17963         Fix typos, add comments.
17964         Clear EOS list when going to PAUSED from any direction and do it
17965         in a threadsafe way.
17966         Get base time in a threadsafe way too.
17967         Fix confusing debug in the change_state function.
17968         Various other small cleanups.
17969         
17970         * gst/gstelement.c: (gst_element_post_message):
17971         Fix very verbose bus posting code.
17972
17973         * gst/gstpipeline.c: (gst_pipeline_class_init),
17974         (gst_pipeline_set_property), (gst_pipeline_get_property),
17975         (gst_pipeline_change_state):
17976         Small ARG_ -> PROP_ cleanup
17977
17978 2005-10-08  Wim Taymans  <wim@fluendo.com>
17979
17980         * gst/gstbin.c: (is_eos), (bin_bus_handler):
17981         Do a less CPU demanding EOS check because we can.
17982
17983 2005-10-08  Wim Taymans  <wim@fluendo.com>
17984
17985         * libs/gst/dataprotocol/dataprotocol.c:
17986         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17987         (gst_dp_packet_from_event):
17988         * libs/gst/dataprotocol/dataprotocol.h:
17989         * libs/gst/dataprotocol/dp-private.h:
17990         It's about time we bump the version number.
17991         Since event types don't fit in the guint8 anymore describing
17992         the payload type, make payload type 16 bits wide.
17993
17994 2005-10-08  Wim Taymans  <wim@fluendo.com>
17995
17996         * docs/design/part-TODO.txt:
17997         * docs/design/part-clocks.txt:
17998         * docs/design/part-events.txt:
17999         * docs/design/part-gstbin.txt:
18000         * docs/design/part-gstelement.txt:
18001         * docs/design/part-gstpipeline.txt:
18002         * docs/design/part-live-source.txt:
18003         * docs/design/part-messages.txt:
18004         * docs/design/part-overview.txt:
18005         * docs/design/part-states.txt:
18006         Many doc updates.
18007
18008 2005-10-08  Wim Taymans  <wim@fluendo.com>
18009
18010         * gst/gstevent.c:
18011         * gst/gstevent.h:
18012         Fix event quark registration.
18013         Add some space between events so we can insert them in the
18014         right groups.
18015
18016 2005-10-08  Wim Taymans  <wim@fluendo.com>
18017
18018         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18019         (gst_base_sink_handle_buffer):
18020         Better log message.
18021
18022         * gst/gstbus.h:
18023         * gst/gstelement.h:
18024         More docs.
18025
18026         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18027         (gst_queue_set_property), (gst_queue_get_property):
18028         * gst/gstqueue.h:
18029         Remove old unused properties.
18030
18031 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18032         * docs/gst/gstreamer-sections.txt:
18033         * gst/gstmessage.c:
18034         * gst/gstmessage.h:
18035         * gst/gstminiobject.c:
18036         * gst/gstminiobject.h:
18037         * gst/gstobject.h:
18038         * gst/gstpad.h:
18039         * gst/gstutils.h:
18040           lots of new docs and doc fixes
18041
18042 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18043
18044         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18045         * gst/gstplugin.h:
18046         * gst/gstregistry.c: (gst_registry_lookup_locked),
18047         (gst_registry_scan_path_level):
18048         * gst/gstregistryxml.c: (load_plugin):
18049           Only ever load one plugin for a given plugin basename.
18050           This ensures correct overriding of GST_PLUGIN_PATH over
18051           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18052           system installed plugins.
18053
18054 2005-10-08  Wim Taymans  <wim@fluendo.com>
18055
18056         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18057         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18058         Prepare for doing QOS.
18059
18060 2005-10-08  Wim Taymans  <wim@fluendo.com>
18061
18062         * check/gst/gstbin.c: (GST_START_TEST):
18063         * check/pipelines/cleanup.c: (GST_START_TEST):
18064         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18065         Allow new clock message too.
18066
18067 2005-10-08  Wim Taymans  <wim@fluendo.com>
18068
18069         * gst/gstmessage.c: (gst_message_new_error),
18070         (gst_message_new_warning), (gst_message_new_tag),
18071         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18072         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18073         (gst_message_new_segment_start), (gst_message_new_segment_done),
18074         (gst_message_parse_state_changed),
18075         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18076         (gst_message_parse_new_clock):
18077         * gst/gstmessage.h:
18078         Also carry the clock in question.
18079
18080 2005-10-08  Wim Taymans  <wim@fluendo.com>
18081
18082         * gst/gstmessage.c: (gst_message_new_custom),
18083         (gst_message_new_eos), (gst_message_new_error),
18084         (gst_message_new_warning), (gst_message_new_tag),
18085         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18086         (gst_message_new_new_clock), (gst_message_new_segment_start),
18087         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18088         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18089         * gst/gstmessage.h:
18090         Clean up.
18091         Added clock related messages.
18092
18093         * gst/gstpipeline.c: (gst_pipeline_change_state):
18094         Post message when the clock changed.
18095
18096         * tools/gst-launch.c: (event_loop):
18097         Print new clock.
18098
18099 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18100
18101         * tools/gst-inspect.c: (print_element_properties_info):
18102           Can't pass NULL strings to g_print() on windows.
18103
18104 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18105
18106         * docs/Makefile.am:
18107         * docs/gst/Makefile.am:
18108         * docs/gst/gstreamer-docs.sgml:
18109         * docs/gst/running.xml:
18110         * docs/version.entities.in:
18111           add a chapter on running GStreamer.
18112           document GST_DEBUG and GST_PLUGIN* env vars
18113
18114 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18115
18116         * Makefile.am:
18117           remove include dir
18118         * configure.ac:
18119           remove PLUGINS_BUILDDIR stuff
18120         * gst/gst.c: (init_post):
18121           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18122         * idiottest.mak:
18123           remove, it was condescending and not needed
18124
18125 2005-10-08  Wim Taymans  <wim@fluendo.com>
18126
18127         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18128         (gst_base_sink_handle_object), (gst_base_sink_event),
18129         (gst_base_sink_wait), (gst_base_sink_handle_event),
18130         (gst_base_sink_change_state):
18131         * gst/base/gstbasesink.h:
18132         Repost EOS message while going to PLAYING if still EOS.
18133         Make sure that when receiving a FLUSH_START we don't attempt
18134         to sync on the clock anymore.
18135
18136 2005-10-08  Wim Taymans  <wim@fluendo.com>
18137
18138         * tools/gst-launch.c: (event_loop):
18139         Better message printout.
18140
18141 2005-10-08  Wim Taymans  <wim@fluendo.com>
18142
18143         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18144         (gst_bin_child_proxy_get_children_count):
18145         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18146         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18147         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18148         (gst_child_proxy_set_valist):
18149         * gst/parse/grammar.y:
18150         Make ChildProxy threadsafe and fix mem leaks.
18151
18152 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18153
18154         * gst/gst.c: (init_post):
18155           debug the GST_PLUGIN_ env vars
18156
18157 2005-10-08  Wim Taymans  <wim@fluendo.com>
18158
18159         * check/gst/gstbin.c: (GST_START_TEST):
18160         * check/gst/gstmessage.c: (GST_START_TEST):
18161         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18162         * gst/gstelement.c: (gst_element_commit_state),
18163         (gst_element_lost_state):
18164         * gst/gstmessage.c: (gst_message_new_state_changed),
18165         (gst_message_parse_state_changed):
18166         * gst/gstmessage.h:
18167         * tools/gst-launch.c: (event_loop):
18168         Added extra field to STATE_CHANGE message with the pending
18169         state, which will be different from the new state soon.
18170
18171 2005-10-08  Wim Taymans  <wim@fluendo.com>
18172
18173         * gst/gstbus.c: (gst_bus_pop):
18174         * gst/gstclock.c:
18175         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18176         Small cleanups and doc updates.
18177
18178 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18179
18180         * gst/gst.c: (init_pre):
18181         * gst/gstbin.c: (gst_bin_add_func):
18182           log distributing clocks and base time
18183         * gst/gstregistry.c: (gst_registry_add_plugin),
18184         (gst_registry_scan_path_level), (gst_registry_scan_path):
18185           clean up the debugging output a little
18186         * gst/gstutils.c: (gst_element_state_get_name):
18187           warn about a memleak (I've actually seen this be used, though
18188           it was probably a bug)
18189
18190 2005-10-07  Wim Taymans  <wim@fluendo.com>
18191
18192         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18193         (gst_base_src_init), (gst_base_src_default_newsegment),
18194         (gst_base_src_newsegment), (gst_base_src_do_seek),
18195         (gst_base_src_loop), (gst_base_src_start):
18196         * gst/base/gstbasesrc.h:
18197         Make the newsegment event customizable by subclasses.
18198
18199 2005-10-07  Wim Taymans  <wim@fluendo.com>
18200
18201         * gst/gstevent.c: (gst_event_new_buffersize),
18202         (gst_event_parse_buffersize):
18203         * gst/gstevent.h:
18204         New event for future idea.
18205
18206 2005-10-07  Andy Wingo  <wingo@pobox.com>
18207
18208         * gst/gstelement.c (gst_element_post_message): Doc update.
18209
18210         * docs/gst/gstreamer-sections.txt: Update.
18211
18212         * gst/gstmessage.c (gst_message_new_application): Made into a
18213         function like honest API calls.
18214         (gst_message_new_element): New message type.
18215
18216         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18217
18218         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18219         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18220         times.
18221
18222         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18223         NO_PREROLL from gst_element_change_state to fall through.
18224
18225 2005-10-07  Wim Taymans  <wim@fluendo.com>
18226
18227         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18228         (gst_ghost_pad_do_activate_push):
18229         Activating a ghostpad with no internal pad in push mode
18230         is ok.
18231
18232 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18233
18234         * gst/gstobject.h:
18235           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18236           Fixes compilation on Windows.
18237
18238 2005-10-07  Michael Smith <msmith@fluendo.com>
18239
18240         * tools/gst-inspect.c:
18241           Print out feature and plugin count at the end when printing out
18242           all features.
18243
18244 2005-10-04  Michael Smith <msmith@fluendo.com>
18245
18246         * gst/gsterror.c: (_gst_stream_errors_init):
18247           Add another error string used in a few existing plugins.
18248
18249         * gst/gstplugin.c:
18250         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18251         * tools/gst-inspect.c: (print_element_info):
18252           When a feature disappears from a plugin (and the feature exists in
18253           the cached registry file), things went horribly wrong. This isn't a
18254           complete fix, we should actually be removing the 'missing' features
18255           from the features list when we load the actual plugin. That's not
18256           yet implemented. 
18257
18258 2005-10-04  Johan Dahlin  <johan@gnome.org>
18259
18260         * check/gst/gstiterator.c: (GST_START_TEST):
18261         * gst/gstbin.c: (gst_bin_iterate_elements),
18262         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18263         * gst/gstelement.c: (gst_element_iterate_pads):
18264         * gst/gstformat.c: (gst_format_iterate_definitions):
18265         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18266         (gst_iterator_new_list), (gst_iterator_filter):
18267         * gst/gstiterator.h:
18268         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18269         Add a GType to GstIterator, update callsites and tests.
18270
18271 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18272
18273         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18274           give events a chance to be handled by event probes when the pad
18275           is not linked
18276
18277 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18278
18279         * gst/gstevent.c: (gst_event_type_get_name),
18280         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18281         * gst/gstevent.h:
18282           add string representations for event types
18283
18284 2005-10-06  Wim Taymans  <wim@fluendo.com>
18285
18286         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18287         Don't use NULL pointers.
18288
18289 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18290
18291         * gst/gst_private.h:
18292         * gst/gstbus.c:
18293         * gst/gstelement.c:
18294         * gst/gstinfo.c:
18295         * gst/gstpluginfeature.c:
18296           widen the debug category in output to fit the biggest one we have
18297           add a bus category and use it
18298           play with the colors
18299           fix up some categories
18300
18301 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18302
18303         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18304           add push activation of sink ghost pads.
18305           Andye, please verify
18306
18307 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18308
18309         * gst/gstutils.c: (gst_element_link_pads):
18310           fix a bug in the case where neither element has a pad
18311         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18312           add a test for that case
18313
18314 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18315
18316         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18317           emit have-data before checking for peers.  This allows
18318           for probe handlers to connect elements.  This helps autopluggers.
18319         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18320         (gst_pad_suite):
18321           add six checks, linked/unlinked with no/true/false probe
18322
18323 2005-10-04  Wim Taymans  <wim@fluendo.com>
18324
18325         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18326         (gst_fake_sink_event), (gst_fake_sink_preroll),
18327         (gst_fake_sink_render), (gst_fake_sink_change_state):
18328         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18329         (gst_fake_src_get_property), (gst_fake_src_create),
18330         (gst_fake_src_stop):
18331         * gst/elements/gstidentity.c: (gst_identity_stop):
18332         Protect last_message with lock.
18333
18334 2005-10-04  Edward Hervey  <edward@fluendo.com>
18335
18336         * gst/gstformat.h: 
18337         Added precision in the comments for GST_FORMAT_DEFAULT
18338
18339 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18340
18341         * tools/gst-launch.c: (main):
18342           Don't try to run erroneous pipelines.
18343
18344 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18345
18346         * gst/gstbus.c: We don't need this header.
18347
18348 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18349
18350         * configure.ac:
18351           back to development
18352
18353 === release 0.9.3 ===
18354
18355 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18356
18357         * README:
18358         * configure.ac:
18359           Releasing 0.9.3, "Unregistered"
18360
18361 2005-10-03  Andy Wingo  <wingo@pobox.com>
18362
18363         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18364         whereby calling a pad's activatepush() function can start a thread
18365         that starts to push or pull before the pad gets the FLUSHING flag
18366         unset. Hack around it by holding the stream lock until the flag is
18367         set. Need to replace this with a proper solution. Together with
18368         the ghost pad fixes, this fixes mp3 playing/tagreading.
18369
18370         * docs/design/part-gstghostpad.txt: Add a note about activation of
18371         proxy pads outside of ghost pads.
18372
18373         * gst/gstghostpad.c: Implement the ghost pad activation design.
18374
18375 2005-10-02  Andy Wingo  <wingo@pobox.com>
18376
18377         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18378         It is volatile, after all.
18379
18380         * docs/design/part-gstghostpad.txt: Flesh out activation with
18381         ghost pads.
18382
18383         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18384         GST_DEBUG_FUNCPTR.
18385
18386 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18387
18388         * configure.ac:
18389           Fix (unused) AM_CONDITIONAL tests.
18390
18391 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18392
18393         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18394
18395         * gst/gstutils.c: (gst_pad_query_convert):
18396           Add assertion that makes sure src_val is >=0, just like
18397           gst_query_new_convert() has. (#315895)
18398
18399 2005-09-30  Edward Hervey  <edward@fluendo.com>
18400
18401         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18402         Let's not iterate pads we're not interested in, it avoids getting 
18403         sky-high refcounts on sinkpad.
18404
18405 2005-09-30  Wim Taymans  <wim@fluendo.com>
18406
18407         * gst/gstelement.c: (gst_element_set_state),
18408         (gst_element_change_state):
18409         Small tweak, element in ASYNC remains ASYNC.
18410
18411 2005-09-30  Wim Taymans  <wim@fluendo.com>
18412
18413         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18414         Only error is an error.
18415
18416         * gst/gstbin.c: (gst_bin_change_state):
18417         Better debugging.
18418
18419         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18420         Also call pad_block in pad alloc.
18421
18422         * gst/gstutils.c: (gst_flow_get_name):
18423         Better debugging.
18424
18425 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18426
18427         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18428         (gst_base_src_get_range):
18429           Fix documentation typos. Add some more debug info.
18430
18431 2005-09-29  David Schleef  <ds@schleef.org>
18432
18433         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18434           more end-user friendly.
18435         * tools/gst-inspect.c: (main): Check if command-line argument is
18436           a file and attempt to load that file as a plugin.
18437
18438 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18439
18440         * check/gst/gstbin.c:
18441         * check/states/sinks.c:
18442           fix tests for the new warning
18443         * check/gst/gstpipeline.c:
18444           add a test for pipeline and bus interaction
18445         * gst/gstelement.c:
18446           elements should be NULL if they get disposed; add a warning if not
18447
18448 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18449
18450         * gst/gstobject.c:
18451           for 2.6 refcounting, make debug log more correct by printing
18452           the actual refcounts at the time of swap (Wim)
18453
18454 2005-09-29  Andy Wingo  <wingo@pobox.com>
18455
18456         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18457         removes signal watches previously added via
18458         gst_bus_add_signal_watch.
18459         (gst_bus_add_signal_watch): Don't return the source id, just store
18460         it on the bus if there wasn't an id already.
18461
18462         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18463         add_signal_watch and remove_signal_watch.
18464
18465 2005-09-29  Edward Hervey  <edward@fluendo.com>
18466
18467         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18468         Better if we actually iterate the list :)
18469
18470 2005-09-29  Wim Taymans  <wim@fluendo.com>
18471
18472         * check/gst/gstbin.c: (GST_START_TEST):
18473         Change for new bus API.
18474
18475         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18476         (send_messages), (GST_START_TEST), (gstbus_suite):
18477         Change for new bus signal API.
18478
18479         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18480         (gst_bus_source_prepare), (gst_bus_source_check),
18481         (gst_bus_create_watch), (gst_bus_add_watch_full),
18482         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18483         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18484         * gst/gstbus.h:
18485         Remove support for multiple GSources operating on different
18486         message types as it is too complex and unneeded when using
18487         signals.
18488         Added support for receiving signals from the bus.
18489
18490 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18491
18492         * docs/libs/tmpl/gstdataprotocol.sgml:
18493         * docs/manual/advanced-dataaccess.xml:
18494         * gst/elements/gstcapsfilter.c:
18495         * gst/gstutils.c:
18496           rename filter-caps to caps property
18497
18498 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18499
18500         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18501           More robust fraction string parsing.
18502
18503         * docs/pwg/appendix-porting.xml:
18504           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18505
18506 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18507
18508         * gst/gstcaps.c: (gst_caps_do_simplify):
18509           Thou shalt not free a structure and then continue using it
18510           in the next loop iteration.
18511
18512         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18513         (gst_caps_suite):
18514           Add test case for caps simplification.
18515
18516 2005-09-29  Wim Taymans  <wim@fluendo.com>
18517
18518         * check/gst/gstbin.c: (GST_START_TEST):
18519         Oops.
18520
18521 2005-09-29  Wim Taymans  <wim@fluendo.com>
18522
18523         * check/gst/gstbin.c: (GST_START_TEST):
18524         Add bus to bin.
18525
18526         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18527         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18528         (find_element), (gst_bin_sort_iterator_next),
18529         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18530         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18531         (gst_bin_change_state), (gst_bin_dispose):
18532         A bin does not have a bus, it gets the bus from the parent.
18533
18534         * gst/gstelement.c: (gst_element_requires_clock),
18535         (gst_element_provides_clock), (gst_element_is_indexable),
18536         (gst_element_is_locked_state), (gst_element_change_state),
18537         (gst_element_set_bus_func):
18538         Small cleanups.
18539
18540         * gst/gstpipeline.c: (gst_pipeline_class_init),
18541         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18542         The pipeline provides a bus.
18543
18544 2005-09-28  Johan Dahlin  <johan@gnome.org>
18545
18546         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18547         gst_structure_get_enum instead of gst_structure_get_int
18548
18549         * gst/gststructure.c (gst_structure_get_enum): Impl.
18550
18551         * gst/gststructure.h (gst_structure_get_enum): Add
18552
18553         * docs/gst/gstreamer-sections.txt: Ditto
18554
18555         * gst/gstmessage.c (gst_message_new_state_changed): Use
18556         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18557         which does introspection.
18558         Reviewed by Christian Schaller
18559
18560 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18561
18562         * gst/gstinfo.c: (gst_debug_log_default):
18563           don't do dummy g_strdup()s
18564         * libs/gst/controller/gstcontroller.c:
18565         (on_object_controlled_property_changed),
18566         (gst_controlled_property_new), (gst_controller_new_valist),
18567         (gst_controller_new_list),
18568         (gst_controller_remove_properties_valist), (gst_controller_set),
18569         (gst_controller_get), (gst_controller_sync_values),
18570         (gst_controller_get_value_array), (_gst_controller_class_init),
18571         (gst_controller_get_type):
18572         * libs/gst/controller/gstcontroller.h:
18573         * libs/gst/controller/gstinterpolation.c:
18574         (gst_controlled_property_find_timed_value_node):
18575           convert // to /**/ comments
18576
18577 2005-09-28  Wim Taymans  <wim@fluendo.com>
18578
18579         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18580         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18581         (gst_bus_sync_signal_handler):
18582         * gst/gstbus.h:
18583         Added async-message and sync-message signals to the bus.
18584         Added helper BusFunc to emit signals for all posted messages.
18585
18586         * gst/gstmessage.c: (gst_message_type_get_name),
18587         (gst_message_type_to_quark), (gst_message_get_type):
18588         * gst/gstmessage.h:
18589         Register quarks for message names.
18590
18591 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18592
18593         * docs/libs/gstreamer-libs-sections.txt:
18594         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18595         (gst_controller_new_list):
18596         * libs/gst/controller/gstcontroller.h:
18597           added another constructor for language bindings
18598
18599 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18600
18601         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18602           add another check
18603         * gst/gstbus.c:
18604           add some doc
18605         * gst/gstinfo.c: (_gst_debug_init):
18606           slightly more readable color for refcount debugging
18607
18608 2005-09-28  Wim Taymans  <wim@fluendo.com>
18609
18610         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18611         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18612         (find_element), (gst_bin_sort_iterator_next),
18613         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18614         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18615         (gst_bin_change_state), (gst_bin_dispose):
18616         Small doc fixes. get_clock -> provide_clock.
18617
18618         * gst/gstelement.c: (gst_element_class_init),
18619         (gst_element_provides_clock), (gst_element_provide_clock),
18620         (gst_element_get_clock), (gst_element_commit_state),
18621         (gst_element_lost_state):
18622         * gst/gstelement.h:
18623         Make get/set_clock() symetric. Add provide_clock vmethod since
18624         that is actually what this function does.
18625
18626         * gst/gstpipeline.c: (gst_pipeline_class_init),
18627         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18628         (gst_pipeline_get_clock):
18629         get_clock -> provide_clock.
18630
18631 2005-09-28  Andy Wingo  <wingo@pobox.com>
18632
18633         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18634         lieu of real docs...
18635
18636         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18637
18638 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18639
18640         * gst/elements/gstcapsfilter.c:
18641         * gst/elements/gstfakesink.c:
18642         * gst/elements/gstfakesrc.c:
18643         * gst/elements/gstfdsink.c:
18644         * gst/elements/gstfdsrc.c:
18645         * gst/elements/gstfilesink.c:
18646         * gst/elements/gstfilesrc.c:
18647         * gst/elements/gstidentity.c:
18648         * gst/elements/gsttee.c:
18649         * gst/elements/gsttypefindelement.c:
18650           Make element details static.
18651
18652 2005-09-28  Wim Taymans  <wim@fluendo.com>
18653
18654         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18655         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18656         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18657         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18658         (gst_bin_change_state), (gst_bin_dispose):
18659         Some documentation updates.
18660         Clean up dispose handlers.
18661
18662         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18663         * gst/gstpad.c: (gst_pad_dispose):
18664         Clean up dispose handler.
18665
18666         * gst/gstpipeline.c: (gst_pipeline_change_state):
18667         Removed spurious UNLOCK.
18668
18669 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18670
18671         * docs/gst/gstreamer-sections.txt:
18672         * gst/base/gstbasesrc.h:
18673         * gst/gstelement.h:
18674         * gst/gstevent.h:
18675         * gst/gstobject.h:
18676         * gst/gstpad.h:
18677         * gst/gstpipeline.c:
18678         * gst/gstpipeline.h:
18679         * gst/gstutils.h:
18680         * gst/gstxml.h:
18681           added two new functions to the docs
18682                 documents all undocumented GstXXXFlags
18683                 completed some incomplete docs 
18684
18685 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18686
18687         * gst/gstbin.c: (gst_bin_dispose):
18688         * gst/gstelement.c: (gst_element_dispose):
18689           remove now useless and leaky resurrection code in dispose
18690         * gst/base/gstbasesrc.c: (gst_base_src_init):
18691         * gst/gstelementfactory.c: (gst_element_factory_create):
18692         * gst/gstobject.c: (gst_object_set_parent):
18693           add some debugging
18694
18695 2005-09-27  Wim Taymans  <wim@fluendo.com>
18696
18697         * docs/design/part-TODO.txt:
18698         Update TODO.
18699
18700         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18701         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18702         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18703         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18704         (gst_bin_change_state):
18705         * gst/gstelement.h:
18706         Remove element variable, we keep element info in the iterator now.
18707
18708 2005-09-27  Andy Wingo  <wingo@pobox.com>
18709
18710         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18711         values.
18712
18713 2005-09-27  Wim Taymans  <wim@fluendo.com>
18714
18715         * check/gst/gstbin.c: (GST_START_TEST):
18716         Enable check that works now.
18717
18718         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18719         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18720         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18721         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18722         (gst_bin_change_state):
18723         * gst/gstbin.h:
18724         Redid the state change algorithm using a topological sort algo.
18725         Handles all cases correctly.
18726         Exposed iterator for state change order.
18727
18728         * gst/gstelement.h:
18729         Temp storage for state changes. Need to get rid of this soon.
18730
18731 2005-09-27  Wim Taymans  <wim@fluendo.com>
18732
18733         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18734         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18735         (link_fold_func), (gst_pad_proxy_setcaps):
18736         Leak fixes, the fold functions need to unref the passed object and
18737         _get_parent_*() returns ref to parent.
18738
18739 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18740
18741         * check/gst/gstbuffer.c: (test_make_writable):
18742           Plug leak in test case and fix 'make check-valgrind'
18743
18744 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18745
18746         * gst/gstbuffer.c: (gst_subbuffer_init):
18747           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18748           works correctly in all circumstances (we could have just copied
18749           the parent buffer's readonly flag, but conceptually it seems
18750           cleaner to mark all subbuffers as read-only). (based on patch
18751           by Alessandro Decina, #314710).
18752         
18753         * check/gst/gstbuffer.c: (create_read_only_buffer),
18754         (test_make_writable), (test_subbuffer_make_writable),
18755         (gst_test_suite):
18756           Add some tests for gst_buffer_make_writable().
18757
18758 2005-09-27  Wim Taymans  <wim@fluendo.com>
18759
18760         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18761         use gst_object_has_ancestor().
18762
18763         * gst/gstobject.c: (gst_object_has_ancestor):
18764         * gst/gstobject.h:
18765         gst_object_has_ancestor() copied from gstbin.c as it is a
18766         useful function.
18767
18768         * tests/instantiate/create.c: (create_all_elements):
18769         * tests/lat.c: (handoff_src), (handoff_sink):
18770         * tests/sched/runxml.c: (main):
18771         * tests/seeking/seeking1.c: (main):
18772         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18773         (main):
18774         Fix compilation of some tests.
18775
18776 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18777
18778         * gst/gsterror.h:
18779           Remove comment. GST_TYPE_G_ERROR is here to stay,
18780           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18781           (#316961, #300610).
18782
18783 2005-09-26  Wim Taymans  <wim@fluendo.com>
18784
18785         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18786         Added check that shows error in state change order.
18787
18788 2005-09-26  Wim Taymans  <wim@fluendo.com>
18789
18790         * gst/gstbin.c: (gst_bin_change_state):
18791         Make state change function use 3 queues again, we were
18792         adding elements in the wrong order.
18793
18794         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18795         Some debug info,
18796
18797         * gst/gstpad.c: (gst_pad_dispose):
18798         Added some debug info first.
18799
18800 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18801
18802         * docs/design/draft-push-pull.txt:
18803         * docs/design/part-events.txt:
18804         * docs/design/part-overview.txt:
18805         * docs/design/part-scheduling.txt:
18806           Replace all _pull_region() with _pull_range()
18807           
18808 2005-09-26  Andy Wingo  <wingo@pobox.com>
18809
18810         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18811
18812         * check/gst-libs/controller.c: Update for controller api change.
18813
18814         * configure.ac: 
18815         * tests/Makefile.am:
18816         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18817         over by GLib bug 118439.
18818         
18819         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18820         routines to a function.
18821
18822         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18823
18824         * libs/gst/controller/gsthelper.c:
18825         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18826         (gst_object_sync_values): Renamed from sink_values. Ugh.
18827
18828         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18829
18830         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18831         Renamed from controller_key, as it is exported.
18832
18833         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18834
18835 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18836
18837         * gst/Makefile.am:
18838         * gst/gst.h:
18839         * gst/gstpad.h:
18840         * gst/gstpadtemplate.h:
18841         * gst/gstquery.c:
18842         * gst/gstquery.h:
18843         * gst/gstqueryutils.c:
18844         * gst/gstqueryutils.h:
18845           remove queryutils headers after moving the two used functions
18846           to gstquery.  also fixes build problem for gstsiddec
18847
18848 2005-09-26  Michael Smith <msmith@fluendo.com>
18849
18850         * tools/gst-launch.1.in:
18851         Correct documentation in manpage of debug syntax
18852
18853 2005-09-26  Wim Taymans  <wim@fluendo.com>
18854
18855         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18856         (gst_base_src_is_seekable), (gst_base_src_change_state):
18857         Some more debugging info.
18858
18859 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18860
18861         * docs/gst/gstreamer-sections.txt:
18862         * gst/base/gstbasetransform.h:
18863         * gst/gstindex.h:
18864           added more docs
18865
18866 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18867
18868         * docs/gst/.cvsignore:
18869         * docs/gst/tmpl/.cvsignore:
18870         * docs/gst/tmpl/gstpipeline.sgml:
18871         * docs/gst/tmpl/gstplugin.sgml:
18872         * gst/gstpipeline.c:
18873         * gst/gstplugin.c:
18874         * gst/gstplugin.h:
18875           inlined the last two docs files
18876           removed the tmpl directory from cvs (no more conflicts here!)
18877
18878 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18879
18880         * docs/gst/gstreamer-sections.txt:
18881         * docs/gst/tmpl/.cvsignore:
18882         * docs/gst/tmpl/gstpad.sgml:
18883         * docs/gst/tmpl/gstpadtemplate.sgml:
18884         * gst/Makefile.am:
18885         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18886         (gst_pad_finalize), (gst_pad_set_pad_template):
18887         * gst/gstpad.h:
18888         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18889         (gst_pad_template_class_init), (gst_pad_template_init),
18890         (gst_pad_template_dispose), (name_is_valid),
18891         (gst_static_pad_template_get), (gst_pad_template_new),
18892         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18893         (gst_pad_template_pad_created):
18894         * gst/gstpadtemplate.h:
18895           inlined two more docs
18896           factored gstpadtemplate out of gstpad
18897
18898 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
18899
18900         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18901         (test_children_state_change_order_semi_sink):
18902           Fix test case: we can't rely on a fixed state change order when
18903           going from READY => PAUSED because the sink might commit its 
18904           new state first when the first buffer created by the source 
18905           reaches the sink before the source has finished its change state.
18906           (Test case still fails at times, see #316856, comment 5 onwards)
18907
18908 2005-09-24  Wim Taymans  <wim@fluendo.com>
18909
18910         * docs/design/part-events.txt:
18911         * docs/design/part-gstbus.txt:
18912         * docs/design/part-gstpipeline.txt:
18913         * docs/design/part-messages.txt:
18914         * docs/design/part-overview.txt:
18915         * docs/design/part-segments.txt:
18916         * gst/gstbin.c:
18917         * gst/gstbuffer.c:
18918         * gst/gstclock.c:
18919         * gst/gstelement.c:
18920         * gst/gstevent.c:
18921         * gst/gstfilter.c:
18922         * gst/gstiterator.c:
18923         Various documentation updates.
18924
18925 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18926
18927         * gst/gstclock.h:
18928           Well, that's embarassing.  Luckily we weren't using
18929           GST_CLOCK_DIFF anywhere.
18930
18931 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18932
18933         * common/gtk-doc.mak:
18934           don't fail on building XML, FC4 slave shows a bunch of doc
18935           missing bits that I don't get
18936         * gst/gstpad.c:
18937         * gst/gstpipeline.c:
18938         * gst/gststructure.c:
18939           some doc updates
18940
18941 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18942
18943         * docs/design/part-gstbin.txt:
18944         * docs/design/part-gstbus.txt:
18945         * gst/gstbus.c:
18946           Add blurb about how the bus goes into flushing mode and
18947           drops all messages when its bin goes from READY into NULL 
18948           state.
18949
18950 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18951
18952         * docs/gst/gstreamer-sections.txt:
18953         * gst/gststructure.c: (gst_structure_get_clock_time):
18954         * gst/gststructure.h:
18955           add a method to get a GstClockTime out of a structure
18956
18957 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18958
18959         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18960         (test_children_state_change_order_semi_sink), (gst_bin_suite):
18961           Added test to check state change order in bins (can still be made
18962           to fail here under heavy disk load; bails out with 'Push on pad
18963           fakesink:sink0, but it was not activated in push mode').
18964
18965         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18966           Fix state change order when there is only a semi sink (#316856)
18967
18968         * gst/gstbus.c: (gst_bus_class_init):
18969           Use _class_peek_parent(), not _class_ref(); fix docs to say
18970           'default main context' instead of 'mainloop' where that is
18971           what's meant.
18972
18973         * gst/gstelement.c: (gst_element_commit_state),
18974         (gst_element_set_state):
18975           Fix typos in debug messages
18976
18977 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18978
18979         * docs/README:
18980         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18981         * gst/gstpluginfeature.c:
18982         * gst/gstutils.c:
18983           various doc updates
18984         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18985           change an assert into an error until it gets fixed properly
18986
18987 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
18988
18989         * docs/gst/gstreamer-sections.txt:
18990         * docs/gst/tmpl/.cvsignore:
18991         * docs/gst/tmpl/gstelement.sgml:
18992         * docs/gst/tmpl/gstinfo.sgml:
18993         * docs/gst/tmpl/gstobject.sgml:
18994         * gst/gstelement.c:
18995         * gst/gstelement.h:
18996         * gst/gstinfo.c:
18997         * gst/gstinfo.h:
18998         * gst/gstobject.c: (gst_object_class_init):
18999         * gst/gstobject.h:
19000           inlined 3 more biiiig doc files and added some missing docs on the fly
19001
19002 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19003
19004         * check/gst/.cvsignore:
19005         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19006         * gst/gstregistryxml.c: (load_plugin),
19007         (gst_registry_xml_save_plugin):
19008           put back source in registry.  add checks for find_plugin.
19009         * testsuite/states/bin.c: (assert_state), (empty_bin),
19010         (test_adding_one_element), (main):
19011         * testsuite/states/locked.c: (main):
19012           some compile/run fixes
19013
19014 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19015
19016         * check/gst/gstvalue.c: (GST_START_TEST):
19017           fix leaks in the test itself
19018
19019 2005-09-22  Wim Taymans  <wim@fluendo.com>
19020
19021         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19022         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19023         (gst_base_sink_query):
19024         Prepare for more accurate position reporting and query
19025         handling.
19026
19027         * gst/gstelement.c: (gst_element_send_event),
19028         (gst_element_set_state):
19029         Add some comment.
19030
19031 2005-09-22  Wim Taymans  <wim@fluendo.com>
19032
19033         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19034         (gst_query_parse_segment):
19035         * gst/gstquery.h:
19036         More documentation.
19037         Add segment query for future use.
19038
19039 2005-09-22  Wim Taymans  <wim@fluendo.com>
19040
19041         * gst/gstbin.c: (gst_bin_add_func):
19042         Some more debug info.
19043
19044         * gst/gstelement.c: (gst_element_send_event):
19045         Simplify send_event
19046
19047         * gst/gstelement.h:
19048         Don't know how flags got broken.
19049
19050         * gst/gstquery.h:
19051         Added new query.
19052
19053 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19054
19055         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19056           Add simplistic test suite for GST_TYPE_DATE serialisation and
19057           deserialisation.
19058
19059 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19060
19061         * docs/gst/gstreamer-sections.txt:
19062         * gst/gststructure.c: (gst_structure_set_valist),
19063         (gst_structure_get_date):
19064         * gst/gststructure.h:
19065         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19066         (gst_date_copy), (gst_value_compare_date),
19067         (gst_value_serialize_date), (gst_value_deserialize_date),
19068         (gst_value_transform_date_string),
19069         (gst_value_transform_string_date), (_gst_value_initialize):
19070         * gst/gstvalue.h:
19071           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19072           bunch of utility functions along with a hack that checks that
19073           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19074           is required. Part of the grand scheme in #170777.
19075
19076 2005-09-22  Andy Wingo  <wingo@pobox.com>
19077
19078         * gst/gstconfig.h.in: Psych out gtk-doc.
19079
19080         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19081
19082         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19083
19084         * tools/gst-inspect.c (print_element_list): Plug some
19085         inconsequential leaks.
19086
19087         * gst/gstregistry.c (gst_registry_get_default): Doc.
19088
19089         * check/gst/gstplugin.c: 
19090         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19091         * gst/gstelementfactory.c (gst_element_factory_create): 
19092         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19093         refcount changes.
19094
19095         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19096         (gst_plugin_feature_load): Doc, don't eat refs.
19097
19098         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19099         (gst_plugin_list_free): Doc.
19100         (gst_plugin_load_file): Doc updates.
19101
19102         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19103         accessors returning refcounted objects, return a ref.
19104
19105         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19106         accessor for caps. IDEMPOTENCE. Oh yes.
19107
19108 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19109
19110         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19111
19112         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19113         (_gst_debug_register_funcptr):
19114           Add mutex to serialise access to the hash table with
19115           the function pointer => function name string mapping;
19116           make that hash table static scope (#316809).
19117
19118         * gst/registries/.cvsignore:
19119           Remove left-over file.
19120
19121 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19122
19123         * docs/pwg/appendix-porting.xml:
19124           And something about newsegment events and caps-on-buffers to
19125           the porting guide (feel free to improve).
19126
19127 2005-09-21  Andy Wingo  <wingo@pobox.com>
19128
19129         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19130         data and event probes on the same pad.
19131         (test_buffer_probe_once): Test that removing probes from within
19132         the probe functions works.
19133
19134 2005-09-21  Andy Wingo  <wingo@pobox.com>
19135
19136         * check/gst/gstutils.c: New file.
19137         (test_buffer_probe_n_times): A simple buffer probe test. More to
19138         come, foolios.
19139
19140         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19141         have-data::buffer, not have-data.
19142         (gst_pad_add_event_probe): Likewise for have-data::event.
19143         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19144         peer' isn't quite right yet though.
19145         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19146         (gst_pad_remove_data_probe): Change to take the guint handler_id
19147         as their arg, not the function+data, which is more glib-like.
19148
19149         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19150         the signal emission to indicate if the data is a buffer or an
19151         event.
19152         (gst_pad_get_type): Initialize buffer and event quarks.
19153         (gst_pad_class_init): have-data is now a detailed signal, yes it
19154         is.
19155
19156 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19157
19158         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19159         * gst/gstutils.c: (gst_util_set_value_from_string),
19160         (gst_util_set_object_arg):
19161           Don't put functional code in g_return_if_fail() or
19162           g_return_val_if_fail() statements, otherwise things will 
19163           break when G_DISABLE_CHECKS is defined during compilation.
19164
19165 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19166
19167         * docs/gst/tmpl/.cvsignore:
19168         * docs/gst/tmpl/gstvalue.sgml:
19169         * gst/gstvalue.c:
19170         * gst/gstvalue.h:
19171           inlied another one and added  some obvious docs
19172
19173 2005-09-21  Wim Taymans  <wim@fluendo.com>
19174
19175         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19176         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19177         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19178         (gst_fdsrc_get_property), (gst_fdsrc_create):
19179         * gst/elements/gstfdsrc.h:
19180         Properly implement fdsrc. Removed signal and timeout,
19181         better implemented somewhere else.
19182
19183 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19184
19185         * docs/gst/tmpl/.cvsignore:
19186         * docs/gst/tmpl/gstimplementsinterface.sgml:
19187         * gst/gstinterface.c:
19188           inlined more docs
19189
19190 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19191
19192         * docs/gst/gstreamer-sections.txt:
19193         * docs/gst/tmpl/.cvsignore:
19194         * docs/gst/tmpl/gstenumtypes.sgml:
19195           remove obsolete doc file
19196
19197 2005-09-21  David Schleef  <ds@schleef.org>
19198
19199         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19200         little beer, fix a little leak.
19201
19202 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19203
19204         * docs/gst/gstreamer-docs.sgml:
19205         * docs/gst/gstreamer-sections.txt:
19206         * docs/gst/tmpl/.cvsignore:
19207         * gst/Makefile.am:
19208         * gst/gst.h:
19209         * gst/gstbin.c:
19210         * gst/gstelement.h:
19211         * gst/gstindex.c: (gst_index_class_init):
19212         * gst/gstindex.h:
19213         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19214         (gst_index_factory_class_init), (gst_index_factory_init),
19215         (gst_index_factory_finalize), (gst_index_factory_new),
19216         (gst_index_factory_destroy), (gst_index_factory_find),
19217         (gst_index_factory_create), (gst_index_factory_make):
19218         * gst/gstindexfactory.h:
19219         * gst/gstpluginfeature.c:
19220         * gst/gstpluginfeature.h:
19221         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19222           more docs inlined, splitted gstindex.{c,h}
19223
19224 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19225
19226         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19227           fix a leak
19228
19229 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19230
19231         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19232           Set sync to FALSE by default.
19233
19234 2005-09-20  Wim Taymans  <wim@fluendo.com>
19235
19236         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19237         (gst_base_sink_init):
19238         Make sync property settable from subclass.
19239
19240         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19241         (gst_fake_sink_change_state):
19242         Set sync to FALSE by default.
19243
19244 2005-09-20  Wim Taymans  <wim@fluendo.com>
19245
19246         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19247         * tools/gst-launch.c: (main):
19248         The timeout handler should have lower priority than the source
19249         so we don't timeout before popping a message with 0 timeout.
19250         Dump error messages after failed state change.
19251
19252 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19253
19254         * tools/gst-inspect.c: (print_element_properties_info):
19255           Fix two typos.
19256
19257 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19258
19259         * check/gst/gstevent.c:
19260         * gst/elements/gstfakesink.c:
19261         * gst/elements/gstfakesink.h:
19262           remove the sync property from fakesink.
19263           has the side effect of setting sync TRUE
19264           for fakesink, which is a change.  Anyone who knows how
19265           to fix this nicely in a GObject-y way, feel free.
19266
19267 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19268
19269         * docs/gst/gstreamer-docs.sgml:
19270           remove probe refsection
19271
19272 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19273
19274         * check/Makefile.am:
19275           disable valgrinding the controller test again
19276         * docs/gst/gstreamer-sections.txt:
19277           update for api-changes
19278
19279 2005-09-20  Wim Taymans  <wim@fluendo.com>
19280
19281         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19282         (gst_base_sink_set_property), (gst_base_sink_get_property),
19283         (gst_base_sink_do_sync):
19284         * gst/base/gstbasesink.h:
19285         Added sync property to basesink to disable clock sync.
19286
19287 2005-09-20  Andy Wingo  <wingo@pobox.com>
19288
19289         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19290         eating the caller's refcount.
19291
19292         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19293         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19294         refcount.
19295
19296         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19297         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19298         of GLib 2.8 public, so we can know which refcount to check in
19299         tests.
19300
19301         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19302         (gst_object_init): Only set the gst refcount if we're going ahead
19303         with the refcount hack.
19304
19305 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19306
19307         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19308         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19309           more leaks plumbed, added more debug-logging
19310         * gst/gstmacros.h:
19311           whitespace fix
19312
19313 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19314
19315         * gst/gstmessage.c:
19316           remove include of gstmemchunk.h
19317
19318 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19319
19320         * gst/gstclock.c: (_gst_clock_id_free):
19321           Commit from the Political Party For More Atomic CVS Commits,
19322           so that people don't waste too much of their day fishing
19323           out obvious leaks out of massive commits.
19324           Oh, and fix a pretty damn obvious leak in the memchunk
19325           removal code.
19326
19327 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19328
19329         * check/Makefile.am:
19330         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19331           plug mem-leak, re-add to valgrindable tests
19332
19333 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19334
19335         * gst/gstplugin.h:
19336           unbreak the build for those who have chronic arthritis
19337           and typing "make check" is just too taxing on the hands
19338
19339 2005-09-20  Andy Wingo  <wingo@pobox.com>
19340
19341         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19342         really want it out, you should fix plugins at the same time.
19343
19344 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19345
19346         * configure.ac:
19347         * docs/gst/gstreamer-sections.txt:
19348         * gst/gstobject.c:
19349           added missing symbols to api docs
19350           disable ref-count hack if we have glib >= 2.8
19351
19352 2005-09-19  David Schleef  <ds@schleef.org>
19353
19354         * docs/gst/Makefile.am: Ignore a few more internal headers
19355         * docs/gst/gstreamer-docs.sgml: Remove old sections
19356         * docs/gst/gstreamer-sections.txt: Remove old sections
19357         * docs/gst/tmpl/gstobject.sgml: update
19358         * docs/gst/tmpl/gstplugin.sgml: update
19359         * docs/gst/tmpl/gstpluginfeature.sgml: update
19360         * docs/random/ds/0.9-suggested-changes: update.
19361         * gst/Makefile.am: remove memchunk and trashstack, since they're
19362           not used.
19363         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19364         * gst/gst.h: don't include some headers
19365         * gst/gstchildproxy.c: add gstmarshal.h
19366         * gst/gstclock.c: Don't use memchunks
19367         * gst/gstminiobject.c: Add some docs
19368         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19369         * gst/gstobject.h: same
19370         * gst/gstplugin.c: include gstmacros.h
19371         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19372         * gst/gstquery.c: don't use memchunks
19373         * gst/gstregistry.c: rename gst_registry_deinit()
19374         * gst/gstregistry.h: same
19375
19376 2005-09-19  David Schleef  <ds@schleef.org>
19377
19378         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19379         * docs/libs/gstreamer-libs-sections.txt:
19380         * docs/libs/tmpl/gstgetbits.sgml:
19381         * docs/libs/tmpl/gstputbits.sgml:
19382
19383 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19384
19385         * win32/gstenumtypes.c:
19386         * win32/gstenumtypes.h:
19387           Update.
19388
19389 2005-09-19  Wim Taymans  <wim@fluendo.com>
19390
19391         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19392         Automatically PAUSE and RESUME a pipeline when a flushing seek
19393         is performed.
19394
19395 2005-09-19  Andy Wingo  <wingo@pobox.com>
19396
19397         * gst/gstregistry.h: Spacing fixen.
19398
19399 2005-09-19  Wim Taymans  <wim@fluendo.com>
19400
19401         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19402         Handle state change failure more correctly.
19403
19404 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19405
19406         * check/Makefile.am:
19407         * check/pipelines/cleanup.c: (run_pipeline):
19408         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19409         (GST_START_TEST):
19410           enable cleanup again after fixing the leak
19411         * docs/README:
19412           some more info on docs
19413
19414 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19415
19416         * check/Makefile.am:
19417           re-enable tests now that leaks are plugged
19418         * check/gst/gst.c:
19419         * check/gst/gstbin.c:
19420         * check/gst/gstpipeline.c:
19421           add some more tests while fixing leaks
19422         * common/check.mak:
19423           make sure binaries are uptodate when valgrinding/gdbing
19424         * gst/gst.c:
19425         * gst/gstelementfactory.c:
19426           remove a ref too many, and add a FIXME for when we get
19427           round to disposing of classes
19428         * gst/gstplugin.c:
19429           fix the refcounting when loading a plugin from a file and
19430           the code pretends that the pointer is the same even though
19431           of course it can change
19432         * gst/gstpluginfeature.c:
19433           unref plugins marked cached (a bit confusing as a name)
19434           as the docs state should be done
19435           various doc additions to explain refcounting
19436         * gst/gstregistry.c:
19437         * gst/gstregistryxml.c:
19438           debugging
19439
19440 2005-09-19  Wim Taymans  <wim@fluendo.com>
19441
19442         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19443         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19444         (send_messages), (GST_START_TEST), (gstbus_suite):
19445         * check/gst/gstpipeline.c: (GST_START_TEST):
19446         * check/pipelines/cleanup.c: (run_pipeline):
19447         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19448         (GST_START_TEST):
19449         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19450         (gst_bus_source_check), (gst_bus_source_dispatch),
19451         (gst_bus_create_watch), (gst_bus_add_watch_full),
19452         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19453         * gst/gstbus.h:
19454         * tools/gst-launch.c: (event_loop):
19455         * tools/gst-md5sum.c: (event_loop):
19456         GstBusHandler -> GstBusFunc, return value has the same meaning as
19457         any other GSource (FALSE == remove source).
19458         _add_watch() and _add_watch_full() now take a MessageType mask to
19459         only handle specific types of messages.
19460         _poll() returns the GstMessage instead of the message type to avoid
19461         race conditions.
19462         _have_pending() takes a MessageType mask now too.
19463         Added testsuite for multiple bus watches.
19464         Fix testsuites and applications for new bus API.
19465
19466 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19467
19468         * check/Makefile.am:
19469           mark a bunch of the tests as to fix until we fix them
19470
19471 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19472
19473         * common/check.mak:
19474           use GST_PLUGIN settings for valgrind tests as well, so we're
19475           valgrinding the correct thing
19476         * gst/gst.c: (init_post):
19477           plug another leak
19478
19479 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19480
19481         * gst/gst.c: (init_post), (gst_deinit):
19482         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19483         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19484         * gst/gstindex.c: (gst_index_factory_class_init),
19485         (gst_index_factory_finalize):
19486         * gst/gstobject.c: (gst_object_dispose):
19487         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19488         (gst_plugin_load_file), (gst_plugin_desc_free):
19489         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19490         (gst_plugin_feature_finalize):
19491         * gst/gstregistry.c: (gst_registry_class_init),
19492         (gst_registry_init), (gst_registry_finalize),
19493         (gst_registry_get_default), (gst_registry_deinit):
19494         * gst/gstregistry.h:
19495         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19496           various cleanups and memleak plugging.  make valgrind is happy now.
19497
19498 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19499
19500         * common/check.mak:
19501           add a check-valgrind target
19502
19503 2005-09-18  David Schleef  <ds@schleef.org>
19504
19505         * tools/gst-inspect.c: Revert the GOption code.
19506
19507 2005-09-17  David Schleef  <ds@schleef.org>
19508
19509         * check/Makefile.am: Fix environment variables.
19510         * check/gst/gstplugin.c: Fix for API changes.
19511         * tools/gst-inspect.c: Fix for API changes.
19512         * tools/gst-xmlinspect.c: Fix for API changes.
19513         * gst/gstelementfactory.c:
19514         * gst/gstplugin.c:
19515         * gst/gstplugin.h:
19516         * gst/gstpluginfeature.c:
19517         * gst/gstpluginfeature.h:
19518         * gst/gstregistry.c:
19519         * gst/gstregistry.h:
19520         * gst/gstregistryxml.c:
19521         * gst/gsttypefind.c:
19522         * gst/gsttypefindfactory.c:
19523         * gst/indexers/gstfileindex.c:
19524         * gst/indexers/gstmemindex.c:
19525         * gst/schedulers/Makefile.am:
19526           Change registry to keep track of both plugins and features,
19527           removing the feature tracking from plugins themselves.
19528
19529 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19530
19531         * check/Makefile.am:
19532         * tools/gst-register.1.in:
19533           remove gst-register
19534
19535 2005-09-15  David Schleef  <ds@schleef.org>
19536
19537         * check/gst/gstplugin.c:
19538         * gst/gstelementfactory.c:
19539         * gst/gstplugin.c:
19540         * gst/gstpluginfeature.c:
19541         * gst/gstregistry.c:
19542           Getting tired of debugging.  Disabled all the unreffing of
19543           plugins and features, which fixes the segfaults, but of
19544           course leaks like crazy.  At least playbin works.
19545
19546 2005-09-15  David Schleef  <ds@schleef.org>
19547
19548         * check/gst/gstplugin.c: (register_check_elements),
19549         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19550         More testing
19551         * gst/elements/gsttypefindelement.c: Fix refcounting.
19552         * gst/gsttypefind.c:
19553         * gst/gsttypefindfactory.c:
19554         * gst/gsttypefindfactory.h:
19555
19556 2005-09-15  David Schleef  <ds@schleef.org>
19557
19558         * gst/gstindex.c: get refcounting correct.
19559         * gst/gstregistry.c: Handle the case where a feature/plugin is
19560           not found.
19561
19562 2005-09-15  David Schleef  <ds@schleef.org>
19563
19564         * check/Makefile.am:
19565         * check/gst/gstplugin.c: Add test
19566         * gst/gstplugin.c: Fix problems noticed by testsuite
19567         * gst/gstplugin.h:
19568         * gst/gstregistry.c: 
19569         * gst/gstregistry.h:
19570
19571 2005-09-15  David Schleef  <ds@schleef.org>
19572
19573         * gst/gstplugin.c: Implement semi-decent recounting and locking
19574           in plugins and plugin features.
19575         * gst/gstplugin.h:
19576         * gst/gstpluginfeature.c:
19577         * gst/gstpluginfeature.h:
19578         * gst/gstregistry.c:
19579
19580 2005-09-15  Michael Smith <msmith@fluendo.com>
19581
19582         * gst/gstregistry.c: (gst_registry_get_feature_list):
19583           Implement this. Makes oggdemux work; decodebin still broken.
19584
19585 2005-09-14  David Schleef  <ds@schleef.org>
19586
19587         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19588           #316076)
19589         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19590         * gst/check/Makefile.am:
19591         * libs/gst/controller/Makefile.am:
19592         * libs/gst/dataprotocol/Makefile.am:
19593
19594 2005-09-14  David Schleef  <ds@schleef.org>
19595
19596         * configure.ac: Remove getbits library.  Nothing uses it, and
19597           it should be in something like liboil if someone did want
19598           to use it.
19599         * libs/gst/Makefile.am:
19600         * libs/gst/getbits/Makefile.am:
19601         * libs/gst/getbits/gbtest.c:
19602         * libs/gst/getbits/getbits.c:
19603         * libs/gst/getbits/getbits.h:
19604         * libs/gst/getbits/gstgetbits_generic.c:
19605         * libs/gst/getbits/gstgetbits_i386.s:
19606         * libs/gst/getbits/gstgetbits_inl.h:
19607
19608 2005-09-14  David Schleef  <ds@schleef.org>
19609
19610         * gst/Makefile.am: Dist glib-compat.h
19611
19612 2005-09-14  David Schleef  <ds@schleef.org>
19613
19614         * configure.ac: Remove gst/registries, since it's no longer used.
19615         * gst/registries/Makefile.am:
19616         * gst/registries/gstlibxmlregistry.c:
19617         * gst/registries/gstlibxmlregistry.h:
19618         * gst/registries/gstxmlregistry.c:
19619         * gst/registries/gstxmlregistry.h:
19620         * gst/registries/registrytest.c:
19621
19622 2005-09-14  David Schleef  <ds@schleef.org>
19623
19624         * gst/glib-compat.h:
19625         * gst/gstregistryxml.c:
19626           Convergence is near.  Seriously.
19627
19628 2005-09-14  David Schleef  <ds@schleef.org>
19629
19630         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19631         * gst/glib-compat.h:
19632           Attempt #4 to appease the buildbots.
19633
19634 2005-09-14  David Schleef  <ds@schleef.org>
19635
19636         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19637           Attempt #3.
19638
19639 2005-09-14  David Schleef  <ds@schleef.org>
19640
19641         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19642         Attempt #2.
19643
19644 2005-09-14  David Schleef  <ds@schleef.org>
19645
19646         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19647           the new functions.
19648
19649 2005-09-14  David Schleef  <ds@schleef.org>
19650
19651         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19652         * gst/glib-compat.h: Add some functions that are in newer versions
19653           of glib than we care to require.
19654         * gst/gstregistryxml.c: Use them.
19655
19656 2005-09-14  David Schleef  <ds@schleef.org>
19657
19658         * po/POTFILES.in: remove gst-register.c
19659
19660 2005-09-14  David Schleef  <ds@schleef.org>
19661
19662         * docs/gst/gstreamer-docs.sgml:
19663         * docs/gst/gstreamer-sections.txt:
19664         * docs/gst/gstreamer.types:
19665         * docs/gst/tmpl/gstelement.sgml:
19666         * docs/gst/tmpl/gstplugin.sgml:
19667         * docs/gst/tmpl/gstpluginfeature.sgml:
19668           Documentation updates for registry changes.
19669
19670 2005-09-14  David Schleef  <ds@schleef.org>
19671
19672         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19673           because we don't require glib-2.8.
19674
19675 2005-09-14  David Schleef  <ds@schleef.org>
19676
19677         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19678           registries directory.
19679
19680 2005-09-14  David Schleef  <ds@schleef.org>
19681
19682         * check/Makefile.am:
19683         * check/generic/states.c:
19684         * gst/Makefile.am:
19685         * gst/gst.c:
19686         * gst/gst.h:
19687         * gst/gst_private.h:
19688         * gst/gstelementfactory.c:
19689         * gst/gstindex.c:
19690         * gst/gstinfo.c:
19691         * gst/gstplugin.c:
19692         * gst/gstplugin.h:
19693         * gst/gstpluginfeature.c:
19694         * gst/gstpluginfeature.h:
19695         * gst/gstregistry.c:
19696         * gst/gstregistry.h:
19697         * gst/gstregistrypool.c: remove
19698         * gst/gstregistrypool.h: remove
19699         * gst/gsttypefind.c:
19700         * gst/gsttypefindfactory.c:
19701         * gst/gsturi.c:
19702         * tools/Makefile.am:
19703         * tools/gst-compprep.c:
19704         * tools/gst-inspect.c:
19705         * tools/gst-register.c: remove
19706         * tools/gst-xmlinspect.c:
19707           Registry rewrite.  Changes registry from being a file created
19708           by a tool into a simple cache file created automatically by 
19709           libgstreamer.  Removed gst-register (because it's no longer
19710           needed).  Remove registry pools, because we only have one
19711           registry implementation (XML).  Fix up other subsystems as
19712           necessary.
19713
19714 2005-09-13  Michael Smith <msmith@fluendo.com>
19715
19716         * gst/gstconfig.h.in:
19717           Don't Use windows linking attributes for MinGW. Fixes #316157
19718
19719 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19720
19721         * gst/gstutils.c: (set_state_async_thread_func),
19722         (gst_element_set_state_async):
19723           Apparently people think it's better if this function doesn't
19724           try to set the state to whatever state was asked for on the first
19725           call to this function for any object.  Seriously.
19726
19727 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19728
19729         * check/gst/gstpipeline.c: (GST_START_TEST):
19730         * docs/gst/gstreamer-sections.txt:
19731         * gst/gstutils.c: (set_state_async_thread_func),
19732         (gst_element_set_state_async):
19733         * gst/gstutils.h:
19734           add a "gst_element_set_state_async" method that
19735           sets the state and starts a thread to make sure the state
19736           change completes as best as it can
19737
19738 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19739
19740         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19741           codify design+behaviour in testsuite after discussion
19742
19743 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19744
19745         * docs/gst/tmpl/gstelement.sgml:
19746         * docs/manual/appendix-quotes.xml:
19747           add a quote
19748         * gst/gstelement.c: (gst_element_set_state):
19749           add some debug
19750
19751 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19752
19753         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19754         (gst_base_transform_prepare_output_buf),
19755         (gst_base_transform_handle_buffer):
19756         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19757         (gst_capsfilter_prepare_buf):
19758           Remove the requirement for sub-classes to call the parent
19759           implementation of prepare_output_buffer with a wrapper function.
19760           
19761         * gst/gsttaglist.h:
19762         * gst/gsttagsetter.h:
19763           Fix #define wrapper
19764
19765 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19766
19767         * docs/gst/gstreamer-sections.txt:
19768           more doc cleanups
19769
19770 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19771
19772         * docs/gst/gstreamer-sections.txt:
19773         * docs/gst/tmpl/gstelement.sgml:
19774         * docs/gst/tmpl/gstplugin.sgml:
19775         * gst/gstminiobject.c:
19776         * gst/gstvalue.h:
19777           docs now stop throwing warnings
19778
19779 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19780
19781         * docs/gst/gstreamer-sections.txt:
19782         * docs/gst/gstreamer.types:
19783         * docs/gst/tmpl/gstpad.sgml:
19784         * docs/gst/tmpl/gsttypes.sgml:
19785         * gst/base/gstadapter.h:
19786         * gst/base/gstbasesink.h:
19787         * gst/base/gstbasesrc.h:
19788         * gst/gstbin.h:
19789         * gst/gstbuffer.h:
19790         * gst/gstbus.h:
19791         * gst/gstcaps.h:
19792         * gst/gstclock.h:
19793         * gst/gstelement.h:
19794         * gst/gstevent.h:
19795         * gst/gstmessage.h:
19796         * gst/gstpad.h:
19797         * gst/gststructure.c:
19798         * gst/registries/gstlibxmlregistry.h:
19799           various documentation fixes
19800
19801 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19802
19803         * docs/gst/gstreamer-sections.txt:
19804         * docs/gst/tmpl/gstvalue.sgml:
19805           rearrange gstvalue section
19806         * gst/gstutils.c: (gst_element_state_get_name):
19807           NONE -> VOID
19808         * gst/gstvalue.c: (_gst_value_initialize):
19809         * gst/gstvalue.h:
19810           doc updates
19811
19812 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19813
19814         * check/gst-libs/controller.c:
19815           Header include fix.
19816         * gst/base/gstbasetransform.c:
19817         (gst_base_transform_default_prepare_buf),
19818         (gst_base_transform_handle_buffer):
19819         * gst/base/gstbasetransform.h:
19820           Some more basetransform changes and fixes to enable sub-classes
19821           that modify buffer metadata only.
19822         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19823         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19824         (gst_capsfilter_prepare_buf):
19825           If the output pad has fixed allowed caps and input buffers 
19826           don't have any, set the fixed caps on outgoing buffers.
19827
19828 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19829         * check/elements/identity.c: (GST_START_TEST):
19830           Make the error a little clearer when the test fails because
19831           identity made a copy of the buffer.
19832         * docs/gst/gstreamer-sections.txt:
19833           New symbols in gstbasetransform.h
19834         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19835         (gst_base_transform_init), (gst_base_transform_transform_size),
19836         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19837         (gst_base_transform_default_prepare_buf),
19838         (gst_base_transform_get_unit_size),
19839         (gst_base_transform_buffer_alloc),
19840         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19841         (gst_base_transform_change_state),
19842         (gst_base_transform_set_passthrough),
19843         (gst_base_transform_set_in_place),
19844         (gst_base_transform_is_in_place):
19845         * gst/base/gstbasetransform.h:
19846           Change BaseTransform to separate in_place operate from same_caps
19847           output. in_place implies that the element can perform the transform
19848           on incoming buffers in-place, even if the caps on the output are
19849           different.
19850           Sub-class elements can now implement special buffer allocation
19851           methods for outgoing buffers if they wish to.
19852           Big documentation addition.
19853         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19854         * gst/elements/gstelements.c:
19855           Changes for basetransform modifications.
19856         * gst/elements/Makefile.am:
19857         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19858           Compile fix. Extra debug output.
19859
19860 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19861
19862         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19863         (gst_pad_suite):
19864           add tests for valid pad naming
19865         * gst/check/gstcheck.c: (gst_check_log_message_func),
19866         (gst_check_log_critical_func):
19867           add ASSERT_WARNING
19868           remove printing of code, it is fragile when the code contains
19869           % and the line number is enough info
19870         * gst/check/gstcheck.h:
19871         * gst/gstpad.c: (gst_pad_template_new):
19872           fix memleaks
19873
19874 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19875
19876         * configure.ac:
19877           say what CHECK flags we use
19878         * docs/libs/gstreamer-libs.types:
19879         * libs/gst/controller/Makefile.am:
19880         * libs/gst/controller/gst-controller.c:
19881         * libs/gst/controller/gst-controller.h:
19882         * libs/gst/controller/gst-helper.c:
19883         * libs/gst/controller/gst-interpolation.c:
19884         * libs/gst/controller/gstcontroller.c:
19885         * libs/gst/controller/gsthelper.c:
19886         * libs/gst/controller/gstinterpolation.c:
19887         * tools/gst-inspect.c: (print_plugin_info):
19888           we don't use dashes in header names
19889
19890 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19891
19892         * check/Makefile.am:
19893         * check/gst/.cvsignore:
19894         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19895         (gst_pipeline_suite), (main):
19896           adding a test for pipelines and state changes
19897         * gst/gstutils.c: (get_state_func):
19898           add some debugging
19899         * gstreamer.spec.in:
19900           fix up spec file
19901
19902 2005-09-08  Michael Smith <msmith@fluendo.com>
19903
19904         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19905         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19906         (gst_file_src_is_seekable), (gst_file_src_get_size),
19907         (gst_file_src_start):
19908         * gst/elements/gstfilesrc.h:
19909           Various fixes for unseekable, unmmapable, and non-normal files, so
19910           that fallback to read() rather than mmap() works.
19911         * gst/gstevent.c: (gst_event_new_newsegment):
19912           Allow newsegment events with segment_start == segment_end, as will
19913           correctly happen if you use filesrc on a zero-size file, for
19914           example.
19915
19916 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19917
19918         * gst/gstplugin.c: (gst_plugin_load_file):
19919           Call g_module_close when we don't load the module
19920
19921         * gst/registries/gstlibxmlregistry.c:
19922         (gst_xml_registry_get_property):
19923           Port leak fix from 0.8
19924
19925 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19926
19927         * docs/gst/gstreamer-docs.sgml:
19928         * docs/gst/tmpl/.cvsignore:
19929         * docs/gst/tmpl/gsttrace.sgml:
19930         * docs/gst/tmpl/gsttrashstack.sgml:
19931         * gst/Makefile.am:
19932         * gst/gst.h:
19933         * gst/gstelement.h:
19934         * gst/gstevent.h:
19935         * gst/gstmessage.c:
19936         * gst/gstmessage.h:
19937         * gst/gsttag.c:
19938         * gst/gsttag.h:
19939         * gst/gsttaginterface.c:
19940         * gst/gsttaginterface.h:
19941         * gst/gsttaglist.c:
19942         * gst/gsttaglist.h:
19943         * gst/gsttagsetter.c:
19944         * gst/gsttagsetter.h:
19945         * gst/gsttrace.c:
19946         * gst/gsttrace.h:
19947         * gst/gsttrashstack.c:
19948           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19949           inlined docs for gsttrace, gsttrashstack
19950
19951 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19952
19953         * gst/Makefile.am:
19954         * gst/elements/gstbufferstore.h:
19955         * gst/elements/gsttypefindelement.c:
19956         * gst/elements/gsttypefindelement.h:
19957         * gst/gst.h:
19958         * gst/gsttypefind.c:
19959         * gst/gsttypefind.h:
19960         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19961         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19962         (gst_type_find_factory_dispose),
19963         (gst_type_find_factory_unload_thyself),
19964         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19965         (gst_type_find_factory_get_caps),
19966         (gst_type_find_factory_get_extensions),
19967         (gst_type_find_factory_call_function):
19968         * gst/gsttypefindfactory.h:
19969         * gst/registries/gstlibxmlregistry.c:
19970         * gst/registries/gstxmlregistry.c:
19971           splitted gsttypefind into gsttypefind, gsttypefindfactory
19972
19973 2005-09-07  Andy Wingo  <wingo@pobox.com>
19974
19975         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19976         condition whereby the pad's task function is entered before the
19977         pad_mode variable was set.
19978
19979 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19980
19981         * gst/gstpad.c: (gst_pad_alloc_buffer):
19982           Catch misbehaving pad_alloc functions that don't
19983           set up caps and do it for them.
19984
19985 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19986
19987         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19988           test for pipe!=NULL
19989         * docs/gst/tmpl/.cvsignore:
19990         * docs/gst/tmpl/gstmemchunk.sgml:
19991         * docs/gst/tmpl/gstparse.sgml:
19992         * docs/gst/tmpl/gsttaglist.sgml:
19993         * docs/gst/tmpl/gsttagsetter.sgml:
19994         * docs/gst/tmpl/gsttypefind.sgml:
19995         * docs/gst/tmpl/gsttypefindfactory.sgml:
19996         * gst/gstmemchunk.c:
19997         * gst/gstparse.c:
19998         * gst/gsttag.c:
19999         * gst/gsttaginterface.c:
20000         * gst/gsttypefind.c:
20001         * gst/gsttypefind.h:
20002           inlined more docs
20003
20004 === release 0.9.2 ===
20005
20006 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20007
20008         * NEWS:
20009         * RELEASE:
20010         * configure.ac:
20011           releasing 0.9.2, "South"
20012
20013 2005-09-05  Andy Wingo  <wingo@pobox.com>
20014
20015         * gst/registries/gstxmlregistry.h:
20016         * gst/registries/gstxmlregistry.c: Um... resurrect...
20017         
20018         * gst/registries/gstxmlregistry.h:
20019         * gst/registries/gstxmlregistry.c: and update to newer API.
20020         Incidentally they should be a bit faster now that they don't have
20021         to parse the caps.
20022         
20023 2005-09-05  Andy Wingo  <wingo@pobox.com>
20024
20025         * gst/registries/gstxmlregistry.h:
20026         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20027         replaced by the libxml registry a while back
20028
20029 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20030
20031         * docs/gst/tmpl/gstplugin.sgml:
20032         * gst/elements/gstelements.c:
20033         * gst/gst.c:
20034         * gst/gstplugin.c: (gst_plugin_register_func),
20035         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20036         (gst_plugin_get_source):
20037         * gst/gstplugin.h:
20038         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20039         (gst_xml_registry_save_plugin):
20040         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20041         (gst_xml_registry_save_plugin):
20042         * tools/gst-inspect.c: (print_plugin_info):
20043           add a "source" plugin description field, to represent the source
20044           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20045           will set it to PACKAGE, which is automake's idea of the name of
20046           the source project.
20047
20048 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20049
20050         * Makefile.am:
20051         * autogen.sh:
20052         * configure.ac:
20053         * docs/Makefile.am:
20054         * docs/faq/Makefile.am:
20055         * docs/gst/tmpl/gstelement.sgml:
20056         * docs/gst/tmpl/gsttypes.sgml:
20057         * docs/htmlinstall.mak:
20058         * docs/manual/Makefile.am:
20059         * docs/pwg/Makefile.am:
20060           reorganize doc build a little
20061           split out docbook and gtk-doc stuff
20062           have two separate --enable's and enable them through autogen
20063           but disable by default in configure (to be similar to other
20064           projects)
20065         * gstreamer.spec.in:
20066           clean up docs install
20067         * po/af.po:
20068         * po/az.po:
20069         * po/ca.po:
20070         * po/cs.po:
20071         * po/de.po:
20072         * po/en_GB.po:
20073         * po/fr.po:
20074         * po/it.po:
20075         * po/nb.po:
20076         * po/nl.po:
20077         * po/ru.po:
20078         * po/sq.po:
20079         * po/sr.po:
20080         * po/sv.po:
20081         * po/tr.po:
20082         * po/uk.po:
20083         * po/vi.po:
20084           translation updates
20085
20086 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20087
20088         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20089           Add comment.
20090           
20091         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20092         (gst_fake_sink_change_state):
20093           Make state change function thread-safe.
20094           
20095         * gst/gstpad.c: (gst_pad_alloc_buffer):
20096           Set offset on generic buffer allocated by fallback.
20097
20098 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20099
20100         * docs/gst/gstreamer-sections.txt:
20101         * docs/gst/tmpl/gstelement.sgml:
20102         * gst/gstpad.c:
20103         * libs/gst/controller/gst-controller.c:
20104         (gst_controlled_property_set_interpolation_mode),
20105         (gst_controlled_property_new),
20106         (gst_controller_find_controlled_property):
20107          run the wingo-magic script against the docs
20108
20109 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20110
20111         * docs/gst/gstreamer-docs.sgml:
20112         * docs/gst/gstreamer-sections.txt:
20113         * docs/gst/tmpl/.cvsignore:
20114         * docs/gst/tmpl/gstelementdetails.sgml:
20115         * docs/gst/tmpl/gstelementfactory.sgml:
20116         * gst/gst.c:
20117         * gst/gstbus.c:
20118         * gst/gstelementfactory.c:
20119         * gst/gstelementfactory.h:
20120           merged elementdetails docs into elementfactory docs
20121           inlined both
20122
20123 2005-09-02  Andy Wingo  <wingo@pobox.com>
20124
20125         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20126         consider this enum an enum and not a flags.
20127
20128 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20129
20130         * docs/gst/gstreamer-docs.sgml:
20131         * docs/gst/tmpl/.cvsignore:
20132         * docs/gst/tmpl/gstghostpad.sgml:
20133         * docs/gst/tmpl/gstiterator.sgml:
20134         * docs/gst/tmpl/gstmacros.sgml:
20135         * docs/gst/tmpl/gstrealpad.sgml:
20136         * docs/gst/tmpl/gstregistry.sgml:
20137         * docs/gst/tmpl/gstregistrypool.sgml:
20138         * docs/gst/tmpl/gststructure.sgml:
20139         * docs/gst/tmpl/gstsystemclock.sgml:
20140         * docs/gst/tmpl/gsttrace.sgml:
20141         * gst/gstghostpad.c:
20142         * gst/gstmacros.h:
20143         * gst/gstmemchunk.c:
20144         * gst/gstmemchunk.h:
20145         * gst/gstqueue.c:
20146         * gst/gstregistry.c:
20147         * gst/gstregistrypool.c:
20148         * gst/gststructure.c:
20149         * gst/gstsystemclock.c:
20150           more docs inlined
20151
20152 2005-09-02  Andy Wingo  <wingo@pobox.com>
20153
20154         * gst/gstelement.h (GstState): Renamed from GstElementState,
20155         changed to be a normal enum instead of flags.
20156         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20157         munged to be GST_STATE_CHANGE_*.
20158         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20159         work with the new state representation.
20160         (GstStateChange): New enumeration of possible state transitions.
20161         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20162         (GstElementClass::change_state): Pass the GstStateChange along as
20163         an argument. Helps language bindings, so they don't have to use
20164         tricky lock-needing macros like GST_STATE_CHANGE ().
20165
20166         * scripts/update-states (file): New script. Run it on a file to
20167         update it for state naming and API changes. Updates files in
20168         place.
20169
20170         * All files updated for the new API.
20171
20172 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20173
20174         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20175         * gst/gstutils.c: (gst_util_set_value_from_string),
20176         (gst_util_set_object_arg):
20177           fix a bunch of unchecked return values
20178         * tools/gst-complete.c: (main):
20179         * gstreamer.spec.in:
20180           clean up a little
20181
20182 2005-09-01  Wim Taymans  <wim@fluendo.com>
20183
20184         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20185         (gst_base_sink_event), (gst_base_sink_do_sync),
20186         (gst_base_sink_handle_event):
20187         * gst/base/gstbasesink.h:
20188         Handle newsegments more correctly.
20189
20190         * gst/gstbus.c:
20191         Fix docs.
20192
20193         * gst/gstevent.c: (gst_event_new_newsegment):
20194         A newsegment cannot have a start_time of -1
20195
20196 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20197
20198         * win32/gstenumtypes.c:
20199         * win32/gstenumtypes.h:
20200           Update
20201
20202 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20203
20204         * libs/gst/controller/gst-controller.c:
20205         (gst_controlled_property_set_interpolation_mode),
20206         (gst_controlled_property_new):
20207          fixed boolean again
20208
20209 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20210
20211         * docs/faq/gst-uninstalled:
20212           add -good
20213         * gst/gstevent.c:
20214         * gst/gstevent.h:
20215           remove wrong docs
20216         * gst/gstutils.c: (gst_element_link_filtered):
20217         * gst/gstutils.h:
20218           add gst_element_link_filtered
20219
20220 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20221
20222         * docs/gst/gstreamer-docs.sgml:
20223         * docs/gst/gstreamer-sections.txt:
20224         * docs/gst/tmpl/.cvsignore:
20225         * docs/gst/tmpl/gsterror.sgml:
20226         * docs/gst/tmpl/gstfilter.sgml:
20227         * docs/gst/tmpl/gsturihandler.sgml:
20228         * docs/gst/tmpl/gsturitype.sgml:
20229         * docs/gst/tmpl/gstutils.sgml:
20230         * docs/gst/tmpl/gstxml.sgml:
20231         * gst/gsterror.c:
20232         * gst/gsterror.h:
20233         * gst/gstfilter.c:
20234         * gst/gsturi.c:
20235         * gst/gsturitype.c:
20236         * gst/gstutils.c:
20237         * gst/gstxml.c:
20238           inlined more docs, fixed double id-ref
20239
20240 2005-08-31  Wim Taymans  <wim@fluendo.com>
20241
20242         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20243         (gst_base_transform_handle_buffer):
20244         Passthrough elements don't need the caps as they don't care.
20245
20246 2005-08-31  Wim Taymans  <wim@fluendo.com>
20247
20248         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20249         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20250         Don't leak refcounts on buffers.
20251
20252 2005-08-31  Wim Taymans  <wim@fluendo.com>
20253
20254         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20255         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20256         (gst_base_transform_chain), (gst_base_transform_change_state):
20257         * gst/base/gstbasetransform.h:
20258         Handle the case where we are not negotiated more gracefully.
20259
20260 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20261
20262         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20263         (gst_file_src_map_region):
20264           Set READONLY flag on mmap'ed buffers, otherwise
20265           gst_buffer_make_writable() won't work properly (#314708).
20266
20267 2005-08-31  Wim Taymans  <wim@fluendo.com>
20268
20269         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20270         passthrough elements can even do inplace on non writable
20271         buffers (as they don't touch them).
20272
20273 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20274
20275         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20276         (gst_test_mono_source_set_property),
20277         (gst_test_mono_source_class_init), (GST_START_TEST),
20278         (gst_controller_suite):
20279           more tests (hehe I have the most)
20280         * gst/gstbus.c:
20281           describe popping messages whenusing mulltiple sources
20282         * libs/gst/controller/gst-controller.c:
20283         (gst_controlled_property_set_interpolation_mode),
20284         (gst_controlled_property_new):
20285         * libs/gst/controller/gst-controller.h:
20286         * libs/gst/controller/gst-interpolation.c:
20287           implement boolean properties
20288
20289 2005-08-31  Wim Taymans  <wim@fluendo.com>
20290
20291         * gst/gstminiobject.c: (gst_mini_object_ref):
20292         Cannot assert that the refcount has to be positive
20293         since a disposed object can be resurrected.
20294
20295 2005-08-31  Wim Taymans  <wim@fluendo.com>
20296
20297         * gst/gstpad.c: (gst_pad_init):
20298         Revert change, need to first fix badly behaving 
20299         apps.
20300
20301 2005-08-30  Wim Taymans  <wim@fluendo.com>
20302
20303         * check/elements/fakesrc.c: (setup_fakesrc):
20304         * check/elements/identity.c: (setup_identity):
20305         Activate pads before using them.
20306
20307 2005-08-30  Wim Taymans  <wim@fluendo.com>
20308
20309         * gst/base/gstadapter.c: (gst_adapter_flush):
20310         Flushing out 0 bytes is ok for this function.
20311
20312         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20313         no newsegment gives a warning and sets the start/stop to 
20314         invalid.
20315
20316         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20317         (gst_base_transform_set_passthrough):
20318         Some debug info.
20319
20320         * gst/gstminiobject.c: (gst_mini_object_ref):
20321         Check refcount here too.
20322
20323         * gst/gstpad.c: (gst_pad_init):
20324         Pads are initially flushing and refusing data.
20325
20326         * gst/gstutils.c: (gst_element_link_pads_filtered):
20327         When adding a capsfilter element make sure it has the
20328         same state as the parent bin.
20329
20330 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20331
20332         * docs/gst/tmpl/.cvsignore:
20333         * docs/gst/tmpl/gstformat.sgml:
20334         * docs/gst/tmpl/gstversion.sgml:
20335         * gst/gstbus.h:
20336         * gst/gstformat.c:
20337         * gst/gstformat.h:
20338         * gst/gstversion.h.in:
20339           more docs and two more inlined
20340
20341 2005-08-30  Wim Taymans  <wim@fluendo.com>
20342
20343         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20344         Don't sync to clock.
20345
20346 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20347
20348         * docs/gst/gstreamer-sections.txt:
20349           ultral33t func10ns deserve to appear in the docs actually
20350         * docs/gst/tmpl/.cvsignore:
20351         * docs/gst/tmpl/gstcompat.sgml:
20352         * docs/gst/tmpl/gstconfig.sgml:
20353         * gst/check/gstcheck.c:
20354         * gst/gstcompat.h:
20355         * gst/gstconfig.h.in:
20356           inlined more docs
20357
20358 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20359
20360         * docs/gst/tmpl/.cvsignore:
20361         * docs/gst/tmpl/gstquery.sgml:
20362         * docs/gst/tmpl/gstutils.sgml:
20363         * gst/gstquery.c:
20364         * gst/gstquery.h:
20365           inlined and extended docs
20366
20367 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20368
20369         * check/gst-libs/controller.c: (GST_START_TEST),
20370         (gst_controller_suite):
20371           more tests
20372         * docs/gst/tmpl/gstutils.sgml:
20373         * docs/libs/gstreamer-libs-sections.txt:
20374         * docs/libs/tmpl/gstdataprotocol.sgml:
20375           include path fixes
20376         * examples/controller/audio-example.c: (main):
20377           controller example works now
20378         * gst/gstclock.h:
20379           doc fixes
20380         * tools/gst-inspect.c: (print_element_properties_info):
20381           show param spec flags
20382
20383 2005-08-29  Andy Wingo  <wingo@pobox.com>
20384
20385         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20386
20387 2005-08-28  Andy Wingo  <wingo@pobox.com>
20388
20389         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20390         as having two arguments instead of just one. Allows superclasses
20391         to access information on subclasses -- see the terrible for() loop
20392         in gtype.c:g_type_create_instance for the reason why. All callers
20393         changed.
20394
20395 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20396
20397         * docs/design/part-messages.txt:
20398           update info
20399         * docs/gst/tmpl/.cvsignore:
20400         * docs/gst/tmpl/gstcaps.sgml:
20401         * docs/gst/tmpl/gstclock.sgml:
20402         * gst/gstbus.c:
20403         * gst/gstcaps.c:
20404         * gst/gstcaps.h:
20405         * gst/gstclock.c:
20406         * gst/gstclock.h:
20407         * gst/gstmessage.c:
20408           added descriptions for bus and message
20409           inline caps and clock docs
20410
20411 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20412
20413         * gst/gstmessage.c:
20414         * gst/gstmessage.h:
20415           doc fixes
20416
20417 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20418
20419         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20420           fix div-by-zero
20421
20422 2005-08-26  Andy Wingo  <wingo@pobox.com>
20423
20424         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20425         element_set_state's return val.
20426         (test_2_elements): Add test that's been disabled for months.
20427
20428         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20429         can-activate-pull properties.
20430
20431         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20432         can-activate-pull properties. Implement is_seekable so fakesrc can
20433         operate in pull mode.
20434
20435         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20436         properties.
20437         (gst_base_sink_activate, gst_base_sink_activate_pull)
20438         (gst_base_sink_activate_push): Make activation mode choosing work.
20439         Cleanups.
20440         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20441         is right. Make pull mode work. Post an eos before pausing in pull
20442         mode.
20443         (gst_base_sink_change_state): Pay attention to the core's
20444         change_state() return val.
20445         
20446         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20447         has-getrange properties. Cleanups.
20448         
20449         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20450         has_getrange and replace with can_activate_pull and
20451         can_activate_push.
20452
20453         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20454         locking comments. Remove has_loop, has_chain and replace with
20455         can_activate_pull and can_activate_push.
20456
20457 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20458
20459         * configure.ac:
20460         * examples/Makefile.am:
20461         * examples/metadata/Makefile.am:
20462         * examples/metadata/read-metadata.c: (message_loop),
20463         (have_pad_handler), (make_pipeline), (print_tag), (main):
20464           Add metadata reading example that loops over a list of filenames,
20465           dumping any tags found.
20466
20467         * gst/gstbus.c: (gst_bus_dispose):
20468         * gst/gstelement.c: (gst_element_dispose):
20469           Release a few potentially-held references in dispose.
20470
20471 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20472
20473         * docs/gst/tmpl/gstminiobject.sgml:
20474           do *not* add tmpl/*.sgml files to CVS!
20475
20476 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20477
20478         * libs/gst/bytestream/.cvsignore:
20479         * libs/gst/bytestream/Makefile.am:
20480         * libs/gst/bytestream/adapter.c:
20481         * libs/gst/bytestream/adapter.h:
20482         * libs/gst/bytestream/bytestream.c:
20483         * libs/gst/bytestream/bytestream.h:
20484         * libs/gst/bytestream/filepad.c:
20485         * libs/gst/bytestream/filepad.h:
20486           removing obsolete files
20487
20488 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20489
20490         * docs/gst/gstreamer-docs.sgml:
20491         * docs/libs/gstreamer-libs-docs.sgml:
20492           disabed additional index entries again, as this makes docs-gen just
20493           slow and they aren't useful yet
20494         * docs/libs/gstreamer-libs-sections.txt:
20495           little -section.txt cleanup for libs
20496
20497 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20498
20499         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20500         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20501           fix up some debugging
20502         (gst_base_transform_get_unit_size),
20503         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20504         (gst_base_transform_handle_buffer):
20505         * gst/base/gstbasetransform.h:
20506           handle and store timed NEWSEGMENT events so that subclasses that
20507           calculate time by counting samples have a segment_start time they
20508           need to add to their timestamps - see audioresample
20509
20510 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20511
20512         * gst/gstbin.h:
20513           removed ';' from the end of macro defs
20514         * docs/gst/gstreamer-docs.sgml:
20515         * docs/gst/gstreamer-sections.txt:
20516         * docs/gst/tmpl/.cvsignore:
20517         * gst/gstbus.h:
20518         * gst/gstelement.c: (gst_element_class_init),
20519         (gst_element_set_state), (activate_pads),
20520         (gst_element_save_thyself):
20521         * gst/gstevent.c: (gst_event_new_newsegment):
20522         * gst/gstevent.h:
20523         * gst/gstiterator.c:
20524         * gst/gstiterator.h:
20525         * gst/gstpad.c:
20526         * gst/gstprobe.h:
20527         * gst/gstutils.c: (gst_pad_query_convert):
20528         * gst/gstutils.h:
20529           fixed parameter name mismatches between source, header and docs
20530           added some more docs, resolved the last batch of unused elements in
20531           docs (now someone needs to doc them)
20532
20533 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20534
20535         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20536         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20537           don't walk through the plugins backwards.  Where is all this
20538           reversed logic coming from ?
20539
20540 2005-08-25  Wim Taymans  <wim@fluendo.com>
20541
20542         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20543         (gst_base_transform_transform_size),
20544         (gst_base_transform_configure_caps),
20545         (gst_base_transform_get_unit_size),
20546         (gst_base_transform_buffer_alloc),
20547         (gst_base_transform_change_state):
20548         * gst/base/gstbasetransform.h:
20549         Cache caps unit_size.
20550         Make sure we cannot negotiate up and downstream at the
20551         same time.
20552
20553 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20554
20555         * gst/gst.c: (init_pre), (init_post):
20556           register the installed plugin path after the env var
20557         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20558         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20559           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20560           directories, so the tests can prefer uninstalled over installed
20561
20562 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20563
20564         * gst/base/gstbasetransform.h:
20565           comment
20566         * gst/gstpad.c:
20567           add to docs
20568
20569 2005-08-25  Wim Taymans  <wim@fluendo.com>
20570
20571         * gst/gstbin.c: (bin_bus_handler):
20572         Be a bit more conservative about the posted message.
20573         
20574         * gst/gstbus.c: (gst_bus_post):
20575         Some cleanups, warn wrong return values.
20576
20577 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20578
20579         * check/gst/gstbin.c: (GST_START_TEST):
20580         * gst/gstbin.c: (bin_bus_handler):
20581         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20582         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20583         (gst_message_new_warning), (gst_message_new_tag),
20584         (gst_message_new_state_changed), (gst_message_new_segment_start),
20585         (gst_message_new_segment_done), (gst_message_new_custom):
20586         * gst/gstmessage.h:
20587         * tools/gst-launch.c: (event_loop):
20588         * tools/gst-md5sum.c: (event_loop):
20589           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20590
20591 2005-08-25  Wim Taymans  <wim@fluendo.com>
20592
20593         * check/generic/states.c: (GST_START_TEST):
20594         Cleanup can be done at the end.
20595
20596         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20597         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20598         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20599         Oh boy.. Thanks for finding this, Thomas. 
20600
20601 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20602
20603         * docs/gst/gstreamer.types:
20604           added missing types
20605
20606 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20607
20608         * docs/gst/gstreamer-docs.sgml:
20609         * docs/gst/gstreamer-sections.txt:
20610         * docs/gst/tmpl/.cvsignore:
20611         * gst/gstbin.c:
20612         * gst/gstiterator.c:
20613         * gst/gstutils.c:
20614         * gst/registries/gstxmlregistry.h:
20615           added missing classes and symbols (123 more to go)
20616           removed removed symbols from section file
20617           fixed many doc-comments
20618
20619 2005-08-24  Wim Taymans  <wim@fluendo.com>
20620
20621         * check/generic/states.c: (GST_START_TEST):
20622         Make sure all tasks are stopped.
20623
20624         * check/gst/gstbin.c: (GST_START_TEST):
20625         Unref after usage for proper valgrinding.
20626
20627         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20628         Really wait for the task to stop before destroying the
20629         mutex.
20630
20631         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20632         (gst_queue_src_activate_push):
20633         Small cleanups. Don't stop the task when we did not start
20634         it.
20635
20636         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20637         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20638         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20639         (gst_task_join):
20640         * gst/gsttask.h:
20641         Protect the stream lock with the object lock.
20642         Disallow setting the stream lock when running.
20643         Add cleanup_all to wait for the threadpool to finish.
20644         Remove code to autoallocate a mutex if none was provided.
20645         Add _join() to wait for a task to stop.
20646         Protect the thread pool with a global lock.
20647
20648 2005-08-24  Wim Taymans  <wim@fluendo.com>
20649
20650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20651         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20652         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20653         * gst/base/gstbasesink.h:
20654         Handle newsegment events correctly.
20655         Drop buffers out of the segment range.
20656
20657 2005-08-22  Andy Wingo  <wingo@pobox.com>
20658
20659         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20660         macro, implements an interface and gstimplementsinterface for a
20661         new type.
20662
20663 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20664
20665         * check/Makefile.am:
20666         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20667           add a test that does a bunch of state changes on elements
20668           needs some fixing for valgrind
20669         * check/states/sinks.c: (gst_object_suite):
20670           whitespace
20671         * gst/gstcaps.h:
20672           add prototype for gst_caps_is_equal_fixed
20673         * gst/gstplugin.c:
20674         * gst/gstregistrypool.c:
20675           doc fixes
20676
20677 2005-08-24  Andy Wingo  <wingo@pobox.com>
20678
20679         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20680         convert a negative value. Doesn't make much sense. Mostly this is
20681         here to force callers to ensure -1 maps to -1.
20682
20683 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20684
20685         * docs/pwg/advanced-types.xml:
20686           Well done to Michael for catching my deliberate introduction
20687           of this spelling mistake. 
20688         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20689         * gst/gstelement.h:
20690           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20691           unlink pads before removing the element from the bin.
20692
20693 2005-08-24  Andy Wingo  <wingo@pobox.com>
20694
20695         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20696         the same thing as GST_DEBUG=*:4.
20697         (parse_debug_level, parse_debug_category): New helper parsers.
20698
20699 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20700
20701         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20702         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20703         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20704         (gst_base_transform_buffer_alloc),
20705         (gst_base_transform_handle_buffer):
20706           use gboolean return values and pointers to size so we can use the
20707           full GST_BUFFER_SIZE range (guint) for buffer sizes
20708           use GstPadDirection for transform_caps
20709         * gst/base/gstbasetransform.h:
20710           rename get_size to get_unit_size since that's what it is
20711         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20712           use GstPadDirection for transform_caps
20713         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20714         * gst/gstutils.h:
20715           cleanup and debugging
20716
20717 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20718
20719         * gst/gstelement.c: (gst_element_class_init),
20720         (gst_element_set_state), (activate_pads),
20721         (gst_element_save_thyself):
20722         * tools/gst-compprep.c: (main):
20723         * tools/gst-inspect.c: (print_element_properties_info):
20724         * tools/gst-xmlinspect.c: (print_element_properties):
20725           Fixed long standing mem-leak
20726
20727 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20728
20729         * check/gst/gstbin.c: (GST_START_TEST):
20730         * gst/gstbin.c: (bin_bus_handler):
20731         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20732         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20733         (gst_message_new_warning), (gst_message_new_tag),
20734         (gst_message_new_state_changed), (gst_message_new_segment_start),
20735         (gst_message_new_segment_done), (gst_message_new_custom):
20736         * gst/gstmessage.h:
20737         * tools/gst-launch.c: (event_loop):
20738         * tools/gst-md5sum.c: (event_loop):
20739           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20740           that applications can sensibly post custom messages with references
20741           to their own objects.
20742
20743 2005-08-24  Andy Wingo  <wingo@pobox.com>
20744
20745         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20746         already.
20747
20748 2005-08-24  Wim Taymans  <wim@fluendo.com>
20749
20750         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20751         (gst_base_transform_transform_caps),
20752         (gst_base_transform_transform_size),
20753         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20754         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20755         (gst_base_transform_handle_buffer):
20756         * gst/base/gstbasetransform.h:
20757         Many fixes and new features added by Thomas. Can now also do
20758         transforms with variable sizes and a custom fixate_caps function.
20759
20760 2005-08-24  Wim Taymans  <wim@fluendo.com>
20761
20762         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20763         Some debugging.
20764
20765         * gst/gstclock.h:
20766         Cast to ClockTime before formatting to time.
20767
20768         * gst/gstutils.h:
20769         Cleanups.
20770
20771 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20772
20773         * check/gst-libs/controller.c: (GST_START_TEST),
20774         (gst_controller_suite):
20775         * docs/gst/tmpl/gstcaps.sgml:
20776         * docs/gst/tmpl/gstghostpad.sgml:
20777         * docs/gst/tmpl/gstquery.sgml:
20778         * docs/gst/tmpl/gstutils.sgml:
20779         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20780         (gst_object_sink_values), (gst_object_get_value_arrays),
20781         (gst_object_get_value_array):
20782           gracefully handle helper method calls to objects that are not beeing
20783           controlled, added test case for that          
20784
20785 2005-08-23  Wim Taymans  <wim@fluendo.com>
20786
20787         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20788         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20789         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20790         (gst_event_parse_qos), (gst_event_new_seek),
20791         (gst_event_parse_seek):
20792         * gst/gstevent.h:
20793         Some more debugging output and doc cleanups.
20794
20795         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20796         Fix possible deadlock.
20797
20798 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20799
20800         * docs/gst/gstreamer-docs.sgml:
20801         * docs/gst/gstreamer-sections.txt:
20802         * docs/gst/gstreamer.types:
20803         * docs/gst/tmpl/.cvsignore:
20804         * gst/gstbin.h:
20805         * gst/gstbus.c:
20806         * gst/gstelement.c:
20807         * gst/gstevent.h:
20808           added 100 symbols from gstreamer-unused.txt to the right sections
20809           fixed more broken comments
20810           added GstBus to docs
20811
20812 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20813
20814         * docs/gst/gstreamer-sections.txt:
20815         * docs/gst/tmpl/.cvsignore:
20816         * docs/gst/tmpl/gstbin.sgml:
20817         * docs/gst/tmpl/gstbuffer.sgml:
20818         * gst/base/gstbasesrc.c:
20819         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20820         * gst/gstbuffer.c:
20821         * gst/gstbuffer.h:
20822         * tools/gst-launch.1.in:
20823           inlined more doc comments, added missing comments and fixed comments
20824           fixed typos
20825
20826 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20827
20828         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20829           some debugging
20830         * gst/gstcaps.h:
20831           whitespace fixes
20832         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20833           more debugging
20834         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20835         * gst/gststructure.h:
20836           add a fixate function for booleans; add a FIXME that these func
20837           names should probably be gst_structure_fixate_*
20838
20839 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20840
20841         * docs/gst/gstreamer-docs.sgml:
20842         * docs/gst/gstreamer-sections.txt:
20843         * gst/Makefile.am:
20844         * gst/gstbin.c: (gst_bin_get_type),
20845         (gst_bin_child_proxy_get_child_by_index),
20846         (gst_bin_child_proxy_get_children_count),
20847         (gst_bin_child_proxy_init):
20848         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20849         (gst_child_proxy_get_child_by_index),
20850         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20851         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20852         (gst_child_proxy_get), (gst_child_proxy_set_property),
20853         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20854         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20855         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20856         * gst/gstchildproxy.h:
20857         * gst/parse/grammar.y:
20858         * tools/gst-inspect.c: (print_interfaces),
20859         (print_element_properties_info), (print_element_info):
20860           ported gstchildproxy over from 0.8
20861           ported gst-inspect fixes and enhancements over from 0.8
20862
20863 2005-08-22  Wim Taymans  <wim@fluendo.com>
20864
20865         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20866         (gst_base_transform_handle_buffer):
20867         Also call the transform function if we have ANY caps.
20868
20869         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20870         Fix debug info.
20871
20872 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20873
20874         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20875           Don't pretend to handle seek events if the source is not seekable
20876
20877 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20878
20879         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20880           Remove extra parameter to debug output
20881
20882         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20883         (gst_base_src_do_seek), (gst_base_src_activate_push):
20884           Fix seek event handling.
20885
20886         * gst/gstpipeline.c: (gst_pipeline_change_state):
20887         * gst/gstqueue.c: (gst_queue_handle_sink_event),
20888         (gst_queue_src_activate_push):
20889           Don't start the src pad task on FLUSH_STOP if the pad
20890           isn't linked.
20891           Debug changes.
20892
20893 2005-08-22  Wim Taymans  <wim@fluendo.com>
20894
20895         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20896         Added check for gst_static_caps_get() refcounting.
20897
20898 2005-08-22  Wim Taymans  <wim@fluendo.com>
20899
20900         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20901         Make _static_caps_get() refcounting sane.
20902         
20903         * gst/gstelement.c: (gst_element_set_state):
20904         Add g_return_val_if_fail() to protect against segfaults.
20905
20906 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
20907
20908         * docs/gst/tmpl/gstevent.sgml:
20909         * gst/gstevent.c:
20910         * gst/gstevent.h:
20911           inlined remaining docs, added missing doc comments
20912
20913 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20914
20915         * check/gst/gstbin.c: (GST_START_TEST):
20916           since we don't know when preroll is done, use refcount range
20917           check for the sink
20918         * gst/check/gstcheck.h:
20919           add macro for checking refcount range
20920
20921 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20922
20923         * check/Makefile.am:
20924           clean up environment for when registry gets built versus
20925           when actual tests are run; valgrind seems to not report
20926           leaks if GST_PLUGIN_PATH is set to some specific values
20927         * check/gst/gstbin.c: (GST_START_TEST):
20928           add more refcounting checks; maybe this exposes a
20929           preroll lock bug ?
20930         * common/check.mak:
20931         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20932         * gst/check/gstcheck.h:
20933         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20934         (gst_bin_change_state):
20935         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20936           add/fix debugging/whitespace
20937
20938 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20939
20940         * check/gst/gstevent.c: (event_probe), (test_event),
20941         (GST_START_TEST):
20942          Er, don't call gst_bin_watch_for_state_change you idiot.
20943
20944 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20945
20946         * check/Makefile.am:
20947           Use CHECK_CFLAGS and CHECK_LIBS
20948         * check/gst/gstevent.c: (event_probe), (test_event),
20949         (GST_START_TEST):
20950           Don't leak events.
20951         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20952         (gst_base_src_start), (gst_base_src_stop),
20953         (gst_base_src_activate_push), (gst_base_src_activate_pull),
20954         (gst_base_src_change_state):
20955           Sprinkle gst_base_src_stop liberally around error paths to fix
20956           problems reusing a source after failed state changes.
20957         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20958         (helper_find_suggest), (gst_type_find_helper):
20959           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20960         * gst/gstevent.h:
20961         * docs/gst/tmpl/gstevent.sgml:
20962           Migrate part of the docs from the SGML file. Wait for ensonic to
20963           tell me how I did it wrong ;)
20964         * tools/gst-typefind.c: (main):
20965           Extra robustness to state changes between files.
20966
20967 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20968
20969         * check/Makefile.am:
20970           don't valgrind the controller test - it's leaking - Stefan, HELP
20971         * gst/check/gstcheck.c: (gst_check_message_error),
20972         (gst_check_chain_func), (gst_check_setup_element),
20973         (gst_check_teardown_element), (gst_check_setup_src_pad),
20974         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20975         (gst_check_teardown_sink_pad):
20976         * gst/check/gstcheck.h:
20977           add a bunch of methods to set up elements, and src and sink pads
20978         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20979         * check/elements/identity.c: (setup_identity), (cleanup_identity),
20980         (GST_START_TEST):
20981           use them
20982         * gst/gstmessage.c:
20983         * gst/gsttag.h:
20984           whitespace/doc fixes
20985
20986 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20987
20988         * gst/gstelement.h:
20989           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20990           be handled by the application and not always printed as well
20991
20992 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20993
20994         * check/Makefile.am:
20995           set GST_TOOLS_DIR
20996         * gst/check/gstcheck.c: (gst_check_message_error):
20997         * gst/check/gstcheck.h:
20998           add a fail_unless_equals_int
20999           add fail_unless for error messages
21000
21001 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21002
21003         * check/Makefile.am:
21004         * check/gst.supp:
21005         * common/Makefile.am:
21006         * common/check.mak:
21007         * common/gst.supp:
21008           factor out some of the common stuff so we can use it
21009
21010 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21011
21012         * check/Makefile.am:
21013         * check/gst/gstiterator.c: (GST_START_TEST):
21014         * check/gst/gstsystemclock.c: (GST_START_TEST),
21015         (gst_systemclock_suite):
21016         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21017         * gst/gstclock.c:
21018           valgrind more tests
21019
21020 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21021
21022         * check/elements/.cvsignore:
21023         * check/elements/gstfakesrc.c:
21024           rename to name of element
21025         * check/elements/identity.c: (chain_func), (event_func),
21026         (setup_identity), (cleanup_identity), (GST_START_TEST),
21027         (identity_suite), (main):
21028           add a test for identity
21029         * check/Makefile.am:
21030         * pkgconfig/Makefile.am:
21031         * pkgconfig/gstreamer-check.pc.in:
21032         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21033         * gst/check:
21034         * gst/Makefile.am:
21035         * configure.ac:
21036           move the check stuff to a library that gets installed
21037         * check/gst-libs/controller.c: (GST_START_TEST):
21038         * check/gst-libs/gdp.c:
21039         * check/gst/gst.c: (GST_START_TEST):
21040         * check/gst/gstbin.c:
21041         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21042         * check/gst/gstbus.c:
21043         * check/gst/gstcaps.c: (GST_START_TEST):
21044         * check/gst/gstelement.c:
21045         * check/gst/gstghostpad.c:
21046         * check/gst/gstiterator.c:
21047         * check/gst/gstmessage.c:
21048         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21049         * check/gst/gstobject.c:
21050         * check/gst/gstpad.c: (GST_START_TEST):
21051         * check/gst/gststructure.c: (GST_START_TEST):
21052         * check/gst/gstsystemclock.c: (GST_START_TEST),
21053         (gst_systemclock_suite):
21054         * check/gst/gsttag.c: (gst_tag_suite):
21055         * check/gst/gstvalue.c:
21056         * check/pipelines/cleanup.c:
21057         * check/pipelines/simple_launch_lines.c:
21058         * check/states/sinks.c:
21059           change include statement
21060
21061         * docs/gst/gstreamer-sections.txt:
21062         * docs/gst/tmpl/gstpad.sgml:
21063           document more pad stuff
21064         * gst/gstminiobject.c: (gst_mini_object_ref),
21065         (gst_mini_object_unref):
21066           debug refcounting
21067
21068 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21069
21070         * docs/gst/tmpl/gst.sgml:
21071         * gst/gst.c:
21072           eliminate another tmpl file, fix spelling in the long-description
21073
21074 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21075
21076         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21077         (test_event), (timediff), (gstevents_suite):
21078           Should fix build on 64-bit arch's
21079
21080 2005-08-18  Andy Wingo  <wingo@pobox.com>
21081
21082         Make sure that when a pipeline goes to PLAYING, that data has
21083         actually hit the sink.
21084
21085         * check/states/sinks.c (test_sink): A sink that doesn't get any
21086         data shouldn't return SUCCESS for going to either PLAYING or
21087         PAUSED. Test also the return values on the way back down.
21088
21089         * gst/gstelement.c (gst_element_set_state): When changing the
21090         state of an element currently changing state asynchronously, go to
21091         lost-state after commiting the pending state. Makes future calls
21092         to get_state continue to return ASYNC.
21093
21094         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21095         ASYNC when going to PLAYING if we still don't have preroll, as can
21096         happen with live sources.
21097
21098 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21099
21100         * docs/pwg/advanced-types.xml:
21101           Hack long paragraph into 2 chunks as a workaround for buggy
21102           jadetex version in sid and breezy that loops infinitely and
21103           eats all RAM.
21104
21105 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21106
21107         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21108         (test_event), (timediff), (gstevents_suite):
21109           Provide more error margin in clock measurements to allow for 
21110           g_get_current_time inaccuracies.
21111
21112 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21113
21114         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21115         (test_event), (timediff), (gstevents_suite):
21116            Fix error message output so I might be able to tell why the
21117            test works here but fails on the build farm.
21118
21119 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21120
21121         * check/Makefile.am:
21122         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21123         (test_event), (timediff), (gstevents_suite), (main):
21124           I wrote a test!
21125
21126         * docs/design/part-seeking.txt:
21127           Spelling correction
21128
21129         * docs/gst/tmpl/gstevent.sgml:
21130         * docs/gst/tmpl/gstfakesrc.sgml:
21131           Docs updates.
21132
21133         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21134           Treat a buffer-without-newsegment the same as a receiving 
21135           a newsegment not in time format, and disable syncing to the clock
21136           with a warning.
21137
21138         * gst/gstbus.c: (gst_bus_set_sync_handler):
21139           Assert if anyone tries to replace the existing sync_handler for bus, 
21140           as only the owner should be setting it.
21141
21142         * gst/gstevent.h:
21143           Have a fixed set of custom event enums with events identified by
21144           their structure name (as in 0.8), rather than a free-for-all
21145           allowing collisions between enum values from different plugins.
21146
21147         * gst/gstpad.c: (gst_pad_class_init):
21148           Docs change.
21149           
21150         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21151           Handle out-of-band downstream events from the sending thread.
21152
21153 2005-08-17  Andy Wingo  <wingo@pobox.com>
21154
21155         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21156         play-timeout==0 to mean no timeout at all. In that case, don't
21157         bother with a get_state or a warning, just return directly, even
21158         if it's ASYNC.
21159
21160         * gst/base/gstbasetransform.c: Debug changes.
21161
21162         * gst/gstutils.h:
21163         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21164         ensure bins post state change messages. A bit of a hack but I can't
21165         think of a way to avoid it.
21166
21167         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21168
21169 2005-08-16  Andy Wingo  <wingo@pobox.com>
21170
21171         * gst/base/gstadapter.h:
21172         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21173         peek() but you own the data. Not terribly efficient atm.
21174
21175 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21176
21177         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21178         (gst_element_found_tags):
21179         * gst/gstutils.h:
21180           Add two utility functions for tag handling.
21181
21182 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21183
21184         * docs/manual/advanced-dataaccess.xml:
21185         * docs/manual/basics-helloworld.xml:
21186           Fix docs to use _bin_add() before _link(), which fixes the examples
21187           with recent core versions (reported by Madhan Raj M
21188           <raj_madan@rediffmail.com>, #313199).
21189
21190 2005-08-16  Wim Taymans  <wim@fluendo.com>
21191
21192         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21193         Added subtract checks.
21194
21195         * docs/design/part-events.txt:
21196         Some more docs about newsegment
21197
21198         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21199         Fix FIXME
21200
21201         * gst/gstcaps.c: (gst_caps_to_string):
21202         Add comments, cleanups.
21203         
21204         * gst/gstelement.c: (gst_element_save_thyself):
21205         cleanups
21206         
21207         * gst/gstvalue.c: (gst_value_collect_int_range),
21208         (gst_string_unwrap), (gst_value_union_int_int_range),
21209         (gst_value_union_int_range_int_range),
21210         (gst_value_intersect_int_int_range),
21211         (gst_value_intersect_int_range_int_range),
21212         (gst_value_intersect_double_double_range),
21213         (gst_value_intersect_double_range_double_range),
21214         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21215         (gst_value_subtract_int_range_int),
21216         (gst_value_subtract_double_range_double),
21217         (gst_value_subtract_double_range_double_range),
21218         (gst_value_subtract_from_list), (gst_value_subtract_list),
21219         (gst_value_can_compare), (gst_value_compare_fraction):
21220         Cleanups, add comments, remove unneeded asserts.
21221
21222 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21223
21224         * tools/gst-launch.c: (event_loop):
21225           don't convert NULL structures to strings
21226
21227 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21228
21229         * docs/gst/gstreamer-sections.txt:
21230           made some defines private
21231         * docs/gst/tmpl/gstconfig.sgml:
21232         * docs/gst/tmpl/gstqueue.sgml:
21233         * docs/gst/tmpl/gsttaglist.sgml:
21234         * docs/gst/tmpl/gsttypes.sgml:
21235         * docs/gst/tmpl/gstutils.sgml:
21236         * docs/pwg/appendix-porting.xml:
21237         * gst/base/gstbasesink.h:
21238         * gst/base/gstbasesrc.c:
21239         * gst/base/gstbasesrc.h:
21240         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21241         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21242         * gst/gstelement.c: (gst_element_class_init):
21243         * gst/gstpad.c: (gst_pad_class_init):
21244         * gst/gstqueue.c: (gst_queue_class_init):
21245         * gst/gstxml.c: (gst_xml_class_init):
21246           documented all undocumented signal inline
21247         * libs/gst/controller/gst-controller.h:
21248           added padding
21249
21250 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21251
21252         * docs/pwg/appendix-porting.xml:
21253           Document _set_link_function -> _set_setcaps_function.
21254
21255 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21256
21257         * check/Makefile.am:
21258           add a .check target for running the check
21259         * check/gst-libs/controller.c: (GST_START_TEST):
21260           cosmetic fixups
21261         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21262           complete checks for gstbuffer; would be nice if I could get the
21263           gcov stuff to work so I can see if I actually completed gstbuffer.c
21264         * check/gstcheck.h:
21265           add ASSERT_BUFFER_REFCOUNT
21266
21267 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21268
21269         * docs/gst/gstreamer-sections.txt:
21270         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21271         * gst/gsttag.h:
21272           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21273           spew out a warning if a tag that is already registered
21274           is re-registered, unless it is re-registered with a 
21275           different type (#308438).
21276
21277 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21278
21279         * docs/pwg/appendix-porting.xml:
21280         * docs/pwg/building-state.xml:
21281           Add some paragraphs about state changes in 0.9 to the PWG
21282           and the porting guide, in particular about the new meaning
21283           of GST_STATE_PAUSED and how to write state change functions
21284           with concurrent access by multiple threads in mind.
21285
21286 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21287
21288         * docs/gst/gstreamer-docs.sgml:
21289         * docs/libs/gstreamer-libs-docs.sgml:
21290           added deprecation and since indexes
21291         * libs/gst/controller/gst-controller.c:
21292         * libs/gst/controller/gst-helper.c:
21293           added since tags
21294
21295
21296 2005-08-11  Wim Taymans  <wim@fluendo.com>
21297
21298         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21299         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21300         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21301         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21302         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21303         (gst_ghost_pad_set_target):
21304         Actually implement (re)setting the target on a ghostpad
21305         as described in the docs.
21306
21307 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21308
21309         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21310           Check whether GST_DEBUG_NO_COLOR environment variable is
21311           set and disable coloured debug output if that is the case.
21312
21313 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21314
21315         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21316         (gst_type_find_helper):
21317           The memory returned by gst_type_find_peek() needs to
21318           stay valid until the end of a typefind function, and
21319           typefind functions may keep results from different 
21320           offsets around, so we can't just unref the buffer from
21321           the previous _peek(), but have to save all buffers 
21322           returned by _peek() until typefinding is done and only
21323           free them then.
21324
21325 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21326
21327         * docs/gst/gstreamer-sections.txt:
21328         * gst/gstutils.h:
21329           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21330
21331 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21332
21333         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21334           Fix a pretty good memleak.
21335
21336 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21337
21338         * gst/gstiterator.h:
21339           Fix wrong include and 'make distcheck'.
21340
21341 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21342
21343         * gst/gstbin.c: (bin_bus_handler):
21344           Use gst_element_post_message() instead.
21345
21346 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21347
21348         * gst/base/gstadapter.h:
21349         * gst/base/gstbasesink.h:
21350         * gst/base/gstbasesrc.h:
21351         * gst/base/gstbasetransform.h:
21352         * gst/base/gstcollectpads.h:
21353         * gst/base/gstpushsrc.h:
21354         * gst/gstiterator.h:
21355           Add padding to our base elements' class and instance structs and
21356           to GstIterator (you will need to rebuild all plugins and apps!)
21357
21358 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21359
21360         * gst/gstbin.c: (bin_bus_handler):
21361           Make default message forwarding from child->bus to bin->bus
21362           threadsafe and make it not emit warnings if the parent has no bus.
21363
21364 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21365
21366         * gst/gstelement.c: (activate_pads):
21367           On paused->ready, set pad->caps to NULL, as is the documented
21368           behaviour in this state change. Fixes playback of series of
21369           media files when visualization is enabled in Totem.
21370
21371 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21372
21373         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21374           Allow NULL as filter-caps (which means "any").
21375
21376 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21377
21378         * docs/libs/gstreamer-libs-sections.txt:
21379         * libs/gst/controller/gst-controller.c:
21380         * libs/gst/controller/gst-controller.h:
21381         * libs/gst/controller/gst-helper.c:
21382           adding more entries to the docs and fix small doc-bugs
21383
21384 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21385
21386         * docs/gst/gstreamer-docs.sgml:
21387         * docs/gst/gstreamer-sections.txt:
21388         * docs/gst/gstreamer.types:
21389         * docs/gst/tmpl/gstbasesink.sgml:
21390         * docs/gst/tmpl/gstbasesrc.sgml:
21391         * docs/gst/tmpl/gstbasetransform.sgml:
21392         * docs/gst/tmpl/gstfakesrc.sgml:
21393         * gst/base/gstcollectpads.c:
21394         * gst/base/gstcollectpads.h:
21395         * libs/gst/controller/gst-controller.c:
21396         * libs/gst/controller/gst-controller.h:
21397         * libs/gst/controller/gst-helper.c:
21398         * libs/gst/controller/gst-interpolation.c:
21399         * libs/gst/controller/lib.c:
21400           added long/short desc for controller docs
21401           added collectpads base class docs
21402           added correct includes to base-class docs
21403
21404 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21405
21406         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21407         (gst_test_mono_source_set_property),
21408         (gst_test_mono_source_class_init), (GST_START_TEST),
21409         (gst_controller_suite):
21410         * docs/gst/gstreamer-docs.sgml:
21411         * docs/gst/gstreamer-sections.txt:
21412         * docs/gst/gstreamer.types:
21413         * docs/libs/gstreamer-libs-docs.sgml:
21414         * docs/libs/gstreamer-libs-sections.txt:
21415         * gst/base/gstadapter.c:
21416         * libs/gst/controller/gst-controller.c:
21417         (gst_controlled_property_new), (gst_controlled_property_free),
21418         (gst_controller_new_valist),
21419         (gst_controller_remove_properties_valist),
21420         (gst_controller_sink_values), (_gst_controller_finalize):
21421         * libs/gst/controller/gst-controller.h:
21422         * libs/gst/controller/gst-helper.c:
21423         (gst_object_control_properties), (gst_object_uncontrol_properties),
21424         (gst_object_get_controller), (gst_object_set_controller),
21425         (gst_object_sink_values), (gst_object_get_value_arrays),
21426         (gst_object_get_value_array):
21427           more tests (and fixes) for the controller
21428           more docs for the controller
21429           integrated companies docs for the adapter 
21430
21431 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21432
21433         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21434         (GST_START_TEST), (fakesrc_suite):
21435           add tests for sizetype
21436
21437 2005-08-04  Andy Wingo  <wingo@pobox.com>
21438
21439         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21440         fixes buffer_alloc proxying among other things.
21441
21442         * gst/base/gstbasetransform.c:
21443         * gst/base/gstbasetransform.h:
21444         Revert patch to gstbasetransform from 7-28 removing
21445         delay_configure.
21446
21447         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21448         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21449         Semantics changed, should return not the size of the output buffer
21450         but the byte size of a buffer with a given caps.
21451
21452         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21453         debug object.
21454         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21455         out) are not the pad caps until setcaps finishes.
21456         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21457         not-in-place case as well. Deal with changing from in-place to
21458         not-in-place within calling pad_alloc_buffer. Still a bit
21459         concerned about the overhead here...
21460
21461 2005-08-03  Andy Wingo  <wingo@pobox.com>
21462
21463         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21464         fixating is an error.
21465
21466 2005-08-04  Edward Hervey  <edward@fluendo.com>
21467
21468         * gst/base/gstadapter.h: 
21469         Added gst_adapter_get_type() to the header
21470
21471 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21472
21473         * check/Makefile.am:
21474         * check/gst-libs/controller.c:
21475         * libs/gst/controller/gst-controller.c:
21476         (gst_controller_new_valist):
21477           added check test suite for the controller
21478         * gst/base/gstpushsrc.c:
21479           fixed a doc typo
21480
21481 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21482
21483         * docs/gst/Makefile.am:
21484         * docs/gst/gstreamer-docs.sgml:
21485         * docs/gst/gstreamer-sections.txt:
21486         * docs/gst/gstreamer.types:
21487         * docs/gst/tmpl/gstfakesrc.sgml:
21488         * gst/base/README:
21489         * gst/base/gstbasesink.c:
21490         * gst/base/gstbasesink.h:
21491         * gst/base/gstbasesrc.c:
21492         * gst/base/gstbasesrc.h:
21493         * gst/base/gstbasetransform.c:
21494         * gst/base/gstpushsrc.c:
21495         * gst/base/gstpushsrc.h:
21496           add short/long description docs to base classes
21497           add pushsrc to the docs
21498           remove consolidated doc fragments
21499
21500 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21501
21502         * configure.ac:
21503         * docs/libs/Makefile.am:
21504         * docs/libs/gstreamer-libs-docs.sgml:
21505         * docs/libs/gstreamer-libs-sections.txt:
21506         * docs/libs/gstreamer-libs.types:
21507         * examples/Makefile.am:
21508         * examples/controller/.cvsignore:
21509         * examples/controller/Makefile.am:
21510         * examples/controller/audio-example.c: (main):
21511         * libs/gst/Makefile.am:
21512         * libs/gst/controller/.cvsignore:
21513         * libs/gst/controller/Makefile.am:
21514         * libs/gst/controller/gst-controller.c:
21515         (on_object_controlled_property_changed), (gst_timed_value_compare),
21516         (gst_timed_value_find),
21517         (gst_controlled_property_set_interpolation_mode),
21518         (gst_controlled_property_new), (gst_controlled_property_free),
21519         (gst_controller_find_controlled_property),
21520         (gst_controller_new_valist), (gst_controller_new),
21521         (gst_controller_remove_properties_valist),
21522         (gst_controller_remove_properties), (gst_controller_set),
21523         (gst_controller_set_from_list), (gst_controller_unset),
21524         (gst_controller_get), (gst_controller_get_all),
21525         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21526         (gst_controller_get_value_array),
21527         (gst_controller_set_interpolation_mode),
21528         (_gst_controller_finalize), (_gst_controller_init),
21529         (_gst_controller_class_init), (gst_controller_get_type):
21530         * libs/gst/controller/gst-controller.h:
21531         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21532         (g_object_uncontrol_properties), (g_object_get_controller),
21533         (g_object_set_controller), (g_object_sink_values),
21534         (g_object_get_value_arrays), (g_object_get_value_array):
21535         * libs/gst/controller/gst-interpolation.c:
21536         (gst_controlled_property_find_timed_value_node),
21537         (interpolate_none_get), (interpolate_trigger_get),
21538         (interpolate_trigger_get_value_array):
21539         * libs/gst/controller/lib.c: (gst_controller_init):
21540         * pkgconfig/Makefile.am:
21541         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21542         * pkgconfig/gstreamer-control.pc.in:
21543         * testsuite/Makefile.am:
21544         * testsuite/controller/.cvsignore:
21545         * testsuite/controller/Makefile.am:
21546         * testsuite/controller/interpolator.c: (main):
21547           added controller code
21548           removed dparam pc files
21549
21550 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21551         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21552         (gst_collectpads_stop):
21553           Broadcast the condition when shutting down, to make sure we wake all
21554           threads up. Shut down pads on finalize, for safety.
21555
21556 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21557         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21558         (gst_base_transform_handle_buffer),
21559         (gst_base_transform_change_state):
21560           Handle PAUSED->READY->PAUSED transition after negotiation
21561           occurred already.
21562         * gst/gstmessage.c: (gst_message_init):
21563           Extra piece of debug for new messages.
21564
21565 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21566
21567         * configure.ac:
21568         * docs/gst/tmpl/gstbasesrc.sgml:
21569         * docs/gst/tmpl/gstelement.sgml:
21570         * docs/gst/tmpl/gstevent.sgml:
21571         * docs/gst/tmpl/gstfakesrc.sgml:
21572         * docs/gst/tmpl/gstformat.sgml:
21573         * docs/gst/tmpl/gstghostpad.sgml:
21574         * docs/gst/tmpl/gstpad.sgml:
21575         * docs/gst/tmpl/gstquery.sgml:
21576         * docs/gst/tmpl/gststructure.sgml:
21577         * docs/gst/tmpl/gsttaglist.sgml:
21578         * docs/gst/tmpl/gstvalue.sgml:
21579         * docs/libs/gstreamer-libs-docs.sgml:
21580         * docs/libs/gstreamer-libs-sections.txt:
21581         * docs/libs/gstreamer-libs.types:
21582         * libs/gst/Makefile.am:
21583         * libs/gst/control/.cvsignore:
21584         * libs/gst/control/Makefile.am:
21585         * libs/gst/control/control.c:
21586         * libs/gst/control/control.h:
21587         * libs/gst/control/dparam.c:
21588         * libs/gst/control/dparam.h:
21589         * libs/gst/control/dparam_smooth.c:
21590         * libs/gst/control/dparam_smooth.h:
21591         * libs/gst/control/dparamcommon.h:
21592         * libs/gst/control/dparammanager.c:
21593         * libs/gst/control/dparammanager.h:
21594         * libs/gst/control/dplinearinterp.c:
21595         * libs/gst/control/dplinearinterp.h:
21596         * libs/gst/control/unitconvert.c:
21597         * libs/gst/control/unitconvert.h:
21598         * testsuite/Makefile.am:
21599         * testsuite/dynparams/.cvsignore:
21600         * testsuite/dynparams/Makefile.am:
21601         * testsuite/dynparams/dparamstest.c:
21602         * tools/Makefile.am:
21603         * tools/gst-inspect.c: (print_element_info), (main):
21604         * tools/gst-xmlinspect.c: (print_element_info), (main):
21605           deactivate and remove dparams (libgstcontrol)
21606
21607 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21608
21609         * gst/elements/gsttypefindelement.c:
21610         (gst_type_find_element_have_type), (gst_type_find_element_init),
21611         (stop_typefinding), (gst_type_find_element_handle_event),
21612         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21613         * gst/elements/gsttypefindelement.h:
21614           Set caps on all outgoing buffers, not just the first one.
21615
21616 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21617
21618         * gst/elements/gsttypefindelement.c:
21619         (gst_type_find_element_have_type),
21620         (gst_type_find_element_check_set_buffer_caps),
21621         (gst_type_find_element_init), (stop_typefinding),
21622         (gst_type_find_element_handle_event),
21623         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21624         * gst/elements/gsttypefindelement.h:
21625           Set caps on first outgoing buffer when we've found the type.
21626
21627 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21628
21629         * docs/gst/gstreamer-docs.sgml:
21630         * docs/gst/gstreamer-sections.txt:
21631         * docs/gst/tmpl/gstscheduler.sgml:
21632         * docs/gst/tmpl/gstschedulerfactory.sgml:
21633           Remove some old cruft from docs.
21634
21635 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21636
21637         * gst/gstpad.h:
21638           Fix inline docs for GstPadLinkReturn.
21639           
21640         * gst/gststructure.c: (gst_structure_has_name):
21641         * gst/gststructure.h:
21642         * docs/gst/gstreamer-sections.txt:
21643           New API: gst_structure_has_name().
21644
21645 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21646
21647         * configure.ac:
21648           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21649           and _LARGEFILE_SOURCE in config.h as required. Do not 
21650           export those flags in our .pc files any longer (#142209).
21651
21652           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21653
21654         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21655         (gst_file_sink_do_seek), (gst_file_sink_event),
21656         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21657           Redo seek/tell calls with large file support in mind; add some
21658           debugging messages; add log message that tells us when large
21659           file support is unavailable or not enabled for some reason.
21660
21661         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21662           Add log message that tells us when large file support 
21663           is unavailable or not enabled for some reason.
21664
21665 2005-07-29  Wim Taymans  <wim@fluendo.com>
21666
21667         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21668         Added test for removing an element with ghostpad from a bin.
21669         Fixed test as current implementation does the right thing.
21670
21671         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21672         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21673         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21674         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21675         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21676         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21677         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21678         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21679         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21680         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21681         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21682         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21683         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21684         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21685         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21686         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21687         * gst/gstghostpad.h:
21688         Clean up ghostpads, remove properties for internal stuff.
21689         Make threadsafe.
21690         Fix refcounting.
21691         Prepare for switching targets, not all use cases work yet.
21692
21693 2005-07-29  Wim Taymans  <wim@fluendo.com>
21694
21695         * docs/design/part-gstghostpad.txt:
21696         Small update.
21697
21698         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21699         (gst_bin_remove_func):
21700         Unlinking pads while holding the bin LOCK is not a good
21701         idea.
21702
21703         * gst/gstpad.c: (gst_pad_class_init),
21704         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21705         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21706         No prob setting template after creating the pad.
21707
21708 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21709
21710         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21711         (gst_bus_peek), (gst_bus_source_dispatch),
21712         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21713         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21714           gst_bus_poll may be called from other threads. Handle
21715           this nicely by not making poll_data disappear off the
21716           stack once gst_bus_poll returns.
21717           gst_bus_peek now increments the refcount on the returned
21718           message.
21719
21720 2005-07-29  Wim Taymans  <wim@fluendo.com>
21721
21722         * docs/design/part-gstghostpad.txt:
21723         Overview of current GhostPad datastructures and use
21724         cases for changing the target.
21725
21726 2005-07-28  Wim Taymans  <wim@fluendo.com>
21727
21728         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21729         Added checks for hierarchy consistency whan adding linked
21730         elements to bins.
21731
21732         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21733         Added check to test element scheduling without bin/pipeline.
21734
21735         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21736         First add elements to bin, then link.
21737         
21738         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21739         (gst_bin_remove_func):
21740         Unlink pads from elements added/removed from bin to maintain
21741         hierarchy consistency.
21742
21743 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21744
21745         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21746         (gst_base_transform_handle_buffer):
21747         * gst/base/gstbasetransform.h:
21748           Remove broken delay_configure (fixes renegotiation of software
21749           scaling pipelines); remove some leftover printf()s.
21750
21751 2005-07-28  Wim Taymans  <wim@fluendo.com>
21752
21753         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21754         Added some more tests for wrong hierarchy
21755
21756         * docs/design/part-overview.txt:
21757         Some updates.
21758
21759         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21760         Cleanups.
21761
21762         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21763         (gst_element_dispose):
21764         Some more cleanups.
21765
21766         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21767         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21768         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21769         (gst_pad_set_caps), (gst_pad_send_event):
21770         Check for correct hierarchy when linking pads. Moving to
21771         strict requirement for ghostpads when linking elements in
21772         different bins.
21773
21774         * gst/gstpad.h:
21775         Clean ups. Added WRONG_HIERARCHY return value.
21776
21777 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21778
21779         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21780           Better debug if no transform is possible.
21781
21782 2005-07-27  Wim Taymans  <wim@fluendo.com>
21783
21784         * docs/random/wtay/network-transp:
21785         Some old doc I had.
21786
21787 2005-07-27  Wim Taymans  <wim@fluendo.com>
21788
21789         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21790         (gst_dp_event_from_packet):
21791         Fix serialization of seek events.
21792
21793 2005-07-27  Wim Taymans  <wim@fluendo.com>
21794
21795         * check/gst-libs/gdp.c: (GST_START_TEST):
21796         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21797         Fix compilation and fix event serialization.
21798
21799 2005-07-27  Wim Taymans  <wim@fluendo.com>
21800
21801         * CHANGES-0.9:
21802         * docs/design/part-TODO.txt:
21803         * docs/design/part-events.txt:
21804         Some docs updates
21805
21806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21807         (gst_base_sink_event), (gst_base_sink_do_sync),
21808         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21809         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21810         (gst_base_src_do_seek), (gst_base_src_event_handler),
21811         (gst_base_src_loop):
21812         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21813         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21814         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21815         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21816         (gst_base_transform_set_passthrough),
21817         (gst_base_transform_is_passthrough):
21818         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21819         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21820         Event updates.
21821
21822         * gst/gstbuffer.h:
21823         Use faster casts.
21824
21825         * gst/gstelement.c: (gst_element_seek):
21826         * gst/gstelement.h:
21827         Update gst_element_seek.
21828
21829         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21830         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21831         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21832         (gst_event_new_eos), (gst_event_new_newsegment),
21833         (gst_event_parse_newsegment), (gst_event_new_tag),
21834         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21835         (gst_event_parse_qos), (gst_event_new_seek),
21836         (gst_event_parse_seek), (gst_event_new_navigation):
21837         * gst/gstevent.h:
21838         Make GstEvent use GstStructure. Add parsing code, make sure the
21839         API is sufficiently generic.
21840         Mark possible directions of events and serialization.
21841
21842         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21843         (_gst_message_copy), (gst_message_new_segment_start),
21844         (gst_message_new_segment_done), (gst_message_new_custom),
21845         (gst_message_parse_segment_start),
21846         (gst_message_parse_segment_done):
21847         Small cleanups.
21848
21849         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21850         (gst_pad_set_caps), (gst_pad_send_event):
21851         Update for new events. 
21852         Catch events sent in wrong directions.
21853
21854         * gst/gstqueue.c: (gst_queue_link_src),
21855         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21856         (gst_queue_handle_src_query):
21857         Event updates.
21858
21859         * gst/gsttag.c:
21860         * gst/gsttag.h:
21861         Remove event code from this file.
21862
21863         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21864         (gst_dp_event_from_packet):
21865         Event updates.
21866
21867 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21868
21869         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21870         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21871         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21872           Make debugging actually useful.
21873
21874 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21875
21876         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21877         (gst_pad_fixate_caps):
21878           Implement default fixation once again, so that gst_pad_fixate()
21879           actually does anything at all. This probably needs to be some
21880           sort of a last resort, and use profile-based fixation first, but
21881           since that doesn't exist yet, this is the best we have. Fixes
21882           visualization in Totem.
21883
21884 2005-07-22  Wim Taymans  <wim@fluendo.com>
21885
21886         * docs/design/part-events.txt:
21887         Small update.
21888
21889         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21890         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21891         (gst_base_sink_activate_pull):
21892         Some more comments.
21893
21894         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21895         (gst_fake_src_create):
21896         Fix handoff marshall.
21897
21898         * gst/elements/gstidentity.c: (gst_identity_class_init),
21899         (gst_identity_transform_ip):
21900         We're a real inplace element.
21901
21902         * gst/gstbus.c: (gst_bus_post):
21903         Added some comments.
21904
21905         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21906         * tests/muxing/case1.c: (main):
21907         * tests/sched/dynamic-pipeline.c: (main):
21908         * tests/sched/interrupt1.c: (main):
21909         * tests/sched/interrupt2.c: (main):
21910         * tests/sched/interrupt3.c: (main):
21911         * tests/sched/runxml.c: (main):
21912         * tests/sched/sched-stress.c: (main):
21913         * tests/seeking/seeking1.c: (event_received), (main):
21914         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21915         (main):
21916         * tests/threadstate/threadstate3.c: (main):
21917         * tests/threadstate/threadstate4.c: (main):
21918         * tests/threadstate/threadstate5.c: (main):
21919         Fix the tests.
21920
21921 2005-07-21  Wim Taymans  <wim@fluendo.com>
21922
21923         * docs/design/part-seeking.txt:
21924         Some small additions.
21925
21926         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21927         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21928         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21929         * gst/base/gstbasesink.h:
21930         discont values are gint64, handle the math correctly.
21931
21932         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21933         Make the basesrc report error if the source pad is not linked.
21934
21935         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21936         (gst_queue_loop), (gst_queue_handle_src_query),
21937         (gst_queue_src_activate_push):
21938         Make queue collect data even if the srcpad is not linked.
21939         Start pushing out data as soon as it is linked.
21940
21941         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21942         * gst/gstutils.h:
21943         Added gst_flow_get_name() to ease error reporting.
21944
21945 2005-07-20  Wim Taymans  <wim@fluendo.com>
21946
21947         * gst/gstmessage.c: (gst_message_new_segment_start),
21948         (gst_message_new_segment_done), (gst_message_parse_segment_start),
21949         (gst_message_parse_segment_done):
21950         * gst/gstmessage.h:
21951         Added a bunch of messages for advanced seeking.
21952
21953         * gst/parse/grammar.y:
21954         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21955         (gst_dpman_state_changed):
21956         Fix some new-pad -> pad-added signals
21957
21958 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21959
21960         * docs/manual/appendix-porting.xml:
21961         * docs/pwg/appendix-porting.xml:
21962           Document new-pad/state-change signal renames and the FixedList
21963           type rename.
21964
21965 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21966
21967         * docs/manual/advanced-autoplugging.xml:
21968         * docs/manual/basics-helloworld.xml:
21969         * docs/manual/basics-pads.xml:
21970         * docs/random/ds/0.9-suggested-changes:
21971         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21972         * gst/gstelement.h:
21973         * gst/gstevent.h:
21974         * gst/gstformat.h:
21975         * gst/gstquery.h:
21976         * gst/gststructure.c: (gst_structure_value_get_generic_type),
21977         (gst_structure_parse_array), (gst_structure_parse_value):
21978         * gst/gstvalue.c: (gst_type_is_fixed),
21979         (gst_value_list_prepend_value), (gst_value_list_append_value),
21980         (gst_value_list_get_size), (gst_value_list_get_value),
21981         (gst_value_transform_array_string), (gst_value_serialize_array),
21982         (gst_value_deserialize_array), (gst_value_intersect_array),
21983         (gst_value_is_fixed), (_gst_value_initialize):
21984         * gst/gstvalue.h:
21985           GstElement::new-pad -> pad-added, GstElement::state-change ->
21986           state-changed, GstValueFixedList -> GstValueArray, add format and
21987           flags as their own arguments in gst_element_seek() (should improve
21988           "bindeability"), remove function generators since they don't work
21989           under a whole bunch of compilers (they were deprecated already
21990           anyway).
21991
21992 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21993
21994         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21995         (_gst_debug_register_funcptr):
21996         * gst/gstinfo.h:
21997           Fix illegal cast on some platforms (#309253).
21998
21999 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22000
22001         * gst/gstmessage.c: (gst_message_new_custom):
22002         * gst/gstmessage.h:
22003           Add _new_custom, make _new_application a macro to _new_custom.
22004
22005 2005-07-20  Wim Taymans  <wim@fluendo.com>
22006
22007         * gst/base/gstbasesrc.c: (gst_base_src_init),
22008         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22009         * gst/base/gstbasesrc.h:
22010         Add a gboolean to decide when to push out a discont.
22011
22012         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22013         (gst_queue_loop), (gst_queue_handle_src_query),
22014         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22015         (gst_queue_set_property), (gst_queue_get_property):
22016         Some cleanups.
22017
22018         * tests/threadstate/threadstate1.c: (main):
22019         Make a thread test compile and run... very silly..
22020
22021
22022 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22023
22024         * docs/manual/appendix-porting.xml:
22025           Mention removal of libgstgconf-0.9.la and existence of gconf
22026           elements.
22027
22028 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22029
22030         * docs/pwg/advanced-clock.xml:
22031         * docs/pwg/appendix-porting.xml:
22032         * docs/pwg/intro-preface.xml:
22033         * docs/pwg/other-base.xml:
22034         * docs/pwg/other-manager.xml:
22035         * docs/pwg/other-nton.xml:
22036         * docs/pwg/other-ntoone.xml:
22037         * docs/pwg/other-oneton.xml:
22038         * docs/pwg/pwg.xml:
22039           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22040           demuxer), remove n-to-n (was never written), fix some code examples
22041           and links and update the porting section to include all this.
22042
22043 2005-07-19  Wim Taymans  <wim@fluendo.com>
22044
22045         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22046         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22047         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22048         (gst_queue_src_activate_push), (gst_queue_change_state),
22049         (gst_queue_get_property):
22050         * gst/gstqueue.h:
22051         Propagate GstFlowReturn more intelligently upstream and output
22052         an ERROR/EOS when streaming stopped due to fatal error.
22053
22054 2005-07-19  Wim Taymans  <wim@fluendo.com>
22055
22056         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22057         Don't block forever for the state change to complete, the
22058         pipeline already did with a sensible timeout.
22059
22060 2005-07-19  Wim Taymans  <wim@fluendo.com>
22061
22062         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22063         Make sure we never call the create function is we
22064         got deactivated.
22065
22066 2005-07-19  Andy Wingo  <wingo@pobox.com>
22067
22068         * gst/parse/parse.l: Attempt to solve bug #172815.
22069
22070 2005-07-19  Wim Taymans  <wim@fluendo.com>
22071
22072         * docs/design/part-clocks.txt:
22073         * docs/design/part-events.txt:
22074         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22075         Small docs updates.
22076         Only update the seeking values when we are not
22077         busy streaming.
22078
22079 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22080
22081         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22082           Oops, ignore the result of gst_pad_push_event here.
22083
22084 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22085
22086         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22087         (gst_base_src_activate_push):
22088           Send discont event from the loop function, as pads
22089           aren't activated yet in the activate_push handler.
22090
22091         * gst/gstbin.c: (bin_bus_handler):
22092           Don't leak element name.
22093
22094 2005-07-18  Andy Wingo  <wingo@pobox.com>
22095
22096         * configure.ac: Use AS_LIBTOOL_TAGS.
22097
22098 2005-07-18  Wim Taymans  <wim@fluendo.com>
22099
22100         * docs/gst/gstreamer.types:
22101         Remove deleted types.
22102
22103 2005-07-18  Wim Taymans  <wim@fluendo.com>
22104
22105         * check/elements/gstfakesrc.c: (GST_START_TEST):
22106         * configure.ac:
22107         * gst/Makefile.am:
22108         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22109         (init_popt_callback):
22110         * gst/gst.h:
22111         * gst/gst_private.h:
22112         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22113         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22114         * gst/gstbin.h:
22115         * gst/gstbus.h:
22116         * gst/gstconfig.h.in:
22117         * gst/gstelement.c: (gst_element_class_init),
22118         (gst_element_set_base_time), (gst_element_get_base_time),
22119         (iterator_fold_with_resync), (gst_element_change_state),
22120         (gst_element_dispose), (gst_element_get_bus):
22121         * gst/gstelement.h:
22122         * gst/gstelementfactory.h:
22123         * gst/gsterror.c: (_gst_core_errors_init):
22124         * gst/gsterror.h:
22125         * gst/gstevent.h:
22126         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22127         * gst/gstindex.c:
22128         * gst/gstinfo.c: (_gst_debug_init):
22129         * gst/gstmessage.c: (_gst_message_copy):
22130         * gst/gstmessage.h:
22131         * gst/gstminiobject.h:
22132         * gst/gstobject.c:
22133         * gst/gstobject.h:
22134         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22135         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22136         * gst/gstpad.h:
22137         * gst/gstparse.h:
22138         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22139         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22140         (gst_pipeline_get_last_stream_time):
22141         * gst/gstpipeline.h:
22142         * gst/gstpluginfeature.h:
22143         * gst/gstquery.h:
22144         * gst/gstscheduler.c:
22145         * gst/gstscheduler.h:
22146         * gst/gststructure.h:
22147         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22148         (gst_task_finalize), (gst_task_func), (gst_task_create),
22149         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22150         (gst_task_stop), (gst_task_pause):
22151         * gst/gsttask.h:
22152         * gst/gsttypefind.h:
22153         * gst/gsttypes.h:
22154         * gst/registries/gstlibxmlregistry.c: (load_feature),
22155         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22156         * gst/registries/gstxmlregistry.c:
22157         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22158         * gst/schedulers/threadscheduler.c:
22159         * libs/gst/control/dparammanager.h:
22160         * tools/gst-inspect.c: (print_element_list),
22161         (print_plugin_features), (print_element_features):
22162         * tools/gst-xmlinspect.c: (print_element_list),
22163         (print_plugin_info), (main):
22164         Removed plugable schedulers.
22165         Removed Scheduler/Manager from elements.
22166         Removed gsttypes.h, rearranged includes.
22167         Removed dependency pad<->element, element<>pipeline, and
22168         various others,  fix includes.
22169         implement gst_pad_get_parent() with gst_object_get_parent()
22170         Make GstTask sefcontained.
22171         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22172         timeout.
22173         Fix endless loop in iterator_fold_with_resync.
22174
22175
22176 2005-07-18  Wim Taymans  <wim@fluendo.com>
22177
22178         * gst/Makefile.am:
22179         * gst/gstarch.h:
22180         Remove old file.
22181
22182 2005-07-18  Wim Taymans  <wim@fluendo.com>
22183
22184         * gst/Makefile.am:
22185         No more cothreads.h
22186
22187 2005-07-18  Wim Taymans  <wim@fluendo.com>
22188
22189         * gst/cothreads.c:
22190         * gst/cothreads.h:
22191         Let's remove these.
22192
22193 2005-07-18  Wim Taymans  <wim@fluendo.com>
22194
22195         * docs/design/part-dynamic.txt:
22196         * docs/design/part-events.txt:
22197         * docs/design/part-seeking.txt:
22198         Some more docs in the works.
22199
22200         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22201         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22202         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22203         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22204         (gst_base_transform_handle_buffer),
22205         (gst_base_transform_sink_activate_push),
22206         (gst_base_transform_src_activate_pull),
22207         (gst_base_transform_set_passthrough),
22208         (gst_base_transform_is_passthrough):
22209         Refcounting fixes.
22210
22211         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22212         Cleanups.
22213
22214         * gst/gstevent.c: (gst_event_finalize):
22215         Set SRC to NULL.
22216
22217         * gst/gstutils.c: (gst_element_unlink),
22218         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22219         (gst_pad_proxy_setcaps):
22220         * gst/gstutils.h:
22221         Add _get_parent_element() to get a pads parent as an element.
22222
22223 2005-07-18  Wim Taymans  <wim@fluendo.com>
22224
22225         * check/gst/gstbin.c: (GST_START_TEST):
22226         Remove bogus test.
22227
22228 2005-07-18  Wim Taymans  <wim@fluendo.com>
22229
22230         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22231         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22232         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22233         (gst_base_sink_event), (gst_base_sink_do_sync),
22234         (gst_base_sink_chain), (gst_base_sink_loop),
22235         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22236         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22237         Refcounting fixes.
22238         Fix logic for returning ASYNC when not prerolled.
22239
22240 2005-07-18  Wim Taymans  <wim@fluendo.com>
22241
22242         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22243         Fix nasty refcount bug.
22244
22245 2005-07-16 Philippe Khalaf <burger@speedy.org>
22246
22247         * gst/elements/gstfdsrc.c:
22248         * gst/elements/gstfdsrc.h:
22249         * gst/elements/gstelements.c:
22250         * gst/elements/Makefile.am:
22251         Ported fdsrc to 0.9.
22252
22253 2005-07-16  Wim Taymans  <wim@fluendo.com>
22254
22255         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22256         (gst_base_sink_do_sync):
22257         Fix compile error.
22258
22259 2005-07-16  Wim Taymans  <wim@fluendo.com>
22260
22261         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22262         (gst_base_sink_event), (gst_base_sink_get_times),
22263         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22264         * gst/base/gstbasesink.h:
22265         Store and use discont values when syncing buffers as described
22266         in design docs.
22267         
22268         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22269         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22270         (gst_base_src_activate_push):
22271         Push discont event when starting.
22272
22273         * gst/elements/gstidentity.c: (gst_identity_transform):
22274         Small cleanups.
22275
22276         * gst/gstbin.c: (gst_bin_change_state):
22277         Small cleanups in base_time  distribution.
22278
22279         * gst/gstelement.c: (gst_element_set_base_time),
22280         (gst_element_get_base_time), (gst_element_change_state):
22281         * gst/gstelement.h:
22282         Added methods for the base_time of the element.
22283         Some MT fixes.
22284
22285         * gst/gstpipeline.c: (gst_pipeline_send_event),
22286         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22287         (gst_pipeline_get_last_stream_time):
22288         * gst/gstpipeline.h:
22289         MT fixes.
22290         Handle seeking as described in design doc, remove stream_time
22291         hack.
22292         Cleanups clock and stream_time selection code. Added accessors
22293         for the stream_time.
22294         
22295
22296 2005-07-16  Andy Wingo  <wingo@pobox.com>
22297
22298         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22299         (#305291).
22300
22301 2005-07-16  Wim Taymans  <wim@fluendo.com>
22302
22303         * check/gst/gstbin.c: (GST_START_TEST):
22304         Make elements silent as the deep_notify refs the
22305         parent, which might make the test fail.
22306
22307         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22308         Don't hold the lock for too long.
22309
22310 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22311
22312         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22313           Don't unref the caps we passed to gst_caps_make_writable() after
22314           passing them. gst_caps_make_writable() will do that for us.
22315
22316 2005-07-15  Andy Wingo  <wingo@pobox.com>
22317
22318         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22319         (#157311).
22320
22321         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22322         own marshalling function for the handoff signal. Properly type the
22323         buffer as a buffer. Fixes some warnings. Should do a more general
22324         solution.
22325         (gst_identity_class_init): Plug into the right marshaller.
22326
22327 2005-07-15  Wim Taymans  <wim@fluendo.com>
22328
22329         * docs/design/part-TODO.txt:
22330         * docs/design/part-clocks.txt:
22331         * docs/design/part-element-sink.txt:
22332         * docs/design/part-events.txt:
22333         * docs/design/part-gstpipeline.txt:
22334         Updated docs, mostly DISCONT related.
22335
22336 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22337
22338         * docs/pwg/building-pads.xml:
22339           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22340
22341 2005-07-15  Andy Wingo  <wingo@pobox.com>
22342
22343         * tools/gst-typefind.c: Update, add copyright block.
22344
22345         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22346         Normalize and truncate caps before fixation.
22347
22348         * gst/gstcaps.h:
22349         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22350         discards all but the first structure from its argument.
22351
22352 2005-07-15  Wim Taymans  <wim@fluendo.com>
22353
22354         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22355         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22356         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22357         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22358         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22359         (gst_base_transform_chain), (gst_base_transform_change_state),
22360         (gst_base_transform_set_passthrough),
22361         (gst_base_transform_is_passthrough):
22362         * gst/base/gstbasetransform.h:
22363         Make passthrough work using the bufferpools.
22364         Changed API a bit, subclasses have to write into a buffer
22365         provided by the base class.
22366         More debug info in nego functions.
22367         
22368         * gst/elements/gstidentity.c: (gst_identity_init),
22369         (gst_identity_transform):
22370         Port to new base class.
22371
22372 2005-07-15  Wim Taymans  <wim@fluendo.com>
22373
22374         * gst/gstmessage.c: (gst_message_new_state_changed):
22375         * tools/gst-launch.c: (event_loop), (main):
22376         Totally dump messages in -launch with the -m option.
22377         Fix message name for State messages,
22378
22379 2005-07-14  Wim Taymans  <wim@fluendo.com>
22380
22381         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22382         Post error messages on errors.
22383
22384 2005-07-14  Wim Taymans  <wim@fluendo.com>
22385
22386         * gst/gstcaps.c: (gst_caps_do_simplify):
22387         Remove debug info.
22388
22389         * gst/gsterror.h:
22390         Define error for stream stopped.
22391
22392         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22393         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22394         Do proper return values.
22395
22396         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22397         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22398         (gst_pad_get_range):
22399         Better return values.
22400
22401         * gst/gstpad.h:
22402         Reorganise return values, add macro to check for fatal errors.
22403
22404         * gst/gstqueue.c: (gst_queue_chain):
22405         Return proper GstFlowReturn values,
22406
22407 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22408
22409         * docs/gst/gstreamer-sections.txt:
22410         * docs/gst/gstreamer.types:
22411         * docs/gst/tmpl/gst.sgml:
22412         * docs/gst/tmpl/gstbasesink.sgml:
22413         * docs/gst/tmpl/gstbasesrc.sgml:
22414         * docs/gst/tmpl/gstbasetransform.sgml:
22415         * docs/gst/tmpl/gstbin.sgml:
22416         * docs/gst/tmpl/gstbuffer.sgml:
22417         * docs/gst/tmpl/gstcaps.sgml:
22418         * docs/gst/tmpl/gstclock.sgml:
22419         * docs/gst/tmpl/gstcompat.sgml:
22420         * docs/gst/tmpl/gstconfig.sgml:
22421         * docs/gst/tmpl/gstelement.sgml:
22422         * docs/gst/tmpl/gstelementdetails.sgml:
22423         * docs/gst/tmpl/gstelementfactory.sgml:
22424         * docs/gst/tmpl/gstenumtypes.sgml:
22425         * docs/gst/tmpl/gsterror.sgml:
22426         * docs/gst/tmpl/gstevent.sgml:
22427         * docs/gst/tmpl/gstfakesink.sgml:
22428         * docs/gst/tmpl/gstfakesrc.sgml:
22429         * docs/gst/tmpl/gstfilesink.sgml:
22430         * docs/gst/tmpl/gstfilesrc.sgml:
22431         * docs/gst/tmpl/gstfilter.sgml:
22432         * docs/gst/tmpl/gstformat.sgml:
22433         * docs/gst/tmpl/gstghostpad.sgml:
22434         * docs/gst/tmpl/gstimplementsinterface.sgml:
22435         * docs/gst/tmpl/gstindex.sgml:
22436         * docs/gst/tmpl/gstindexfactory.sgml:
22437         * docs/gst/tmpl/gstinfo.sgml:
22438         * docs/gst/tmpl/gstiterator.sgml:
22439         * docs/gst/tmpl/gstmacros.sgml:
22440         * docs/gst/tmpl/gstmemchunk.sgml:
22441         * docs/gst/tmpl/gstminiobject.sgml:
22442         * docs/gst/tmpl/gstobject.sgml:
22443         * docs/gst/tmpl/gstpad.sgml:
22444         * docs/gst/tmpl/gstpadtemplate.sgml:
22445         * docs/gst/tmpl/gstparse.sgml:
22446         * docs/gst/tmpl/gstpipeline.sgml:
22447         * docs/gst/tmpl/gstplugin.sgml:
22448         * docs/gst/tmpl/gstpluginfeature.sgml:
22449         * docs/gst/tmpl/gstquery.sgml:
22450         * docs/gst/tmpl/gstqueue.sgml:
22451         * docs/gst/tmpl/gstregistry.sgml:
22452         * docs/gst/tmpl/gstregistrypool.sgml:
22453         * docs/gst/tmpl/gstscheduler.sgml:
22454         * docs/gst/tmpl/gstschedulerfactory.sgml:
22455         * docs/gst/tmpl/gststructure.sgml:
22456         * docs/gst/tmpl/gstsystemclock.sgml:
22457         * docs/gst/tmpl/gsttaglist.sgml:
22458         * docs/gst/tmpl/gsttagsetter.sgml:
22459         * docs/gst/tmpl/gsttrace.sgml:
22460         * docs/gst/tmpl/gsttrashstack.sgml:
22461         * docs/gst/tmpl/gsttypefind.sgml:
22462         * docs/gst/tmpl/gsttypefindfactory.sgml:
22463         * docs/gst/tmpl/gsttypes.sgml:
22464         * docs/gst/tmpl/gsturihandler.sgml:
22465         * docs/gst/tmpl/gsturitype.sgml:
22466         * docs/gst/tmpl/gstutils.sgml:
22467         * docs/gst/tmpl/gstvalue.sgml:
22468         * docs/gst/tmpl/gstversion.sgml:
22469         * docs/gst/tmpl/gstxml.sgml:
22470         * docs/libs/tmpl/gstcontrol.sgml:
22471         * docs/libs/tmpl/gstdataprotocol.sgml:
22472         * docs/libs/tmpl/gstdparam.sgml:
22473         * docs/libs/tmpl/gstdplinint.sgml:
22474         * docs/libs/tmpl/gstdpman.sgml:
22475         * docs/libs/tmpl/gstdpsmooth.sgml:
22476         * docs/libs/tmpl/gstgetbits.sgml:
22477         * docs/libs/tmpl/gstunitconvert.sgml:
22478         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22479         (gst_push_src_base_init), (gst_push_src_class_init),
22480         (gst_push_src_init), (gst_push_src_create):
22481         * gst/base/gstpushsrc.h:
22482         * gst/elements/gstelements.c:
22483         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22484         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22485         (gst_fake_sink_init), (gst_fake_sink_set_property),
22486         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22487         (gst_fake_sink_event), (gst_fake_sink_preroll),
22488         (gst_fake_sink_render), (gst_fake_sink_change_state):
22489         * gst/elements/gstfakesink.h:
22490         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22491         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22492         (gst_fake_src_base_init), (gst_fake_src_class_init),
22493         (gst_fake_src_init), (gst_fake_src_event_handler),
22494         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22495         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22496         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22497         (gst_fake_src_create_buffer), (gst_fake_src_create),
22498         (gst_fake_src_start), (gst_fake_src_stop):
22499         * gst/elements/gstfakesrc.h:
22500         * gst/elements/gstfilesink.c: (_do_init),
22501         (gst_file_sink_base_init), (gst_file_sink_class_init),
22502         (gst_file_sink_init), (gst_file_sink_dispose),
22503         (gst_file_sink_set_location), (gst_file_sink_set_property),
22504         (gst_file_sink_get_property), (gst_file_sink_open_file),
22505         (gst_file_sink_close_file), (gst_file_sink_query),
22506         (gst_file_sink_event), (gst_file_sink_render),
22507         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22508         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22509         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22510         * gst/elements/gstfilesink.h:
22511         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22512         (gst_file_src_class_init), (gst_file_src_init),
22513         (gst_file_src_finalize), (gst_file_src_set_location),
22514         (gst_file_src_set_property), (gst_file_src_get_property),
22515         (gst_file_src_map_region), (gst_file_src_map_small_region),
22516         (gst_file_src_create_mmap), (gst_file_src_create_read),
22517         (gst_file_src_create), (gst_file_src_is_seekable),
22518         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22519         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22520         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22521         (gst_file_src_uri_handler_init):
22522         * gst/elements/gstfilesrc.h:
22523           more autistic cleanliness in functions/names/defines
22524
22525 2005-07-13  Andy Wingo  <wingo@pobox.com>
22526
22527         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22528         source couldn't negotiate.
22529
22530         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22531         connections again.
22532
22533         * gst/gstutils.h:
22534         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22535         function. I am channeling Hades. Put your boots on suckers!!!
22536
22537 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22538
22539         * testsuite/caps/Makefile.am:
22540         * testsuite/caps/value_compare.c:
22541         * testsuite/caps/value_intersect.c:
22542         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22543           move two testsuite apps over to the check dir
22544
22545 2005-07-12  Wim Taymans  <wim@fluendo.com>
22546
22547         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22548         Added more debug info in the negotiate process.
22549
22550         * gst/gstmessage.h:
22551         Prepare for segment playback.
22552
22553         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22554         Better debugging.
22555
22556         * gst/gstutils.c:
22557         Some more docs.
22558
22559         * tools/gst-launch.c: (main):
22560         NULL pipeline on errors.
22561
22562 2005-07-12  Andy Wingo  <wingo@pobox.com>
22563
22564         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22565         not it comes from a malloc region. Make sure our copy gets freed.
22566
22567 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22568
22569         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22570         * check/gst/gstmessage.c: (GST_START_TEST):
22571         * check/gst/gststructure.c: (GST_START_TEST),
22572         (gst_structure_suite), (main):
22573           more testing
22574         * gst/gstelement.c: (gst_element_message_full):
22575           clean up GError and debug string now that they get copied
22576         * gst/gstmessage.c: (gst_message_new_error),
22577         (gst_message_new_warning), (gst_message_parse_error),
22578         (gst_message_parse_warning):
22579           use GST_TYPE_G_ERROR for structure_new, and take copies of
22580           arguments, so that we don't mess up refcounting
22581
22582 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22583
22584         * check/Makefile.am:
22585           add per-test valgrind targets
22586         * check/gst-libs/gdp.c: (GST_START_TEST),
22587         (gst_data_protocol_suite), (main):
22588           clean up
22589
22590 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22591
22592         * check/Makefile.am:
22593           instate more valgrindable tests
22594         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22595         (GST_START_TEST), (fakesrc_suite):
22596         * check/gst/gstpad.c: (GST_START_TEST):
22597         * check/gst/gststructure.c: (GST_START_TEST):
22598           fix test leaks
22599         * docs/gst/tmpl/gstminiobject.sgml:
22600         * gst/gstpad.c: (gst_pad_finalize):
22601           fix the static mutex leak
22602
22603 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22604
22605         * check/Makefile.am:
22606           add two more tests for valgrinding
22607         * check/gst/gstvalue.c: (GST_START_TEST):
22608           test refcount of deserialized buffer, found a leak
22609         * docs/gst/gstreamer-docs.sgml:
22610         * docs/gst/gstreamer-sections.txt:
22611         * docs/gst/gstreamer.types:
22612         * docs/gst/tmpl/gstminiobject.sgml:
22613           add miniobject to docs
22614         * gst/gstminiobject.c:
22615           add some docs
22616         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22617         (gst_string_unwrap):
22618           fix a hard-to-find invalid write for one of the tests
22619           fix a leak for deserialized buffers
22620
22621 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22622
22623         * docs/pwg/advanced-events.xml:
22624         * docs/pwg/advanced-request.xml:
22625         * docs/pwg/advanced-scheduling.xml:
22626         * docs/pwg/appendix-porting.xml:
22627         * docs/pwg/building-boiler.xml:
22628         * docs/pwg/intro-preface.xml:
22629         * docs/pwg/other-ntoone.xml:
22630           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22631           of example code and explanation for pad activation, loop() and
22632           getrange() functions and a bit more. Remove old comments pointing
22633           to loop-functions.
22634         * examples/pwg/Makefile.am:
22635           Add loop/getrange examples.
22636
22637 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22638
22639         * configure.ac:
22640           check for valgrind binary + some fixes
22641         * check/gst.supp:
22642           valgrind suppressions for the tests
22643         * check/Makefile.am:
22644           add a valgrind: target that valgrinds the unit tests
22645         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22646         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22647         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22648         * check/gst/gstghostpad.c:
22649           added some cleanup
22650         * check/gst/gstdata.c:
22651           removed
22652         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22653         (thread_unref), (gst_mini_object_suite), (main):
22654           added
22655         * gst/gst.c: (gst_deinit):
22656         * gst/gst.h:
22657           add a method to clean up.
22658         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22659         (gst_system_clock_obtain):
22660           allow for disposing the system clock.
22661         * tools/gst-launch.c: (main):
22662           deinit
22663
22664 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22665
22666         * docs/gst/tmpl/gstbasesrc.sgml:
22667         * docs/gst/tmpl/gstfakesrc.sgml:
22668         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22669         (gst_base_src_init), (gst_base_src_set_property),
22670         (gst_base_src_get_property), (gst_base_src_get_range),
22671         (gst_base_src_start):
22672         * gst/base/gstbasesrc.h:
22673           add num-buffers property
22674         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22675         (gst_fakesrc_init), (gst_fakesrc_set_property),
22676         (gst_fakesrc_get_property), (gst_fakesrc_create),
22677         (gst_fakesrc_start):
22678           remove num-buffers property
22679
22680 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22681
22682         * docs/gst/gstreamer-sections.txt:
22683         * docs/gst/tmpl/gstbasesink.sgml:
22684         * docs/gst/tmpl/gstbasesrc.sgml:
22685         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22686         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22687         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22688         (gst_base_sink_set_property), (gst_base_sink_get_property),
22689         (gst_base_sink_handle_object), (gst_base_sink_event),
22690         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22691         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22692         (gst_base_sink_loop), (gst_base_sink_deactivate),
22693         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22694         (gst_base_sink_change_state):
22695         * gst/base/gstbasesink.h:
22696         * gst/base/gstbasesrc.h:
22697         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22698         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22699         (gst_filesink_init):
22700           more macro splitting
22701
22702 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22703
22704         * gst/gstelement.c: (gst_element_get_bus):
22705           add debug
22706         * tools/gst-launch.c: (check_intr), (event_loop):
22707           fix bus leaks
22708
22709 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22710
22711         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22712           fix a caps leak
22713
22714 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22715
22716         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22717         (gst_base_src_finalize):
22718           add finalize method and clean up properly
22719         * gst/gstpipeline.c: (gst_pipeline_dispose):
22720           add debug
22721
22722 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22723
22724         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22725         (gst_bin_suite):
22726           add more things to check
22727         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22728         * gst/gstelement.c:
22729           more debug
22730
22731 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22732
22733         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22734         (GST_START_TEST), (fakesrc_suite):
22735         * check/gst-libs/gdp.c: (GST_START_TEST):
22736         * check/gst/gst.c: (GST_START_TEST):
22737         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22738         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22739         * check/gst/gstbus.c: (GST_START_TEST):
22740         * check/gst/gstcaps.c: (GST_START_TEST):
22741         * check/gst/gstdata.c: (GST_START_TEST):
22742         * check/gst/gstelement.c: (GST_START_TEST):
22743         * check/gst/gstghostpad.c: (GST_START_TEST):
22744         * check/gst/gstiterator.c: (GST_START_TEST):
22745         * check/gst/gstmessage.c: (GST_START_TEST):
22746         * check/gst/gstobject.c: (GST_START_TEST):
22747         * check/gst/gstpad.c: (GST_START_TEST):
22748         * check/gst/gststructure.c: (GST_START_TEST):
22749         * check/gst/gstsystemclock.c: (GST_START_TEST),
22750         (gst_systemclock_suite):
22751         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22752         * check/gst/gstvalue.c: (GST_START_TEST):
22753         * check/pipelines/cleanup.c: (GST_START_TEST):
22754         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22755         * check/states/sinks.c: (GST_START_TEST):
22756         * check/gstcheck.c: (gst_check_init):
22757         * check/gstcheck.h:
22758           add debugging category
22759           use GST_START_TEST now, so we add a debug line
22760
22761 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22762
22763         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22764           add test for state change message on a bin
22765         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22766           add another test
22767         * gst/gstbin.c: (gst_bin_init):
22768         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22769         * gst/gstelement.c: (gst_element_post_message),
22770         (gst_element_set_state):
22771         * gst/gstelementfactory.c: (gst_element_factory_create):
22772         * gst/gstmessage.c: (gst_message_new):
22773         * gst/gstscheduler.c:
22774           various debugging additions and cleanups
22775
22776 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22777
22778         * check/Makefile.am:
22779         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22780         (main):
22781           adding tests for elements
22782         * gst/gstelement.c: (gst_element_dispose):
22783
22784 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22785
22786         * gst/registries/gstlibxmlregistry.c: (load_feature):
22787           plug more leaks.  A simple gst_init() now is leakfree, yay.
22788
22789 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22790
22791         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22792         (gst_xml_registry_load):
22793           plug another memleak
22794
22795 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22796
22797         * configure.ac:
22798           use GST_SET_ERROR_CFLAGS
22799         * docs/faq/cvs.xml:
22800           change to ERROR_CFLAGS
22801
22802 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22803
22804         * configure.ac:
22805           make GST_ERROR_CFLAGS overridable and re-enable Werror
22806         * docs/faq/cvs.xml:
22807           add a note about error CFLAGS
22808         * docs/gst/tmpl/gstfakesrc.sgml:
22809         * gst/elements/gstfakesrc.c:
22810           comment out some unused code
22811         * gst/gst.c: (split_and_iterate):
22812         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22813         (load_feature):
22814           plug some memleaks
22815
22816 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22817
22818         * common/Makefile.am:
22819         * common/gtk-doc.mak:
22820         * docs/gst/Makefile.am:
22821           factor out gtk-doc.mak
22822
22823 2005-07-07  Wim Taymans  <wim@fluendo.com>
22824
22825         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22826         (gst_thread_scheduler_dispose):
22827         Unlock the STREAM_LOCK completely.
22828
22829 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22830
22831         * check/Makefile.am:
22832         * check/elements/.cvsignore:
22833         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22834         (START_TEST), (fakesrc_suite), (main):
22835         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22836         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22837         (gst_fakesrc_create), (gst_fakesrc_start):
22838         * gst/elements/gstfakesrc.h:
22839           adding a first element test
22840
22841 2005-07-07  Andy Wingo  <wingo@pobox.com>
22842
22843         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22844         debug message.
22845
22846 2005-07-07  Wim Taymans  <wim@fluendo.com>
22847
22848         * gst/gstquery.c:
22849         * gst/gstquery.h:
22850         Remove old types
22851
22852 2005-07-07  Wim Taymans  <wim@fluendo.com>
22853
22854         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22855         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22856         Allow subclasses to implement their own negotiation.
22857
22858 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22859
22860         * docs/design/part-gstbin.txt:
22861         * docs/design/part-gstpipeline.txt:
22862           Update design notes to reflect the movement of
22863           responsibility for bus handling from GstPipeline to
22864           GstBin
22865
22866 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22867
22868         * configure.ac:
22869           Remove unnecessary queue2/3/4 examples.
22870
22871 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22872
22873         * examples/Makefile.am:
22874         * examples/helloworld/helloworld.c: (event_loop), (main):
22875         * examples/queue/queue.c: (event_loop), (main):
22876         * examples/queue2/queue2.c: (main):
22877           Update a couple of the examples to work again.
22878
22879         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22880         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22881          Spelling corrections and extra debug.
22882         
22883         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22884         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22885         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22886         * gst/gstbin.h:
22887         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22888         (gst_pipeline_change_state):
22889         * gst/gstpipeline.h:
22890           Move the bus handler for children to the GstBin, and create a
22891           separate bus for receiving messages from children to the one the
22892           bus sends 'upwards' on.
22893
22894 2005-07-06  Wim Taymans  <wim@fluendo.com>
22895
22896         * gst/base/README:
22897         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22898         (gst_base_sink_handle_object), (gst_base_sink_loop),
22899         (gst_base_sink_change_state):
22900         * gst/base/gstbasesink.h:
22901         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22902         (gst_base_src_init), (gst_base_src_setcaps),
22903         (gst_base_src_getcaps), (gst_base_src_loop),
22904         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22905         (gst_base_src_start), (gst_base_src_change_state):
22906         * gst/base/gstbasesrc.h:
22907         Make basesrc negotiate.
22908         Handle the case where preroll fails in basesink.
22909         Update README.
22910
22911 2005-07-06  Wim Taymans  <wim@fluendo.com>
22912
22913         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22914         Implement the fixate function.
22915         Clean up acceptcaps.
22916
22917 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22918
22919         * docs/pwg/building-filterfactory.xml:
22920         * docs/pwg/pwg.xml:
22921           Remove never-written filter-factory chapter; I'll add the various
22922           base classes to part 4 ("other element types") later on.
22923
22924 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22925
22926         * docs/pwg/advanced-negotiation.xml:
22927         * docs/pwg/building-boiler.xml:
22928         * docs/pwg/building-pads.xml:
22929         * docs/pwg/pwg.xml:
22930         * examples/pwg/Makefile.am:
22931           Add a chapter on caps negotiation, simplify the original code
22932           samples a bit w.r.t. caps negotiation, add link to the advanced
22933           section. Add a bunch of examples showing different use cases of
22934           different types of caps negotiation. Upstream renegotiation isn't
22935           fully documented yet since nobody knows how that works.
22936
22937 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22938
22939         * check/gst/gstpad.c:
22940         * check/gstcheck.c:
22941         * gst/gstpad.c: (gst_pad_get_internal_links_default):
22942           if pad has no parent, return NULL as list of internal links
22943
22944 2005-07-05  Andy Wingo  <wingo@pobox.com>
22945
22946         * gst/elements/gstfilesrc.c:
22947         * gst/elements/gstfakesrc.c: 
22948         * gst/base/gstpushsrc.c:
22949         * gst/base/gstbasesrc.h: 
22950         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22951         
22952 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
22953
22954         * Makefile.am:
22955           better report generation target (lcov needs a patch)
22956
22957 2005-07-05  Andy Wingo  <wingo@pobox.com>
22958
22959         * gst/elements, testsuite: Null if we got it...
22960
22961 2005-07-05  Wim Taymans  <wim@fluendo.com>
22962
22963         * configure.ac:
22964         * libs/gst/dataprotocol/Makefile.am:
22965         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22966         * libs/gst/dataprotocol/dataprotocol.h:
22967         * pkgconfig/Makefile.am:
22968         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22969         * pkgconfig/gstreamer-dataprotocol.pc.in:
22970         Ported dataprotol to 0.9. 
22971         Added pkgconfig files.
22972
22973 2005-07-05  Andy Wingo  <wingo@pobox.com>
22974
22975         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22976         Default to returning TRUE for the case when tranform_caps returns
22977         a fixed caps, like for identity or volume.
22978
22979         * check/gst/gstbus.c (pound_bus_with_messages): 
22980         * check/gst/gstmessage.c (START_TEST): 
22981         * check/pipelines/simple_launch_lines.c (got_handoff): Application
22982         message API change.
22983
22984         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22985         logic weaks here: always run transform_caps, trying passthrough
22986         operation only if the original caps intersects with the transform.
22987
22988         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22989         source and sink caps.
22990
22991         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22992         Intersect the peer caps with the pad template before going into
22993         transform_caps.
22994         (gst_base_transform_transform_caps): More debugging.
22995
22996         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22997         src argument.
22998
22999 2005-07-04  Edward Hervey  <edward@fluendo.com>
23000
23001         * gst/gstutils.c:
23002         * gst/gstutils.h:
23003         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23004         in bindings.
23005
23006 2005-07-04  Andy Wingo  <wingo@pobox.com>
23007
23008         * check/gst/gstpad.c: Only set explicit caps on pads.
23009
23010 2005-07-01  Andy Wingo  <wingo@pobox.com>
23011
23012         * tests/network-clock.scm: Commentary update.
23013
23014         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23015         Didn't really make sense, not implementable with basetransform,
23016         etc.
23017         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23018         attempt at implementing the sync property, needs an unlock method.
23019
23020         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23021         New func, by default returns the same caps (the identity
23022         transformation).
23023         (gst_base_transform_getcaps): Uses transform_caps to return
23024         something sensible.
23025         (gst_base_transform_setcaps): Complicated logic to get caps on
23026         both pads, even if they are different, and to call set_caps once
23027         for every time both pads get their caps set.
23028         (gst_base_transform_handle_buffer): Give the ref to the transform
23029         function. Allows in-place modification of the buffer.
23030
23031         * gst/base/gstbasetransform.h (transform_caps): New class method.
23032         Given caps on one side, what can I do on the other.
23033         (set_caps): Take two caps, one for each side of the element.
23034
23035         * gst/gstpad.h:
23036         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23037         caps in place. This is safe because we can check the mutability of
23038         the caps, and a good idea because fixate functions are just called
23039         as a matter of last resort. (Not actually implemented.)
23040         (gst_pad_set_caps): If the caps we're setting is actually the same
23041         as the existing pad caps, just update the pointer without calling
23042         setcaps. Assert that caps is either NULL or fixed, as per the
23043         docs.
23044
23045         * gst/gstghostpad.c: Update for fixate changes.
23046
23047 2005-07-02  Andy Wingo  <wingo@pobox.com>
23048
23049         * gst/gstcaps.c:
23050         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23051         two refcounts makes it immutable, which is enough. Doc more.
23052
23053 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23054
23055         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23056           Put the mini_object into GValue as a mini_object,
23057           not a gpointer, since that's how we declared
23058           the signal.
23059
23060 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23061
23062         * examples/pwg/Makefile.am:
23063           Fix buildbot again.
23064
23065 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23066
23067         * docs/pwg/building-testapp.xml:
23068           Add extra check.
23069         * examples/pwg/Makefile.am:
23070           Fix buildbot.
23071
23072 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23073
23074         * configure.ac:
23075         * examples/Makefile.am:
23076         * examples/pwg/Makefile.am:
23077         * examples/pwg/extract.pl:
23078           Enable building the PWG examples.
23079         * docs/pwg/advanced-interfaces.xml:
23080           Add URI interface stub.
23081         * docs/pwg/advanced-types.xml:
23082         * docs/pwg/other-autoplugger.xml:
23083         * docs/pwg/appendix-porting.xml:
23084         * docs/pwg/pwg.xml:
23085           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23086         * docs/pwg/building-boiler.xml:
23087         * docs/pwg/building-chainfn.xml:
23088         * docs/pwg/building-pads.xml:
23089         * docs/pwg/building-props.xml:
23090         * docs/pwg/building-state.xml:
23091         * docs/pwg/building-testapp.xml:
23092           Update the building-*.xml parts for 0.9 changes. All examples
23093           code blocks compile in examples/pwg/*.
23094
23095 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23096
23097         * docs/manual/advanced-autoplugging.xml:
23098         * docs/manual/appendix-checklist.xml:
23099         * docs/manual/appendix-integration.xml:
23100         * docs/manual/highlevel-components.xml:
23101           Fix playbin/decodebin examples, update docs a bit, mention bus
23102           instead of signals in various places, mention kmplayer and
23103           kaffeine since they have a working GStreamer backend in the KDE
23104           section.
23105
23106 2005-06-30  Wim Taymans  <wim@fluendo.com>
23107
23108         * CHANGES-0.9:
23109         * docs/design/draft-ghostpads.txt:
23110         * docs/design/draft-push-pull.txt:
23111         * docs/design/draft-query.txt:
23112         * docs/design/part-TODO.txt:
23113         * docs/design/part-query.txt:
23114         Added CHANGES-0.9 doc, updated status of other docs.
23115         
23116         * gst/gstquery.h:
23117         Remove "hmm" macro
23118
23119 2005-06-30  Wim Taymans  <wim@fluendo.com>
23120
23121         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23122         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23123         (gst_base_sink_change_state):
23124         * gst/base/gstbasesink.h:
23125         Some tweaks, only EOS and a buffer complete a preroll.
23126
23127 2005-06-30  Andy Wingo  <wingo@pobox.com>
23128
23129         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23130         activate_push down to the internal pad as well.
23131
23132 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23133
23134         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23135
23136         * gst/gsttaginterface.c:
23137           Some documentation fixes (#307394 and #307397).
23138
23139 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23140
23141         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23142
23143         * gst/gstvalue.c: (gst_value_intersect_list):
23144           Fix memleak (#309125).
23145
23146 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23147
23148         * docs/manual/advanced-dataaccess.xml:
23149           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23150         * docs/manual/basics-pads.xml:
23151           Add reference for filtered caps to above chapter.
23152
23153 2005-06-30  Wim Taymans  <wim@fluendo.com>
23154
23155         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23156         (gst_bin_change_state):
23157         Probes are gone.
23158         Lame attempt at making the state change function a bit
23159         more readable.
23160
23161 2005-06-30  Wim Taymans  <wim@fluendo.com>
23162
23163         * docs/design/part-clocks.txt:
23164         * docs/design/part-element-sink.txt:
23165         * docs/design/part-events.txt:
23166         * docs/design/part-preroll.txt:
23167         * docs/design/part-states.txt:
23168         Some more tweeks and additions to the docs.
23169
23170 2005-06-30  Wim Taymans  <wim@fluendo.com>
23171
23172         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23173         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23174         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23175         (gst_pad_check_pull_range), (gst_pad_get_range),
23176         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23177         * gst/gstpad.h:
23178         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23179         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23180         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23181         (gst_pad_remove_buffer_probe):
23182         Removed atomic operations, use existing LOCK.
23183         Move exception handling out of main code path.
23184
23185 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23186
23187         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23188         (silly_return_true_function), (gst_pad_class_init),
23189         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23190         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23191         (gst_pad_send_event):
23192           Fix accumulator, add default value by using _emitv() instead
23193           of _emit() for signal emission.
23194
23195 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23196
23197         * docs/manual/advanced-dataaccess.xml:
23198         * examples/manual/Makefile.am:
23199           Add probe example.
23200         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23201           Make work (??).
23202
23203 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23204
23205         * gst/elements/gstfilesink.c: (gst_filesink_render):
23206           Simplify code so that we don't have to handle short
23207           writes and return GST_FLOW_ERROR if an error occured.
23208
23209 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23210
23211         * docs/gst/gstreamer-docs.sgml:
23212           Remove probes more.
23213
23214 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23215
23216         * docs/gst/gstreamer-sections.txt:
23217         * docs/gst/tmpl/gstpad.sgml:
23218         * docs/gst/tmpl/gstprobe.sgml:
23219         * gst/Makefile.am:
23220         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23221         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23222         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23223         (gst_pad_push_event), (gst_pad_send_event):
23224         * gst/gstpad.h:
23225         * gst/gstutils.c: (gst_pad_add_data_probe),
23226         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23227         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23228         (gst_pad_remove_buffer_probe):
23229         * gst/gstutils.h:
23230           Remove old probes, add new g-signal-based probes and some utility
23231           functions.
23232
23233 2005-06-29  Edward Hervey  <edward@fluendo.com>
23234
23235         * gst/gstelementfactory.c:
23236         * gst/gstutils.h:
23237         * gst/gstutils.c:
23238         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23239         the definition to the header file.
23240
23241 2005-06-29  Andy Wingo  <wingo@pobox.com>
23242
23243         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23244         plugins from the source directory.
23245
23246 2005-06-29  Wim Taymans  <wim@fluendo.com>
23247
23248         * docs/gst/tmpl/gstbuffer.sgml:
23249         * docs/gst/tmpl/gstclock.sgml:
23250         Some fixings for blantently wrong text.
23251
23252 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23253
23254         * check/Makefile.am:
23255         * gst/gst.c: (add_path_func), (init_pre):
23256         * gst/gstregistry.c: (gst_registry_add_path):
23257           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23258           only scan the GST_PLUGIN_PATH locations, and not add
23259           system locations
23260
23261 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23262
23263         * docs/gst/gstreamer-sections.txt:
23264         * docs/gst/tmpl/gstbasesrc.sgml:
23265         * gst/gstelement.c:
23266         * gst/gstelement.h:
23267         * gst/gstevent.c:
23268         * gst/gstutils.c:
23269           doc fixes
23270
23271 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23272
23273         * docs/manual/advanced-autoplugging.xml:
23274           Fix autoplugging example.
23275
23276 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23277
23278         * docs/manual/advanced-autoplugging.xml:
23279         * docs/manual/mime-world.fig:
23280           Try to get autoplugging working, fix type detection. Fix text
23281           in hello-world image.
23282
23283 2005-06-29  Wim Taymans  <wim@fluendo.com>
23284
23285         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23286         (gst_base_sink_change_state):
23287         Small debug line.
23288
23289         * gst/gstclock.h:
23290         map SIGNAL and BROADCAST to the right function.
23291
23292         * gst/gstobject.h:
23293         Remove redundant braces.
23294
23295         * gst/gstpad.c: (gst_pad_set_caps):
23296         Don't call setcaps function when reseting caps to NULL.
23297
23298         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23299         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23300         (gst_system_clock_id_unschedule):
23301         Use BROADCAST as this is what we do.
23302
23303 2005-06-29  Wim Taymans  <wim@fluendo.com>
23304
23305         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23306         We are actually prerolling before commiting the state
23307         change. 
23308
23309 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23310
23311         * docs/manual/advanced-clocks.xml:
23312         * docs/manual/advanced-interfaces.xml:
23313         * docs/manual/advanced-metadata.xml:
23314         * docs/manual/advanced-position.xml:
23315         * docs/manual/advanced-schedulers.xml:
23316         * docs/manual/advanced-threads.xml:
23317         * docs/manual/appendix-porting.xml:
23318         * docs/manual/basics-bins.xml:
23319         * docs/manual/basics-bus.xml:
23320         * docs/manual/basics-elements.xml:
23321         * docs/manual/basics-helloworld.xml:
23322         * docs/manual/basics-pads.xml:
23323         * docs/manual/highlevel-components.xml:
23324         * docs/manual/manual.xml:
23325         * docs/manual/thread.fig:
23326           Update (until threads/scheduling) Application Development Manual;
23327           remove GstThread, add GstBus, add simple porting checklist, add
23328           documentation for tag writing, clocks, make all examples until this
23329           part compile and run.
23330         * examples/manual/Makefile.am:
23331           Update from changes to Application Development Manual; add bus
23332           example, remove thread example.
23333
23334 2005-06-28  Wim Taymans  <wim@fluendo.com>
23335
23336         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23337         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23338         (gst_bus_source_dispatch):
23339         Add debugging messages.
23340         Make internal methods static.
23341         Handle the case where the bus is flushed in the handler.
23342         
23343         * gst/gstelement.c: (gst_element_get_bus):
23344         Fix refcount in _get_bus();
23345
23346         * gst/gstpipeline.c: (gst_pipeline_change_state),
23347         (gst_pipeline_get_clock_func):
23348         Clock refcounting fixes.
23349         Handle the case where preroll timed out more gracefully.
23350         
23351         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23352         Clean up the internal thread in dispose. This is needed
23353         for subclasses that actually get disposed.
23354         
23355         * gst/schedulers/threadscheduler.c:
23356         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23357         (gst_thread_scheduler_dispose):
23358         Free thread pool in dispose.
23359
23360 2005-06-28  Andy Wingo  <wingo@pobox.com>
23361
23362         * tests/network-clock-utils.scm (debug, print-event): New utils.
23363
23364         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23365         (*packet-loss*): Unified loss probability.
23366         (network-time): Report out-of-band events.
23367
23368         * tests/plot-data: Add support for out-of-band events. Hack it
23369         into this script instead of passing it down the pipe; should fix
23370         this later.
23371
23372 2005-06-28  Wim Taymans  <wim@fluendo.com>
23373
23374         * docs/gst/gstreamer.types:
23375         * docs/gst/tmpl/gstbasesrc.sgml:
23376         * docs/gst/tmpl/gstpad.sgml:
23377         Docs fixes.
23378
23379 2005-06-28  Wim Taymans  <wim@fluendo.com>
23380
23381         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23382         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23383         (gst_proxy_pad_do_fixatecaps):
23384         Correctly proxy the check_pull_range function.
23385
23386 2005-06-28  Andy Wingo  <wingo@pobox.com>
23387
23388         * tests/network-clock.scm: Removed need for slib.
23389         
23390 2005-06-28  Wim Taymans  <wim@fluendo.com>
23391
23392         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23393         (gst_basesink_preroll_queue_flush):
23394         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23395         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23396         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23397         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23398         (gst_proxy_pad_set_property):
23399         * gst/gstpad.c:
23400         * gst/gstpad.h:
23401         * gst/gstqueue.c: (gst_queue_init):
23402         The deprecated pad loop function is removed now.
23403
23404 2005-06-28  Andy Wingo  <wingo@pobox.com>
23405
23406         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23407         New parameters, simulate network packet loss.
23408
23409         * tests/network-clock-utils.scm: Initialize the RNG.
23410
23411 2005-06-28  Wim Taymans  <wim@fluendo.com>
23412
23413         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23414         (gst_basesink_event), (gst_basesink_deactivate):
23415         Flushing the preroll queue always needs to unlock the waiters.
23416
23417 2005-06-28  Edward Hervey  <edward@fluendo.com>
23418
23419         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23420         Wheen a seek was successful on a pipeline, set the stream_time to the
23421         seek offset in order to have a synchronized stream_time.
23422
23423 2005-06-28  Wim Taymans  <wim@fluendo.com>
23424
23425         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23426         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23427         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23428         (gst_proxy_pad_do_fixatecaps):
23429         Call wrapper function instead of just calling the function
23430         pointers. This takes care of any locking and whatmore.
23431
23432 2005-06-28  Wim Taymans  <wim@fluendo.com>
23433
23434         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23435         (gst_pad_pull_range):
23436         * gst/gstpad.h:
23437         CONNECTED -> LINKED.
23438
23439 2005-06-28  Andy Wingo  <wingo@pobox.com>
23440
23441         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23442         source-munging commit!!!
23443
23444         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23445         (gst_object_sink): Take gpointer arguments, not GstObject --
23446         avoids casts. Like GLib.
23447
23448         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23449         activate.
23450
23451 2005-06-27  Andy Wingo  <wingo@pobox.com>
23452
23453         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23454         remaining buffer.
23455
23456         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23457         returns a sorted copy of the trace list.
23458         (gst_alloc_trace_print_live): New API, only prints traces with
23459         live objects. Sort the list.
23460         (gst_alloc_trace_print_all): Sort the list.
23461         (gst_alloc_trace_print): Align columns.
23462
23463         * gst/elements/gstttypefindelement.c:
23464         * gst/elements/gsttee.c:
23465         * gst/base/gstbasesrc.c:
23466         * gst/base/gstbasesink.c:
23467         * gst/base/gstbasetransform.c:
23468         * gst/gstqueue.c: Adapt for pad activation changes.
23469
23470         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23471         sched.
23472         (gst_pipeline_dispose): Drop ref on sched.
23473
23474         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23475         (gst_pad_activate_default): Push mode by default.
23476         (pre_activate_switch, post_activate_switch): New stubs, things to
23477         do before and after switching activation modes on pads.
23478         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23479         the pad's activate function to choose which mode to activate.
23480         Shortcut on deactivation and call the right function directly.
23481         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23482         mode.
23483         (gst_pad_activate_push): New API, same for push mode.
23484         (gst_pad_set_activate_function) 
23485         (gst_pad_set_activatepull_function) 
23486         (gst_pad_set_activatepush_function): Setters for new API.
23487
23488         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23489         Trace all miniobjects.
23490         (gst_mini_object_make_writable): Unref the arg if we copy, like
23491         gst_caps_make_writable.
23492
23493         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23494
23495         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23496         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23497         Adapt for new pad API.
23498
23499         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23500
23501         * gst/gstelement.h:
23502         * gst/gstelement.c (gst_element_iterate_src_pads) 
23503         (gst_element_iterate_sink_pads): New API functions.
23504         
23505         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23506         should fold into gstiterator.c in some form.
23507         (gst_element_pads_activate): Simplified via use of fold and
23508         delegation of decisions to gstpad->activate.
23509
23510         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23511         help in debugging.
23512
23513         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23514         class once in init, like gstmessage. Didn't run into this issue
23515         but it seems correct. Don't initialize a trace, gstminiobject does
23516         that.
23517
23518         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23519         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23520         to the bus.
23521         (assert_live_count): New util function, uses alloc traces to check
23522         cleanup.
23523
23524         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23525         To be modified when unlink drops the internal pad.
23526
23527 2005-06-27  Wim Taymans  <wim@fluendo.com>
23528
23529         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23530         (gst_bin_change_state):
23531         Cleanup the get_state() function a little, make sure it
23532         iterates the same set of elements.
23533         Added stub iterate_state_order().
23534
23535 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23536
23537         * docs/gst/gstreamer-docs.sgml:
23538         * docs/gst/gstreamer-sections.txt:
23539         * docs/gst/gstreamer.types:
23540         * docs/gst/tmpl/gstbasesink.sgml:
23541         * docs/gst/tmpl/gstbasesrc.sgml:
23542         * docs/gst/tmpl/gstbasetransform.sgml:
23543         * docs/gst/tmpl/gstelement.sgml:
23544         * docs/gst/tmpl/gstiterator.sgml:
23545         * gst/base/gstbasesrc.c:
23546         * gst/base/gstbasesrc.h:
23547         * gst/base/gstbasetransform.h:
23548         * gst/gstelement.c:
23549         * gst/gstiterator.h:
23550           adding basetransform and iterator docs
23551
23552 2005-06-27  Andy Wingo  <wingo@pobox.com>
23553
23554         * docs/design/part-activation.txt: Notes on how activation should
23555         work -- not quite implemented yet.
23556
23557 2005-06-25  Wim Taymans  <wim@fluendo.com>
23558
23559         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23560         At least get the chain function correct, needs more
23561         fixing.
23562
23563 2005-06-25  Wim Taymans  <wim@fluendo.com>
23564
23565         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23566         (gst_basesink_handle_object), (gst_basesink_event),
23567         (gst_basesink_do_sync), (gst_basesink_handle_event),
23568         (gst_basesink_change_state):
23569         * gst/gsttask.h:
23570         Right, two problems here: ghostpads don't take locks and
23571         glib _rec_mutex_lock_full() with depth==0 still locks.
23572         Catch illegal locking and g_warn them.
23573
23574 2005-06-25  Wim Taymans  <wim@fluendo.com>
23575
23576         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23577         Have to check for completion now...
23578
23579 2005-06-25  Wim Taymans  <wim@fluendo.com>
23580
23581         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23582         (gst_basesink_handle_object), (gst_basesink_event),
23583         (gst_basesink_do_sync), (gst_basesink_handle_event),
23584         (gst_basesink_change_state):
23585         * gst/gstpad.h:
23586         Unlock STREAM_LOCK whatever the recursion was.
23587
23588 2005-06-25  Wim Taymans  <wim@fluendo.com>
23589
23590         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23591         (gst_basesink_preroll_queue_empty),
23592         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23593         (gst_basesink_event), (gst_basesink_do_sync),
23594         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23595         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23596         (gst_basesink_change_state):
23597         Reworked the base sink, handle event and buffer serialisation
23598         correctly and removed possible deadlock.
23599         Handle EOS correctly.
23600
23601 2005-06-25  Wim Taymans  <wim@fluendo.com>
23602
23603         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23604         (gst_pipeline_change_state):
23605         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23606         Allow elements to post EOS in the state change function.
23607         Fix up -launch, make it exit the poll loop when the
23608         pipeline actually changed state.
23609         Fix up warning parsing in -launch.
23610
23611 2005-06-25  Wim Taymans  <wim@fluendo.com>
23612
23613         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23614         (gst_tee_sink_activate):
23615         Core takes STREAM_LOCK for us now.
23616
23617 2005-06-25  Wim Taymans  <wim@fluendo.com>
23618
23619         * gst/gstelement.c: (gst_element_get_state_func),
23620         (gst_element_set_state):
23621         * gst/gstelement.h:
23622         * gst/gstmessage.c: (gst_message_parse_error),
23623         (gst_message_parse_warning):
23624         Keep track of current target state while performing a state
23625         change so that subclasses can do something interesting.
23626         Fix parsing of warning/error messages when GError is NULL.
23627
23628 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23629
23630         * docs/gst/Makefile.am:
23631         * docs/gst/gstreamer-docs.sgml:
23632         * docs/gst/gstreamer-sections.txt:
23633         * docs/gst/gstreamer.types:
23634         * docs/gst/tmpl/gstbasesink.sgml:
23635         * docs/gst/tmpl/gstbasesrc.sgml:
23636         * docs/gst/tmpl/gstbin.sgml:
23637         * docs/gst/tmpl/gstcompat.sgml:
23638         * docs/gst/tmpl/gstfakesink.sgml:
23639         * docs/gst/tmpl/gstfakesrc.sgml:
23640         * docs/gst/tmpl/gstfilesink.sgml:
23641         * docs/gst/tmpl/gstfilesrc.sgml:
23642         * docs/gst/tmpl/gstindex.sgml:
23643         * docs/manual/appendix-quotes.xml:
23644         * gst/base/gstbasesrc.h:
23645         * gst/elements/gstfakesrc.h:
23646         * gst/gstmessage.h:
23647           start pulling in base classes and elements in our docs
23648
23649 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23650
23651         * docs/gst/Makefile.am:
23652         * docs/libs/Makefile.am:
23653           fixed make distcheck with gtk-doc 1.3
23654
23655 2005-06-23  Wim Taymans  <wim@fluendo.com>
23656
23657         * gst/gstelement.c: (gst_element_get_state_func),
23658         (gst_element_set_state), (gst_element_change_state):
23659         When the state did not change, also report NO_PREROLL
23660         when it matters.
23661
23662 2005-06-23  Wim Taymans  <wim@fluendo.com>
23663
23664         * gst/gstpad.c: (gst_pad_event_default):
23665         * gst/gstqueue.c: (gst_queue_loop):
23666         No unsafe task pausing please.
23667
23668 2005-06-23  Wim Taymans  <wim@fluendo.com>
23669
23670         * gst/schedulers/threadscheduler.c:
23671         (gst_thread_scheduler_task_start),
23672         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23673         Ref the task before pushing it on the threadpool. This
23674         makes sure that we have a ref when the threadfunction is
23675         actually called.
23676
23677 2005-06-23  Andy Wingo  <wingo@pobox.com>
23678
23679         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23680         offset is greater than the file's size.
23681
23682         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23683         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23684         * gst/gstobject.c (gst_object_class_init): Make the class lock
23685         recursive. Wim won't let me drop deep_notify. Decodebin works
23686         again, whoopdy doo.
23687
23688         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23689         internal pad, and hacks accordingly. Doesn't do it on the target
23690         pad because we change its caps. Probably catches all cases of
23691         interest tho.
23692         (gst_ghost_pad_set_property): Connect to notify::caps as
23693         appropritate.
23694
23695         * tests/network-clock.scm (plot-simulation): Pipe data to the
23696         elite python skript.
23697
23698         * tests/network-clock-utils.scm (define-parameter): New macro,
23699         defines a parameter that can be set via the command line.
23700         (set-parameter!, parse-parameter-arguments): Command line args
23701         parser.
23702
23703         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23704         stdin.
23705
23706 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23707
23708         * gst/elements/gsttypefindelement.c:
23709         (gst_type_find_element_handle_event):
23710           Don't restart typefinding on a discont.
23711         * gst/gstelement.c: (gst_element_set_state):
23712           Debug spelling fix.
23713         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23714           Allow changing mode of an active pad.
23715           Debug output fixes.
23716         * gst/registries/gstlibxmlregistry.c: (load_feature):
23717           Don't cast a static pad template to a normal pad template.
23718
23719 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23720
23721         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23722         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23723           remove gst_strtoll completely, since it didn't actually do
23724           anything more than what g_ascii_strtoull already does.
23725           check for range errors when deserializing
23726           do a cast for the unsigned cases; but further fixing needs
23727           a decision on what the interpretation of "(int)" and
23728           deserialization should be for values that fall outside the
23729           type's boundaries (ie, refuse, or interpret as casting)
23730
23731 2005-06-23  Wim Taymans  <wim@fluendo.com>
23732
23733         * check/Makefile.am:
23734         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23735         * docs/design/part-live-source.txt:
23736         * docs/design/part-states.txt:
23737         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23738         (gst_basesrc_set_live), (gst_basesrc_is_live),
23739         (gst_basesrc_get_range), (gst_basesrc_activate),
23740         (gst_basesrc_change_state):
23741         * gst/base/gstbasesrc.h:
23742         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23743         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23744         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23745         * gst/gstelement.c: (gst_element_get_state_func),
23746         (gst_element_set_state):
23747         * gst/gstelement.h:
23748         * gst/gsttypes.h:
23749         * tools/gst-launch.c: (event_loop), (main):
23750         Added support for live sources and other elements that
23751         cannot do preroll.
23752         Updated design docs, added live-source design doc.
23753         Implemented live source functionality in basesrc
23754         Fix error condition in _bin_get_state()
23755         Implement live source handling in -launch.
23756         Added check for live sources.
23757         Fixed case in GstBin where elements were changed state
23758         multiple times.
23759
23760
23761 2005-06-23  Andy Wingo  <wingo@pobox.com>
23762
23763         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23764         borken refcounting.
23765
23766         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23767         gst_caps_replace takes care of this for us.
23768
23769         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23770         gst_pad_set_caps on the target, not just its setcaps() function.
23771
23772         * tests/network-clock.scm: 
23773         * tests/network-clock-utils.scm: A network clock simulator.
23774         Something of an algorithmic testbed before doing something in C.
23775
23776 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23777
23778         * check/Makefile.am:
23779         * check/gst/capslist.h:
23780           copy over from 0.8, and add two with bitmasks specified with
23781           (int) 0xFF...
23782         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23783           add test to parse everything from capslist.h
23784         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23785         (main):
23786           add test for structure deserialization
23787         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23788           add tests for deserialization of strings to int types
23789         * gst/gststructure.c: (gst_structure_nth_field_name):
23790         * gst/gststructure.h:
23791           add a way to get the name of a field referenced by index
23792         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23793           instead of checking if the resulting long long lies between
23794           min and max, we check if the long long would fit into
23795           a number of bytes for the final type.
23796           This fixes cases where a string represents 2^32 - 1, which
23797           when cast to int would be the (valid) -1, but is bigger than
23798           G_MAXINT
23799
23800 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23801
23802         * gst/parse/grammar.y:
23803           add a log line for type deserialization
23804
23805 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23806
23807         * check/gst/gstvalue.c: (START_TEST):
23808         * gst/gstvalue.c: (gst_value_deserialize):
23809           return long long, not int, so gint64 deserialization actually
23810           works.  Is there any flag that makes the compiler check this ?
23811           Fixes #308559
23812
23813 2005-06-22  Wim Taymans  <wim@fluendo.com>
23814
23815         * gst/gstbuffer.h:
23816         Added convenience macros for setting buffers in GValue.
23817
23818 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23819
23820         * check/gst/.cvsignore:
23821         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23822           add a test deserializing int64, and comment part out because
23823           it fails, yay !
23824
23825 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23826
23827         * check/Makefile.am:
23828         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23829         * testsuite/Makefile.am:
23830         * testsuite/caps/Makefile.am:
23831         * testsuite/caps/value_serialize.c:
23832         * testsuite/test_gst_init.c:
23833           move a value_serialize test over
23834
23835 2005-06-20  Wim Taymans  <wim@fluendo.com>
23836
23837         * gst/gstpad.c:
23838         Small doc updates.
23839         
23840         * gst/gstvalue.c: (gst_value_compare_buffer),
23841         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23842         (gst_value_compare_flags), (gst_value_serialize_flags),
23843         (gst_value_deserialize_flags), (_gst_value_initialize):
23844         Fix serialisation of buffers, they are not boxed types anymore
23845
23846 2005-06-20  Wim Taymans  <wim@fluendo.com>
23847
23848         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23849         Testcase to show error in buffer-on-caps serialisation.
23850
23851 2005-06-20  Andy Wingo  <wingo@pobox.com>
23852
23853         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23854         will be adding to later.
23855
23856         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23857         if its socks fill with rocks.
23858         (gst_system_clock_obtain): Set the name on object construction.
23859         Avoid double-checked locking.
23860
23861 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23862
23863         * gst/gsturi.c: (gst_element_make_from_uri):
23864           Fix potential endless loop.
23865
23866 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23867
23868         * check/Makefile.am:
23869           add gsttag
23870         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23871         (main):
23872           move over from testsuite dir and clean up
23873         * configure.ac:
23874         * gst/gsttag.c:
23875         * testsuite/Makefile.am:
23876         * testsuite/tags/.cvsignore:
23877         * testsuite/tags/Makefile.am:
23878         * testsuite/tags/merge.c:
23879           remove testsuite/tags
23880
23881 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23882
23883         * docs/gst/gstreamer-sections.txt:
23884         * docs/gst/tmpl/gstenumtypes.sgml:
23885         * win32/gstenumtypes.c:
23886           clean up documentation build a little
23887
23888 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23889
23890         * check/gstcheck.h:
23891           add macros for checking refcounts on objects and caps
23892         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23893           add some more unit tests
23894         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23895         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23896           fix leaked refcounts (I hope :)) so unittest works
23897         * gst/gstpad.h:
23898           whitespace removal
23899
23900 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23901
23902         * configure.ac: back to HEAD
23903
23904 === release 0.9.1 ===
23905
23906 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23907
23908         * NEWS:
23909         * RELEASE:
23910           updated
23911
23912 2005-06-17  Andy Wingo  <wingo@pobox.com>
23913
23914         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23915         assert; it's always possible that the pad gets deactivated in
23916         between the checks in gstpad.c and the implementation. Rely on
23917         finish_preroll() to return a FLUSHING or similar instead of on the
23918         assert.
23919         
23920         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23921         clock and post an EOS message if we come out of finish_preroll in
23922         the playing state.
23923
23924 2005-06-16  David Schleef  <ds@schleef.org>
23925
23926         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23927         (gst_capsfilter_set_property): Allow NULL as possible value
23928         for filter_caps property, indicating GST_CAPS_ANY.
23929
23930 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23931
23932         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23933           fix debug output
23934         * gst/schedulers/Makefile.am:
23935           use libgst prefix
23936         * gstreamer.spec.in:
23937           fix spec for it
23938
23939 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23940
23941         * gstreamer.spec.in:
23942           clean up
23943
23944 2005-06-08  Andy Wingo  <wingo@pobox.com>
23945
23946         * gst/gstutils.c: RPAD fixes all around.
23947         (gst_element_link_pads): Refcounting fixes.
23948
23949         * tools/gst-inspect.c:
23950         * tools/gst-xmlinspect.c:
23951         * parse/grammar.y:
23952         * gst/base/gsttypefindhelper.c:
23953         * gst/base/gstbasesink.c:
23954         * gst/gstqueue.c: RPAD fixes.
23955
23956         * gst/gstghostpad.h:
23957         * gst/gstghostpad.c: New ghost pad implementation as full proxy
23958         pads. The tricky thing is they provide both source and sink
23959         interfaces, since they proxy the internal pad for the external
23960         pad, and vice versa. Implement with lower-level ProxyPad objects,
23961         with the interior proxy pad as a child of the exterior ghost pad.
23962         Should write a doc on this.
23963         
23964         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23965         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23966         gst_object API.
23967         
23968         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23969         pads are real pads. No ghost pads in this file. Not documenting
23970         the myriad s/RPAD/PAD/ and REALIZE fixes.
23971         (gst_pad_class_init): Add properties for "direction" and
23972         "template". Both are construct-only, so they can't change during
23973         the life of the pad. Fixes properly deriving from GstPad.
23974         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23975         derived objects, just set properties when creating the objects via
23976         g_object_new.
23977         (gst_pad_get_parent): Implement as a function, return NULL if the
23978         parent is not an element.
23979         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23980         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23981         
23982         * gst/gstobject.c (gst_object_class_init): Make name a construct
23983         property. Don't set it in the object init.
23984
23985         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23986         with UNKNOWN direction.
23987         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23988         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23989         (gst_element_remove_pad): Remove ghost-pad special cases.
23990         (gst_element_pads_activate): Remove rpad cruft.
23991
23992         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23993         catch the pad's-parent-not-an-element case.
23994
23995         * gst/gst.h: Include gstghostpad.h.
23996
23997         * gst/gst.c (init_post): No more real, ghost pads.
23998
23999         * gst/Makefile.am: Add gstghostpad.[ch].
24000
24001         * check/Makefile.am:
24002         * check/gst/gstbin.c:
24003         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24004         into a bin creates ghost pads, and that the refcounts are right.
24005         Partly moved from gstbin.c.
24006
24007 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24008
24009         * check/gst-libs/.cvsignore:
24010         * check/gst/.cvsignore:
24011         * check/pipelines/.cvsignore:
24012           ignore more
24013         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24014         (START_TEST), (cleanup_suite), (main):
24015           add some tests related to cleanup after running pipelines
24016
24017 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24018
24019         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24020           add a testsuite for GstBuffer
24021
24022 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24023
24024         * gst/gstminiobject.h:
24025           add defines for accessing the refcount
24026
24027 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24028
24029         * Makefile.am: added support for html unit test coverage reports
24030
24031 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24032
24033         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24034           Free existing caps if the capsfilter changes. Add a FIXME about
24035           setting those caps on the pads.
24036
24037         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24038           Before adding a ghost pad to a parent bin, check that there isn't
24039           already one for the element on the bin. Prevents infinite recursion
24040           when using decodebin in parse pipelines. Andy says he'll rewrite the
24041           way this works anyway, so ignore the hack.
24042
24043 2005-06-02  Andy Wingo  <wingo@pobox.com>
24044
24045         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24046         file size, pass it on to the type find helper.
24047
24048         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24049         segment_start and segment_end properly according to the seek
24050         method. Segment_end is still a bit flaky because offset can be
24051         negative for CUR and END cases, but it takes -1 as an "unset"
24052         value.
24053
24054 2005-06-02  Wim Taymans  <wim@fluendo.com>
24055
24056         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24057         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24058         (gst_basesink_activate):
24059         * gst/base/gstbasesink.h:
24060         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24061         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24062         (gst_pad_query), (gst_pad_start_task):
24063         * gst/gstpad.h:
24064         * gst/gstqueue.c: (gst_queue_bufferalloc),
24065         (gst_queue_handle_sink_event), (gst_queue_chain):
24066         Bufferalloc: return GstFlowReturn to more accuratly report
24067         why allocation failed.
24068
24069 2005-06-02  Wim Taymans  <wim@fluendo.com>
24070
24071         * gst/gstpipeline.c: (gst_pipeline_send_event):
24072         Take snapshot of state without blocking.
24073
24074 2005-06-02  Wim Taymans  <wim@fluendo.com>
24075
24076         * docs/design/part-TODO.txt:
24077         * docs/design/part-caps.txt:
24078         * docs/design/part-clocks.txt:
24079         * docs/design/part-negotiation.txt:
24080         * docs/design/part-preroll.txt:
24081         Small doc updates 
24082
24083 2005-05-30  Wim Taymans  <wim@fluendo.com>
24084
24085         * gst/elements/gstidentity.c: (gst_identity_event),
24086         (gst_identity_transform), (gst_identity_get_property):
24087         Protect last_message property as it is accessed from
24088         multiple threads.
24089
24090 2005-05-30  Wim Taymans  <wim@fluendo.com>
24091
24092         * gst/gstelement.c: (gst_element_init),
24093         (gst_element_pads_activate), (gst_element_change_state):
24094         Slicker pad activation code.
24095
24096 2005-05-30  Wim Taymans  <wim@fluendo.com>
24097
24098         * gst/Makefile.am:
24099         * gst/gstelement.h:
24100         * gst/gstelementfactory.h:
24101         * gst/gsttypes.h:
24102         Move elementfactory methods to separate .h file.
24103
24104 2005-05-30  Wim Taymans  <wim@fluendo.com>
24105
24106         * docs/design/part-overview.txt:
24107         * gst/gstsystemclock.h:
24108         Small typo fixes, doc updates.
24109
24110 2005-05-30  Wim Taymans  <wim@fluendo.com>
24111
24112         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24113         (init_popt_callback):
24114         Remove cpu-opt flag.
24115
24116 2005-05-30  Wim Taymans  <wim@fluendo.com>
24117
24118         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24119         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24120         * gst/gstbuffer.h:
24121         Avoid typechecking in places where not needed.
24122         Added accessor for malloc_data.
24123
24124 2005-05-30  Wim Taymans  <wim@fluendo.com>
24125
24126         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24127         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24128         (gst_pad_configure_sink), (gst_pad_configure_src),
24129         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24130         (gst_pad_start_task):
24131         Propagate errors from _set_caps() in configure_src/sink
24132         functions instead of returning TRUE.
24133         FLUSH events can travel up and downstream
24134
24135
24136 2005-05-30  Wim Taymans  <wim@fluendo.com>
24137
24138         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24139         (gst_basesink_activate):
24140         Handle EOS in preroll.
24141
24142 2005-05-30  Wim Taymans  <wim@fluendo.com>
24143
24144         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24145         (gst_queue_loop), (gst_queue_handle_src_event):
24146         Remove old pieces of code
24147         Flushing the queue in an upstream event is a very bad idea.
24148
24149 2005-05-26  Andy Wingo  <wingo@pobox.com>
24150
24151         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24152         gst_value_set_mini_object so as to add a ref on the object (which
24153         will be removed when the value is unset).
24154
24155         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24156         arg type in ::handoff.
24157
24158         * gst/gstelement.c (gst_element_change_state): Also deactivate
24159         pads in READY->NULL, just in case the element didn't make it to
24160         PAUSED. Wingo tested, Wim approved.
24161
24162 2005-05-26  Wim Taymans  <wim@fluendo.com>
24163
24164         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24165         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24166         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24167         A flushing pad cannot be used to alloc_buffer from.
24168
24169 2005-05-26  Wim Taymans  <wim@fluendo.com>
24170
24171         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24172         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24173         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24174         (gst_bus_create_watch), (gst_bus_add_watch_full):
24175         * gst/gstbus.h:
24176         Implement a real GSource and use g_main_context_wakeup() to
24177         signal new messages instead of the socketpair.
24178
24179 2005-05-25  Wim Taymans  <wim@fluendo.com>
24180
24181         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24182         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24183         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24184         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24185         (gst_pad_send_event), (gst_pad_start_task):
24186         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24187         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24188         (gst_queue_sink_activate), (gst_queue_src_activate),
24189         (gst_queue_change_state):
24190         * gst/gstqueue.h:
24191         Fix state changes for non sinks. We now change sinks, then elements
24192         with unconnected srcpads, then the rest.
24193         More efficient queue unlocking in flush and state changes.
24194         Set the pad activate mode even if it does not have an activate
24195         function.
24196
24197 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24198
24199         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24200           Don't go in pull mode for non-seekable sources.
24201         * gst/elements/gsttypefindelement.h:
24202         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24203         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24204         (free_entry), (stop_typefinding),
24205         (gst_type_find_element_handle_event), (find_peek),
24206         (gst_type_find_element_chain), (do_pull_typefind),
24207         (gst_type_find_element_change_state):
24208           Allow typefinding (w/o seeking) in push-mode, simplified version
24209           of what was in 0.8.
24210         * gst/gstutils.c: (gst_buffer_join):
24211         * gst/gstutils.h:
24212           gst_buffer_join() from 0.8.
24213
24214 2005-05-25  Wim Taymans  <wim@fluendo.com>
24215
24216         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24217         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24218         (gst_pad_send_event), (gst_pad_start_task):
24219         Disable attempt at mode switching until it is figured out.
24220
24221 2005-05-25  Wim Taymans  <wim@fluendo.com>
24222
24223         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24224         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24225         (gst_basesink_finish_preroll), (gst_basesink_chain),
24226         (gst_basesink_loop), (gst_basesink_activate),
24227         (gst_basesink_change_state):
24228         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24229         (gst_basesrc_get_range), (gst_basesrc_loop),
24230         (gst_basesrc_activate):
24231         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24232         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24233         (gst_real_pad_init), (gst_real_pad_set_property),
24234         (gst_real_pad_get_property), (gst_pad_set_active),
24235         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24236         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24237         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24238         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24239         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24240         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24241         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24242         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24243         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24244         (gst_pad_stop_task):
24245         * gst/gstpad.h:
24246         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24247         (gst_queue_loop), (gst_queue_src_activate):
24248         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24249         (gst_task_get_state):
24250         * gst/gsttask.h:
24251         * gst/schedulers/threadscheduler.c:
24252         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24253         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24254         in task function.
24255         Remove ACTIVE pad flag, use FLUSHING everywhere
24256         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24257         functions.
24258         Add locks around IS_FLUSHING when reading.
24259         Take STREAM lock in chain(), get_range() functions so plugins
24260         don't need to take it anymore.
24261         
24262
24263
24264 2005-05-25  Wim Taymans  <wim@fluendo.com>
24265
24266         * tools/gst-launch.c: (event_loop):
24267         Unref message after using its contents instead of
24268         before.
24269
24270 2005-05-24  Wim Taymans  <wim@fluendo.com>
24271
24272         * docs/design/draft-ghostpads.txt:
24273         * docs/design/draft-push-pull.txt:
24274         * docs/design/draft-query.txt:
24275         * docs/design/part-overview.txt:
24276         Docs updates, added general overview doc.
24277
24278 2005-05-21  David Schleef  <ds@schleef.org>
24279
24280         * docs/gst/tmpl/old/GstBin.sgml:
24281         * docs/gst/tmpl/old/GstBuffer.sgml:
24282         * docs/gst/tmpl/old/GstCaps.sgml:
24283         * docs/gst/tmpl/old/GstClock.sgml:
24284         * docs/gst/tmpl/old/GstCompat.sgml:
24285         * docs/gst/tmpl/old/GstData.sgml:
24286         * docs/gst/tmpl/old/GstElement.sgml:
24287         * docs/gst/tmpl/old/GstEvent.sgml:
24288         * docs/gst/tmpl/old/GstIndex.sgml:
24289         * docs/gst/tmpl/old/GstStructure.sgml:
24290         * docs/gst/tmpl/old/GstTag.sgml:
24291         * docs/gst/tmpl/old/cothreads.sgml:
24292         * docs/gst/tmpl/old/cothreads_compat.sgml:
24293         * docs/gst/tmpl/old/gettext.sgml:
24294         * docs/gst/tmpl/old/gobject2gtk.sgml:
24295         * docs/gst/tmpl/old/grammar.tab.sgml:
24296         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24297         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24298         * docs/gst/tmpl/old/gst_private.sgml:
24299         * docs/gst/tmpl/old/gstaggregator.sgml:
24300         * docs/gst/tmpl/old/gstarch.sgml:
24301         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24302         * docs/gst/tmpl/old/gstbufferstore.sgml:
24303         * docs/gst/tmpl/old/gstdata_private.sgml:
24304         * docs/gst/tmpl/old/gstdisksink.sgml:
24305         * docs/gst/tmpl/old/gstdisksrc.sgml:
24306         * docs/gst/tmpl/old/gstelementfactory.sgml:
24307         * docs/gst/tmpl/old/gstextratypes.sgml:
24308         * docs/gst/tmpl/old/gstfakesink.sgml:
24309         * docs/gst/tmpl/old/gstfakesrc.sgml:
24310         * docs/gst/tmpl/old/gstfdsink.sgml:
24311         * docs/gst/tmpl/old/gstfdsrc.sgml:
24312         * docs/gst/tmpl/old/gstfilesink.sgml:
24313         * docs/gst/tmpl/old/gstfilesrc.sgml:
24314         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24315         * docs/gst/tmpl/old/gstidentity.sgml:
24316         * docs/gst/tmpl/old/gstindexfactory.sgml:
24317         * docs/gst/tmpl/old/gstmarshal.sgml:
24318         * docs/gst/tmpl/old/gstmd5sink.sgml:
24319         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24320         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24321         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24322         * docs/gst/tmpl/old/gstpipefilter.sgml:
24323         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24324         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24325         * docs/gst/tmpl/old/gstshaper.sgml:
24326         * docs/gst/tmpl/old/gstspider.sgml:
24327         * docs/gst/tmpl/old/gstspideridentity.sgml:
24328         * docs/gst/tmpl/old/gststatistics.sgml:
24329         * docs/gst/tmpl/old/gsttee.sgml:
24330         * docs/gst/tmpl/old/gsttimecache.sgml:
24331         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24332         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24333         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24334         * docs/gst/tmpl/old/types.sgml:
24335           I didn't intend to add these or check them in.
24336
24337 2005-05-19  David Schleef  <ds@schleef.org>
24338
24339         * configure.ac: Use -no-common everywhere.  In a sane world, it
24340           would be the default in libtool, because without it, you can't
24341           build DLLs on Windows.
24342         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24343         * docs/gst/gstreamer-sections.txt:
24344         * docs/gst/tmpl/gstcpu.sgml:
24345         * docs/gst/tmpl/gstdata.sgml:
24346         * docs/gst/tmpl/gstthread.sgml:
24347
24348 2005-05-19  David Schleef  <ds@schleef.org>
24349
24350         * gst/gstminiobject.c: (gst_value_set_mini_object),
24351         (gst_value_take_mini_object), (gst_value_get_mini_object):
24352         * gst/gstminiobject.h: Add GValue set/get functions.
24353
24354 2005-05-19  Wim Taymans  <wim@fluendo.com>
24355
24356         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24357         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24358         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24359         * gst/gstbuffer.h:
24360         * gst/gstbus.c: (gst_bus_post):
24361         * gst/gstelement.c: (gst_element_get_random_pad):
24362         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24363         Make subbufer unref the parent in finalize.
24364         some more debugging info.
24365
24366
24367 2005-05-19  Wim Taymans  <wim@fluendo.com>
24368
24369         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24370         (gst_basesink_init), (gst_basesink_finalize),
24371         (gst_basesink_activate), (gst_basesink_change_state):
24372         Don't free preroll queue too early.
24373
24374 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24375
24376         * gst/Makefile.am:
24377         * gst/ROADMAP:
24378           Hi, I'm outdated. Please shoot me.
24379
24380 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24381
24382         * gst/gstpipeline.c: (gst_pipeline_send_event):
24383           Do not access variables after they have been deleted.
24384
24385 2005-05-19  Wim Taymans  <wim@fluendo.com>
24386
24387         * tools/gst-inspect.c: (print_plugin_features):
24388         A plugin feature does unfortunatly not use the
24389         object name yet...
24390
24391 2005-05-18  Wim Taymans  <wim@fluendo.com>
24392
24393         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24394         Port _span() functions to new subbuffers.
24395
24396 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24397
24398         * gst/gstbin.c: (gst_bin_add_func):
24399           Fix clock settery in bins when adding kids after the clock has
24400           been selected.
24401
24402 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24403
24404         * gst/elements/gstidentity.c: (gst_identity_class_init):
24405           Workaround until signals support GstMiniObject.
24406
24407 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24408
24409         * gst/gstbuffer.c:
24410         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24411
24412 2005-05-18  Wim Taymans  <wim@fluendo.com>
24413
24414         * gst/base/Makefile.am:
24415         * gst/base/gstadapter.c: (gst_adapter_base_init),
24416         (gst_adapter_class_init), (gst_adapter_init),
24417         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24418         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24419         (gst_adapter_flush), (gst_adapter_available),
24420         (gst_adapter_available_fast):
24421         * gst/base/gstadapter.h:
24422         Ported and added adapter to the base classes.
24423
24424 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24425
24426         * gst/gst.c:
24427         * gst/gstmessage.c:
24428           Make sure the class is reffed/unreffed once before threads can be
24429           used.  Fixes #304551.
24430
24431 2005-05-17  Wim Taymans  <wim@fluendo.com>
24432
24433         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24434         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24435         * gst/gstminiobject.c: (gst_mini_object_get_type),
24436         (gst_mini_object_free):
24437         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24438         (gst_pad_push), (gst_pad_push_event):
24439         * gst/gstqueue.c: (gst_queue_change_state):
24440         Don't queue buffers in basesink when we are flushing.
24441         Unref buffer when flushing in basesink.
24442         Flush queue when going to READY
24443         Unref buffer when _push() returns an error.
24444         Don't free MiniObject instance when refcount is incremented
24445         in _finalize() so that we can recover objects.
24446
24447 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24448
24449         * docs/manual/advanced-schedulers.xml:
24450         * docs/manual/appendix-checklist.xml:
24451         * docs/pwg/advanced-clock.xml:
24452         * docs/pwg/advanced-interfaces.xml:
24453         * docs/pwg/advanced-request.xml:
24454         * docs/pwg/advanced-types.xml:
24455         * docs/pwg/intro-preface.xml:
24456         * examples/plugins/example.c: (gst_example_get_type),
24457         (gst_example_class_init), (gst_example_chain),
24458         (gst_example_set_property), (gst_example_get_property),
24459         (gst_example_change_state), (plugin_init):
24460         * examples/plugins/example.h:
24461           small doc fixes
24462
24463 2005-05-17  Wim Taymans  <wim@fluendo.com>
24464
24465         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24466         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24467         * gst/gstqueue.c: (gst_queue_change_state):
24468         Clear queue when going to READY.
24469         Remove IN_SETCAPS flag too.
24470
24471 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24472
24473         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24474           Remove implicit cast from gboolean to GstElementStateReturn;
24475           make sure we still return failure in paused => ready case if
24476           the parent class fails to change state and our own stop 
24477           vfunc succeeds.
24478
24479 2005-05-17  Wim Taymans  <wim@fluendo.com>
24480
24481         * tools/gst-launch.c: (event_loop):
24482         Message was unreffed too soon.
24483
24484 2005-05-16  Andy Wingo  <wingo@pobox.com>
24485
24486         * gst/gstbin.c (sink_iterator_filter): Err... um...
24487
24488         * check/gst/gstbin.c (test_ghost_pads): New test for the
24489         ghosting-if-elements-not-in-same-bin behavior.
24490
24491 2005-05-16  David Schleef  <ds@schleef.org>
24492
24493         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24494         accessing refcount directly.
24495
24496 2005-05-15  David Schleef  <ds@schleef.org>
24497
24498         * check/Makefile.am: remove GstData checks
24499         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24500         * gst/Makefile.am: add miniobject, remove data
24501         * gst/gst.h: add miniobject, remove data
24502         * gst/gstdata.c: remove
24503         * gst/gstdata.h: remove
24504         * gst/gstdata_private.h: remove
24505         * gst/gsttypes.h: remove GstEvent and GstMessage
24506         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24507         * gst/gstmarshal.list: change BOXED -> OBJECT
24508
24509         Implement GstMiniObject.
24510         * gst/gstminiobject.c:
24511         * gst/gstminiobject.h:
24512
24513         Modify to be subclasses of GstMiniObject.
24514         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24515         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24516         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24517         (gst_subbuffer_get_type), (gst_subbuffer_init),
24518         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24519         (gst_buffer_span):
24520         * gst/gstbuffer.h:
24521         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24522         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24523         (_gst_event_copy), (gst_event_new):
24524         * gst/gstevent.h:
24525         * gst/gstmessage.c: (_gst_message_initialize),
24526         (gst_message_get_type), (gst_message_class_init),
24527         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24528         (gst_message_new), (gst_message_new_error),
24529         (gst_message_new_warning), (gst_message_new_tag),
24530         (gst_message_new_state_changed), (gst_message_new_application):
24531         * gst/gstmessage.h:
24532         * gst/gstprobe.c: (gst_probe_perform),
24533         (gst_probe_dispatcher_dispatch):
24534         * gst/gstprobe.h:
24535         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24536         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24537         (_gst_query_copy), (gst_query_new):
24538
24539         Update elements for GstData -> GstMiniObject changes
24540         * gst/gstquery.h:
24541         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24542         (gst_queue_chain), (gst_queue_loop):
24543         * gst/elements/gstbufferstore.c:
24544         (gst_buffer_store_add_buffer_func),
24545         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24546         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24547         (gst_fakesink_render):
24548         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24549         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24550         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24551         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24552         (gst_filesrc_create_read):
24553         * gst/elements/gstidentity.c: (gst_identity_class_init):
24554         * gst/elements/gsttypefindelement.c:
24555         (gst_type_find_element_src_event), (free_entry_buffers),
24556         (gst_type_find_element_handle_event):
24557         * libs/gst/dataprotocol/dataprotocol.c:
24558         (gst_dp_header_from_buffer):
24559         * libs/gst/dataprotocol/dataprotocol.h:
24560         * libs/gst/dataprotocol/dp-private.h:
24561
24562 2005-05-15  David Schleef  <ds@schleef.org>
24563
24564         * gst/elements/gstelements.c: Don't include headers that were
24565         just removed.
24566
24567 2005-05-15  David Schleef  <ds@schleef.org>
24568
24569         * gst/elements/Makefile.am: Remove some elements that don't
24570         need to be in the core (or even exist at all).
24571         * gst/elements/gstaggregator.c:
24572         * gst/elements/gstaggregator.h:
24573         * gst/elements/gstmd5sink.c:
24574         * gst/elements/gstmd5sink.h:
24575         * gst/elements/gstmultifilesrc.c:
24576         * gst/elements/gstmultifilesrc.h:
24577         * gst/elements/gstpipefilter.c:
24578         * gst/elements/gstpipefilter.h:
24579         * gst/elements/gstshaper.c:
24580         * gst/elements/gstshaper.h:
24581         * gst/elements/gststatistics.c:
24582         * gst/elements/gststatistics.h:
24583         * po/POTFILES.in: Remove above files.
24584
24585 2005-05-14  Andy Wingo  <wingo@pobox.com>
24586
24587         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24588         so as to get the refs right.
24589         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24590         unreffing objects that don't pass the filter.
24591
24592         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24593         gst_element_set_bus.
24594         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24595         normal cases, this will destroy the bus.
24596
24597         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24598         object.
24599
24600         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24601         has no sinks.
24602
24603 2005-05-13  Andy Wingo  <wingo@pobox.com>
24604
24605         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24606         gst_pad_link, call pad_link_maybe_ghosting,
24607         (pad_link_maybe_ghosting): Links pads, making sure that the
24608         elements being linked are in the same bin.
24609         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24610         Helpers for pad_link_maybe_ghosting.
24611
24612 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24613
24614         * configure.ac:
24615           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24616
24617 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24618
24619         * docs/design/part-element-source.txt:
24620           Mention GstPushSrc
24621
24622 2005-05-12  Wim Taymans  <wim@fluendo.com>
24623
24624         * gst/base/gstbasesink.c: (gst_basesink_init),
24625         (gst_basesink_activate):
24626         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24627         (gst_basesrc_is_seekable):
24628         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24629         (bin_element_is_sink), (gst_bin_change_state):
24630         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24631         * gst/gstelement.h:
24632         Identify sinks by their flag to avoid overly complicated
24633         checks (fow now).
24634         Do state changes even for elements not reachable from the
24635         sinks.
24636         BaseSink is a sink now :)
24637         Some more debugging info in the basesrc.
24638
24639
24640 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24641
24642         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24643           Implement _query on a bin, similar to _send_event.
24644
24645 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24646
24647         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24648           Discont event offset format should be GST_FORMAT_BYTES,
24649           not GST_FORMAT_TIME.
24650
24651 2005-05-12  Wim Taymans  <wim@fluendo.com>
24652
24653         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24654         Same fix as Ronald's but without the signal. 
24655
24656 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24657
24658         * gst/gstutils.c: (gst_element_query_position):
24659           No, an element is not a pad.
24660
24661 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24662
24663         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24664         (gst_bin_get_state):
24665           If a child is removed from a bin while we remove the child from
24666           the bin and while we're retrieving its state, signal this to the
24667           get_state function so we abort the wait (instead of waiting for
24668           a timeout) and can immediately re-iterate over all other elements.
24669
24670 2005-05-12  Wim Taymans  <wim@fluendo.com>
24671
24672         * gst/base/Makefile.am:
24673         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24674         (gst_basesrc_start):
24675         * gst/base/gstbasesrc.h:
24676         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24677         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24678         (gst_pushsrc_init), (gst_pushsrc_create):
24679         * gst/base/gstpushsrc.h:
24680         Added is_seekable to BaseSrc
24681         Added simple PushSrc.
24682
24683 2005-05-11  Wim Taymans  <wim@fluendo.com>
24684
24685         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24686         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24687         (gst_element_link_pads), (gst_element_query_position),
24688         (gst_element_query_convert), (intersect_caps_func),
24689         (gst_pad_query_position), (gst_pad_query_convert):
24690         Fix refcounting in utils function.
24691         No point in trying to activate a pad when it's added, it could
24692         be added from the state change function and then we deadlock, the
24693         element has to decide what to do.
24694
24695 2005-05-10  Andy Wingo  <wingo@pobox.com>
24696
24697         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24698         *all* the arguments.
24699
24700         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24701         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24702         lock (according to the docs -- if this is wrong change the docs).
24703
24704         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24705         flush messages in the NULL state.
24706
24707         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24708         message immediately and return.
24709         (gst_bus_set_flushing): New function. If a bus is flushing, it
24710         flushes out any queued messages and immediately unrefs new
24711         messages. This is so when an element goes to NULL, all of the
24712         unhandled messages coming from it can be freed, and their
24713         references to the element dropped. In other words: message source
24714         ref considered harmful :P
24715
24716         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24717         we're finished with it.
24718
24719         * gst/gstmessage.c (gst_message_new_state_changed): 
24720
24721 2005-05-10  Wim Taymans  <wim@fluendo.com>
24722
24723         * gst/gstvalue.c: (gst_value_compare_flags),
24724         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24725         (_gst_value_initialize):
24726         Added flags serialize/deserialize/compare code.
24727
24728 2005-05-09  Andy Wingo  <wingo@pobox.com>
24729
24730         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24731         Intersect the peer's caps with our caps.
24732
24733 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24734
24735         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24736         * gst/elements/gsttypefindelement.c: (find_peek):
24737           Handle negative offsets better. Fixes decodebin.
24738
24739 2005-05-09  Wim Taymans  <wim@fluendo.com>
24740
24741         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24742         (gst_base_transform_event):
24743         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24744         Implement accept_caps.
24745         Fix silly lock/unlock mismatch in base class.
24746
24747 2005-05-09  Wim Taymans  <wim@fluendo.com>
24748
24749         * docs/design/draft-push-pull.txt:
24750         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24751         * gst/elements/gstfilesink.c: (gst_filesink_init),
24752         (gst_filesink_query):
24753         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24754         (gst_type_find_handle_src_query), (find_element_get_length):
24755         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24756         * gst/gstelement.h:
24757         * gst/gstmessage.c:
24758         * gst/gstmessage.h:
24759         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24760         (gst_real_pad_get_caps_unlocked),
24761         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24762         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24763         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24764         (gst_real_pad_dispose), (gst_real_pad_finalize),
24765         (gst_pad_load_and_link), (gst_pad_save_thyself),
24766         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24767         (gst_pad_check_pull_range), (gst_pad_pull_range),
24768         (gst_pad_template_get_type), (gst_pad_template_class_init),
24769         (gst_pad_template_init), (gst_pad_template_dispose),
24770         (name_is_valid), (gst_static_pad_template_get),
24771         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24772         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24773         (gst_pad_get_element_private), (gst_pad_start_task),
24774         (gst_pad_pause_task), (gst_pad_stop_task),
24775         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24776         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24777         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24778         (gst_ghost_pad_new):
24779         * gst/gstpad.h:
24780         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24781         (gst_query_new_position), (gst_query_set_position),
24782         (gst_query_parse_position), (gst_query_new_convert),
24783         (gst_query_set_convert), (gst_query_parse_convert):
24784         * gst/gstquery.h:
24785         * gst/gstqueryutils.c:
24786         * gst/gstqueryutils.h:
24787         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24788         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24789         (gst_queue_handle_src_query):
24790         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24791         (gst_element_query_position), (gst_element_query_convert),
24792         (intersect_caps_func), (gst_pad_query_position),
24793         (gst_pad_query_convert):
24794         * gst/gstutils.h:
24795         * tools/gst-inspect.c: (print_pad_info):
24796         * tools/gst-xmlinspect.c: (print_element_info):
24797         Remove old query functions. Ported old code.
24798         Added position/convert helper functions to gstutils.
24799         Reordered gstpad.c code, grouping relevant things.
24800         Remove gst_message_new(), always need to speficy a specific
24801         message.
24802
24803
24804 2005-05-09  Andy Wingo  <wingo@pobox.com>
24805
24806         * gst/gstiterator.h: Add some includes.
24807
24808         * gst/gstqueryutils.h: Include more headers.
24809
24810         * gst/gstpad.h:
24811         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24812         some uses of gst_pad_query.
24813
24814         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24815         NULL out parameters.
24816         (gst_query_new_position): New proc, allocates a new position
24817         query.
24818
24819         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24820         gstqueryutils.c to the build.
24821
24822         * gst/gststructure.c (gst_structure_set_valist): Implement with
24823         the generic G_VALUE_COLLECT.
24824         
24825 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24826
24827         * gst/Makefile.am: (gst_headers):
24828         Added gstqueryutils.h to the list of headers to install, that was
24829         a 'nachty' move wingo :)
24830
24831 2005-05-06  Andy Wingo  <wingo@pobox.com>
24832
24833         * gst/gstquery.h
24834         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24835         GstData, init a memchunk.
24836         (standard_definitions): Add a few query types, deprecate a few.
24837         (gst_query_get_type): New proc.
24838         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24839         implementation.
24840         (gst_query_new_application, gst_query_get_structure): New public
24841         procs.
24842
24843         * docs/design/draft-query.txt: Removed LINKS from the query types,
24844         because all the rest can be dispatched to other pads -- seemed
24845         ugly to have a query that couldn't be dispatched. internal_links
24846         is fine as a pad method.
24847
24848         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24849         in gstpad.c, but maintain binary compatibility for the moment.
24850         Will fix before 0.9 is out.
24851
24852         * gst/gstqueryutils.c: 
24853         * gst/gstqueryutils.h: New files, implement 3 methods for each
24854         query type: parse_query, parse_response, and set. Probably need an
24855         allocator as well.
24856
24857         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24858
24859         * gst/elements/gstfilesink.c (gst_filesink_query2):
24860         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24861         query_types, and formats methods.
24862
24863         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24864         (gst_pad_set_query2_function): New functions.
24865         (gst_real_pad_init): Set query2_default as the default query2
24866         function. Basically just dispatches to internally linked pads.
24867
24868         Needs review!
24869         
24870         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24871         without using the atomic operations. Only one thread can possibly
24872         be accessing the data at this point. Changed so as to avoid
24873         gst_atomic operations.
24874
24875 2005-05-06  Wim Taymans  <wim@fluendo.com>
24876
24877         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24878         Also set caps if we use the fallback buffer alloc.
24879
24880 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
24881
24882         * docs/gst/Makefile.am:
24883         * docs/gst/gstreamer-docs.sgml:
24884         * docs/gst/gstreamer-sections.txt:
24885         * docs/gst/tmpl/gstatomic.sgml:
24886         * docs/gst/tmpl/gstmemchunk.sgml:
24887         * testsuite/elements/struct_i386.h:
24888         * win32/GStreamer.vcproj:
24889         * win32/Makefile:
24890           Purge GstAtomic stuff from docs and win32 makefiles as well
24891
24892 2005-05-06  Wim Taymans  <wim@fluendo.com>
24893
24894         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24895         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24896         * gst/gstpad.c: (gst_pad_peer_get_caps):
24897         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24898         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24899         (gst_queue_src_activate), (gst_queue_change_state):
24900         * gst/gstqueue.h:
24901         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24902         (intersect_caps_func):
24903         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24904         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24905         Some fixes for the peer_get_caps() change.
24906
24907 2005-05-06  Wim Taymans  <wim@fluendo.com>
24908
24909         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24910         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24911         (gst_basesink_activate):
24912         Actually do something with error codes returned from the push
24913         functions.
24914
24915 2005-05-06  Wim Taymans  <wim@fluendo.com>
24916
24917         * docs/design/part-element-sink.txt:
24918         * docs/design/part-element-source.txt:
24919         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24920         (gst_basesink_event), (gst_basesink_activate):
24921         * gst/base/gstbasesink.h:
24922         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24923         (gst_basesrc_activate):
24924         * gst/base/gstbasesrc.h:
24925         * gst/gstelement.c: (gst_element_pads_activate):
24926         Some more documentation.
24927         Fixed scheduling decision in _pads_activate().
24928
24929 2005-05-05  Andy Wingo  <wingo@pobox.com>
24930
24931         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24932         the test suite.
24933
24934 2005-05-05  Wim Taymans  <wim@fluendo.com>
24935
24936         * gst/base/Makefile.am:
24937         * gst/base/gstbasesink.h:
24938         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24939         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24940         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24941         (gst_collectpads_class_init), (gst_collectpads_init),
24942         (gst_collectpads_finalize), (gst_collectpads_new),
24943         (gst_collectpads_set_function), (gst_collectpads_add_pad),
24944         (find_pad), (gst_collectpads_remove_pad),
24945         (gst_collectpads_is_active), (gst_collectpads_collect),
24946         (gst_collectpads_collect_range), (gst_collectpads_start),
24947         (gst_collectpads_stop), (gst_collectpads_peek),
24948         (gst_collectpads_pop), (gst_collectpads_available),
24949         (gst_collectpads_read), (gst_collectpads_flush),
24950         (gst_collectpads_chain):
24951         * gst/base/gstcollectpads.h:
24952         * gst/elements/Makefile.am:
24953         * gst/elements/gstelements.c:
24954         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24955         (gst_fakesink_get_times), (gst_fakesink_event),
24956         (gst_fakesink_preroll), (gst_fakesink_render):
24957         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24958         (gst_filesink_init), (gst_filesink_set_location),
24959         (gst_filesink_open_file), (gst_filesink_close_file),
24960         (gst_filesink_pad_query), (gst_filesink_event),
24961         (gst_filesink_render), (gst_filesink_change_state):
24962         * gst/elements/gstfilesink.h:
24963         Added object to help in making collect pad based elements.
24964         Ported filesink.
24965         Make event function in sink baseclass return gboolean.
24966
24967 2005-05-05  Wim Taymans  <wim@fluendo.com>
24968
24969         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24970         (gst_bin_get_by_name):
24971         * gst/gstbuffer.h:
24972         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24973         (gst_clock_finalize):
24974         * gst/gstdata.c: (gst_data_replace):
24975         * gst/gstdata.h:
24976         * gst/gstelement.c: (gst_element_request_pad),
24977         (gst_element_pads_activate):
24978         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24979         (gst_object_unref):
24980         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24981         (gst_pad_set_checkgetrange_function),
24982         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24983         (gst_pad_check_pull_range), (gst_pad_pull_range),
24984         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24985         (gst_pad_pause_task), (gst_pad_stop_task):
24986         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24987         (gst_element_request_pad), (gst_pad_proxy_getcaps):
24988         Fix name lookup in GstBin.
24989         Added _data_replace() function and _buffer_replace()
24990         Use finalize method to clean up clock.
24991         Fix refcounting on request pads.
24992         Fix pad schedule mode error.
24993         Some more object refcounting debug info,
24994
24995
24996 2005-05-04  Andy Wingo <wingo@pobox.com>
24997
24998         * check/Makefile.am:
24999         * docs/gst/tmpl/gstatomic.sgml:
25000         * docs/gst/tmpl/gstplugin.sgml:
25001         * gst/base/gstbasesink.c: (gst_basesink_activate):
25002         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25003         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25004         (gst_basesrc_query), (gst_basesrc_set_property),
25005         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25006         (gst_basesrc_activate):
25007         * gst/base/gstbasesrc.h:
25008         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25009         (gst_base_transform_src_activate):
25010         * gst/elements/gstelements.c:
25011         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25012         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25013         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25014         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25015         (gst_type_find_element_checkgetrange),
25016         (gst_type_find_element_activate):
25017         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25018         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25019         (gst_caps_load_thyself):
25020         * gst/gstelement.c: (gst_element_pads_activate),
25021         (gst_element_save_thyself), (gst_element_restore_thyself):
25022         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25023         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25024         * gst/gstpad.h:
25025         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25026         (gst_xml_parse_file), (gst_xml_parse_memory),
25027         (gst_xml_get_element), (gst_xml_make_element):
25028         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25029         (_file_index_id_save_xml), (gst_file_index_commit):
25030         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25031         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25032         (load_paths):
25033         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25034         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25035         * tools/gst-complete.c: (main):
25036         * tools/gst-compprep.c: (main):
25037         * tools/gst-inspect.c: (print_element_properties_info):
25038         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25039         * tools/gst-xmlinspect.c: (print_element_properties):
25040         GCC 4 fixen.
25041         
25042 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25043
25044         * gst/gstplugin.c: (gst_plugin_check_module),
25045         (gst_plugin_check_file), (gst_plugin_load_file):
25046             apply patch from #172526 to make register work on MacOSX
25047
25048 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25049
25050         * docs/gst/tmpl/gstconfig.sgml:
25051         * gst/gstconfig.h.in:
25052           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25053         * testsuite/debug/printf_extension.c: (main):
25054           Do not use GST_PTR_FORMAT on pointers to types with
25055           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25056         * testsuite/elements/property.h:
25057           use correct printf format
25058
25059 2005-05-02  Wim Taymans  <wim@fluendo.com>
25060
25061         * docs/design/draft-push-pull.txt:
25062         * docs/design/draft-query.txt:
25063         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25064         (gst_basesrc_start):
25065         Added draft for new query API.
25066         Added draft for better selecting scheduling methods.
25067         Make basesrc ignore length if the subclass does not support
25068         it.
25069
25070 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25071
25072         * gst/Makefile.am:
25073           possible fixes for automake-1.5 - _LIBADD is reserved
25074
25075 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25076
25077         * docs/faq/Makefile.am:
25078         * docs/manual/Makefile.am:
25079         * docs/manuals.mak:
25080         * docs/pwg/Makefile.am:
25081         * gst/Makefile.am:
25082           possible fixes for automake-1.5
25083
25084 2005-04-28  Wim Taymans  <wim@fluendo.com>
25085
25086         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25087         (gst_basesink_pad_getcaps), (gst_basesink_init),
25088         (gst_basesink_do_sync):
25089         * gst/gstclock.c: (gst_clock_entry_new):
25090         * gst/gstevent.c: (gst_event_discont_get_value):
25091         * gst/gstpipeline.c: (pipeline_bus_handler),
25092         (gst_pipeline_change_state):
25093         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25094         Better debugging of clocking info.
25095         Allow NULL values when getting discont values.
25096
25097 2005-04-27  Wim Taymans  <wim@fluendo.com>
25098
25099         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25100         * check/gst/gstpad.c: (gst_pad_suite):
25101         Increase timeout for checks.
25102
25103 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25104
25105         * check/Makefile.am:
25106           fix the broken rule for cleanup.  Apparently this rule is
25107           only needed on FC2, so maybe this warrants further autotool
25108           inspection.
25109
25110 2005-04-26  Wim Taymans  <wim@fluendo.com>
25111
25112         * gst/gsttrashstack.h:
25113         Ooohh. a nasty one! After having a failed pop() from the stack,
25114         it's possible that the stack is empty. In that case, don't
25115         follow the NULL pointer.
25116
25117 2005-04-25  Wim Taymans  <wim@fluendo.com>
25118
25119         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25120         (gst_pad_set_checkgetrange_function),
25121         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25122         (gst_pad_check_pull_range), (gst_pad_pull_range),
25123         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25124         (gst_pad_pause_task), (gst_pad_stop_task):
25125         * gst/gstplugin.c: (gst_plugin_load):
25126         * gst/gstplugin.h:
25127         Remove gst_library_load as it does more harm than good with
25128         the new g_module flags.
25129         Revert bogus caps template check in pad linking, pad caps
25130         are important when linking not the template, which is more
25131         general than the current caps.
25132
25133 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25134
25135         * gst/autoplug/.cvsignore:
25136         * gst/autoplug/Makefile.am:
25137         * gst/autoplug/gstsearchfuncs.c:
25138         * gst/autoplug/gstsearchfuncs.h:
25139         * gst/autoplug/gstspider.c:
25140         * gst/autoplug/gstspider.h:
25141         * gst/autoplug/gstspideridentity.c:
25142         * gst/autoplug/gstspideridentity.h:
25143         * gst/autoplug/spidertest.c:
25144           Die, spider, die.
25145
25146 2005-04-25  Wim Taymans  <wim@fluendo.com>
25147
25148         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25149         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25150         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25151         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25152         * gst/gstpad.h:
25153         Added stubs for unimplemented functions. 
25154
25155 2005-04-24  David Schleef  <ds@schleef.org>
25156
25157         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25158         please fix.
25159
25160 2005-04-24  David Schleef  <ds@schleef.org>
25161
25162         Convert everything from GstAtomicInt to g_atomic_int_*, and
25163         remove gstatomic.
25164         * gst/Makefile.am:
25165         * gst/gstatomic.c:
25166         * gst/gstatomic.h:
25167         * gst/gstatomic_impl.h:
25168         * gst/gstbuffer.c:
25169         * gst/gstcaps.c:
25170         * gst/gstcaps.h:
25171         * gst/gstclock.c:
25172         * gst/gstclock.h:
25173         * gst/gstdata.c:
25174         * gst/gstdata.h:
25175         * gst/gstdata_private.h:
25176         * gst/gstevent.c:
25177         * gst/gstinfo.c:
25178         * gst/gstinfo.h:
25179         * gst/gstmessage.c:
25180         * gst/gstobject.c:
25181         * gst/gstobject.h:
25182         * gst/gststructure.c:
25183         * gst/gststructure.h:
25184         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25185         * gst/gstutils.h:
25186
25187 2005-04-24  David Schleef  <ds@schleef.org>
25188
25189         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25190         make the regressions tests work.  Remove some code that is no
25191         longer true.
25192         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25193         Disable warning for pads without templates.
25194
25195 2005-04-24  David Schleef  <ds@schleef.org>
25196
25197         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25198         functions that handle filtered links.
25199         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25200         removed functions.
25201         * gst/gstutils.c: Fix/remove utility functions that handle
25202         filtered caps.
25203         * gst/gstutils.h:
25204         * gst/gstvalue.c: Add serialization/deserialization of caps
25205         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25206         requires fixing so that the filter caps notation creates
25207         a capsfilter element and sets the filter_caps property.  I
25208         think everyone probably wants to keep the shorthand notation.
25209         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25210         * docs/gst/tmpl/gstpad.sgml:
25211
25212         * gst/elements/gstelements.c: Register capsfilter element.
25213         * gst/Makefile.am: fix spacing
25214         * docs/random/ds/0.9-suggested-changes: random
25215
25216 2005-04-23  David Schleef  <ds@schleef.org>
25217
25218         * gst/elements/Makefile.am:
25219         * gst/elements/gstcapsfilter.c: New element that acts like an
25220         identity, but filters caps.  Will eventually replace filtered
25221         caps in pad linking.
25222         * gst/gstutils.c: (gst_element_create_all_pads): New function
25223         to create all the ALWAYS pads that are registered with an
25224         element class.  This functionality should eventually be
25225         merged in with GstElement initialization.
25226         * gst/gstutils.h:
25227         * testsuite/trigger/README: part of trigger test code that should
25228         have been checked in a long time ago.
25229
25230 2005-04-23  David Schleef  <ds@schleef.org>
25231
25232         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25233         needed with new versions of libtool (nobody will confirm this),
25234         and hard to carry around.
25235         * gst/autoplug/Makefile.am:
25236         * gst/base/Makefile.am:
25237         * gst/elements/Makefile.am:
25238         * gst/indexers/Makefile.am:
25239         * gst/schedulers/Makefile.am:
25240         * libs/gst/bytestream/Makefile.am:
25241         * libs/gst/control/Makefile.am:
25242         * libs/gst/dataprotocol/Makefile.am:
25243         * libs/gst/getbits/Makefile.am:
25244
25245 2005-04-21  Wim Taymans  <wim@fluendo.com>
25246
25247         * docs/design/draft-push-pull.txt:
25248         * docs/design/part-MT-refcounting.txt:
25249         * docs/design/part-TODO.txt:
25250         * docs/design/part-caps.txt:
25251         * docs/design/part-events.txt:
25252         * docs/design/part-gstbus.txt:
25253         * docs/design/part-gstpipeline.txt:
25254         * docs/design/part-messages.txt:
25255         * docs/design/part-push-pull.txt:
25256         * docs/design/part-query.txt:
25257         Some more docs.
25258
25259 2005-04-21  Wim Taymans  <wim@fluendo.com>
25260
25261         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25262         (gst_message_new), (gst_message_new_error),
25263         (gst_message_new_warning), (gst_message_new_tag),
25264         (gst_message_new_state_changed), (gst_message_new_application),
25265         (gst_message_get_structure):
25266         * gst/gstmessage.h:
25267         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25268         (gst_structure_copy_conditional):
25269         Use parent refcount in GstMessage to ensure GstStructure
25270         consistency.
25271         Cleaned up headers a bit.
25272         
25273
25274 2005-04-20  Wim Taymans  <wim@fluendo.com>
25275
25276         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25277         (gst_basesink_pad_getcaps), (gst_basesink_init),
25278         (gst_basesink_chain_unlocked):
25279         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25280         (gst_type_find_helper):
25281         * gst/elements/gsttypefindelement.c:
25282         (gst_type_find_element_have_type), (gst_type_find_element_init),
25283         (stop_typefinding), (gst_type_find_element_handle_event),
25284         (find_suggest), (gst_type_find_element_chain),
25285         (gst_type_find_element_checkgetrange),
25286         (gst_type_find_element_getrange), (do_typefind),
25287         (gst_type_find_element_activate):
25288         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25289         (gst_buffer_default_free), (gst_buffer_default_copy),
25290         (gst_buffer_set_caps):
25291         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25292         (gst_caps_replace):
25293         * gst/gstmessage.c: (gst_message_new),
25294         (gst_message_new_state_changed):
25295         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25296         (gst_pad_set_checkgetrange_function),
25297         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25298         (gst_pad_set_caps), (gst_pad_check_pull_range),
25299         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25300         * gst/gstpad.h:
25301         * gst/gsttypefind.c: (gst_type_find_register):
25302         Make gst_caps_replace() work like other _replace() functions.
25303         Use _caps_replace() where possible.
25304         Make sure _message_new() initialises its field.
25305         Add gst_static_pad_template_get_caps()
25306
25307
25308 2005-04-18  Andy Wingo  <wingo@pobox.com>
25309
25310         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25311         on the peer, not the pad. I think that was a typo. Pass an extra
25312         arg to see if random access is possible. Activate the pads as
25313         PULL_RANGE if possible.
25314
25315         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25316
25317         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25318         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25319         to PROP_....
25320
25321 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25322
25323         * docs/faq/using.xml:
25324           Add note on gstreamer-properties (#154996).
25325
25326 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25327
25328         * docs/random/bbb/optional-properties:
25329           Some analysis on optional properties.
25330
25331 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25332
25333         * docs/gst/tmpl/gstelementfactory.sgml:
25334         * gst/gstelement.h:
25335         * gst/gstelementfactory.c: (gst_element_factory_init),
25336         (gst_element_factory_cleanup), (gst_element_register),
25337         (__gst_element_factory_add_static_pad_template),
25338         (gst_element_factory_get_static_pad_templates),
25339         (gst_element_factory_can_src_caps),
25340         (gst_element_factory_can_sink_caps):
25341         * gst/registries/Makefile.am:
25342         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25343         (gst_xml_registry_class_init), (gst_xml_registry_init),
25344         (gst_xml_registry_new), (gst_xml_registry_set_property),
25345         (gst_xml_registry_get_property), (get_time), (make_dir),
25346         (gst_xml_registry_get_perms_func),
25347         (plugin_times_older_than_recurse), (plugin_times_older_than),
25348         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25349         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25350         (add_to_char_array), (read_string), (read_uint), (read_enum),
25351         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25352         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25353         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25354         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25355         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25356         (gst_xml_registry_rebuild):
25357         * gst/registries/gstlibxmlregistry.h:
25358         * tools/gst-compprep.c: (main):
25359         * tools/gst-inspect.c: (print_pad_templates_info):
25360         * tools/gst-xmlinspect.c: (print_element_info):
25361           Use libxml2 for registry parsing, use staticpadtemplates in
25362           elementfactories. Makes gst_init() +/- 10x faster.
25363
25364 2005-04-12  Wim Taymans  <wim@fluendo.com>
25365
25366         * gst/base/Makefile.am:
25367         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25368         (gst_basesink_pad_getcaps), (gst_basesink_init),
25369         (gst_basesink_event), (gst_basesink_change_state):
25370         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25371         (gst_basesrc_init), (gst_basesrc_query),
25372         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25373         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25374         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25375         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25376         (gst_basesrc_stop), (gst_basesrc_activate),
25377         (gst_basesrc_change_state):
25378         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25379         (helper_find_suggest), (gst_type_find_helper):
25380         * gst/base/gsttypefindhelper.h:
25381         * gst/elements/Makefile.am:
25382         * gst/elements/gstelements.c:
25383         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25384         (gst_fakesink_get_times), (gst_fakesink_event),
25385         (gst_fakesink_preroll), (gst_fakesink_render):
25386         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25387         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25388         (gst_fakesrc_get_property), (gst_fakesrc_create),
25389         (gst_fakesrc_start), (gst_fakesrc_stop):
25390         * gst/elements/gstfakesrc.h:
25391         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25392         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25393         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25394         (gst_filesrc_create_read), (gst_filesrc_create),
25395         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25396         (gst_filesrc_start):
25397         * gst/elements/gsttypefindelement.c:
25398         (gst_type_find_element_have_type), (gst_type_find_element_init),
25399         (start_typefinding), (stop_typefinding), (push_buffer_store),
25400         (gst_type_find_element_handle_event),
25401         (gst_type_find_element_chain),
25402         (gst_type_find_element_checkgetrange),
25403         (gst_type_find_element_getrange), (do_typefind),
25404         (gst_type_find_element_activate),
25405         (gst_type_find_element_change_state):
25406         * gst/elements/gsttypefindelement.h:
25407         * gst/gstpipeline.c: (pipeline_bus_handler):
25408         Added typefind helper.
25409         Small preroll fix in the base sink.
25410         Disable typefind code in basesrc.
25411         Crude port of typefindelement.
25412         Fakesrc cleanups.
25413
25414
25415 2005-04-11  Wim Taymans  <wim@fluendo.com>
25416
25417         * check/gst/gstbus.c: (gstbus_suite):
25418         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25419         * check/gstcheck.h:
25420           Fix up the timeout so that the test does not fail.
25421
25422 2005-04-06  Wim Taymans  <wim@fluendo.com>
25423
25424         * gst/base/README:
25425         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25426         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25427         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25428         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25429         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25430         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25431         (gst_basesrc_stop), (gst_basesrc_activate),
25432         (gst_basesrc_change_state), (basesrc_find_peek),
25433         (basesrc_find_suggest), (gst_basesrc_type_find):
25434         * gst/base/gstbasesrc.h:
25435         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25436         (gst_filesrc_class_init), (gst_filesrc_init),
25437         (gst_filesrc_finalize), (gst_filesrc_set_location),
25438         (gst_filesrc_set_property), (gst_filesrc_get_property),
25439         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25440         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25441         (gst_filesrc_create_read), (gst_filesrc_create),
25442         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25443         * gst/elements/gstfilesrc.h:
25444         * gst/gstelement.c: (gst_element_get_state_func),
25445         (gst_element_lost_state), (gst_element_pads_activate):
25446         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25447         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25448         (gst_pad_pull_range):
25449         * gst/gstpad.h:
25450         More work on the generic source base class, implement seeking,
25451         query.
25452         Make filesrc extend the base source class.
25453         Added gst_pad_set_checkgetrange_function to GstPad.
25454
25455 2005-04-06  Andy Wingo  <wingo@pobox.com>
25456
25457         * pkgconfig/gstreamer-base.pc.in:
25458         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25459
25460         * pkgconfig/Makefile.am:
25461         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25462
25463 2005-04-04  Wim Taymans  <wim@fluendo.com>
25464
25465         * gst/base/Makefile.am:
25466         * gst/base/README:
25467         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25468         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25469         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25470         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25471         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25472         (gst_basesrc_base_init), (gst_basesrc_class_init),
25473         (gst_basesrc_init), (gst_basesrc_get_formats),
25474         (gst_basesrc_get_query_types), (gst_basesrc_query),
25475         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25476         (gst_basesrc_set_property), (gst_basesrc_get_property),
25477         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25478         (gst_basesrc_loop), (gst_basesrc_activate),
25479         (gst_basesrc_change_state):
25480         * gst/base/gstbasesrc.h:
25481         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25482         (gst_fakesrc_class_init), (gst_fakesrc_init),
25483         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25484         (gst_fakesrc_get_property), (gst_fakesrc_create):
25485         * gst/elements/gstfakesrc.h:
25486         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25487         (gst_filesrc_open_file), (gst_filesrc_loop),
25488         (gst_filesrc_activate), (filesrc_find_peek),
25489         (gst_filesrc_type_find):
25490         Made base source class, make fakesrc extend it.
25491         Add comments to basesink class.
25492         Some filesrc cleanup.
25493
25494 2005-03-31  David Schleef  <ds@schleef.org>
25495
25496         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25497         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25498         expected to link against libgstreamer.
25499         * gst/base/Makefile.am: link against libgstreamer
25500         * gst/elements/Makefile.am: same
25501
25502 2005-03-31  Andy Wingo  <wingo@pobox.com>
25503
25504         * tests/instantiate/Makefile.am:
25505         * tests/instantiate/caps.c: Add test to test speed of caps copy
25506         and free.
25507
25508         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25509         GMemChunk to be fair.
25510
25511         * gst/gsttrashstack.h: Remove warning about using the fallback
25512         trash stack implementation, it's still faster than malloc.
25513
25514 2005-03-30  Andy Wingo  <wingo@pobox.com>
25515
25516         * tests/complexity.c: Add a copyright.
25517
25518 2005-03-31  Wim Taymans  <wim@fluendo.com>
25519
25520         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25521         (gst_base_transform_class_init), (gst_base_transform_init),
25522         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25523         (gst_base_transform_get_property),
25524         (gst_base_transform_sink_activate),
25525         (gst_base_transform_src_activate),
25526         (gst_base_transform_change_state):
25527         * gst/base/gstbasetransform.h:
25528         * gst/elements/gstidentity.c: (gst_identity_class_init),
25529         (gst_identity_event), (gst_identity_check_perfect),
25530         (gst_identity_transform), (gst_identity_start),
25531         (gst_identity_stop):
25532         Added start/stop methods to transform base class so subclasses 
25533         don't need to deal with state changes even.
25534
25535 2005-03-31  Wim Taymans  <wim@fluendo.com>
25536
25537         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25538         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25539         * gst/gstevent.h:
25540         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25541         (gst_pad_pull_range):
25542         Added rate to the discont event to prepare for variable speed
25543         and reverse playback.
25544
25545 2005-03-29  David Schleef  <ds@schleef.org>
25546
25547         * configure.ac:
25548         * testsuite/trigger/Makefile.am:
25549         * testsuite/trigger/trigger.c: A little example program to show
25550         how trigger-based elements can work.
25551
25552 2005-03-29  Wim Taymans  <wim@fluendo.com>
25553
25554         * gst/base/Makefile.am:
25555         * gst/base/README:
25556         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25557         (gst_basesink_base_init), (gst_basesink_class_init),
25558         (gst_basesink_pad_getcaps), (gst_basesink_init),
25559         (gst_basesink_activate), (gst_basesink_change_state):
25560         * gst/base/gstbasesink.h:
25561         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25562         (gst_base_transform_base_init), (gst_base_transform_finalize),
25563         (gst_base_transform_class_init), (gst_base_transform_init),
25564         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25565         (gst_base_transform_event), (gst_base_transform_getrange),
25566         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25567         (gst_base_transform_set_property),
25568         (gst_base_transform_get_property),
25569         (gst_base_transform_sink_activate),
25570         (gst_base_transform_src_activate),
25571         (gst_base_transform_change_state):
25572         * gst/base/gstbasetransform.h:
25573         * gst/elements/gstidentity.c: (gst_identity_finalize),
25574         (gst_identity_class_init), (gst_identity_init),
25575         (gst_identity_event), (gst_identity_check_perfect),
25576         (gst_identity_transform), (gst_identity_set_property),
25577         (gst_identity_get_property), (gst_identity_change_state):
25578         * gst/elements/gstidentity.h:
25579         * gst/gstelement.c: (gst_element_get_state_func),
25580         (gst_element_lost_state), (gst_element_pads_activate):
25581         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25582         (gst_pad_check_pull_range), (gst_pad_pull_range):
25583         * gst/gstpad.h:
25584         Simplify pad activation.
25585         Added function to check if pull_range can be performed.
25586         Error out when pulling inactive or flushing pads.
25587         Removed const from refcounted types as it does not make sense.
25588         Simplify pad templates in basesink
25589         Added base class for simple 1-to-1 transforms.
25590         Make identity subclass the base transform.
25591
25592 2005-03-29  Andy Wingo  <wingo@pobox.com>
25593
25594         * docs/libs/gstreamer-libs-overrides.txt: 
25595         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25596         really don't understand what's going on, but like whatever. I want
25597         green buildbot!
25598
25599         * docs/gst/Makefile.am:
25600         * docs/libs/Makefile.am: Dist the overrides files.
25601
25602         * check/Makefile.am (clean-local): Remove .libs directories.
25603
25604         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25605         elements to EXTRA_DIST, so po/ files are happy.
25606
25607         * po/POTFILES.in: Er, remove it here.
25608
25609         * po/POTFILES: Remove gstspider.c.
25610
25611         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25612
25613         * docs/libs/gstreamer-libs-docs.sgml: 
25614         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25615         bytestream.
25616
25617         * tests/complexity.c (main): Set the length of the preroll queue
25618         on the sinks to prevent a lockup.
25619
25620         * libs/gst/dataprotocol/Makefile.am: 
25621         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25622         the same as the one in check/gst-libs/gdp.c.
25623
25624         * po/, docs/gst/: Commit automatic changes to docs and po files.
25625
25626         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25627         the versioned libgstbase.
25628
25629         * check/Makefile.am: Depend on an unversioned gst-register, seems
25630         to make autoconf happier.
25631
25632         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25633
25634 2005-03-28  Wim Taymans  <wim@fluendo.com>
25635
25636         * configure.ac:
25637         * docs/design/part-gstelement.txt:
25638         * docs/design/part-negotiation.txt:
25639         * docs/design/part-preroll.txt:
25640         * docs/design/part-scheduling.txt:
25641         * docs/design/part-states.txt:
25642         * gst/Makefile.am:
25643         * gst/base/Makefile.am:
25644         * gst/base/README:
25645         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25646         (gst_basesink_base_init), (gst_basesink_class_init),
25647         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25648         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25649         (gst_basesink_set_pad_functions),
25650         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25651         (gst_basesink_set_property), (gst_basesink_get_property),
25652         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25653         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25654         (gst_basesink_preroll_queue_push),
25655         (gst_basesink_preroll_queue_empty),
25656         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25657         (gst_basesink_event), (gst_basesink_get_times),
25658         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25659         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25660         (gst_basesink_loop), (gst_basesink_activate),
25661         (gst_basesink_change_state):
25662         * gst/base/gstbasesink.h:
25663         * gst/elements/Makefile.am:
25664         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25665         (gst_fakesink_class_init), (gst_fakesink_init),
25666         (gst_fakesink_set_property), (gst_fakesink_get_property),
25667         (gst_fakesink_get_times), (gst_fakesink_event),
25668         (gst_fakesink_preroll), (gst_fakesink_render),
25669         (gst_fakesink_change_state):
25670         * gst/elements/gstfakesink.h:
25671         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25672         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25673         * gst/gstelement.c: (gst_element_add_pad),
25674         (gst_element_get_state_func), (gst_element_abort_state),
25675         (gst_element_commit_state), (gst_element_lost_state),
25676         (gst_element_set_state), (gst_element_pads_activate):
25677         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25678         * gst/gstpipeline.c: (gst_pipeline_send_event),
25679         (gst_pipeline_change_state):
25680         Added state change code.
25681         Added/updated docs.
25682         Added sink base class, make fakesink extend the base class.
25683         Small cleanups in GstPipeline.
25684
25685 2005-03-26  David Schleef  <ds@schleef.org>
25686
25687         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25688         is broken and should be implemented in a different library.
25689         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25690         * gst/gst.h: remove gstcpu.h
25691         * gst/gstcpu.c: remove
25692         * gst/gstcpu.h: remove
25693         * gst/Makefile.am.future: Remove this file.  It's ancient.
25694
25695 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25696
25697         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25698         (gst_bin_send_event):
25699           Add default event/set_manager handlers. The set_manager handler
25700           takes care that the manager is distributed over kids that were
25701           already in the bin before the manager was set. The event handler
25702           is a utility virtual function that sends the event over all sinks,
25703           so that gst_element_send_event (bin, event); has the expected
25704           behaviour.
25705         * gst/gstpad.c: (gst_pad_event_default):
25706           Re-install default event handling for discontinuities, so that
25707           seeking works without requiring hacks in applications or extra
25708           code in sinks.
25709         * gst/gstpipeline.c: (gst_pipeline_class_init),
25710         (gst_pipeline_send_event):
25711           Half hack, half utility: set a pipeline to PAUSED for seek events,
25712           since that is the only way we can guarantee a/v sync. Means that
25713           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25714           and it "just works".
25715
25716 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25717
25718         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25719           Lock/unlock mismatch.
25720
25721 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25722
25723         * docs/faq/gst-uninstalled:
25724           add gst-plugins-base
25725         * docs/gst/Makefile.am:
25726           don't error out until docs are fixed
25727         * docs/gst/gstreamer.types:
25728           remove thread
25729
25730 2005-03-22  Wim Taymans  <wim@fluendo.com>
25731
25732         * check/Makefile.am:
25733         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25734         * gst/gststructure.c: (gst_structure_set_valist),
25735         (gst_structure_copy_conditional):
25736         Activated more tests.
25737         Added message test.
25738         Added G_TYPE_POINTER to GstStructure.
25739         
25740
25741 2005-03-22  Wim Taymans  <wim@fluendo.com>
25742
25743         * docs/design/part-TODO.txt:
25744         * docs/design/part-events.txt:
25745         * docs/design/part-gstbin.txt:
25746         * docs/design/part-gstbus.txt:
25747         * docs/design/part-gstpipeline.txt:
25748         * docs/design/part-messages.txt:
25749         * gst/gstbus.c:
25750         * gst/gstmessage.c:
25751         Docs updates
25752
25753 2005-03-21  Wim Taymans  <wim@fluendo.com>
25754
25755         * gst/gstbus.c: (gst_bus_post):
25756         Fix copy-and-paste error.
25757
25758 2005-03-21  Wim Taymans  <wim@fluendo.com>
25759
25760         * check/Makefile.am:
25761         * gst/Makefile.am:
25762         * gst/elements/Makefile.am:
25763         * gst/elements/gstelements.c:
25764         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25765         (gst_fakesink_event), (gst_fakesink_chain):
25766         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25767         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25768         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25769         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25770         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25771         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25772         (gst_fakesrc_loop), (gst_fakesrc_activate),
25773         (gst_fakesrc_change_state):
25774         * gst/elements/gstfakesrc.h:
25775         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25776         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25777         (gst_filesrc_open_file), (gst_filesrc_loop),
25778         (gst_filesrc_activate), (gst_filesrc_change_state),
25779         (filesrc_find_peek), (filesrc_find_suggest),
25780         (gst_filesrc_type_find):
25781         * gst/elements/gstidentity.c: (gst_identity_finalize),
25782         (gst_identity_class_init), (gst_identity_init),
25783         (gst_identity_proxy_getcaps), (identity_queue_push),
25784         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25785         (gst_identity_getrange), (gst_identity_chain),
25786         (gst_identity_sink_loop), (gst_identity_src_loop),
25787         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25788         (gst_identity_set_property), (gst_identity_get_property),
25789         (gst_identity_change_state):
25790         * gst/elements/gstidentity.h:
25791         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25792         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25793         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25794         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25795         (gst_tee_sink_activate):
25796         * gst/elements/gsttee.h:
25797         * gst/gst.c: (gst_register_core_elements), (init_post):
25798         * gst/gst.h:
25799         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25800         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25801         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25802         (gst_bin_change_state):
25803         * gst/gstbin.h:
25804         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25805         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25806         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25807         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25808         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25809         (bus_watch_callback), (bus_watch_destroy),
25810         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25811         (poll_timeout), (gst_bus_poll):
25812         * gst/gstbus.h:
25813         * gst/gstcaps.h:
25814         * gst/gstdata.h:
25815         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25816         (gst_element_post_message), (gst_element_message_full),
25817         (gst_element_get_state_func), (gst_element_get_state),
25818         (gst_element_abort_state), (gst_element_commit_state),
25819         (gst_element_lost_state), (gst_element_set_state),
25820         (gst_element_pads_activate), (gst_element_change_state),
25821         (gst_element_dispose), (gst_element_set_manager_func),
25822         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25823         (gst_element_set_manager), (gst_element_get_manager),
25824         (gst_element_set_bus), (gst_element_get_bus),
25825         (gst_element_set_scheduler), (gst_element_get_scheduler):
25826         * gst/gstelement.h:
25827         * gst/gstevent.c: (gst_event_new_segment_seek),
25828         (gst_event_new_flush):
25829         * gst/gstevent.h:
25830         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25831         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25832         (gst_message_new_eos), (gst_message_new_error),
25833         (gst_message_new_warning), (gst_message_new_tag),
25834         (gst_message_new_state_changed), (gst_message_new_application),
25835         (gst_message_get_structure), (gst_message_parse_tag),
25836         (gst_message_parse_state_changed), (gst_message_parse_error),
25837         (gst_message_parse_warning):
25838         * gst/gstmessage.h:
25839         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25840         (gst_real_pad_set_property), (gst_pad_set_active),
25841         (gst_pad_is_active), (gst_pad_set_blocked_async),
25842         (gst_pad_set_blocked), (gst_pad_is_blocked),
25843         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25844         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25845         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25846         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25847         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25848         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25849         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25850         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25851         (gst_pad_set_caps), (gst_pad_configure_sink),
25852         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25853         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25854         (gst_real_pad_dispose), (gst_real_pad_finalize),
25855         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25856         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25857         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25858         * gst/gstpad.h:
25859         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25860         (pipeline_bus_handler), (gst_pipeline_change_state),
25861         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25862         * gst/gstpipeline.h:
25863         * gst/gstprobe.h:
25864         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25865         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25866         (gst_queue_link_src), (gst_queue_bufferalloc),
25867         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25868         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25869         (gst_queue_loop), (gst_queue_handle_src_event),
25870         (gst_queue_handle_src_query), (gst_queue_src_activate),
25871         (gst_queue_change_state):
25872         * gst/gstqueue.h:
25873         * gst/gstscheduler.c: (gst_scheduler_init),
25874         (gst_scheduler_dispose), (gst_scheduler_create_task),
25875         (gst_scheduler_factory_create):
25876         * gst/gstscheduler.h:
25877         * gst/gststructure.c: (gst_structure_get_type),
25878         (gst_structure_copy_conditional):
25879         * gst/gststructure.h:
25880         * gst/gsttaginterface.h:
25881         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25882         (gst_task_init), (gst_task_dispose), (gst_task_create),
25883         (gst_task_get_state), (gst_task_start), (gst_task_stop),
25884         (gst_task_pause):
25885         * gst/gsttask.h:
25886         * gst/gstthread.c:
25887         * gst/gstthread.h:
25888         * gst/gsttypes.h:
25889         * gst/schedulers/Makefile.am:
25890         * gst/schedulers/cothreads_compat.h:
25891         * gst/schedulers/entryscheduler.c:
25892         * gst/schedulers/faircothreads.c:
25893         * gst/schedulers/faircothreads.h:
25894         * gst/schedulers/fairscheduler.c:
25895         * gst/schedulers/gstbasicscheduler.c:
25896         * gst/schedulers/gstoptimalscheduler.c:
25897         * gst/schedulers/gthread-cothreads.h:
25898         * gst/schedulers/threadscheduler.c:
25899         (gst_thread_scheduler_task_get_type),
25900         (gst_thread_scheduler_task_class_init),
25901         (gst_thread_scheduler_task_init),
25902         (gst_thread_scheduler_task_start),
25903         (gst_thread_scheduler_task_stop),
25904         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25905         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25906         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25907         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25908         (plugin_init):
25909         * libs/gst/Makefile.am:
25910         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25911         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25912         (gst_file_pad_parent_set):
25913         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25914         (gst_dp_event_from_packet):
25915         * tests/complexity.c: (main):
25916         * tests/mass_elements.c: (main):
25917         * testsuite/states/locked.c: (message_received), (main):
25918         * testsuite/states/parent.c: (main):
25919         * tools/gst-inspect.c: (print_element_flag_info),
25920         (print_implementation_info), (print_pad_info):
25921         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25922         (main):
25923         * tools/gst-md5sum.c: (event_loop), (main):
25924         * tools/gst-typefind.c: (main):
25925         * tools/gst-xmlinspect.c: (print_element_info):
25926         Next big merge.
25927         Added GstBus for mainloop integration.
25928         Added GstMessage for sending notifications on the bus.
25929         Added GstTask as an abstraction for pipeline entry points.
25930         Removed GstThread.
25931         Removed Schedulers.
25932         Simplified GstQueue for multithreaded core.
25933         Made _link threadsafe, removed old capsnego.
25934         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25935         Added pad blocking functions.
25936         Reworked scheduling functions in GstPad to prepare for
25937         scheduling updates soon.
25938         Moved events out of data stream.
25939         Simplified GstEvent types.
25940         Added return values to push/pull.
25941         Removed clocking from GstElement.
25942         Added prototypes for state change function for next merge.
25943         Removed iterate from bins and state change management.
25944         Fixed some elements, disabled others for now.
25945         Fixed -inspect and -launch.
25946         Added check for GstBus.
25947
25948 2005-03-10  Wim Taymans  <wim@fluendo.com>
25949
25950         * docs/design/part-MT-refcounting.txt:
25951         * docs/design/part-clocks.txt:
25952         * docs/design/part-gstelement.txt:
25953         * docs/design/part-gstobject.txt:
25954         * docs/design/part-standards.txt:
25955         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25956         (gst_bin_remove_func), (gst_bin_remove):
25957         * gst/gstbin.h:
25958         * gst/gstbuffer.c:
25959         * gst/gstcaps.h:
25960         * testsuite/clock/clock1.c: (main):
25961         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25962         (main):
25963         * testsuite/dlopen/loadgst.c: (do_test):
25964         * testsuite/refcounting/bin.c: (add_remove_test1),
25965         (add_remove_test2), (main):
25966         * testsuite/refcounting/element.c: (main):
25967         * testsuite/refcounting/element_pad.c: (main):
25968         * testsuite/refcounting/pad.c: (main):
25969         * tools/gst-launch.c: (sigint_handler_sighandler):
25970         * tools/gst-typefind.c: (main):
25971         Doc updates.
25972         Added doc about clock.
25973         removed gst_bin_iterate_recurse_up(), marked methods
25974         for removal.
25975         Fix more testsuites.
25976
25977 2005-03-09  Wim Taymans  <wim@fluendo.com>
25978
25979         * gst/gstpad.c: (gst_pad_get_direction),
25980         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25981         (gst_pad_collect_valist):
25982         * testsuite/bins/interface.c: (main):
25983         * testsuite/caps/audioscale.c: (test_caps):
25984         * testsuite/caps/caps.c: (test1), (test2), (test3):
25985         * testsuite/caps/deserialize.c: (main):
25986         * testsuite/caps/enumcaps.c: (main):
25987         * testsuite/caps/filtercaps.c: (main):
25988         * testsuite/caps/intersect2.c: (main):
25989         * testsuite/caps/random.c: (main):
25990         * testsuite/caps/renegotiate.c: (my_fixate), (main):
25991         * testsuite/caps/sets.c: (check_caps):
25992         * testsuite/caps/simplify.c: (check_caps), (main):
25993         * testsuite/caps/subtract.c: (check_caps):
25994         Fix _pad_get_direction wrt ghostpads.
25995         Fix caps testsuite.
25996
25997 2005-03-09  Wim Taymans  <wim@fluendo.com>
25998
25999         * check/Makefile.am:
26000         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26001         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26002         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26003         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26004         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26005         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26006         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26007         (bin_element_is_sink), (gst_bin_iterate_sinks),
26008         (gst_bin_iterate_all_by_interface):
26009         * gst/gstbin.h:
26010         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26011         (gst_element_change_state), (gst_element_dispose),
26012         (gst_element_finalize), (gst_element_set_loop_function):
26013         * gst/gstelement.h:
26014         * gst/gstiterator.c: (find_custom_fold_func):
26015         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26016         (gst_pad_collectv), (gst_pad_collect_valist),
26017         (gst_pad_template_new):
26018         * gst/gstpipeline.c: (gst_pipeline_class_init),
26019         (gst_pipeline_dispose), (gst_pipeline_set_property),
26020         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26021         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26022         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26023         * gst/gstutils.h:
26024         * gst/schedulers/entryscheduler.c:
26025         * gst/schedulers/gstbasicscheduler.c:
26026         (gst_basic_scheduler_cothreaded_chain),
26027         (gst_basic_scheduler_chain_add_element):
26028         * testsuite/bins/interface.c: (main):
26029         Added GstBin test.
26030         Added GstSystemClock test.
26031         Implemented clock distribution code in GstBin.
26032         Implemented iterate sinks method for future use.
26033         Rearranged gstelement.h
26034         Fix GstIterator comparison bug.
26035         Moved some code to GstPipeline, mostly clocking related.
26036
26037 2005-03-09  Wim Taymans  <wim@fluendo.com>
26038
26039         * configure.ac:
26040         * gst/gst_private.h:
26041         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26042         (gst_bin_remove_func), (gst_bin_remove),
26043         (gst_bin_get_by_name_recurse_up):
26044         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26045         (gst_clock_id_compare_func), (gst_clock_id_wait),
26046         (gst_clock_id_wait_async), (gst_clock_init),
26047         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26048         * gst/gstelement.h:
26049         * gst/gstinfo.c: (_gst_debug_init):
26050         * gst/gstobject.h:
26051         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26052         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26053         * gst/gstpad.h:
26054         Bump version number, we're now 0.9.0
26055         Add future debugging category.
26056         Fix NULL _unref() in _get_by_name_recurse_up
26057         Rearrange gstpad.h.
26058         Update some docs.
26059
26060 2005-03-08  Wim Taymans  <wim@fluendo.com>
26061
26062         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26063         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26064         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26065         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26066         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26067         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26068         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26069         * gst/elements/gstidentity.c: (gst_identity_class_init):
26070         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26071         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26072         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26073         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26074         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26075         (gst_tee_link):
26076         * gst/gstelement.c: (gst_element_class_init),
26077         (gst_element_base_class_init), (gst_element_init),
26078         (gst_element_get_random_pad), (gst_element_wait_state_change),
26079         (gst_element_change_state), (gst_element_dispose),
26080         (gst_element_finalize), (gst_element_set_loop_function):
26081         * gst/gstelement.h:
26082         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26083         * gst/gstthread.c: (gst_thread_class_init),
26084         (gst_thread_release_children_locks), (gst_thread_change_state):
26085         * gst/schedulers/gstbasicscheduler.c:
26086         (gst_basic_scheduler_loopfunc_wrapper),
26087         (gst_basic_scheduler_chain_wrapper),
26088         (gst_basic_scheduler_src_wrapper),
26089         (gst_basic_scheduler_remove_element):
26090         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26091         Remove threadsafe properties. Fix elements because GObject
26092         complains when installing a property before declaring a
26093         set/get_property handler.
26094         Rearrange gstelement.h file, use STATE macros for state locks.
26095         Free mutexes in the finalize method instead of dispose.
26096
26097 2005-03-08  Wim Taymans  <wim@fluendo.com>
26098
26099         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26100         * gst/gstthread.c: (gst_thread_release_children_locks):
26101         Added parentage check.
26102         Fix build og GstThread again.
26103
26104 2005-03-08  Wim Taymans  <wim@fluendo.com>
26105
26106         * docs/design/part-MT-refcounting.txt:
26107         * docs/design/part-conventions.txt:
26108         * docs/design/part-gstobject.txt:
26109         * docs/design/part-relations.txt:
26110         * docs/design/part-standards.txt:
26111         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26112         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26113         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26114         (gst_bin_iterate_all_by_interface):
26115         * gst/gstbuffer.h:
26116         * gst/gstclock.h:
26117         * gst/gstelement.c: (gst_element_class_init),
26118         (gst_element_change_state), (gst_element_set_loop_function):
26119         * gst/gstelement.h:
26120         * gst/gstiterator.c:
26121         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26122         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26123         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26124         (gst_object_set_parent), (gst_object_unparent),
26125         (gst_object_check_uniqueness):
26126         * gst/gstobject.h:
26127         Docs updates, clean up some headers.
26128
26129 2005-03-07  Wim Taymans  <wim@fluendo.com>
26130
26131         * check/.cvsignore:
26132         * check/Makefile.am:
26133         * check/gst-libs/.cvsignore:
26134         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26135         * check/gst/.cvsignore:
26136         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26137         (START_TEST), (gstbus_suite), (main):
26138         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26139         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26140         (gst_data_suite), (main):
26141         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26142         (add_fold_func), (gstiterator_suite), (main):
26143         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26144         (thread_name_object), (thread_name_object_default),
26145         (gst_object_name_compare), (gst_object_suite), (main):
26146         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26147         (gst_pad_suite), (main):
26148         * check/gstcheck.c: (gst_check_log_message_func),
26149         (gst_check_log_critical_func), (gst_check_init):
26150         * check/gstcheck.h:
26151         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26152         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26153         Added checks.
26154
26155 2005-03-07  Wim Taymans  <wim@fluendo.com>
26156
26157         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26158         (gst_list_iterator_next), (gst_list_iterator_resync),
26159         (gst_list_iterator_free), (gst_iterator_new_list),
26160         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26161         (gst_iterator_free), (gst_iterator_push), (filter_next),
26162         (filter_resync), (filter_uninit), (filter_free),
26163         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26164         (gst_iterator_foreach), (find_custom_fold_func),
26165         (gst_iterator_find_custom):
26166         * gst/gstiterator.h:
26167         Added missing files.
26168
26169 2005-03-07  Wim Taymans  <wim@fluendo.com>
26170
26171         * Makefile.am:
26172         * configure.ac:
26173         * docs/design/part-MT-refcounting.txt:
26174         * docs/design/part-conventions.txt:
26175         * docs/design/part-gstobject.txt:
26176         * docs/design/part-relations.txt:
26177         * examples/mixer/mixer.c: (main):
26178         * examples/thread/thread.c: (eos), (main):
26179         * gst/Makefile.am:
26180         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26181         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26182         (gst_spider_plug_from_srcpad):
26183         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26184         (gst_spider_identity_change_state),
26185         (gst_spider_identity_sink_loop_type_finding):
26186         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26187         * gst/elements/gstidentity.c: (gst_identity_init):
26188         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26189         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26190         * gst/elements/gsttypefindelement.c: (free_entry):
26191         * gst/gst.c:
26192         * gst/gst.h:
26193         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26194         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26195         (gst_bin_set_index), (gst_bin_set_element_sched),
26196         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26197         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26198         (gst_bin_iterate_elements), (iterate_child_recurse),
26199         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26200         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26201         (compare_interface), (gst_bin_get_by_interface),
26202         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26203         * gst/gstbin.h:
26204         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26205         (gst_buffer_default_free), (gst_buffer_default_copy),
26206         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26207         (gst_buffer_create_sub):
26208         * gst/gstbuffer.h:
26209         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26210         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26211         (gst_caps_unref), (gst_static_caps_get),
26212         (gst_caps_remove_and_get_structure), (gst_caps_append),
26213         (gst_caps_append_structure), (gst_caps_remove_structure),
26214         (gst_caps_copy_nth), (gst_caps_set_simple),
26215         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26216         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26217         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26218         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26219         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26220         (gst_caps_structure_figure_out_union),
26221         (gst_caps_switch_structures), (gst_caps_do_simplify),
26222         (gst_caps_replace), (gst_caps_from_string),
26223         (gst_caps_copy_conditional):
26224         * gst/gstcaps.h:
26225         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26226         (_gst_clock_id_free), (gst_clock_id_unref),
26227         (gst_clock_id_compare_func), (gst_clock_id_wait),
26228         (gst_clock_id_wait_async), (gst_clock_class_init),
26229         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26230         (gst_clock_get_time), (gst_clock_set_time_adjust),
26231         (gst_clock_set_property), (gst_clock_get_property):
26232         * gst/gstclock.h:
26233         * gst/gstcompat.h:
26234         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26235         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26236         * gst/gstdata.h:
26237         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26238         (gst_element_requires_clock), (gst_element_provides_clock),
26239         (gst_element_set_clock), (gst_element_clock_wait),
26240         (gst_element_wait), (gst_element_set_time_delay),
26241         (gst_element_is_indexable), (gst_element_add_pad),
26242         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26243         (pad_compare_name), (gst_element_get_static_pad),
26244         (gst_element_request_pad), (gst_element_get_request_pad),
26245         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26246         (gst_element_class_get_pad_template_list),
26247         (gst_element_class_get_pad_template), (gst_element_error_func),
26248         (gst_element_get_random_pad), (gst_element_get_event_masks),
26249         (gst_element_send_event), (gst_element_seek),
26250         (gst_element_get_query_types), (gst_element_query),
26251         (gst_element_get_formats), (gst_element_convert),
26252         (gst_element_is_locked_state), (gst_element_set_locked_state),
26253         (gst_element_sync_state_with_parent), (gst_element_change_state),
26254         (gst_element_finalize), (gst_element_yield),
26255         (gst_element_interrupt), (gst_element_set_scheduler),
26256         (gst_element_get_scheduler), (gst_element_set_loop_function):
26257         * gst/gstelement.h:
26258         * gst/gstevent.h:
26259         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26260         (gst_format_get_by_nick), (gst_format_get_details),
26261         (gst_format_iterate_definitions):
26262         * gst/gstformat.h:
26263         * gst/gstindex.c: (gst_index_gtype_resolver):
26264         * gst/gstinfo.c:
26265         * gst/gstinfo.h:
26266         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26267         (gst_mem_chunk_free):
26268         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26269         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26270         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26271         (gst_object_dispatch_properties_changed),
26272         (gst_object_set_name_default), (gst_object_set_name),
26273         (gst_object_get_name), (gst_object_set_name_prefix),
26274         (gst_object_get_name_prefix), (gst_object_set_parent),
26275         (gst_object_get_parent), (gst_object_unparent),
26276         (gst_object_check_uniqueness), (gst_object_save_thyself),
26277         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26278         (gst_object_set_property), (gst_object_get_property),
26279         (gst_object_get_path_string):
26280         * gst/gstobject.h:
26281         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26282         (gst_real_pad_init), (gst_real_pad_get_property),
26283         (gst_pad_custom_new), (gst_pad_get_direction),
26284         (gst_pad_set_active), (gst_pad_is_active),
26285         (gst_pad_set_event_function), (gst_pad_is_linked),
26286         (gst_pad_link_free), (gst_pad_link_intersect),
26287         (gst_pad_link_fixate), (gst_pad_set_caps),
26288         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26289         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26290         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26291         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26292         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26293         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26294         (gst_pad_realize), (gst_pad_get_allowed_caps),
26295         (gst_real_pad_dispose), (gst_real_pad_finalize),
26296         (gst_pad_collectv), (gst_pad_collect_valist),
26297         (gst_pad_template_dispose), (gst_pad_template_new),
26298         (gst_pad_get_internal_links):
26299         * gst/gstpad.h:
26300         * gst/gstpipeline.c: (gst_pipeline_dispose),
26301         (gst_pipeline_change_state):
26302         * gst/gstpipeline.h:
26303         * gst/gstplugin.c:
26304         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26305         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26306         * gst/gstpluginfeature.h:
26307         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26308         * gst/gstquery.c: (_gst_query_type_initialize),
26309         (gst_query_type_register), (gst_query_type_get_by_nick),
26310         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26311         * gst/gstquery.h:
26312         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26313         * gst/gstscheduler.c: (gst_scheduler_add_element),
26314         (gst_scheduler_factory_create):
26315         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26316         (gst_structure_free), (gst_structure_set_name),
26317         (gst_structure_id_set_value), (gst_structure_set_value),
26318         (gst_structure_set_valist), (gst_structure_remove_field),
26319         (gst_structure_remove_fields),
26320         (gst_structure_remove_fields_valist),
26321         (gst_structure_remove_all_fields), (gst_structure_foreach),
26322         (gst_structure_map_in_place),
26323         (gst_caps_structure_fixate_field_nearest_int),
26324         (gst_caps_structure_fixate_field_nearest_double):
26325         * gst/gststructure.h:
26326         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26327         (gst_system_clock_init), (gst_system_clock_dispose),
26328         (gst_system_clock_async_thread),
26329         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26330         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26331         * gst/gstsystemclock.h:
26332         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26333         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26334         * gst/gsttaginterface.c:
26335         * gst/gstthread.c: (gst_thread_dispose),
26336         (gst_thread_release_children_locks), (gst_thread_change_state),
26337         (gst_thread_main_loop):
26338         * gst/gsttrashstack.h:
26339         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26340         * gst/gsttypes.h:
26341         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26342         (gst_element_request_pad), (gst_element_get_pad_from_template),
26343         (gst_element_request_compatible_pad),
26344         (gst_element_get_compatible_pad_filtered),
26345         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26346         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26347         (gst_element_link_many), (gst_element_link),
26348         (gst_element_link_pads), (gst_element_unlink_pads),
26349         (gst_element_unlink_many), (gst_element_unlink),
26350         (gst_pad_can_link_filtered), (gst_pad_can_link),
26351         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26352         (gst_object_default_error), (gst_bin_add_many),
26353         (gst_bin_remove_many), (gst_element_populate_std_props),
26354         (gst_element_class_install_std_props), (gst_buffer_merge),
26355         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26356         (link_fold_func), (gst_pad_proxy_setcaps):
26357         * gst/gstutils.h:
26358         * gst/gstvalue.c: (gst_value_deserialize_string):
26359         * gst/parse/grammar.y:
26360         * gst/schedulers/gstbasicscheduler.c:
26361         (gst_basic_scheduler_cothreaded_chain),
26362         (gst_basic_scheduler_chain_recursive_add),
26363         (gst_basic_scheduler_pad_link):
26364         * gst/schedulers/gstoptimalscheduler.c:
26365         (get_group_schedule_function),
26366         (gst_opt_scheduler_state_transition),
26367         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26368         * libs/gst/bytestream/bytestream.c:
26369         * libs/gst/dataprotocol/dataprotocol.c:
26370         (gst_dp_header_from_buffer):
26371         * po/nb.po:
26372         * po/ru.po:
26373         * tests/threadstate/threadstate2.c: (eos):
26374         * tools/gst-compprep.c: (main):
26375         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26376         (print_pad_info), (print_children_info):
26377         * tools/gst-launch.c: (idle_func), (main):
26378         * tools/gst-md5sum.c: (idle_func), (main):
26379         * tools/gst-xmlinspect.c: (print_element_info):
26380         First THREADED backport attempt, focusing on adding locks and
26381         making sure the API is threadsafe. Needs more work. More docs
26382         follow this week.
26383
26384 2005-02-24  Andy Wingo  <wingo@pobox.com>
26385
26386         * tests/bench-complexity.scm:
26387         * tests/complexity.gnuplot: New files, good for running complexity
26388         benchmarks.
26389
26390         * tests/Makefile.am:
26391         * tests/complexity.c: New test, sets up N elements, at each level
26392         teeing into M streams per element. Eeeenteresting.
26393
26394         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26395         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26396         running bench-mass_elements.scm.
26397
26398         * tests/bench-mass_elements.scm: New script, runs mass_elements
26399         for various numbers of identities, outputting the results to a
26400         file. Requires guile 1.6. Just for testing.
26401
26402 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26403
26404         * gst/schedulers/fairscheduler.c:
26405           compile with debug disabled
26406
26407 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26408
26409         * configure.ac:
26410           hunting season on 0.9 is now OPEN