Due to popular request remove preset interface again. :-(.
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
2
3         * docs/gst/gstreamer-docs.sgml:
4         * docs/gst/gstreamer-sections.txt:
5         * docs/gst/gstreamer.types.in:
6         * gst/Makefile.am:
7         * gst/gst.h:
8         * gst/gstpreset.c:
9         * gst/gstpreset.h:
10         * plugins/elements/gstqueue.c:
11           Due to popular request remove preset interface again. :-(.
12
13 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
14
15         * tools/gst-inspect.c:
16           Print 'default value' for enums and flags too.
17
18 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
19
20         * docs/random/ensonic/profiling.txt:
21           More ideas.
22
23         * gst/gstbin.c:
24           Fix typo and give better log output.
25
26         * gst/gstdebugutils.c:
27         * gst/gstdebugutils.h:
28           More ideas, make graphs a bit smaller and fix param name in macro.
29
30 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
31
32         * gst/gstpreset.c:
33           Try harder to use the return value from fgets().
34
35 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
36
37         * gst/gstpreset.c:
38           For theses two fgets we handle the error below.
39
40 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
41
42         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
43         Only send upstream events upstream. Fixes #498746.
44
45 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
46
47         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
48
49         * plugins/elements/gstidentity.c: (gst_identity_class_init),
50         (gst_identity_init), (gst_identity_transform_ip),
51         (gst_identity_set_property), (gst_identity_get_property):
52         * plugins/elements/gstidentity.h:
53         Add property to disable handoff signal emission. Fixes #498694.
54         API: GstIdentity::signal-handoffs
55
56 2007-11-21  Julien Moutte  <julien@fluendo.com>
57
58         * docs/faq/gst-uninstalled: Yet another missing library for the
59         uninstalled script (fft)
60
61 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
62
63         * docs/faq/developing.xml:
64         Add a question about how to submit new translations.
65
66         * docs/random/release:
67         Update the contact email address for the Translation Project
68
69         * plugins/elements/gstfdsrc.c:
70         The parent_class for fdsrc is pushsrc, not GstElement.
71
72 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
73
74         * gst/gstpreset.c:
75           Plug a leak and fix saving.
76
77 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
78
79         * docs/gst/gstreamer-sections.txt:
80         Add new gst_preset__get_property_names() function to the docs
81         to fix the build.
82
83 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
84
85         * gst/gstpreset.c:
86         * gst/gstpreset.h:
87           Change _get_preset_names API to return a strv with copies. Add
88           _get_property_names to allow implementations to filter and provide
89           good default implementation.
90
91 2007-11-20  Julien MOUTTE  <julien@moutte.net>
92
93         * docs/faq/gst-uninstalled: Add another library to the uninstalled
94         script (sdp).
95
96 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
97
98         * gst/gstpreset.c:
99           More cleanups, docs, and TODOs from comments that now slowly come in.
100
101 2007-11-19  Julien MOUTTE  <julien@moutte.net>
102
103         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
104         search path.
105
106 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
107
108         * gst/gstpreset.c:
109           Fix bogus warning and make the property type specific code more
110           similar.
111
112 2007-11-19  Julien MOUTTE  <julien@moutte.net>
113
114         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
115         it build on OS X.
116
117 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
118
119         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
120         (gst_bin_add_func), (gst_bin_remove_func),
121         (gst_bin_change_state_func), (gst_bin_continue_func):
122         Change email, cleanups add some more debug and comments.
123         Also set bus and clock on new elements when the pipeline was in error.
124
125 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
126
127         * gst/gstbin.c:
128         * gst/gstdebugutils.c:
129           Fix build with --disable-gst-debug. Fixes #497859.
130           Spotted by Sameer Naik.
131
132 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
133
134         * gst/gstevent.c:
135           Little documentation improvment.
136
137         * gst/gstpreset.c:
138           More TODO cleanups. Remove c++ comments.
139
140         * libs/gst/controller/gstcontroller.c:
141           Add TODO and use quark from static string.
142
143         * tests/check/gst/gstmessage.c:
144         * tests/check/gst/gststructure.c:
145           Use quark from static string.
146
147 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
148
149         * gst/gstpreset.c:
150           Add some comments and TODOs.
151
152         * gst/gstpreset.h:
153           Add padding for future changes.
154
155         * plugins/elements/gstqueue.c:
156           Implement the iface.    
157
158 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
159
160         * docs/gst/gstreamer-docs.sgml:
161         * docs/gst/gstreamer-sections.txt:
162         * docs/gst/gstreamer.types.in:
163         * gst/Makefile.am:
164         * gst/gst.h:
165         * gst/gstpreset.c:
166         * gst/gstpreset.h:
167           Add the preset interface (Fixes #396779). Do some doc cleanups along.
168
169 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
170
171         * configure.ac:
172
173         Back to CVS
174
175 === release 0.10.15 ===
176
177 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
178
179         * configure.ac:
180           releasing 0.10.15, "October"
181
182 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
183
184         * win32/vs6/libgstreamer.dsp:
185         Convert line endings back to DOS.
186
187 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
188
189         * docs/design/draft-tagreading.txt:
190         * docs/random/ensonic/profiling.txt:
191         Update fast tagreading draft and performance profiling ideas.
192
193 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
194
195         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
196         Don't hold the object lock when unreffing a buffer because it could
197         cause a deadlock when the finalize function wants to grab the object
198         lock too. Fixes #495133.
199
200 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
201
202         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
203         (gst_segment_to_stream_time), (gst_segment_to_running_time):
204         Also accumulate time correctly when doing reverse playback. Fixes
205         #488201,
206         When converting to running and stream time, use default values for
207         start/stop/time/accum when comparing different formats. Fixes #494245.
208
209         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
210         Do running/stream time in TIME format.
211
212         * tests/check/gst/gstsegment.c: (GST_START_TEST),
213         (gst_segment_suite):
214         2 new unit tests for segment accumulation.
215
216 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
217
218         * gst/gst.c: (init_pre):
219         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
220           (_gst_debug_bin_to_dot_file):
221           Move getenv() back into gst_init, so everyone can live happily
222           ever after. Make sure the symbol isn't exported though.
223
224 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
225
226         Patch by: Sebastien Moutte  <sebastien moutte net>
227
228         * win32/common/gstenumtypes.c:
229         * win32/common/gstenumtypes.h:
230           Update enum types.
231
232         * win32/vs6/libgstreamer.dsp:
233           Update vs6 project files (#494343).
234
235 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
236
237         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
238         (gst_base_src_perform_seek), (gst_base_src_default_event),
239         (gst_base_src_set_flushing), (gst_base_src_activate_push),
240         (gst_base_src_activate_pull):
241         Unify flushing code, remove some old unlock code that is no longer used.
242         Take the streaming lock when seeking to avoid races. Fixes #492729.
243         Added some more comments.
244
245 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
246
247         * gst/gst.c: (_gst_disable_segtrap):
248           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
249           we can use gst_segtrap_is_enabled() there now that we have that API.
250           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
251           to do the getenv here (and export the variable).
252
253         * gst/gstdebugutils.c: (debug_dump_element),
254           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
255           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
256
257         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
258           (gst_debug_log_default):
259           Rename _gst_info_start_time to priv_gst_info_start_time so it
260           doesn't get exported (was never in any header).
261
262         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
263           (gst_plugin_loading_mutex):
264           Make static mutex gst_plugin_loading_mutex really static (was never
265           in any header), and use gst_segtrap_is_enabled() instead of
266           _gst_disable_segtrap.
267
268         * gst/gsttrace.c: (_gst_trace_default):
269           Make local _gst_trace_default static (was never in any header).
270
271 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
272
273         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
274
275         * win32/common/libgstbase.def:
276         * win32/common/libgstcontroller.def:
277         * win32/common/libgstdataprotocol.def:
278         * win32/common/libgstnet.def:
279         * win32/common/libgstreamer.def:
280           Add more missing symbols, remove some duplicates, and sort
281           as the 'sort' command sorts it (partially fixes #493983).
282
283 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
284
285         * gst/gstelement.c: (gst_element_set_state_func):
286         Only change the state cookie if a different state was set on the
287         element. See #492729.
288
289 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
290
291         * gst/gstvalue.c:
292           Remove unused and uninitialised type variables that were still
293           exported for some reason (they were never in any header files
294           though).
295
296 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
297
298         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
299         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
300         (gst_base_sink_event), (gst_base_sink_get_position_last),
301         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
302         (gst_base_sink_change_state):
303         Don't try to report a 0 position when we don't know, return -1 and FALSE
304         instead. This mostly happens when we are prerolling.
305         Make sure we can report the right position before we post the ASYNC_DONE
306         message so that a message handler can query position without races.
307
308         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
309         (async_done_handoff), (async_done_func), (send_buffer),
310         (async_done_eos_func), (gst_sinks_suite):
311         Add two tests for the above.
312
313 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
314
315         * MAINTAINERS:
316         Update with new email address.
317
318         * docs/design/part-TODO.txt:
319         Add some more info about future pad-block and negotiation changes.
320
321         * docs/design/part-buffering.txt:
322         Add some ideas about buffering reporting.
323
324 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
325
326         * tests/check/gst/gstobject.c:
327         Disable silly racy test that always fails on this combination of CPU
328         and kernel.
329
330 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
331
332         Patch by: Murray Cumming  <murrayc@murrayc.com>
333
334         * gst/gstobject.c:
335           Corrected the registration of the parent-set and parent-unset
336           signals: The parameter is a GstObject, not a GObject (#493134).
337
338 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
339
340         * gst/gst_private.h:
341         * gst/gstbuffer.h:
342         * gst/gstevent.h:
343         * gst/gstformat.h:
344         * gst/gstmessage.h:
345         * gst/gstplugin.h:
346         * gst/gstquery.h:
347         * gst/gsttaglist.h:
348         * gst/gstvalue.h:
349           Move declaration of private _gst_foo_initialize() functions into
350           our private header file where they should have been all along.
351
352 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
353
354         * docs/plugins/gstreamer-plugins-sections.txt:
355         * gst/gstdebugutils.h:
356         * gst/gstxml.h:
357         * plugins/elements/gstqueue.c:
358           gtk-doc fixes; trailing-comma-in-enum fix.
359
360 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
361
362         * gst/gst.c: (gst_deinit):
363           Clean up on deinit (not the external ones though, doesn't seem to be
364           needed for some reason).
365
366 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
367
368         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
369           Remove __declspec(dllimport) for MSVC that was copied over into core
370           from a plugin, obviously without ever having been tested (note the
371           single underscore in _declspec in the initial commit), and that doesn't
372           really make sense.  See #492077.
373
374 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
375
376         * gst/gst.c: (init_post):
377         * gst/gstevent.c: (_gst_event_initialize):
378         * gst/gstquery.c: (_gst_query_initialize):
379         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
380           g_type_class_ref() other types as well, see #349410 and #64764.
381
382         * gst/gstbuffer.c: (_gst_buffer_initialize):
383         * gst/gstmessage.c: (_gst_message_initialize):
384           Simplify existing g_type_class_ref().
385
386 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
387
388         * gst/gstformat.c: (_gst_format_initialize):
389           g_type_class_ref() our GstFormat type to make sure we avoid the
390           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
391           bug #64764. Should fix intermittent tee unit test failures (#474823).
392
393 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
394
395         * tests/check/elements/tee.c: (test_num_buffers):
396           Simplify, simplify, simplify - or not.  Rewrite unit test
397           not to use gst_parse_launch(); allow N sub-streams. Increasing
398           the number of sub-streams seems to reproduce #474823 more easily.
399
400 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
401
402         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
403
404         * gst/gsttrace.c:
405         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
406         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
407         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
408           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
409           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
410           so use _pipe() directly (#492077).
411
412         * win32/common/dirent.c: (_treaddir):
413           Add a couple of casts to make it build without warnings with MSVC.
414
415         * win32/common/libgstreamer.def:
416           Add some more symbols that need to be exported.
417
418 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
419
420         * tests/examples/metadata/read-metadata.c: (message_loop):
421           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
422           arriving in a second or third tag message are added to
423           the tag list as well.
424
425 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
426
427         * libs/gst/base/gstbasesrc.c:
428           Its "Since:" and not "@Since:". And remove an superflous cast.
429
430 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
431
432         * docs/libs/gstreamer-libs-sections.txt:
433         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
434         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
435         (gst_base_sink_get_property), (gst_base_sink_render_object),
436         (gst_base_sink_preroll_object),
437         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
438         (gst_base_sink_change_state):
439         * libs/gst/base/gstbasesink.h:
440         Add a new last-buffer property that contains the last buffer used in
441         basesink for preroll or rendering. useful for making snapshots.
442         API: gst_base_sink_get_last_buffer()
443         API: GstBaseSink::last-buffer
444
445 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
446
447         * docs/gst/running.xml:
448         * gst/gst.c:
449         * gst/gstdebugutils.c:
450         * gst/gstdebugutils.h:
451         * tools/gst-launch.c:
452           Improve bin graph dumping, by using the envvar to specify a path.
453           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
454
455 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
456
457         * plugins/elements/gsttypefindelement.c:
458           (gst_type_find_element_handle_event),
459           (gst_type_find_element_activate):
460           Post special error message if we can't determine the type of a stream
461           because it's empty.
462
463 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
464
465         * docs/gst/running.xml:
466         * gst/gstdebugutils.c:
467           Document new env-var. Add one log-line after dumpng a graph.
468
469 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
470
471         * configure.ac:
472           Ugly hack to put the (recently removed and non-portable, apparently)
473           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
474           GNU ld, because without that 'make check' fails miserably on my debian
475           stable box.  Someone with more knowledge of linker intricacies and
476           portability issues than me fix this properly please.
477
478 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
479
480         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
481         Reset last seen position after flushing so that we don't report the old
482         position anymore.
483
484 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
485
486         * gst/gstelementfactory.c: (gst_element_register):
487         * gst/gsturi.h:
488         Patch from Alessandro Decina adding get_type_full and
489         get_protocols_full private vfuncs to the URIHandler interface
490         to allow bindings to support creating URI handlers. 
491         Partially fixes: #339279
492         API: GstURIHandlerInterface::get_type_full
493         API: GstURIHandlerInterface::get_protocols_full
494
495 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
496
497         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
498         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
499         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
500         Make it so that pads are considered linked until a buffer is pushed
501         and discovered otherwise. This avoids problems with decodebin2 hanging
502         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
503         case.
504
505         Make sure we lock the multiqueue when updating the max-size properties.
506         
507         Fix a crash on Solaris in a debug statement in get_request_pad that
508         passes a NULL string to GST_DEBUG. 
509
510         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
511         (run_output_order_test):
512         Fix the test to allow the first buffer on not-linked pads to come out
513         of sequence while multiqueue discovers that they are not-linked.
514
515 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
516
517         * configure.ac:
518         * libs/gst/check/Makefile.am:
519         Use a custom export symbol regex for libgstcheck, as it needs
520         to export symbols that don't match the standard GStreamer gst_*
521         pattern, and  --export-dynamic is not portable (only works on 
522         GNU ld)
523
524         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
525         (gst_check_setup_sink_pad):
526         Make sure to pass a message parameter to the fail_* macros.
527
528         * tests/check/gst/gstinfo.c: (GST_START_TEST):
529         Fix some compiler warnings.
530
531 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
532
533         * tests/check/gst/gststructure.c: (test_to_string):
534           Disable test that checks that white spaces are not allowed
535           in structure names or field names, since we need to
536           support that for now for backwards compatibility reasons.
537
538 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
539
540         * docs/gst/gstreamer-sections.txt:
541         * gst/gsttaglist.c:
542         * gst/gsttaglist.h:
543           API: add GST_TAG_ARTIST_SORTNAME
544           API: add GST_TAG_ALBUM_SORTNAME
545           API: add GST_TAG_TITLE_SORTNAME
546           Add tag variants for sorting (#414539).
547
548 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
549
550         * gst/gststructure.c:
551           Also allow white space for names so we don't break
552           backwards compatibility.
553
554 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
555
556         * docs/design/part-TODO.txt:
557         * docs/design/part-segments.txt:
558         * docs/design/part-streams.txt:
559         Small updates.
560
561 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
562
563         * docs/gst/gstreamer-sections.txt:
564          Fixed documentation from my previous commit (added new API add
565          gst_value_set_structure(), add gst_value_get_structure() and
566          GST_VALUE_HOLDS_STRUCTURE).
567
568 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
569
570         * gst/gstdebugutils.c:
571           Reflow code to fix uninitialized variable warning.
572
573 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
574
575         * gst/gstcaps.c: (gst_caps_to_string),
576         (gst_caps_from_string_inplace):
577         * gst/gststructure.c: (gst_structure_get_abbrs),
578         (gst_structure_to_string), (gst_structure_from_string):
579         * gst/gstvalue.c: (gst_value_set_structure),
580         (gst_value_get_structure), (gst_value_serialize_structure),
581         (gst_value_deserialize_structure), (_gst_value_initialize):
582         * gst/gstvalue.h:
583         * tests/check/gst/gststructure.c: (GST_START_TEST),
584         (gst_structure_suite):
585         * tests/check/gst/gstvalue.c: (GST_START_TEST):
586          Added GstStructure to gst_value_table and its related functions.
587          Changed gst_structure_to_string to print ';' in the end.
588          Changed gst_caps_to_string to not print ';' beteween its
589          fields (structures) anymore and remove the lastes ';' from latest
590          structure. Now it is possible to have nested structures.
591          In addition, backward compatibilty is assured by accepting '\0' as
592          end delimiter. Fixes: #487969.
593          API: add gst_value_set_structure()
594          API: add gst_value_get_structure()
595          API: add GST_VALUE_HOLDS_STRUCTURE
596
597 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
598
599         * gst/gstbus.c:
600           When no GSource callback has been set up, tell developer
601           to use a function that actually exists.
602
603 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
604
605         * docs/gst/gstreamer-sections.txt:
606         * gst/Makefile.am:
607         * gst/gst.c:
608         * gst/gst.h:
609         * gst/gstdebugutils.c:
610         * gst/gstdebugutils.h:
611         * gst/gstinfo.c:
612         * gst/gstinfo.h:
613         * tools/gst-launch.c:
614           Allow dumping pipelines as dot graphs. Fixes #456573.
615
616 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
617
618         * gst/gststructure.c:
619           Allow '+' as well, it can be part of media or mime types
620           such as image/svg+xml.
621
622 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
623
624         * docs/gst/gstreamer-sections.txt:
625         * gst/gstbus.c:
626         * gst/gstbus.h:
627           API: add gst_bus_pop_filtered
628           API: add gst_bus_timed_pop_filtered
629           Two new functions for waiting for specific message types on the
630           bus for a specified amount of time without iterating any main
631           loops or main contexts.
632
633         * tests/check/gst/gstbus.c:
634           Some tests for the new functions.
635
636 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
637
638         * docs/libs/gstreamer-libs-sections.txt:
639           Make gtk-doc ignore stuff it should ignore.
640
641 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
642
643         * libs/gst/check/gstcheck.c:
644         * libs/gst/check/gstcheck.h:
645           Allow runtime selection of unit tests to run via the GST_CHECKS
646           environment variable (test case function names, comma-separated).
647
648 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
649
650         * gst/gststructure.c:
651         * tests/check/gst/gststructure.c:
652           Revert serialisation change and constrain structure-names after
653           consensus on irc. Update api documentation to reflect the change.
654
655 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
656
657         * gst/gststructure.c:
658           Improve serialization and fix tests.
659
660         * tests/check/gst/gststructure.c:
661           Add another test that covers why I actually did the previous structure
662           change.
663
664 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
665
666         * tools/gst-inspect.c: (print_element_info):
667         Don't crash when inspecting an element.
668
669 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
670
671         * tests/check/gst/gststructure.c:
672           Add unit test for escaping of structure name when serialising
673           and deserialising to/from strings.
674
675 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
676
677         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
678         (gst_single_queue_new):
679         * plugins/elements/gstqueue.c: (gst_queue_init),
680         (gst_queue_push_one):
681         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
682         upstream is tricked into thinking it can suggest a format downstream
683         while downstream does not support that format. The real problem is that
684         core calls acceptcaps when pushing a buffer with new caps, for which we
685         do a little workaround by setting the caps on the srcpad ourselves
686         before pushing the buffer (until this is figured out). Fixes #486758.
687
688 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
689
690         * gst/gststructure.c:
691         * gst/gstvalue.c:
692           Add some more comments and debug output. Quote structure name to fix
693           deserialisation of some strings.
694
695 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
696
697         * gst/gstbuffer.h:
698           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
699           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
700
701 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
702
703         * tools/gst-inspect.c:
704           Save approx. 400 1 byte allocs when printing. Use API to acces element
705           details.
706
707         * tools/gst-run.c:
708           Avoid a strdup.
709
710         * tools/gst-xmlinspect.c:
711           Use API to acces element details.
712
713 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
714
715         * gst/gstinfo.c:
716           Fix some spelling errors.
717
718 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
719
720         * gst/gstbin.c: (bin_handle_async_done):
721         Correctly set the next state if all of our async children commited their
722         state. This makes sure we can actually cancel the state change in
723         progress. Fixes a regression in Rhythmbox when seeking.
724
725 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
726
727         * gst/gstbin.c:
728           Don't shadow local variable.
729
730         * gst/gstinfo.c:
731           Don't shadow global function name.
732
733 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
734
735         * gst/gstelementfactory.c:
736         * gst/gstpluginfeature.c:
737         * gst/gstpluginfeature.h:
738         * gst/gstregistrybinary.c:
739         * gst/gstregistryxml.c:
740         * gst/gsttypefind.c:
741           Use already-interned string for the private GstPluginFeature
742           plugin_name field.
743
744 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
745
746         * docs/libs/gstreamer-libs-sections.txt:
747           Add new API to docs; fixes the build.
748
749 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
750         
751         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
752
753         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
754         (gst_base_sink_event):
755         * libs/gst/base/gstbasesink.h:
756         Add function to wait for EOS, subclasses can use this to correctly wait
757         for devices to drain before performing the EOS logic. Fixes #485343.
758         API: gst_base_sink_wait_eos()
759
760 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
761
762         * gst/gstplugin.h:
763           Cast description string constants in GST_PLUGIN_DEFINE macros
764           to a (gchar*) to make C++ code using these macros compile
765           without warning with g++-4.2 (see #462737).  Even if slightly
766           ugly, this seems preferable to putting the description strings
767           into the GLib quark table or making the structure member a
768           const gchar * and doing casts in core code that allocs and
769           frees these strings, or requiring a cast in the C++ code.
770
771 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
772
773         * gst/gstinfo.h:
774           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
775           to print the entire class/function signature into the log
776           file for C++ code.  This only affects C++ code, for C code
777           everything remains the same.
778
779 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
780
781         * gst/gstbin.c: (remove_from_queue):
782         Work around a problem with pipelines containing (semi)loops until a
783         proper, more complicated solution is ready. See #475455.
784
785 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
786
787         * gst/gstplugin.c:
788         * gst/gstplugin.h:
789         * gst/gstregistrybinary.c:
790         * gst/gstregistryxml.c:
791           Put more strings into the GLib quark table. No need to keep
792           a hundred-something copies of identical version strings,
793           license strings, package name strings and package origin
794           strings around. 
795
796 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
797
798         * docs/manual/advanced-dataaccess.xml:
799           Don't imply that it's okay to unconditionally change
800           buffer data or buffer metadata in a pad probe callback,
801           and a bunch of other comments. Fixes #430031.
802
803 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
804
805         * win32/common/gstenumtypes.c:
806         * win32/common/gstenumtypes.h:
807         * win32/common/gstversion.h:
808           Update generated files.
809
810 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
811
812         * docs/manual/advanced-autoplugging.xml:
813           Prefix section with broken code with a warning (see #342432).
814
815 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
816
817         * docs/manual/appendix-integration.xml:
818         * docs/manual/basics-init.xml:
819           Call g_thread_init() before g_option_context_new() to
820           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
821
822 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
823
824         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
825         (gst_base_sink_queue_object_unlocked),
826         (gst_base_sink_queue_object), (gst_base_sink_event),
827         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
828         When we received EOS and are waiting for when to post the EOS message,
829         our state is prerolled and we should not return ASYNC.
830         Reorganize some code paths to implement this behavior.
831
832         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
833         (gst_sinks_suite):
834         Add unit test to verify above EOS fix.
835
836 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
837
838         * plugins/elements/gsttypefindelement.c:
839         (gst_type_find_element_have_type), (gst_type_find_element_init),
840         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
841         Move detecting the input caps of the sinkpad to the setcaps function.
842         This allows us to update the output caps when we receive new input caps
843         instead of always using the first detected caps.
844
845 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
846
847         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
848         (gst_base_sink_get_position):
849         Don't try to preroll non-async elements after a flush.
850         Subtract latency form clock times when reporting position.
851
852 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
853
854         * gst/gstpad.c: (gst_pad_pause_task):
855         * gst/gstutils.c:
856         Small comment and documentation update.
857
858 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
859
860         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
861         (gst_base_src_set_live), (gst_base_src_is_live),
862         (gst_base_src_query_latency), (gst_base_src_perform_seek),
863         (gst_base_src_default_event), (gst_base_src_wait),
864         (gst_base_src_do_sync), (gst_base_src_get_range),
865         (gst_base_src_pad_get_range), (gst_base_src_loop),
866         (gst_base_src_unlock), (gst_base_src_unlock_stop),
867         (gst_base_src_set_flushing), (gst_base_src_set_playing),
868         (gst_base_src_activate_push), (gst_base_src_activate_pull),
869         (gst_base_src_change_state):
870         Rework the locking of basesrc in a similar fashion to basesink. We
871         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
872         us to handle live sources and semi live ones much better.
873         Simplify flushing.
874         Fix unlocking when seeking, shutting down and pausing in live sources.
875
876 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
877
878         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
879         Fix compilation again.
880
881 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
882
883         * gst/gstelement.c:
884           Use meaningful categories for the logs to clean the default one.
885
886 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
887
888         * tests/check/pipelines/cleanup.c:
889           Print message name and not just number.
890
891 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
892
893         * docs/design/draft-tagreading.txt:
894           Add some more thoughts.
895
896 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
897
898         * tests/check/pipelines/simple-launch-lines.c:
899           Print message name and not just number.
900
901 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
902
903         * libs/gst/base/gsttypefindhelper.c:
904           Speedup typefinding. This is work in progress (see #459862).
905
906 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
907
908         * gst/gstplugin.c:
909           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
910           Spotted by Josep Torra Valles <josep@fluendo.com>.
911
912 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
913
914         * gst/gstclock.h:
915           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
916           field has moved to GstObject.
917
918 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
919
920         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
921         (gst_base_src_get_range), (gst_base_src_change_state):
922         Call unlock for live sources so that they can't get stuck in _create and
923         produce a buffer before they are set back to PLAYING.
924
925 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
926
927         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
928         (gst_queue_locked_dequeue):
929         Comment the segment-related code... in the PROPER function.
930         See #482147 and my commit from yesterday.
931
932 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
933
934         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
935         Also initialize the counter that calculates the first timestamp on a
936         buffer correctly for non-live sources.
937
938 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
939
940         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
941         Disable code that's breaking the current-time-level reporting.
942         See #482147
943
944 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
945
946         * docs/gst/gstreamer-sections.txt:
947         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
948         as they shouldn't show up. Fixes the docs build.
949
950 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
951         
952         * gst/gstinfo.h:
953         Add an explicit variable importation needed on VS6 (only for MSC_VER)
954         Define M_PI which is used in files which are including gstinfo.h. 
955         VS6 includes doesn't define it.
956         * win32/common/libgstbase.def:
957         * win32/common/libgstcontroller.def:
958         * win32/common/libgstreamer.def:
959         Add new exported functions and variables.
960         * win32/vs6/libgstcontroller.dsp:
961         * win32/vs6/libgstreamer.dsp:
962         Update the list of files to build.
963         
964 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
965
966         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
967
968         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
969         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
970         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
971         Improve debugging. Fixes #480858.
972
973 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
974
975         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
976
977         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
978         First patch of code cleanups, use the macros and right arguments in the
979         macros to signal and lock the queue. See #480858.
980
981 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
982
983         * gst/gstbus.c: (poll_func):
984         Improve debugging when dealing with _poll().
985
986 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
987
988         * gst/gstregistryxml.c:
989           Fix memory leak I introduced a few days ago.
990
991 2007-09-26  Michael Smith <msmith@fluendo.com>
992
993         * gst/gstbuffer.c: (gst_buffer_finalize):
994           Make it once again possible to free GstBuffers in the default
995           build.
996           The poisoning scribbles on parts of the miniobject we need in
997           order to free it.
998           Fixes #480341
999
1000 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1001
1002         * docs/gst/gstreamer-sections.txt:
1003         * gst/gsttaglist.c:
1004         * gst/gsttaglist.h:
1005         API: add GST_TAG_COMPOSER, fixes #459809.
1006
1007 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1008
1009         * gst/gstplugin.c:
1010         * gst/gstplugin.h:
1011         Add the 3-clause BSD license and the MIT/X11 license to the license
1012         list. Fixes #479784.
1013
1014 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1015
1016         * docs/faq/getting.xml:
1017           Add Q+A about different GStreamer versions (#364056).
1018
1019 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1020
1021         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1022         (gst_base_sink_event), (gst_base_sink_change_state):
1023         Return correct gboolean from query function.
1024
1025 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1026
1027         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1028         (gst_base_sink_event), (gst_base_sink_query),
1029         (gst_base_sink_change_state):
1030         Simplify latency query.
1031         When not synchronizing, we can report latency without querying the peer
1032         element.
1033
1034 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1035
1036         * gst/gstobject.h:
1037         * gst/gstvalue.c:
1038         Fix small typos in the docs.
1039
1040 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1041
1042         * docs/design/draft-latency.txt:
1043         * docs/design/draft-push-pull.txt:
1044         * docs/design/draft-tagreading.txt:
1045         * docs/design/part-MT-refcounting.txt:
1046         * docs/design/part-activation.txt:
1047         * docs/design/part-block.txt:
1048         * docs/design/part-element-source.txt:
1049         * docs/design/part-events.txt:
1050         * docs/design/part-gstbin.txt:
1051         * docs/design/part-gstelement.txt:
1052         * docs/design/part-gstobject.txt:
1053         * docs/design/part-gstpipeline.txt:
1054         * docs/design/part-messages.txt:
1055         * docs/design/part-preroll.txt:
1056         * docs/design/part-push-pull.txt:
1057         * docs/design/part-qos.txt:
1058         * docs/design/part-query.txt:
1059         * docs/design/part-scheduling.txt:
1060         * docs/design/part-seeking.txt:
1061         * docs/design/part-segments.txt:
1062         * docs/design/part-states.txt:
1063         Documentation updates and typo fixes.
1064
1065 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1066
1067         * plugins/elements/gstfakesink.c:
1068           Add some debug text to error message to indicate that
1069           we errored out on request.
1070
1071         * tools/gst-launch.c:
1072           When the state change to PLAYING fails, check for an
1073           error message on the bus and print it.
1074
1075 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1076
1077         translated by: Jorge González González <aloriel@gmail.com>
1078
1079         * po/LINGUAS:
1080         * po/es.po:
1081           Added Spanish translation.
1082
1083 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1084
1085         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1086         Fix printf arguments.
1087
1088 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1089
1090         * tests/check/generic/states.c:
1091           Improved state change unit test.
1092
1093 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1094
1095         * gst/gstbin.h:
1096           Move priv to the right place.
1097
1098         * gst/gstsystemclock.c:
1099           Add FIXME: and improve log.
1100
1101         * tests/check/Makefile.am:
1102         * tests/examples/manual/Makefile.am:
1103           Work with all types of registries.
1104
1105 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1106
1107         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1108         Don't unref the event after pushing it. Fixes #478401.
1109
1110 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1111
1112         * .cvsignore:
1113         * tests/examples/manual/.cvsignore:
1114           Ignore registries in any format.
1115
1116 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1117
1118         * gst/glib-compat-private.h:
1119           Add compatibility macro for g_intern_string() for
1120           GLib-2.8 (any reason we can't just bump the
1121           requirement to at least 2.10?)
1122
1123         * gst/gstpadtemplate.h:
1124         * gst/gstelementfactory.c:
1125         * gst/gstregistryxml.c:
1126         * gst/gstregistrybinary.c:
1127           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1128           up the internal code accordingly.  This shouldn't be a problem, since
1129           there is no reason external code could ever assume the string in such
1130           a structure is dynamically allocated unless it did that itself;  the
1131           use of g_strdup() is private to element factories.  The new code also
1132           saves some memory by putting pad template name strings into the GLib
1133           quark table instead of allocating them dynamically.
1134           Declaring this field constant fixes warnings with g++-4.2 when using
1135           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1136
1137 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1138
1139         * gst/gstelementfactory.c:
1140           Release static caps. Fixes #475723.
1141
1142 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1143
1144         * gst/gstinfo.c:
1145         * gst/gstinfo.h:
1146           Make some internal API take const gchar * instead of just
1147           gchar * to avoid compiler warnings with g++-4.2.2 when
1148           passing string constants (partially fixes #478092).
1149
1150 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1151
1152         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1153         A latency query fails when one of the sinks fail.
1154
1155         * gst/gstelement.c: (gst_element_set_base_time):
1156         Improve debugging.
1157
1158 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1159
1160         * gst/gstbin.c: (gst_bin_continue_func):
1161         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1162         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1163         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1164
1165         Fix minor compilation warnings shown with Forte.
1166
1167 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1168
1169         * plugins/elements/gstqueue.c: (apply_buffer),
1170         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1171         Measure queue level based on the diff between head and tail timestamps
1172         even when pushing the first buffer.
1173
1174 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1175
1176         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1177         (gst_base_sink_event), (gst_base_sink_change_state):
1178         Sinks that don't preroll can always be queried for the latency.
1179         Don't post ASYNC start when we are not async.
1180
1181 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1182
1183         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1184         (gst_queue_handle_sink_event), (gst_queue_chain),
1185         (gst_queue_push_one), (gst_queue_handle_src_query),
1186         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1187         * plugins/elements/gstqueue.h:
1188         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1189         push more buffers but allow pushing of EOS and NEWSEGMENT.
1190         Add some more debug info here and there. Fixes #476514.
1191
1192 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1193
1194         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1195         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1196         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1197         (gst_base_sink_set_flushing), (gst_base_sink_query),
1198         (gst_base_sink_change_state):
1199         Latency query is allowed after we are prerolled. Introduce a new flag
1200         for this and stop abusing other variables.
1201
1202 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1203
1204         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1205         Push OOB events downstream when we get them in send_event. This allows
1206         the application to insert events in the pipeline.
1207         Add some more comments.
1208
1209 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1210
1211         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1212         (do_bin_latency), (gst_bin_change_state_func):
1213         * gst/gstpipeline.c: (gst_pipeline_change_state):
1214         Move latency query from GstPipeline to GstBin so that we can also
1215         use it when async-handling is enabled on bins.
1216
1217 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1218
1219         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1220         (gst_base_src_do_sync), (gst_base_src_change_state):
1221         Update docs.
1222         Clean up the timestamping and syncing code for pseudo live sources.
1223
1224 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1225
1226         Patch by: Steve Fink  <sphink gmail com>
1227
1228         * docs/manual/appendix-checklist.xml:
1229           Mention less -R switch in the section about debug output (#474055).
1230
1231 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1232
1233         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1234         Queue can latency to the pipeline up to the configured max size in time.
1235         Report this fact in the latency query.
1236
1237 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1238
1239         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1240
1241         * libs/gst/controller/gstinterpolation.c:
1242         * libs/gst/controller/gstlfocontrolsource.c:
1243         Use gst_guint64_to_gdouble() when converting from a uint64 or
1244         GstClockTime to double to fix the build on win32. Fixes #474371.
1245
1246 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1247
1248         * gst/gstbuffer.c: (gst_buffer_finalize):
1249         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1250         When finalizing a buffer the complete struct is filled with 0xff,
1251         thus making a use of the buffer after the final unref impossible.
1252
1253 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1254
1255         * tests/check/libs/controller.c: (GST_START_TEST):
1256         Use fail_unless_equals_int(a, b) instead of
1257         fail_unless_equals (a == b) to get better output on failures.
1258
1259 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1260
1261         * tests/check/gst/gsturi.c:
1262           Also check for the other file URI variant on win32.
1263
1264 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1265
1266         * gst/gsturi.c: (gst_uri_get_location):
1267           If there's no hostname, we want to return 'c:/foo/bar.txt'
1268           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1269
1270         * tests/check/gst/gsturi.c:
1271           Unit test for the above and a few more things.
1272
1273 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1274
1275         * docs/design/part-live-source.txt:
1276         Add docs on how live sources should timestamp.
1277
1278         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1279         Add some more debug info.
1280         For subclasses that are live and like to sync, add aditional startup
1281         latency to sync time and timestamps so that we timstamp according to the
1282         design doc.
1283
1284 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1285
1286         * gst/gstbuffer.c:
1287           Also do a g_type_class_ref() for the subbuffer type in
1288           the init function.
1289
1290 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1291
1292         * docs/gst/gstreamer-sections.txt:
1293         * gst/gstpad.c: (gst_pad_peer_query):
1294         * gst/gstpad.h:
1295         Add function to perform a query on the peer of a pad.
1296         API: gst_pad_peer_query()
1297
1298 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1299
1300         * tests/check/gst/gstsystemclock.c:
1301           Cleanup the test a little (use gst-logging and not g_message). Improve
1302           test to check if a wait reached the target.
1303
1304 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1305
1306         * docs/libs/gstreamer-libs-sections.txt:
1307           Add new API to docs and fix the build.
1308
1309 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1310
1311         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1312         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1313         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1314         (gst_base_src_get_property), (gst_base_src_do_sync):
1315         * libs/gst/base/gstbasesrc.h:
1316         Add property to make the basesrc timestamp buffers based on the current
1317         running time.
1318         API: GstBaseSrc::do-timestamp
1319         API: gst_base_src_set_do_timestamp()
1320         API: gst_base_src_get_do_timestamp()
1321
1322 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1323
1324         * docs/random/release:
1325           Really make sure translations are up-to-date before
1326           a release (#465010).
1327
1328 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1329
1330         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1331         Always destroy the timer, also in error cases.
1332
1333 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1334
1335         * docs/manual/highlevel-xml.xml:
1336         Fix XML example code. Fixes #472714.
1337
1338 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1339
1340         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1341         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1342         (gst_base_sink_query):
1343         Protect eos and have_preroll with the OBJECT lock so we don't need to
1344         take the PREROLL lock when querying the latency. Fixes #473846.
1345
1346 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1347
1348         * gst/gstelement.c:
1349           Give some log-messages a category.
1350
1351 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1352
1353         * gst/gststructure.c:
1354         (gst_structure_fixate_field_nearest_fraction):
1355         Fix fraction list fixation code. Take the fraction with the smallest
1356         difference with the target instead of the first one in the list.
1357
1358         * tests/check/gst/gststructure.c: (GST_START_TEST),
1359         (gst_structure_suite):
1360         Added test to verify correct fraction list fixation behaviour.
1361
1362 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1363
1364         * win32/common/libgstreamer.def:
1365           Export gst_bus_add_signal_watch too.
1366
1367 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1368
1369         * docs/libs/gstreamer-libs-sections.txt:
1370         Add new methods to docs.
1371
1372         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1373         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1374         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1375         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1376         * libs/gst/base/gstbasesink.h:
1377         Add ts-offset property to fine-tune the synchronisation.
1378         API: GstBaseSink::ts-offset property
1379         API: gst_base_sink_set_ts_offset()
1380         API: gst_base_sink_get_ts_offset()
1381
1382 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1383
1384         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1385         (gst_base_sink_init), (gst_base_sink_set_sync),
1386         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1387         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1388         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1389         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1390         (gst_base_sink_get_property), (gst_base_sink_change_state):
1391         * libs/gst/base/gstbasesink.h:
1392         Add async property to instruct the sink never to inform the parent about
1393         ASYNC state changes, update docs.
1394         Check argument with g_return_* for the public functions.
1395         API: GstBaseSink::async property
1396         API: gst_base_sink_set_async_enabled()
1397         API: gst_base_sink_is_async_enabled()
1398
1399 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1400
1401         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1402         Improve debugging.
1403
1404         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1405         (gst_base_src_default_query), (gst_base_src_wait),
1406         (gst_base_src_do_sync), (gst_base_src_change_state):
1407         Rearrange some code so that we can add support for measuring the 
1408         startup latency.
1409
1410 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1411
1412         * docs/random/ensonic/dynlink.txt:
1413           More thoughs on this.
1414
1415         * plugins/elements/gstcapsfilter.c:
1416           Add bugzilla ticket number to FIXME comment.
1417
1418 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1419
1420         * docs/design/part-TODO.txt:
1421         * docs/design/part-block.txt:
1422         Update some docs.
1423
1424 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1425
1426         * gst/Makefile.am:
1427           Revert patch which uses $(gst_headers) instead of $^ because it
1428           breaks make dist.
1429
1430 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1431
1432         * tests/check/gst/gstbin.c: (GST_START_TEST):
1433           Fix leaks in the new unit test.
1434
1435 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1436
1437         * gst/gst.c:
1438           Don't use GST_INFO before the debug system is actually initialised
1439           (shouldn't do any harm, but won't print anything either, so we can
1440           just as well remove it).
1441
1442         * gst/gstinfo.h:
1443           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1444           compilers that don't support variadic macros (such as MSVC), should
1445           check for debug_level <= __gst_debug_min as well, since that's the
1446           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1447           inline helper functions. Should improve performance a bit, but also
1448           makes sure uses of GST_INFO et.al are ignored if the debugging
1449           system isn't initialised yet (instead of printing an assertion
1450           failure).
1451
1452 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1453
1454         patch by: David Nečas <yeti@physics.muni.cz>
1455
1456         * gst/Makefile.am:
1457           Replace some non portable makefile constructs.
1458
1459 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1460
1461         * common/gtk-doc-plugins.mak:
1462           Grrrrr. Don't remove the types file on make clean.
1463
1464 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1465
1466         * tools/gst-launch.1.in:
1467         Add colorspace to example pipeline. Fixes #458274.
1468
1469 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1470
1471         * docs/random/release:
1472           The release manager should run 'make download-po' before making a
1473           release to make sure translations are up-to-date.
1474
1475         * po/LINGUAS:
1476         * po/be.po:
1477         * po/pl.po:
1478         * po/rw.po:
1479           Add some new translations.
1480
1481 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1482
1483         * tools/gst-launch.c: (event_loop), (main):
1484         Don´t try to do any state management when a live pipeline posts
1485         buffering messages.
1486         Also make the buffering string translatable.
1487
1488 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1489
1490         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1491         (bin_handle_async_start), (gst_bin_handle_message_func):
1492         Improve debugging.
1493         When adding elements, insert messages into the bus of the newly added
1494         element and make sure the element is the source of the message. This
1495         allows the parent bin to intercept the message and do the
1496         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1497         messages to the app (which is not allowed).
1498         Update some docs.
1499
1500         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1501         Fix testsuite so that is does not work around messages that should not
1502         have been posted in the first place.
1503
1504 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1505
1506         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1507         (update_degree), (gst_bin_sort_iterator_next):
1508         Fix annoying bug in the sorted iterator where a sink that is not really
1509         a sink (when it has downstream links) screwed up the iterator.
1510
1511         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1512         Unit test to verify the fix.
1513
1514 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1515
1516         * gst/gstmessage.h:
1517         Add some more docs for the messages.
1518
1519         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1520         (gst_base_sink_query):
1521         Add some more debugging.
1522
1523         * tools/gst-launch.c: (event_loop):
1524         When interrupting, don't try to set pipeline to PAUSED twice.
1525
1526 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1527
1528         
1529         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1530         (bin_handle_async_start), (gst_bin_handle_message_func):
1531         Move ASYNC_START message posting to where it belongs, similar to
1532         async_done. 
1533         Don't post ASYNC_START when we are in error. 
1534         Post ASYNC_START when we added an async element to a bin.
1535
1536 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1537
1538         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1539         generation from vargs. Fixes #466595.
1540
1541 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1542
1543         * gst/gstbin.c: (gst_bin_element_set_state):
1544         Always change the state of a NO_PREROLL element even if it has ASYNC
1545         elements inside (in case of a bin).
1546
1547         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1548         Unit test for this case.
1549
1550 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1551
1552         * libs/gst/check/gstbufferstraw.c:
1553         * libs/gst/check/gstcheck.h:
1554         * libs/gst/controller/gstcontroller.c:
1555         * libs/gst/controller/gstcontrolsource.h:
1556         * libs/gst/controller/gstlfocontrolsource.h:
1557         * plugins/elements/gstcapsfilter.h:
1558         * plugins/elements/gstfdsink.h:
1559         * plugins/elements/gstfdsrc.h:
1560           Add more missing docs.
1561
1562 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1563
1564         * gst/gststructure.c:
1565         Add Since tag to docs.
1566
1567 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1568
1569         * docs/gst/gstreamer-sections.txt:
1570         * gst/gststructure.c: (gst_structure_get_uint):
1571         * gst/gststructure.h:
1572         Add function to get uint from a structure.
1573         API: gst_structure_get_uint()
1574
1575 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1576
1577         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1578         (gst_caps_intersect):
1579         Fix proper check for simple caps.
1580
1581 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1582
1583         * docs/gst/Makefile.am:
1584         * docs/libs/Makefile.am:
1585           Remove cruft and do some cleanups.
1586
1587         * docs/gst/gstreamer-docs.sgml:
1588         * docs/libs/gstreamer-libs-docs.sgml:
1589           Prepare for comming gtkdoc features (rebase against online docs).
1590
1591 2007-08-10  Michael Smith <msmith@fluendo.com>
1592
1593         * docs/gst/gstreamer-sections.txt:
1594           Add gst_registry_add_path to docs.
1595
1596 2007-08-10  Michael Smith <msmith@fluendo.com>
1597
1598         * gst/gstregistry.h:
1599           Add gst_registry_add_path, which was missing from this header.
1600
1601 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1602
1603         * libs/gst/controller/gstlfocontrolsource.c:
1604           Printf format fix.
1605
1606 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1607
1608         * libs/gst/base/gstbasesink.c:
1609           Don't send an async_start message during downwards state change if 
1610           target state is less than READY
1611
1612 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1613
1614         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1615
1616         * po/LINGUAS:
1617         * po/hu.po:
1618           Added Hungarian translation.
1619
1620 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1621
1622         * po/fi.po:
1623         * po/it.po:
1624         * po/nl.po:
1625         * po/sv.po:
1626         * po/uk.po:
1627           Updated translations.
1628
1629 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1630
1631         * libs/gst/controller/Makefile.am:
1632         Dist gstlfocontrolsourceprivate.h
1633
1634 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1635
1636         * docs/libs/gstreamer-libs.types:
1637         Don't register the enum type gst_lfo_waveform_get_type() in the
1638         .types file - only GObject derived types belong.
1639
1640 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1641
1642         Patch by: <arenevier at fdn dot fr>
1643
1644         * gst/gstbuffer.h:
1645         Remove comma from last element in enum to avoid compile errors when
1646         using -pendantic. Fixes #464366.
1647
1648 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1649
1650         * docs/design/part-TODO.txt:
1651         Add some more TODO items
1652
1653         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1654         Improve debugging.
1655
1656         * gst/gstcaps.c: (gst_caps_intersect):
1657         Optimize trivial intersection case between identical caps pointers.
1658
1659         * gst/gstelement.c: (gst_element_continue_state),
1660         (gst_element_set_state_func):
1661         * gst/gstpad.c:
1662         Fix spelling and grammar mistakes.
1663
1664 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1665
1666         * po/POTFILES.in:
1667         * po/POTFILES.skip:
1668           Update POTFILES. Fixes #461599.
1669
1670 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1671
1672         * gst/gst.c:
1673         Fix confusing typo in debug output.
1674
1675 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1676
1677         reviewed by: Stefan Kost <ensonic@users.sf.net>
1678
1679         * libs/gst/controller/Makefile.am:
1680         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1681         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1682         (gst_lfo_control_source_new),
1683         (gst_lfo_control_source_set_waveform),
1684         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1685         (gst_lfo_control_source_finalize),
1686         (gst_lfo_control_source_dispose),
1687         (gst_lfo_control_source_set_property),
1688         (gst_lfo_control_source_get_property),
1689         (gst_lfo_control_source_class_init):
1690         * libs/gst/controller/gstlfocontrolsource.h:
1691         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1692         API: Add GstLFOControlSource, a control source that gives values
1693         for specific timestamps based on several periodic waveforms.
1694         Fixes #459717.
1695
1696         * tests/check/libs/controller.c: (GST_START_TEST),
1697         (gst_controller_suite):
1698         * docs/libs/gstreamer-libs-docs.sgml:
1699         * docs/libs/gstreamer-libs-sections.txt:
1700         * docs/libs/gstreamer-libs.types:
1701         Add documentation and unit tests for GstLFOControlSource.
1702
1703 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1704
1705         * configure.ac:
1706         Back to CVS
1707
1708 === release 0.10.14 ===
1709
1710 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1711
1712         * configure.ac:
1713           releasing 0.10.14, "Breathing Vacuum"
1714
1715 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1716
1717         * gst/gstelement.c: (gst_element_class_set_details_simple):
1718         * gst/gstelement.h:
1719           Make strings passed to gst_element_class_set_details_simple()
1720           constant, as they should be (#462752).
1721
1722 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1723
1724         * gst/gstbin.c: (gst_bin_change_state_func),
1725         (bin_handle_async_done), (gst_bin_handle_message_func):
1726         Don't forget about the fact that some element went ASYNC even after a
1727         resync. This makes us post the ASYNC_DONE message correctly.
1728         Fixes #462558.
1729
1730 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1731
1732         * gst/gstregistry.c: (gst_registry_add_feature):
1733         When replacing an existing feature in the registry, make sure to
1734         continue holding a reference until we've replaced the name string
1735         within our feature hash table. Make sure to use g_hash_table_replace
1736         instead of g_hash_table_insert to ensure the new name string is used
1737         as a key instead of the old one that we're about to free.
1738         Fixes: #462085
1739
1740 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1741
1742         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1743         (gst_plugin_feature_set_name):
1744         Revert patch from #459466 until after the release and we can work
1745         out exactly what the problem is (if any).
1746
1747 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1748
1749         * docs/gst/gstreamer-sections.txt:
1750         * gst/gsttaglist.c:
1751         * gst/gsttaglist.h:
1752           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1753
1754 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1755
1756         * docs/libs/Makefile.am:
1757         Include our build-prefix libs and includes before the generic ones to
1758         avoid linking against the installed libs when we want the build-tree
1759         ones.
1760
1761 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1762
1763         Patch by: Steve Fink  <sphink gmail com>
1764
1765         * docs/pwg/building-testapp.xml:
1766           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1767           if people try to build or install the example from the plugin
1768           template against a GStreamer from package using the configure
1769           defaults.
1770
1771 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1772
1773         Patch by: Steve Fink  <sphink gmail com>
1774
1775         * tools/gst-inspect.1.in:
1776           Document --print-all and --print-plugin-auto-install-info command
1777           line options in man page.
1778
1779 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1780
1781         * docs/gst/gstreamer-sections.txt:
1782         Add docs for new api function.
1783
1784 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1785
1786         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1787         * gst/gstelementfactory.h:
1788         API: gst_element_factory_has_interface()
1789         Added method to check if an element factory implements a named
1790         interface.
1791
1792 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1793
1794         * configure.ac:
1795         * docs/gst/gstreamer.types.in:
1796           Another conditional doc check.
1797
1798         * gst/gstmessage.c:
1799         * gst/gstparamspecs.h:
1800         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1801         * gst/gstvalue.c:
1802         * gst/gstxml.h:
1803           API-doc fixes.
1804
1805 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1806
1807         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1808         (gst_registry_binary_load_feature),
1809         (gst_registry_binary_load_plugin),
1810         (gst_registry_binary_read_cache):
1811           Print error just once and with additional info.
1812
1813 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1814
1815         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1816         (helper_find_suggest), (helper_find_get_length),
1817         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1818         (gst_type_find_helper_for_buffer):
1819           Cleanup the typefindhelper code and add private doc comments.
1820
1821 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1822
1823         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1824         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1825         Fix capsfilter for cases where the caps set on capsfilter will provide
1826         additional information.
1827         Fixes #449197
1828
1829 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1830
1831         * gst/gsttypefindfactory.c:
1832           Fix docs that recommened wrong function to use.
1833
1834 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1835
1836         * tools/gst-inspect.c: (print_plugin_features):
1837           Also give media-type for typefinders in element output.
1838
1839 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1840
1841         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1842         (gst_registry_remove_features_for_plugin_unlocked),
1843         (gst_registry_add_feature), (gst_registry_remove_feature),
1844         (gst_registry_lookup_feature_locked):
1845         * gst/gstregistry.h:
1846           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1847           Fixes #459501.
1848
1849 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1850
1851         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1852         (gst_plugin_feature_set_name):
1853           Avoid double memory usage for pluginfeature names. Fixes #459466.
1854
1855 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1856
1857         * gst/gstpad.h:
1858           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1859           driving the pipeline may need to explicitly check for NOT_LINKED as
1860           well, since IS_FATAL doesn't cover that.
1861
1862 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1863
1864         * docs/pwg/advanced-types.xml:
1865           Fix typo and duplicate entry in video formats list.
1866
1867 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1868
1869         * libs/gst/controller/gstinterpolation.c:
1870         Also round to the nearest int when using cubic interpolation.
1871
1872 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1873
1874         * libs/gst/controller/gstinterpolation.c:
1875         When linearly interpolating integer types, round to the nearest int
1876         by adding 0.5. Don't do it for float/double types.
1877         Fixes the failing controller test on my machine, which is somehow
1878         rounding differently than on the buildbots.
1879
1880 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1881
1882         * tools/gst-plot-timeline.py:
1883           Better log parsing (categories can have -). Adjust text vs. lines, so
1884           that they span the same y-range.        
1885
1886 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1887
1888         * docs/random/ensonic/audiobaseclasses.txt:
1889         * docs/random/ensonic/dynlink.txt:
1890         * docs/random/ensonic/profiling.txt:
1891           Save my thoughts.
1892
1893         * docs/random/moving-plugins:
1894           Add note to use g_assert type macros.
1895
1896 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1897
1898         * configure.ac:
1899         * libs/gst/check/Makefile.am:
1900           Add libm check as we use in for plugins.
1901
1902 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
1903
1904         * gst/gstbin.c: (gst_bin_continue_func):
1905         Check that the state_cookie hasn't changed since the continue_func
1906         was scheduled. Avoids problems where the state changes back to
1907         something it shouldn't be because it was changed in the meantime.
1908
1909 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
1910
1911         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1912         (gst_registry_binary_save_string),
1913         (gst_registry_binary_save_pad_template),
1914         (gst_registry_binary_save_feature),
1915         (gst_registry_binary_save_plugin),
1916         (gst_registry_binary_load_feature),
1917         (gst_registry_binary_load_plugin),
1918         (gst_registry_binary_read_cache):
1919           Fix memory leak. Be less verbose in the log.
1920
1921 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1922
1923         * tests/check/elements/.cvsignore:
1924         Add file to cvsignore as commanded.
1925
1926 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1927
1928         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1929         (mq_dummypad_event), (run_output_order_test):
1930         Use a GStaticMutex to protect all cases where libcheck
1931         fail_if/fail_unless macros might be called from multiple threads
1932         simultaneously to avoid errors like:
1933           "check_pack.c:107: :-1081725400:Bad message type arg"
1934
1935 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1936
1937         * tests/check/pipelines/stress.c: (GST_START_TEST):
1938         Make sure we set the pipeline back to the NULL state before
1939         dropping our final reference.
1940
1941 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1942
1943         * tests/check/elements/tee.c: (GST_START_TEST):
1944         Make the tee stress-test a little less stressful so it doesn't just
1945         time out on slow-machines, and remove a small race when it's starting 
1946         up by adding a get_state() call.
1947
1948 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
1949
1950         * gst/gst.c:
1951           Avoid reading registry twice on startup. Fixes #457322.
1952
1953 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1954
1955         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1956         * pkgconfig/gstreamer-check.pc.in:
1957         Substitute the CFLAGS for libcheck into our .pc file too so that
1958         dependent modules will pick it up properly if libcheck is installed
1959         into some other prefix.
1960
1961 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1962
1963         * configure.ac:
1964         Revert the pkg-config check for libcheck, since it pulls in the
1965         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1966         a proper solution, either from the check project, or something else.
1967
1968 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
1969
1970         * configure.ac:
1971           Use pkg-config to locate check.
1972
1973 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
1974
1975         * gst/gsttaglist.c:
1976           Fix doc syntax.
1977
1978         * gst/gstutils.c:
1979         * gst/gstutils.h:
1980           Add deprecation guards.
1981
1982         * libs/gst/base/gstcollectpads.h:
1983           Don't document object (this is implicitly private).
1984
1985 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
1986
1987         * gst/gststructure.c: (gst_structure_parse_value):
1988           When deserialising foo=bar without a type cast, check if it's a
1989           boolean before falling back to a string type, otherwise things like
1990           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1991           because the filtercaps end up having a signed=(string)true field,
1992           which causes problems later when intersection caps.
1993
1994         * tests/check/gst/gststructure.c: (GST_START_TEST):
1995           Add a unit test for this.
1996
1997 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
1998
1999         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2000
2001         * libs/gst/controller/Makefile.am:
2002         * libs/gst/controller/gstcontroller.c:
2003         (gst_controlled_property_add_interpolation_control_source),
2004         (gst_controlled_property_new), (gst_controlled_property_free),
2005         (gst_controller_find_controlled_property),
2006         (gst_controller_new_valist), (gst_controller_new_list),
2007         (gst_controller_new), (gst_controller_remove_properties_valist),
2008         (gst_controller_remove_properties_list),
2009         (gst_controller_remove_properties),
2010         (gst_controller_set_property_disabled),
2011         (gst_controller_set_disabled), (gst_controller_set_control_source),
2012         (gst_controller_get_control_source), (gst_controller_get),
2013         (gst_controller_sync_values), (gst_controller_get_value_array),
2014         (_gst_controller_dispose), (gst_controller_get_type),
2015         (gst_controlled_property_set_interpolation_mode),
2016         (gst_controller_set), (gst_controller_set_from_list),
2017         (gst_controller_unset), (gst_controller_unset_all),
2018         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2019         * libs/gst/controller/gstcontroller.h:
2020         * libs/gst/controller/gstcontrollerprivate.h:
2021         * libs/gst/controller/gstcontrolsource.c:
2022         (gst_control_source_class_init), (gst_control_source_init),
2023         (gst_control_source_get_value),
2024         (gst_control_source_get_value_array), (gst_control_source_bind):
2025         * libs/gst/controller/gstcontrolsource.h:
2026         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2027         (gst_object_get_control_source):
2028         * libs/gst/controller/gstinterpolation.c:
2029         (gst_interpolation_control_source_find_control_point_node),
2030         (gst_interpolation_control_source_get_first_value),
2031         (_interpolate_none_get), (interpolate_none_get),
2032         (interpolate_none_get_boolean_value_array),
2033         (interpolate_none_get_enum_value_array),
2034         (interpolate_none_get_string_value_array),
2035         (_interpolate_trigger_get), (interpolate_trigger_get),
2036         (interpolate_trigger_get_boolean_value_array),
2037         (interpolate_trigger_get_enum_value_array),
2038         (interpolate_trigger_get_string_value_array):
2039         * libs/gst/controller/gstinterpolationcontrolsource.c:
2040         (gst_control_point_free), (gst_interpolation_control_source_reset),
2041         (gst_interpolation_control_source_new),
2042         (gst_interpolation_control_source_set_interpolation_mode),
2043         (gst_interpolation_control_source_bind),
2044         (gst_control_point_compare), (gst_control_point_find),
2045         (gst_interpolation_control_source_set_internal),
2046         (gst_interpolation_control_source_set),
2047         (gst_interpolation_control_source_set_from_list),
2048         (gst_interpolation_control_source_unset),
2049         (gst_interpolation_control_source_unset_all),
2050         (gst_interpolation_control_source_get_all),
2051         (gst_interpolation_control_source_get_count),
2052         (gst_interpolation_control_source_init),
2053         (gst_interpolation_control_source_finalize),
2054         (gst_interpolation_control_source_dispose),
2055         (gst_interpolation_control_source_class_init):
2056         * libs/gst/controller/gstinterpolationcontrolsource.h:
2057         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2058         API: Refactor GstController into the core controller which can take
2059         a GstControlSource for providing actual values for timestamps.
2060         Implement a interpolation control source and use this for backward
2061         compatibility, deprecate a bunch of functions that are now handled
2062         by GstControlSource or GstInterpolationControlSource.
2063         Make it possible to disable the controller completely or only for
2064         specific properties. Fixes #450711.
2065         * docs/libs/gstreamer-libs-docs.sgml:
2066         * docs/libs/gstreamer-libs-sections.txt:
2067         * docs/libs/gstreamer-libs.types:
2068         Add new functions and classes to the docs.
2069         * tests/check/libs/controller.c: (GST_START_TEST),
2070         (gst_controller_suite):
2071         * tests/examples/controller/audio-example.c: (main):
2072         Port unit test and example to the new API and add some new
2073         unit tests.
2074
2075 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2076
2077         Patch by: Mark Nauwelaerts <manauw at skynet be>
2078
2079         * plugins/elements/gstmultiqueue.c:
2080         (gst_multi_queue_get_internal_links), (apply_buffer),
2081         (single_queue_overrun_cb), (gst_single_queue_new):
2082         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2083         the pipeline layout can be tracked correctly. Fixes #453732.
2084
2085 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2086
2087         * docs/gst/Makefile.am:
2088         * docs/libs/Makefile.am:
2089         * docs/plugins/Makefile.am:
2090           Simplify --extra-dir as gtkdoc scans recursively.
2091
2092 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2093
2094         * tools/gst-launch.c: (main):
2095         When we got an error, there is no point in waiting for preroll when
2096         shutting down.
2097
2098 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2099
2100         * plugins/elements/gsttee.c: (gst_tee_base_init),
2101         (gst_tee_request_new_pad), (gst_tee_release_pad),
2102         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2103         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2104         (gst_tee_chain):
2105         Be a lot smarter when deciding what srcpad to use for proxying
2106         the buffer_alloc. Also handle pad added/removed when doing so.
2107         Fixes #357959.
2108         Keep track of what pads we already pushed on in case we have pads
2109         added/removed while pushing. Fixes #374639 
2110
2111         * tests/check/Makefile.am:
2112         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2113         (tee_suite):
2114         Added unit test for pad resync.
2115
2116 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2117
2118         * po/nl.po:
2119         * po/sv.po:
2120           Updated translations.
2121
2122 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2123
2124         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2125
2126         * po/LINGUAS:
2127         * po/fi.po:
2128           Added new Finnish translation.
2129
2130 2007-06-28  Wim Taymans  <wim@fluendo.com>
2131
2132         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2133         (single_queue_overrun_cb):
2134         When figuring out when a queue is filled, use our internal time estimate
2135         based on segments, just like check_full does.
2136
2137 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2138
2139         * gst/gstminiobject.c: (gst_mini_object_get_type):
2140           Remove 3 do-nothing methods.
2141
2142 2007-06-27  Wim Taymans  <wim@fluendo.com>
2143
2144         Patch by: Tim Angus <tim at ngus dot net>
2145
2146         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2147         (gst_capsfilter_set_property):
2148         Take a reference instead of a copy when setting "caps".
2149         Fix documentation to clarify this behaviour. Fixes #449414.
2150
2151 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2152
2153         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2154         * gst/gstplugin.c: (gst_plugin_init):
2155         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2156         * gst/gstquery.c: (gst_query_get_type):
2157         * gst/gstregistry.c: (gst_registry_init):
2158         * gst/gsturi.c: (gst_uri_handler_base_init):
2159           Remove empty instance_init() functions to save relocs and lessen the
2160           noise. Remove some of the function prototypes that are doubled by
2161           G_DEFINE_TYPE.
2162           
2163 2007-06-27  Wim Taymans  <wim@fluendo.com>
2164
2165         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2166
2167         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2168         Add peer and direction in the XML serialisation of ghostpads.
2169         Fixes #449226.
2170
2171 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2172
2173         * configure.ac:
2174           Preserve useful information, thanks Tim.
2175
2176 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2177
2178         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2179         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2180         (gst_single_queue_push_one), (gst_multi_queue_loop),
2181         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2182         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2183         (compute_high_id), (gst_single_queue_new):
2184         * plugins/elements/gstmultiqueue.h:
2185         Take the multiqueue lock when updating the fill level so we don't get
2186         confused. 
2187
2188         After applying a buffer or event on the src pad segment, make sure to
2189         call gst_data_queue_limits_changed() to get the data queue to unblock
2190         and check the filled state again.
2191         
2192         Rework the not-linked pad handling so the logic is that not-linked 
2193         pads can push as fast as they like, but only so they never get 
2194         ahead of any linked pads.
2195
2196         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2197         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2198         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2199
2200         Add a test to check that not-linked pads always stay behind
2201         linked pads.
2202
2203         Fixes: #430682
2204
2205 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2206
2207         * docs/random/release:
2208           Some updates to the release procedure.
2209
2210 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2211
2212         * gst/gstelementfactory.c: (__gst_element_details_clear):
2213           Microoptimization that saves stunning 80 bytes.
2214
2215 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2216
2217         * docs/plugins/gstreamer-plugins.args:
2218         * docs/plugins/inspect/plugin-coreelements.xml:
2219         * docs/plugins/inspect/plugin-coreindexers.xml:
2220           Update docs with caps info.
2221
2222 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2223
2224         * po/it.po:
2225           Updated Italian translation.
2226
2227 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2228
2229         * ChangeLog:
2230         * po/vi.po:
2231           Update Vietnamese translations.
2232
2233 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2234
2235         * libs/gst/base/gstbasesink.c:
2236           Remove unused signal enum.
2237
2238 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2239
2240         * docs/gst/gstreamer-sections.txt:
2241         * gst/gstelement.c:
2242         * gst/gstutils.c: (gst_type_register_static_full):
2243         Beef up and include the docs for gst_type_register_static_full and
2244         gst_element_class_set_details_simple and add the API keyword
2245         in the ChangeLog.
2246
2247 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2248
2249         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2250         (update_time_level), (gst_single_queue_push_one),
2251         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2252         (single_queue_overrun_cb), (single_queue_underrun_cb),
2253         (single_queue_check_full):
2254         Fix setting max-* properties after adding queues.
2255         Use IS_FILLED for checking visible items.
2256         Signal overrun if multiple queues overrun.
2257         Add extra debug output.
2258         Patch by: Wim Taymans <wim@fluendo.com>
2259
2260 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2261
2262         * gst/gstelement.c: (gst_element_class_set_details_simple):
2263         * gst/gstelement.h:
2264         * gst/gstutils.c: (gst_type_register_static_full):
2265         * gst/gstutils.h:
2266         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2267         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2268         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2269         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2270         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2271         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2272         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2273         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2274         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2275         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2276         (apply_buffer), (gst_queue_chain):
2277         * plugins/elements/gsttee.c: (gst_tee_base_init):
2278         * plugins/elements/gsttypefindelement.c:
2279         (gst_type_find_element_base_init),
2280         (gst_type_find_element_class_init):
2281           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2282           API: add gst_type_register_static_full
2283           API: add gst_element_class_set_details_simple
2284
2285 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2286
2287         * docs/pwg/advanced-types.xml:
2288           Fix typo in iana.org URI.
2289
2290 2007-06-19  Andy Wingo  <wingo@pobox.com>
2291
2292         * tests/check/pipelines/simple-launch-lines.c
2293         (test_state_change_returns): Enable pull-mode tests now that
2294         basesink has been fixed.
2295
2296         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2297         Changed from gst_base_sink_is_prerolled, reversing the sense of
2298         the return value. Returns FALSE also if the sink is in pull mode,
2299         in which case it needs no preroll.
2300         (gst_base_sink_query, gst_base_sink_change_state): Update for
2301         needs_preroll change.
2302         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2303         chaining up, in which we return SUCCESS directly if we activated
2304         in pull mode instead of ASYNC. Involves countering an async_start
2305         message sent before chaining up; not sure if this is correct, in
2306         an ideal world we only send async-start when activating in push
2307         mode.
2308
2309         * tests/check/pipelines/simple-launch-lines.c
2310         (test_state_change_returns): New test, partially disabled until
2311         basesink is fixed.
2312
2313 2007-06-19  Wim Taymans  <wim@fluendo.com>
2314
2315         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2316         (gst_multi_queue_sink_event):
2317         Fix event leak.
2318
2319 2007-06-19  Wim Taymans  <wim@fluendo.com>
2320
2321         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2322         (gst_bin_change_state_func), (bin_push_state_continue),
2323         (bin_handle_async_start), (bin_handle_async_done),
2324         (gst_bin_handle_message_func):
2325         Move the common code for posting state-change messages into
2326         one function.
2327         Broadcast the state signal after we posted the messages.
2328         Mark the bin as busy when it's doing a state-change.
2329         Make sure async-start/done messages don't interfere with the bin's
2330         state when it's busy.
2331         After the state change, let the bin check which elements completed the
2332         state change while it was busy so that it can update its state.
2333
2334 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2335
2336         * docs/random/release:
2337         Add a note about updating the doap file to the release checklist
2338
2339 2007-06-18  Wim Taymans  <wim@fluendo.com>
2340
2341         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2342         (gst_single_queue_push_one), (gst_multi_queue_chain),
2343         (gst_multi_queue_sink_event):
2344         Make sure we don't reference the buffer/event after we have given away
2345         ownership in the queue.
2346
2347 2007-06-18  Wim Taymans  <wim@fluendo.com>
2348
2349         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2350         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2351         Update queue state _after_ adding the item in the queue because else we
2352         could end up being full without the element added yet.
2353
2354 2007-06-18  Wim Taymans  <wim@fluendo.com>
2355
2356         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2357         (gst_bin_remove_func), (gst_bin_get_state_func),
2358         (gst_bin_element_set_state), (gst_bin_continue_func),
2359         (bin_push_state_continue), (bin_handle_async_start),
2360         (bin_handle_async_done), (gst_bin_handle_message_func):
2361         * gst/gstbin.h:
2362         Immediatly commit the toplevel bin state when receiving an async-done
2363         message. This enables us to avoid spawning a thread to commit the state
2364         in some common cases and it also avoids some races.
2365         Avoid spawning a state thread when adding/removing async elements to a
2366         toplevel bin. Instead we immediatly update the bin state.
2367         Get rid of iterating all the children when getting the state in the bin
2368         because it is now always up-to-date.
2369         Fix bug where locked elements would always return _SUCCESS even it they
2370         returned NO_PREROLL before being locked.
2371         Fix the order of the state_change, async-start/done messages that was
2372         sometimes incorrect.
2373         Mark the state_dirty field as deprecated, we don't need it anymore as we
2374         are always up-to-date.
2375
2376         * gst/gstelement.c: (gst_element_get_state_func),
2377         (gst_element_continue_state):
2378         Small debug inprovements.
2379         Return the previous element state return when nothing is pending instead
2380         of blindly returning SUCCESS.
2381
2382         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2383         (gst_sinks_suite):
2384         Add a whole bunch of new testcases.
2385
2386 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2387
2388         * po/uk.po:
2389         * po/vi.po:
2390           Update translations.
2391
2392 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2393
2394         * gst/gstpad.c:
2395         Fix typo in the docs.
2396
2397 2007-06-15  Wim Taymans  <wim@fluendo.com>
2398
2399         * docs/libs/gstreamer-libs-sections.txt:
2400         Add docs for new methods.
2401
2402 2007-06-15  Wim Taymans  <wim@fluendo.com>
2403
2404         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2405         (gst_multi_queue_item_new):
2406         Don't use GSlice because we don't depend on >= 2.10 yet.
2407
2408 2007-06-15  Wim Taymans  <wim@fluendo.com>
2409
2410         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2411         (update_time_level), (apply_segment), (apply_buffer),
2412         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2413         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2414         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2415         (single_queue_underrun_cb), (single_queue_check_full):
2416         Remove debug printf.
2417
2418 2007-06-15  Wim Taymans  <wim@fluendo.com>
2419
2420         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2421         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2422         (gst_data_queue_set_flushing), (gst_data_queue_push),
2423         (gst_data_queue_pop), (gst_data_queue_drop_head),
2424         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2425         * libs/gst/base/gstdataqueue.h:
2426         Various cleanups.
2427         Added methods to get the current levels and to inform the queue that the
2428         'full' limits changed.
2429
2430         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2431         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2432         (gst_single_queue_flush), (update_time_level), (apply_segment),
2433         (apply_buffer), (gst_single_queue_push_one),
2434         (gst_multi_queue_item_steal_object),
2435         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2436         (gst_multi_queue_loop), (gst_multi_queue_chain),
2437         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2438         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2439         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2440         (single_queue_underrun_cb), (single_queue_check_full),
2441         (gst_single_queue_new):
2442         Keep track of time in the queue by measuring the difference between
2443         running_time on input and output. This gives more accurate results and
2444         can compensate for segments correctly.
2445         Make a queue by default only 5 buffers deep. We will now increase the
2446         buffer size depending on the filledness of the other queues.
2447         Factor out commong flush code.
2448         Make sure we don't add additional refcounts to buffers when we can avoid
2449         it.
2450         Propagate GstFlowReturn differently.
2451         Use GSlice for intermediate GstMultiQueueItems.
2452         Keep track of EOS.
2453         Resize queues on over and underruns based on filled level of other
2454         queues.
2455         When checking if the queue is filled, prefer to measure in time if we
2456         can and fall back to bytes when no time is known.
2457
2458         * plugins/elements/gstqueue.c:
2459         Fix return value.
2460
2461 2007-06-15  Wim Taymans  <wim@fluendo.com>
2462
2463         * libs/gst/base/gstbasetransform.c:
2464         (gst_base_transform_sink_event):
2465         Work around the brokenness of the event vmethod in basetransform. Prefer
2466         to return TRUE when the subclass returned FALSE (meaning don't forward
2467         the event). 
2468
2469         * libs/gst/base/gstbasetransform.h:
2470         Clarify the docs.
2471
2472 2007-06-15  Wim Taymans  <wim@fluendo.com>
2473
2474         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2475         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2476         (gst_base_src_default_query), (gst_base_src_get_range),
2477         (gst_base_src_start):
2478         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2479         Improve debugging.
2480
2481 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2482
2483         * docs/pwg/advanced-types.xml:
2484           Added more formats to caps table.
2485
2486 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2487
2488         * tools/gst-launch.c: (main):
2489           Remove crufy code. GOption does not need this workaround.
2490
2491 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2492
2493         * libs/gst/controller/gstcontroller.c:
2494         (gst_controlled_property_set_interpolation_mode):
2495           Fix wrong getter for enums in controller.
2496
2497 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2498
2499         * libs/gst/check/gstcheck.c: (gst_check_init):
2500           Intercept criticals and warnings in the Gst-Phonon log domain, so
2501           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2502           well.
2503         
2504 2007-06-14  Edward Hervey  <edward@fluendo.com>
2505
2506         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2507         Since this file doesn't include "gst.h" it will not go through the
2508         macros that disable GST_LOG if debugging was disabled.
2509
2510 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2511
2512         * libs/gst/check/Makefile.am:
2513         * libs/gst/check/gstcheck.h:
2514         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2515         * pkgconfig/gstreamer-check.pc.in:
2516           Ugly 'fix' for the controller unit test on the p5 bot: in
2517           fail_unless_equals_float() check whether the values are 'almost
2518           equal' by allowing a small absolute error, which should be good
2519           enough for our use cases (normal numbers and values close to 0).
2520           Proper fixage left to floating point arithmetic aficionados.
2521
2522 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2523
2524         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2525         (gst_base_sink_render_object), (gst_base_sink_get_position):
2526           Add two breaks thats where missing.
2527
2528 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2529
2530         * docs/libs/gstreamer-libs-sections.txt:
2531         * libs/gst/check/gstcheck.h:
2532           API: add fail_unless_equals_float() and assert_equals_float().
2533           Add documentation for some of the macros.
2534
2535         * tests/check/libs/controller.c: (GST_START_TEST):
2536           Use newly-added asserts.
2537
2538 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2539
2540         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2541           Show the caps change in the log to help spotting the case of not
2542           exactly matching caps.
2543
2544 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2545
2546         * docs/pwg/building-boiler.xml:
2547           Fix typos, spotted by Thijs Vermeir (#447190).
2548
2549 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2550
2551         * docs/plugins/tmpl/.cvsignore:
2552         Ignore file to keep the buildbots happy
2553
2554 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2555
2556         * docs/plugins/Makefile.am:
2557         * docs/plugins/gstreamer-plugins-docs.sgml:
2558         * docs/plugins/gstreamer-plugins-sections.txt:
2559         Pull fdsink into the docs too.
2560
2561 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2562
2563         * libs/gst/controller/gstinterpolation.c:
2564         Actually use the new functions with min/max checks for the trigger and
2565         none interpolation modes for get() and get_value_array() instead of
2566         just the latter.
2567
2568 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2569
2570         * libs/gst/controller/gstcontroller.c:
2571         (gst_controlled_property_free):
2572         Unset the minimum and maximum GValues when freeing the corresponding
2573         GstControllerProperty struct.
2574
2575 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2576
2577         * libs/gst/controller/gstcontroller.c:
2578         (gst_controlled_property_new):
2579         * libs/gst/controller/gstcontrollerprivate.h:
2580         * libs/gst/controller/gstinterpolation.c:
2581         (gst_controlled_property_find_control_point_node),
2582         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2583         (interpolate_none_get_string_value_array),
2584         (interpolate_trigger_get),
2585         (interpolate_trigger_get_enum_value_array),
2586         (interpolate_trigger_get_string_value_array):
2587         Protect against values larger or smaller than the minimum or maximum
2588         allowed value for the property when using values that can be compared.
2589
2590         Optimize trigger interpolator a bit by taking the last requested value
2591         into account instead of always looping through the complete list.
2592
2593         Fix coding style a bit, everywhere else we use "return foo" instead
2594         of "return (foo)".
2595         
2596         * tests/check/libs/controller.c: (GST_START_TEST),
2597         (gst_controller_suite):
2598         Add unit test for the protection against too large or too small
2599         values.
2600
2601 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2602
2603         * docs/random/slomo/controller.txt:
2604         Add some thoughts about the future of the controller.
2605
2606 2007-06-08  Wim Taymans  <wim@fluendo.com>
2607
2608         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2609         Don't overflow in retimestamping code.
2610
2611 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2612
2613         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2614         Use gst_util_guint64_to_gdouble for conversions.
2615         * win32/common/libgstreamer.def:
2616         Add new exported functions.
2617
2618 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2619
2620         * gst/gstutils.c:
2621           Small docs addition.
2622
2623 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2624
2625         * README:
2626           Remove that test line again.
2627
2628 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2629
2630         * README:
2631           Test commit mail sending.
2632
2633 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2634
2635         * configure.ac:
2636           Fix typo and test commit mail sending.
2637
2638 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2639
2640         * tests/examples/controller/audio-example.c:
2641           Improve comment and test commit mail sending.
2642
2643 2007-06-07  Wim Taymans  <wim@fluendo.com>
2644
2645         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2646         (gst_bin_remove_func), (gst_bin_element_set_state),
2647         (bin_handle_async_start), (bin_handle_async_done),
2648         (gst_bin_handle_message_func):
2649         Add helper function to find messages.
2650         Generate the async-done messages together with the state change
2651         messages.
2652         Small cleanups in handling toplevel bins.
2653
2654 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2655
2656         * libs/gst/base/gstdataqueue.c:
2657         * libs/gst/base/gstdataqueue.h:
2658         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2659         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2660         (gst_multi_queue_sink_event):
2661         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2662           Fix multiqueue leaking buffers and events when downstream or the
2663           queue are flushing. Make refcounting assumptions explicit and
2664           document them (shouldn't break existing code that uses it other than
2665           maybe leak miniobjects, but that already happens anyway). Add unit
2666           test for the most common flushing case. Fixes #423700.
2667           
2668 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2669
2670         * libs/gst/controller/gstcontroller.c:
2671         Clarify docs: The get_all, get_value_array(s) functions
2672         don't modify the GObject properties.
2673
2674 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2675
2676         * libs/gst/controller/gstcontroller.c:
2677         (gst_controlled_property_set_interpolation_mode),
2678         (gst_controlled_property_prepend_default),
2679         (gst_controlled_property_new), (gst_controller_set_unlocked),
2680         (gst_controller_set), (gst_controller_set_from_list),
2681         (gst_controller_unset), (gst_controller_unset_all):
2682         * libs/gst/controller/gstcontrollerprivate.h:
2683         * libs/gst/controller/gstinterpolation.c:
2684         Factor out the 'set' logic into gst_controller_set_unlocked for the
2685         gst_controller_set and gst_controller_set_from_list functions.
2686
2687         To make life of the interpolators easier always add a control point
2688         at timestamp zero with the default value.
2689
2690         In the linear interpolator make things more obvious by better variable
2691         naming (slope).
2692
2693         Implement cubic interpolation mode (by using a natural cubic spline)
2694         and map the quadratic interpolation mode to this too (as quadratic
2695         doesn't make much sense, see discussion on the list).
2696
2697         * tests/check/libs/controller.c: (GST_START_TEST),
2698         (gst_controller_suite):
2699         Add unit test for the cubic interpolation mode and check everywhere
2700         if the interpolation mode could be set as expected.
2701
2702 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2703
2704         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2705           Don't use GLib-2.10 functions, we still depend on
2706           GLib-how-old-is-it-again-2.8.
2707
2708 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2709
2710         * docs/gst/gstreamer-sections.txt:
2711         * gst/Makefile.am:
2712         * gst/gst.c:
2713         * gst/gst.h:
2714         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2715         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2716         (_gst_param_fraction_values_cmp),
2717         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2718         * gst/gstparamspecs.h:
2719         * gst/gstvalue.c:
2720         * tests/check/Makefile.am:
2721         * tests/check/gst/.cvsignore:
2722         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2723         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2724         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2725         (GST_START_TEST), (gst_param_spec_suite):
2726           API: add GstParamSpecFraction, so elements can have fraction
2727           properties without lots of painful string parsing (#444648).
2728
2729 2007-06-05  Wim Taymans  <wim@fluendo.com>
2730
2731         * gst/gstobject.c: (gst_object_class_init):
2732         Fix signal signature.
2733
2734         * gst/gstsegment.c:
2735         Add small clarification in the api docs.
2736
2737         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2738         States are protected with object lock.
2739
2740 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2741
2742         * AUTHORS:
2743         I should probably be listed as an author by now.
2744
2745         * docs/random/release:
2746         Update the release doc
2747
2748 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2749
2750         * gst/gstvalue.c:
2751           Make docs for gst_value_compare() mention return enums that
2752           actually exist.
2753
2754 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2755
2756         * configure.ac:
2757           Back to CVS
2758
2759 === release 0.10.13 ===
2760
2761 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2762
2763         * configure.ac:
2764           releasing 0.10.13, "With or without you"
2765
2766 2007-05-25  Wim Taymans  <wim@fluendo.com>
2767
2768         * gst/gstbin.c: (bin_handle_async_done):
2769         Make sure that the child bin stops after completing the async state
2770         change so that the parent can continue the state change to PLAYING.
2771         Fixes #441159.
2772
2773 2007-05-25  Wim Taymans  <wim@fluendo.com>
2774
2775         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2776         (unref_data), (gst_collect_pads_remove_pad),
2777         (gst_collect_pads_check_pads):
2778         Use additional refcounting to avoid crashes when dynamically adding and
2779         removing pads. Fixes #420206.
2780
2781 2007-05-24  Wim Taymans  <wim@fluendo.com>
2782
2783         * tools/gst-launch.c: (event_loop):
2784         When buffering goes from a two digit to a single digit number, make sure
2785         to remove the old second digit by writing a blank over it.
2786
2787 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2788
2789         * libs/gst/base/gstdataqueue.c:
2790           Eliminate tabs and trailing comma in enum list; fix some typos.
2791
2792 2007-05-24  Wim Taymans  <wim@fluendo.com>
2793
2794         * tests/check/gst/gstbin.c: (GST_START_TEST):
2795         Allow refcount of 3 and 4 because some state thread might still be busy
2796         with it.
2797
2798 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2799
2800         * plugins/elements/Makefile.am:
2801         * plugins/elements/gstmultiqueue.h:
2802         * plugins/elements/gstqueue.h:
2803           These are not installed headers, no need for padding.
2804
2805 2007-05-24  Wim Taymans  <wim@fluendo.com>
2806
2807         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2808         (gst_bin_continue_func):
2809         Enable latency for next release.
2810         Restore STATE_LOCK around recalc_state that was left out during the
2811         rewrite and could result in racy behaviour when _get_state and
2812         recalc_state are run concurrently. See #440463.
2813
2814 2007-05-23  Wim Taymans  <wim@fluendo.com>
2815
2816         * tests/check/gst/gstsystemclock.c: (store_callback),
2817         (GST_START_TEST):
2818         Improve test_async_order to also work when both timers are already
2819         expired when we get scheduled to check it.
2820
2821 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2822
2823         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2824         (gst_bin_set_property), (gst_bin_get_property),
2825         (gst_bin_remove_func), (gst_bin_handle_message_func):
2826         * gst/gstbin.h:
2827           'private' is a c++ keyword, let's not use that in header files,
2828           otherwise c++ compilers will throw a tantrum.
2829
2830 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2831
2832         * plugins/elements/gstelements.c:
2833         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2834         (gst_file_sink_get_current_offset):
2835         * plugins/indexers/gstindexers.c: (plugin_init):
2836           Use #ifdef for HAVE_XYZ for consistency.
2837
2838         * tests/check/Makefile.am:
2839         * tests/check/elements/.cvsignore:
2840         * tests/check/elements/filesink.c: (setup_filesink),
2841         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2842           Add some unit tests for filesink.
2843
2844 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2845
2846         Patch by: Mark Nauwelaerts <manauw at skynet be>
2847
2848         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2849         (gst_file_sink_query), (gst_file_sink_do_seek),
2850         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2851         * plugins/elements/gstfilesink.h:
2852           Fix position reporting; rename data_written member to current_pos to
2853           reflect its real meaning (fixes #412648).
2854
2855 2007-05-22  Edward Hervey  <edward@fluendo.com>
2856
2857         * docs/gst/gstreamer-sections.txt:
2858         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2859         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2860         (gst_bin_remove_func), (gst_bin_handle_message_func):
2861         * gst/gstbin.h:
2862         Add a property for bins that handle the state change of their childs.
2863         Fixes #435880
2864
2865 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2866
2867         * libs/gst/controller/gstinterpolation.c:
2868         Use an array of the correct type when using _get_value_array with
2869         linear interpolation.
2870
2871 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2872
2873         * gst/gstelement.c (gst_element_requires_clock,
2874           gst_element_provides_clock, gst_element_request_pad,
2875           gst_element_class_set_details, gst_element_class_set_details_simple,
2876           gst_element_default_send_event, gst_element_abort_state,
2877           gst_element_continue_state, gst_element_set_state,
2878           gst_element_set_state_func, iterator_activate_fold_with_resync):
2879         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2880           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2881           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2882           gst_pad_get_range, gst_pad_pull_range):
2883         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2884           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2885           GstPadActivateModeFunction, GstPadChainFunction,
2886           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2887           GstPadFixateCapsFunction, GstPadTemplate):
2888         * gst/gstpipeline.c (gst_pipeline_change_state,
2889           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2890           gst_pipeline_set_clock, gst_pipeline_auto_clock,
2891           gst_pipeline_get_delay):
2892           Whitespace and docs fixes.
2893
2894 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2895
2896         * libs/gst/controller/gstinterpolation.c:
2897         (interpolate_trigger_get_enum_value_array),
2898         (interpolate_trigger_get_string_value_array):
2899         Add support for retrieving value arrays when using the trigger
2900         interpolation mode. 
2901
2902 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2903
2904         * libs/gst/controller/gstcontroller.c:
2905         (gst_controller_get_value_array):
2906         * libs/gst/controller/gstcontroller.h:
2907         Clarify the docs of gst_controller_get_value_array(): The array where
2908         the values should be written to must be allocated as there seems to be
2909         no way to get the size of a random GType. This doesn't change any
2910         behaviour. Also fix some typos all over the place and remove an unused,
2911         commented function that is not necessary as g_object_set() could be
2912         used instead.
2913         * tests/check/libs/controller.c: (GST_START_TEST),
2914         (gst_controller_suite):
2915         Add unit test for gst_controller_get_value_array().
2916
2917 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2918
2919         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2920
2921         Disable part of the gst_buffer_try_new_and_alloc test, because
2922         it can happily succeed on 64-bit systems where there's more address
2923         space available.
2924
2925 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2926
2927         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2928         Add unit test for the improved caps checking from bug #421543.
2929
2930 2007-05-21  Wim Taymans  <wim@fluendo.com>
2931
2932         * docs/design/part-synchronisation.txt:
2933         Small addition.
2934
2935         * gst/gstbin.c: (gst_bin_query):
2936         * plugins/elements/gstqueue.c: (apply_segment):
2937         Improve debugging.
2938
2939         * gst/gstmessage.h:
2940         Improve docs.
2941
2942 2007-05-21  Wim Taymans  <wim@fluendo.com>
2943
2944         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2945         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2946         (gst_pad_configure_src):
2947         Added simple version of improved caps checking. It was previously
2948         assumed that a setcaps function would check the validity of the caps but
2949         people prefer us to check caps against the template automatically. 
2950         Fixes #421543.
2951
2952 2007-05-21  Wim Taymans  <wim@fluendo.com>
2953
2954         * libs/gst/base/gstbasetransform.h:
2955         Fix macro for locking/unlocking the transform lock.
2956
2957 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2958
2959         * docs/plugins/tmpl/.cvsignore:
2960           Ignore more.
2961
2962 2007-05-18  Edward Hervey  <edward@fluendo.com>
2963
2964         * plugins/elements/gstqueue.c: (gst_queue_loop):
2965         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2966         for the subtle art of warning a potentially blocking thread that it
2967         should check the source pad return value, and relay the information
2968         upstream.
2969
2970 2007-05-18  Edward Hervey  <edward@fluendo.com>
2971
2972         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2973         Release the queue lock !
2974
2975 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2976
2977         * docs/libs/gstreamer-libs-sections.txt:
2978         Add the two new controller functions to the appropiate places.
2979
2980 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2981
2982         reviewed by: Stefan Kost <ensonic@users.sf.net>
2983
2984         * libs/gst/controller/gstcontroller.c:
2985         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2986         (_gst_controller_get_property), (_gst_controller_set_property),
2987         (_gst_controller_init), (_gst_controller_class_init):
2988         * libs/gst/controller/gstcontroller.h:
2989         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2990         (gst_object_get_control_rate), (gst_object_set_control_rate):
2991         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2992         Add API that provides sync suggestion timestamps for elements that
2993         call gst_object_sync_values() from which those elements can subdivide
2994         their processing loop to get the best results for the controlled
2995         properties. For now it just suggests last_sync + control_rate as
2996         new timestamp but this will be improved in the future.
2997
2998         While doing that change the control-rate property to a GstClockTime
2999         from guint and change it's meaning from samples to nanoseconds as
3000         the GstController doesn't know anything about sampling rate. Strictly
3001         speaking this breaks ABI but as the control-rate property didn't do
3002         anything in the past and as such couldn't be used this should be no
3003         problem.        
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_controller_unset),
3010         (gst_controller_unset_all):
3011         * libs/gst/controller/gstcontrollerprivate.h:
3012         * libs/gst/controller/gstinterpolation.c:
3013         (gst_controlled_property_find_control_point_node):
3014         Save last synced value from the list to continue searching from there
3015         in future syncs. This speeds everything up a bit.
3016         
3017 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3018
3019         reviewed by: Stefan Kost <ensonic@users.sf.net>
3020
3021         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3022         (gst_control_point_find), (gst_controlled_property_new),
3023         (gst_control_point_free), (gst_controlled_property_free),
3024         (gst_controller_set), (gst_controller_set_from_list),
3025         (gst_controller_unset), (gst_controller_unset_all),
3026         (gst_controller_sync_values):
3027         * libs/gst/controller/gstcontroller.h:
3028         * libs/gst/controller/gstcontrollerprivate.h:
3029         * libs/gst/controller/gstinterpolation.c:
3030         (gst_controlled_property_find_control_point_node),
3031         (interpolate_none_get), (interpolate_trigger_get):
3032         Add a new private GstControlPoint struct which "inherits" from
3033         GstTimedValue to allow different interpolators to store internal
3034         values next to each control point. From the outside everything is
3035         still a GstControlPoint so we don't loose binary compatibility.
3036         Also fixup all the GValue handling to not leak GValues or list nodes.
3037         * tests/check/libs/controller.c: (GST_START_TEST):
3038         Free the list nodes and GValues in the controller_misc test.
3039
3040 2007-05-17  Edward Hervey  <edward@fluendo.com>
3041
3042         * gst/gstsegment.c:
3043         Small doc fix.
3044
3045 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3046
3047         * gst/gstplugin.c: (gst_plugin_load_file):
3048           If we fail to load a plugin because of unresolved symbols or missing
3049           libraries and spew a warning to stderr, we may just as well mention
3050           which plugin it was that failed to load.
3051
3052 2007-05-13  David Schleef  <ds@schleef.org>
3053
3054         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3055           handles the case when ENABLE_GTK_DOC is false, and installs
3056           the prebuilt documentation.  So gtk-doc subdirs are 
3057           unconditionally enabled.  Fixes: #349099.
3058
3059 2007-05-13  David Schleef  <ds@schleef.org>
3060
3061         * gst/gstutils.h: Reword some documentation.
3062
3063 2007-05-12  David Schleef  <ds@schleef.org>
3064
3065         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3066           do anything with the passed "module" parameter, so remove it.
3067           Allows removal of additional vestigal code.
3068
3069 2007-05-12  David Schleef  <ds@schleef.org>
3070
3071         * gst/gstplugin.c:
3072           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3073           Switch to using g_stat() because it's more portable.
3074
3075 2007-05-12  David Schleef  <ds@schleef.org>
3076
3077         * gst/gst.c:
3078           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3079           parsing for embedded systems.
3080         * gst/gstelementfactory.c:
3081           Allow gst_element_register() to be called with plugin==NULL.
3082           Did nobody notice that static elements were broken?
3083
3084 2007-05-12  Wim Taymans  <wim@fluendo.com>
3085
3086         * tools/gst-launch.c: (event_loop):
3087         Give more interesting info when buffering starts and stops.
3088         Fix case where buffering starts but we fail to update the buffering flag
3089         because the target state is not PLAYING.
3090
3091 2007-05-12  Wim Taymans  <wim@fluendo.com>
3092
3093         * plugins/elements/gstqueue.c: (gst_queue_init),
3094         (gst_queue_finalize), (update_time_level), (apply_segment),
3095         (apply_buffer), (gst_queue_locked_flush),
3096         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3097         (gst_queue_handle_sink_event), (gst_queue_chain),
3098         (gst_queue_push_one), (gst_queue_loop):
3099         * plugins/elements/gstqueue.h:
3100         Refactor an cleanup queue a bit.
3101         Do better time level calculations that also work when the srcpad is not
3102         yet running.
3103         Remove some unneeded debug lines.
3104
3105         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3106         Added testcase for time level measurement.
3107         Try to make some stuff more racefree.
3108
3109 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3110
3111         * gst/gsturi.c: (gst_element_make_from_uri):
3112           Don't leak plugin feature.
3113
3114         * tests/check/Makefile.am:
3115         * tests/check/gst/.cvsignore:
3116         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3117           Add brain-dead unit test.
3118
3119 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3120
3121         Patch by: Jeroen Wouters <woutersj at gmail com>
3122
3123         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3124           Treat protocol strings in a case-insensitive way (#437563).
3125
3126 2007-05-11  Michael Smith <msmith@fluendo.com>
3127
3128         * gst/gstplugin.c: (gst_plugin_load_file):
3129         * gst/gstregistry.c: (gst_registry_scan_path_level):
3130           Don't print a g_warning for any failure to load a shared object.
3131           Instead, push this down into gstplugin.c, and warn _only_ if we
3132           failed to open the module (i.e. failure to link).
3133           Avoids warnings on normal, working, non-plugin .so files.
3134
3135 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3136
3137         * gst/gstplugin.c (gst_plugin_load_file):
3138         * gst/gstregistry.c (GST_CAT_DEFAULT,
3139           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3140           Print a g_warning if there was an error when loading a plugins during
3141           registry scan. The shuld help beginners starting with gst-plugin
3142           template.
3143
3144 2007-05-10  Wim Taymans  <wim@fluendo.com>
3145
3146         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3147         (update_time_level), (gst_queue_locked_flush),
3148         (gst_queue_handle_sink_event), (gst_queue_chain),
3149         (gst_queue_push_one), (gst_queue_loop):
3150         * plugins/elements/gstqueue.h:
3151         Be smarter when calculating the current amount of data in the queue by
3152         measuring the difference between start and end timestamps (in running
3153         time) inside the queue. Fixes #432876.
3154         API: GstQueue::pushing to notify elements that we are pushing data again
3155         since the running signal is rather broken for this purpose.
3156
3157 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3158
3159         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3160           gst_queue_base_init, gst_queue_init):
3161           use GST_BOILERPLATE
3162
3163 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3164
3165         * win32/common/libgstreamer.def:
3166         Add new exported functions.
3167         * win32/vs6/grammar.dsp:
3168         Use grammar pre-generated files.
3169
3170 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3171
3172         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3173
3174         * gst/Makefile.am:
3175         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3176         * gst/gstparse.h:
3177         * gst/gstutils.c: (gst_parse_bin_from_description):
3178         * gst/gstutils.h:
3179           Maintain API and ABI when --disable-parse is used. Now that
3180           we have an appropriate error code, we can just return NULL and the
3181           appropriate error when gst_parse_launch() is used despite it having
3182           been disabled (#342564).
3183
3184         * tests/check/Makefile.am:
3185         * tests/check/pipelines/.cvsignore:
3186         * tests/check/pipelines/parse-disabled.c:
3187           Make sure these functions exist and return NULL plus a GError when
3188           --disable-parse is used.
3189
3190 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3191
3192         * tests/benchmarks/complexity.c: (main):
3193         * tests/benchmarks/mass-elements.c: (main):
3194           Set a good example and don't leak messages.
3195
3196 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3197
3198         * docs/gst/Makefile.am:
3199         * docs/libs/Makefile.am:
3200           Correct fixxrefs options.
3201
3202         * docs/plugins/Makefile.am:
3203         * docs/plugins/gstreamer-plugins-docs.sgml:
3204         * docs/plugins/gstreamer-plugins-sections.txt:
3205         * plugins/elements/Makefile.am:
3206         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3207         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3208           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3209           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3210           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3211           _GstCapsFilterClass, trans_class):
3212         * plugins/elements/gstelements.c (name, rank, type, _elements):
3213         * plugins/elements/gstidentity.c
3214           (gst_identity_check_imperfect_timestamp,
3215           gst_identity_check_imperfect_offset):
3216           Document capsfilter and add doc-blurb to identity.
3217
3218 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3219
3220         * libs/gst/controller/gstcontroller.c:
3221         (gst_controlled_property_set_interpolation_mode):
3222         * libs/gst/controller/gstinterpolation.c:
3223           Don't crash if someone tries to set an interpolation mode that
3224           is invalid or that isn't supported yet. Fixes #422295.
3225
3226         * tests/check/libs/controller.c: (GST_START_TEST),
3227         (gst_controller_suite):
3228           Add a test case for the above.
3229
3230 2007-05-03  Edward Hervey  <edward@fluendo.com>
3231
3232         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3233         Properly set the last_stop position on GstSegment. This will only happen
3234         if there is a buffer to push out.
3235
3236 2007-05-03  Wim Taymans  <wim@fluendo.com>
3237
3238         * libs/gst/base/gstbasetransform.c:
3239         (gst_base_transform_buffer_alloc):
3240         always_in_place does not mean that the sink and source caps are the
3241         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3242
3243 2007-05-03  Wim Taymans  <wim@fluendo.com>
3244
3245         * docs/libs/gstreamer-libs-sections.txt:
3246         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3247         (gst_base_src_default_query), (gst_base_src_get_range):
3248         * libs/gst/base/gstbasesrc.h:
3249         API: gst_base_src_query_latency(). Added method so that subclasses can
3250         easily get the latency values of the base source class.
3251
3252 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3253
3254         * tools/gst-inspect.c (print_implementation_info):
3255         Remove 0.8 cruft.
3256
3257 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3258
3259         * tools/Makefile.am:
3260         * tools/gst-launch.1.in:
3261           Don't create a customised man page based on the host architecture,
3262           describe the default registry path generically. That way the man
3263           page is the same for all architectures and packagers have one
3264           multilib issue less to deal with. Fixes #434926.
3265
3266 2007-05-02  Wim Taymans  <wim@fluendo.com>
3267
3268         * gst/gstpad.c:
3269         Fix documentation as spotted by rg on IRC. 
3270
3271 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3272
3273         * gst/gstutils.c:
3274           Improve docs for gst_element_{link,unlink}.
3275
3276 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3277
3278         * docs/design/part-events.txt:
3279         * docs/design/part-overview.txt:
3280         * gst/gstevent.c:
3281         * gst/gsturi.c:
3282         * gst/gsturi.h:
3283         * libs/gst/base/gstbasesink.c:
3284           Typo fixes; minor docs addition.
3285
3286 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3287
3288         * docs/gst/gstreamer-sections.txt:
3289         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3290         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3291         * gst/gsturi.h:
3292         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3293         or src that supports a given URI protocol exists.
3294
3295 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3296
3297         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3298         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3299         Set the location to NULL if "file://" is set as URI. Otherwise
3300         some random previous URI would still be set if "file://" is
3301         set on an already used filesink/filesrc.
3302
3303 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3304
3305         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3306         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3307         Special case the "file://" URI as as this is used by some
3308         applications to test with gst_element_make_from_uri if there's
3309         an element that supports the URI protocol.
3310         Also move the g_path_is_absolute() check for the location part
3311         of the URI to also check this for "file://localhost/bla" URIs.
3312
3313 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3314
3315         * docs/gst/gstreamer-sections.txt:
3316         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3317         * gst/gstbuffer.h:
3318         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3319         (gst_buffer_suite):
3320           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3321
3322 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3323
3324         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3325         (gst_registry_binary_load_pad_template),
3326         (gst_registry_binary_load_plugin),
3327         (gst_registry_binary_read_cache):
3328         * gst/gstregistrybinary.h:
3329           Implement no-mmap alternative for registry reading. Do code cleanups.
3330           Add more comments about avoiding strdups for all text data. Comments
3331           welcome.
3332
3333 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3334
3335         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3336           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3337           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3338           Comment structs and reformat to fix the build (that stuff should go
3339           into a priv. header).
3340
3341 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3342
3343         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3344         (gst_registry_binary_load_feature):
3345         * gst/gstregistrybinary.h:
3346           Refactor so that we can implement multiple features. Add support for
3347           TypeFindFactory features.
3348
3349 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3350
3351         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3352
3353         * configure.ac:
3354           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3355
3356 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3357
3358         * gst/gstbin.c: (gst_bin_element_set_state),
3359         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3360         (bin_handle_async_done), (gst_bin_handle_message_func):
3361           Fix build with --gst-disable-gst-debug
3362
3363 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3364
3365         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3366           Make sure streaming has finished before calling the ::stop() vfunc,
3367           since that vfunc might clear state which is being used in the
3368           streaming thread. This fixes a race that caused crashes in
3369           audioresample when shutting down a pipeline (#420106).
3370
3371 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3372
3373         * docs/gst/gstreamer-sections.txt:
3374           That was one byte missing.
3375
3376 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * configure.ac:
3379         * docs/gst/gstreamer-sections.txt:
3380         * gst/Makefile.am:
3381         * gst/gstconfig.h.in:
3382         * gst/gstobject.c: (gst_object_class_init),
3383         (gst_signal_object_class_init):
3384         * gst/gstobject.h:
3385           2nd attempt to have a xml-less build as a joined effort of #413123
3386           and #421480.
3387
3388 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3389
3390         * docs/design/draft-tagreading.txt:
3391           Added open issues/thoughts to draft.
3392
3393 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3394
3395         * gst/parse/grammar.tab.pre.c:
3396         * gst/parse/grammar.tab.pre.h:
3397         * gst/parse/lex._gst_parse_yy.pre.c:
3398         Update the prebuild parser sources.
3399
3400 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3401
3402         * gst/parse/Makefile.am:
3403         And now fix the building of the flex sources. Now everything should
3404         work as expected.
3405
3406 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3407
3408         * gst/parse/Makefile.am:
3409         Now hopefully fix the build failures by setting proper rule
3410         dependencies and moving instead of copying.
3411
3412 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3413
3414         * tests/benchmarks/complexity.gnuplot:
3415         * tests/benchmarks/complexity.scm:
3416         * tests/benchmarks/mass-elements.gnuplot:
3417         * tests/benchmarks/mass-elements.scm:
3418           Total licensification.
3419
3420 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3421
3422         * gst/parse/Makefile.am:
3423           Fix the build by correcting the rule that gave wrong files to flex.
3424
3425 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3426
3427         * tests/benchmarks/complexity.c:
3428         * tests/benchmarks/mass-elements.c:
3429           Change licence to LGPL as granted by Benjamin and Andy.
3430
3431 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3432
3433         * gst/parse/Makefile.am:
3434         Add correct grammar.tab.h dependency if compiling without new enough
3435         flex. Fixes #431150.
3436
3437 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3438
3439         * gst/parse/Makefile.am:
3440         Fix typo and use outdated sources if the flex/bison sources are newer
3441         than the pregenerated ones but flex is too old. Print a warning in
3442         that case. This should fix the build on the build bot.
3443
3444 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3445
3446         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3447         * gst/parse/Makefile.am:
3448         * gst/parse/grammar.y:
3449         * gst/parse/parse.l:
3450         Make the parser reentrant and recursively callable. This requires flex
3451         >= 2.5.31, for older versions pregenerated sources are used as we
3452         can't bump the build dependency. Finally fixes #349180.
3453
3454         * gst/gstparse.c: (gst_parse_launch):
3455         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3456         now anyway.
3457
3458         * docs/gst/Makefile.am:
3459         * docs/gst/Makefile.am:
3460         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3461         (__gst_parse_strfree), (__gst_parse_link_new),
3462         (__gst_parse_link_free), (__gst_parse_chain_new),
3463         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3464         (gst_parse_element_set), (gst_parse_free_link),
3465         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3466         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3467         (_gst_parse_launch):
3468         * gst/parse/grammar.tab.pre.h:
3469         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3470         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3471         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3472         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3473         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3474         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3475         (_gst_parse_yypop_buffer_state),
3476         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3477         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3478         (yy_fatal_error), (_gst_parse_yyget_extra),
3479         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3480         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3481         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3482         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3483         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3484         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3485         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3486         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3487         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3488         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3489         (_gst_parse_yyfree):
3490         If the installed flex version is too old use pre-generated parser
3491         sources. These pre-generated parser sources are always updated when
3492         the actual flex/bison sources change but require everybody who wants
3493         to change something in the parser to have flex >= 2.5.31 installed.
3494
3495 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3496
3497         * common/m4/gst-gettext.m4:
3498         * gst/gst-i18n-lib.h:
3499           Make --disable-nls to work
3500
3501 2007-04-17  Wim Taymans  <wim@fluendo.com>
3502
3503         * gst/gstconfig.h.in:
3504         Revert previous change that broke the build.
3505
3506 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3507
3508         * configure.ac:
3509         * gst/Makefile.am:
3510         * gst/gstconfig.h.in:
3511           Drop libxml2 dependency when building with 
3512           --enable-binary-registry --disable-loadsave
3513
3514 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3515
3516         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3517         (gst_registry_binary_read_cache):
3518         * gst/gstregistrybinary.h:
3519           Remove unnecessary <sys/mman.h> include which broke the win32 build
3520           with MingW; move includes from header file to .c file, even if the
3521           header file isn't installed; use g_strerror() where UTF-8 strings
3522           are expected, such as in GST_DEBUG messages.
3523
3524 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3525
3526         * docs/libs/gstreamer-libs-sections.txt:
3527         Remove bogus addition for API I didn't end up keeping.
3528
3529         * libs/gst/base/gstbasesrc.h:
3530         Mention Since: 0.10.13 in the documentation.
3531
3532         Add the API keyword to the previous ChangeLog entry.
3533
3534 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3535
3536         * docs/libs/gstreamer-libs-sections.txt:
3537         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3538         (gst_base_src_default_prepare_seek_segment),
3539         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3540         * libs/gst/base/gstbasesrc.h:
3541         Allow basesrc derived classes to execute seeks in other formats
3542         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3543         to prepare the GstSegment in any format that their perform_seek method
3544         will be able to understand. The default implementation provides the
3545         old behaviour of attempting to convert the seek offsets to the 
3546         configured native format.
3547
3548         API: basesrc::prepare_seek_segment vmethod.
3549
3550 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3551
3552         * gst/gstelement.c: (gst_element_get_state_func):
3553         Don't output the same debug statement twice.
3554
3555         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3556         (gst_adapter_peek), (gst_adapter_take_buffer):
3557         Optimise the case where we have buffers at the head of the queue that
3558         can be joined quickly (because they're contiguous sub-buffers) by
3559         merging them together rather than copying data out into new memory.
3560
3561         * gst/parse/grammar.y:
3562         * tests/check/pipelines/parse-launch.c:
3563         Fix a leak in an error path for parse_launch, and add a check 
3564         for it to the testsuite.
3565
3566 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3567
3568         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3569           Don't deadlock when releasing a pad - gst_pad_set_active may try
3570           and take the multiqueue lock too.
3571
3572 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3573
3574         * gst/gsterror.c: (_gst_core_errors_init):
3575         * gst/gsterror.h:
3576           API: add GST_CORE_ERROR_DISABLED (#392804).
3577
3578 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3579
3580         * docs/faq/gst-uninstalled:
3581           don't get empty paths on the PATH variables
3582         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3583           Don't format for the uncommon terminal width of 84 characters.
3584
3585 2007-04-06  Wim Taymans  <wim@fluendo.com>
3586
3587         * gst/gstpipeline.c: (reset_stream_time),
3588         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3589         Only try to select a different pipeline clock when we went back to
3590         PAUSED and not when we merely got flushed.
3591
3592 2007-04-05  Michael Smith  <msmith@fluendo.com>
3593
3594         * tools/gst-launch.1.in:
3595           fractions are better supported in gstreamer than ractions, so
3596           suggest using those.
3597
3598 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3599
3600         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3601
3602         * po/LINGUAS:
3603         * po/da.po:
3604           Added Danish translation.
3605
3606 2007-04-05  Wim Taymans  <wim@fluendo.com>
3607
3608         * libs/gst/base/gstbasesink.c:
3609         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3610         Fix leak caused when refusing newsegment after EOS.
3611
3612         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3613         (gst_fake_sink_init), (gst_fake_sink_set_property),
3614         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3615         (gst_fake_sink_render), (gst_fake_sink_change_state):
3616         * plugins/elements/gstfakesink.h:
3617         Add num-buffers property to make the element generate EOS after a
3618         configurable amount of buffers.
3619         API: fakesink::num-buffers property.
3620
3621         * tests/check/elements/fakesink.c: (GST_START_TEST),
3622         (fakesink_suite):
3623         Fix GstBus leak in test.
3624         Test for fakesink num-buffers.
3625
3626 2007-04-05  Wim Taymans  <wim@fluendo.com>
3627
3628         * libs/gst/base/gstbasesink.c:
3629         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3630         (gst_base_sink_change_state):
3631         Don't accept anything after an EOS, return UNEXPECTED instead.
3632
3633         * tests/check/elements/fakesink.c: (GST_START_TEST),
3634         (fakesink_suite):
3635         Unit test for new EOS behaviour.
3636
3637 2007-04-05  Wim Taymans  <wim@fluendo.com>
3638
3639         * gst/gstelement.c: (gst_element_get_request_pad):
3640         Make padtemplates also work when they don't contain %s or %d.
3641
3642 2007-04-05  Wim Taymans  <wim@fluendo.com>
3643
3644         * docs/gst/gstreamer-sections.txt:
3645         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3646         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3647         * gst/gstclock.h:
3648         Improve _adjust_unlocked() so that it overflows less.
3649         Add gst_clock_unadjust_unlocked to convert from external time to
3650         internal time based on calibration.
3651         Add some more debug.
3652         API: GstClock::gst_clock_unadjust_unlocked()
3653
3654 2007-04-03  Wim Taymans  <wim@fluendo.com>
3655
3656         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3657
3658         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3659         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3660         when releasing sink pad. Fixes #425400.
3661
3662 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3663
3664         * docs/random/ensonic/dynlink.txt:
3665           More work on proposal for new core api.
3666
3667         * docs/libs/gstreamer-libs-sections.txt:
3668         * libs/gst/base/gstbasetransform.h:
3669           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3670           
3671         * libs/gst/controller/gstcontroller.c:
3672         (on_object_controlled_property_changed),
3673         (gst_controller_sync_values),
3674         (gst_controller_set_interpolation_mode):
3675         * libs/gst/controller/gstcontroller.h:
3676           Less verbose logging add docs for unimplemented parts and correctly
3677           return when using unavailable parts.
3678
3679 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3680
3681         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3682         Move all the debug to the CLOCK category, and associate it with
3683         the clock object.
3684
3685 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3686
3687         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3688         Make take_buffer a bit quicker by removing redundant checks
3689         caused by calling gst_adapter_take.
3690
3691 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3692
3693         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3694           Don't leak GCond.
3695
3696         * tests/check/Makefile.am:
3697         * tests/check/elements/.cvsignore:
3698         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3699         (GST_START_TEST), (multiqueue_suite):
3700           Add some dead simple unit tests for the 'multiqueue' element
3701           (some bits don't work yet and are disabled for now).
3702
3703 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3704
3705         * gst/gstelement.c: (gst_element_get_request_pad),
3706         (gst_element_class_get_request_pad_template):
3707           Make gst_element_get_request_pad() create request pads only for
3708           request pad templates and not for, say, sometimes pad templates.
3709
3710 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3711
3712         * docs/design/draft-klass.txt:
3713           Add example that needs more thinking.
3714         
3715         * docs/design/draft-missing-plugins.txt:
3716           More thoughts about wrapper plugins.
3717         
3718         * docs/random/ensonic/embedded.txt:
3719         * docs/random/ensonic/profiling.txt:
3720           More design work.
3721
3722 2007-03-25  Wim Taymans  <wim@fluendo.com>
3723
3724         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3725         (gst_base_src_loop):
3726         Only push the segment events in the PLAYING state for live sources.
3727
3728 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3729
3730         * gst/gstpipeline.c: (gst_pipeline_change_state):
3731         Modify the clock distribution path in PAUSED->PLAYING so that we 
3732         never attempt to choose a new clock unless we're actually leaving
3733         the PAUSED state for the first time. This prevents choosing a
3734         different clock when the state_change gets called for a 2nd time due
3735         to some element doing an async state change.
3736
3737 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3738
3739         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3740         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3741         (gst_pad_chain_unchecked), (gst_pad_push):
3742         Revert last commit. This needs some more thoughts.
3743
3744 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3745
3746         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3747         (gst_pad_chain_unchecked), (gst_pad_push):
3748         Check in set_caps if the caps are compatible with the pad and remove
3749         two functions that are redundant now. Fixes #421543.
3750
3751 2007-03-22  Wim Taymans  <wim@fluendo.com>
3752
3753         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3754         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3755         Unref some more to make valgrind happy.
3756
3757 2007-03-22  Wim Taymans  <wim@fluendo.com>
3758
3759         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3760         (gst_system_clock_id_wait_jitter),
3761         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3762         Fix anoying regression that survived a few releases. When adding an
3763         async entry while blocking on a sync entry, the sync entry will unblock
3764         but still be busy, so it should continue to wait instead of returning
3765         _BUSY to the app.
3766         Add some comments here and there.
3767
3768         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3769         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3770         Add testcase for this.
3771
3772 2007-03-22  Wim Taymans  <wim@fluendo.com>
3773
3774         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3775         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3776         WRONG_STATE and can silently pause the task. All other cases should
3777         error out.
3778
3779 2007-03-22  Wim Taymans  <wim@fluendo.com>
3780
3781         Patch by: Ville Syrjala <syrjala at sci dot fi>
3782
3783         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3784         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3785         Improve debugging.
3786
3787 2007-03-21  Michael Smith  <msmith@fluendo.com>
3788
3789         * docs/pwg/advanced-types.xml:
3790           Fix some errors in the typefinding docs pointed out on irc.
3791
3792 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3793
3794         * libs/gst/base/gstbasesrc.c:
3795         Clarify FIXME comment in the face of having added unlock_stop()
3796
3797 2007-03-21  Wim Taymans  <wim@fluendo.com>
3798
3799         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3800         Prepare for release where we warn against possible app breakage in the
3801         case of live pipelines along with an env var to enable/disable live
3802         preroll mode (GST_COMPAT=[no-]live-preroll).
3803
3804 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3805
3806         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3807         So we should use correct constants for checking for None offset.
3808
3809 2007-03-20  Wim Taymans  <wim@fluendo.com>
3810
3811         * docs/design/part-block.txt:
3812         Mention the fact that the newly switched element should be set to at
3813         least PAUSED.
3814
3815 2007-03-20  Wim Taymans  <wim@fluendo.com>
3816
3817         * gst/gst.c:
3818         Fix compilation with registry disabled as spotted by Saur.
3819
3820 2007-03-20  Wim Taymans  <wim@fluendo.com>
3821
3822         Patch by: Olivier Crete <tester at tester dot ca>
3823
3824         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3825         Look at the pending state too when syncing the element state to the
3826         parent. Fixes #420133.
3827
3828 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3829
3830         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3831         (gst_base_sink_change_state):
3832         * libs/gst/base/gstbasesink.h:
3833         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3834         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3835         (gst_base_src_deactivate):
3836         * libs/gst/base/gstbasesrc.h:
3837         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3838         for sub-classes to correctly clear any state they set trying to
3839         unlock, such as clearing out unlock commands from a command fd.
3840         API: basesrc::unlock_stop
3841         API: basesink::unlock_stop
3842
3843         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3844         (gst_fd_sink_render), (gst_fd_sink_unlock),
3845         (gst_fd_sink_unlock_stop):
3846         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3847         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3848         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3849
3850         Implement unlock_stop in fdsrc and fdsink.
3851         Implement seeking in fdsrc when a seekable fd is passed, as in
3852         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3853
3854 2007-03-19  Wim Taymans  <wim@fluendo.com>
3855
3856         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3857
3858         * gst/gstelement.c: (gst_element_class_init):
3859         Fix pad-added and pad-removed signal signatures so that the pad type is
3860         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3861
3862 2007-03-19  Wim Taymans  <wim@fluendo.com>
3863
3864         * docs/gst/gstreamer-sections.txt:
3865         Add new element field and method.
3866
3867         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3868         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3869         (gst_bin_recalc_state), (gst_bin_get_state_func),
3870         (gst_bin_element_set_state), (gst_bin_change_state_func),
3871         (gst_bin_continue_func), (bin_bus_handler),
3872         (bin_push_state_continue), (bin_handle_async_start),
3873         (bin_handle_async_done), (gst_bin_handle_message_func):
3874         Make async state changes a bit smarter by using new ASYNC_START and
3875         ASYNC_DONE messages. This reduces the number of times we run the state
3876         recalculation thread.
3877         Don't change state of element with a pending ASYNC_START message.
3878         Deprecate STATE_DIRTY messages.
3879         
3880         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3881         (gst_element_get_state_func), (gst_element_continue_state),
3882         (gst_element_lost_state), (gst_element_set_state_func),
3883         (gst_element_change_state):
3884         * gst/gstelement.h:
3885         Keep the state that was last set by the app in a new element field.
3886         Don't allow state changes when handling an element event.
3887         Post ASYNC_START and ASYNC_DONE messages.
3888         Change lost_state so that we go to PAUSED and wait for the parent to set
3889         us to PLAYING again (so latency calculation can be performed)
3890         Export gst_element_change_state() method so that subclasses can use it.
3891         API: gst_element_change_state()
3892         API: GST_STATE_TARGET
3893
3894         * gst/gstpipeline.c: (gst_pipeline_class_init),
3895         (reset_stream_time), (gst_pipeline_change_state),
3896         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3897         Using the new ASYNC_START message we can reset the base_time when
3898         needed. This can then be used to implement base_time redistribution in
3899         flushing seeks so that we can remove the explicit seek handling.
3900         Perform latency query and configuration when going to PLAYING.
3901
3902         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3903         (gst_base_sink_query), (gst_base_sink_change_state):
3904         Post new ASYNC_START/ASYNC_DONE messages.
3905
3906         * tests/check/generic/sinks.c: (GST_START_TEST):
3907         Fix test because the bin will not set the async element to PLAYING right
3908         away.
3909
3910         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3911         Make the message check a little stronger.
3912         Handle ASYNC messages.
3913
3914         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3915         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3916         Expect ASYNC_DONE messages.
3917
3918 2007-03-19  Wim Taymans  <wim@fluendo.com>
3919
3920         * docs/gst/gstreamer-sections.txt:
3921         * gst/gstmessage.c: (gst_message_new_async_start),
3922         (gst_message_new_async_done), (gst_message_parse_info),
3923         (gst_message_parse_async_start):
3924         * gst/gstmessage.h:
3925         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3926         support.
3927
3928 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3929
3930         * tools/gst-inspect.c:
3931         (print_plugin_automatic_install_info_codecs):
3932           Now that we don't check for the 'Codec' keyword any longer in the
3933           klass, we shouldn't spew a warning if the klass isn't a decoder or
3934           encoder (since it might be a Source/Network, for example).
3935
3936 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3937
3938         * tools/gst-inspect.c:
3939         (print_plugin_automatic_install_info_codecs):
3940           Don't require decoder/demuxer/depayloader elements or
3941           encoder/muxer/paylader elements to have 'Codec' as part of their
3942           factory class string when introspecting a plugin's capabilities.
3943           draft-klass.txt mentions that it might be removed in future, and
3944           flump3dec doesn't have it as part of its class string, so chances
3945           are others might also not have it.
3946
3947 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3948
3949         * po/af.po:
3950         * po/az.po:
3951         * po/bg.po:
3952         * po/ca.po:
3953         * po/cs.po:
3954         * po/de.po:
3955         * po/en_GB.po:
3956         * po/fr.po:
3957         * po/it.po:
3958         * po/nb.po:
3959         * po/nl.po:
3960         * po/ru.po:
3961         * po/sq.po:
3962         * po/sr.po:
3963         * po/sv.po:
3964         * po/tr.po:
3965         * po/uk.po:
3966         * po/vi.po:
3967         * po/zh_CN.po:
3968         * po/zh_TW.po:
3969           Update translations from translation project
3970
3971 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
3972
3973         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3974         (gst_child_proxy_set_property):
3975           Invert precondition check to be alike the ones in the mimiced gobject
3976           api.
3977
3978 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
3979
3980         * docs/design/draft-tagreading.txt:
3981         * docs/random/ensonic/audiobaseclasses.txt:
3982           Do some Architect work.
3983
3984         * gst/gstobject.c: (gst_object_set_name):
3985           Add a WARNING.
3986
3987         * gst/gstpad.c:
3988           Add docs that point from gst_pad_get_range to gst_pad_pull_range
3989
3990 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
3991
3992         * gst/gstsystemclock.c: (gst_system_clock_init),
3993         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3994         Defer starting the async system clock thread until the first async
3995         wait is scheduled. Fixes #414986.
3996
3997 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3998
3999         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4000         (gst_single_queue_free):
4001           Fix small leak (free GstSingleQueue structure too, not only contents).
4002
4003 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4004
4005         * gst/gstbin.c:(gst_bin_add):
4006         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4007         * win32/common/libgstbase.def:
4008         * win32/common/libgstreamer.def:
4009         Add new exported functions.
4010
4011 2007-03-09  Wim Taymans  <wim@fluendo.com>
4012
4013         * docs/plugins/gstreamer-plugins-sections.txt:
4014         Fix GstTee docs.
4015
4016 2007-03-09  Wim Taymans  <wim@fluendo.com>
4017
4018         * docs/gst/gstreamer-sections.txt:
4019         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4020         * gst/gstbuffer.h:
4021         Add metadata copy functions. Fixes #393099.
4022         API: gst_buffer_copy_metadata()
4023
4024         * gst/gstutils.c: (gst_buffer_stamp):
4025         * libs/gst/base/gstbasetransform.c:
4026         (gst_base_transform_prepare_output_buffer):
4027         Use new metadata copy functions.
4028
4029 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4030
4031         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4032         (gst_identity_init), (gst_identity_check_perfect),
4033         (gst_identity_check_imperfect_timestamp),
4034         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4035         (gst_identity_set_property), (gst_identity_get_property):
4036         * plugins/elements/gstidentity.h:
4037         Separate out check-imperfect-timestamp and check-imperfect-offset.
4038         Put back check-perfect as it was to keep compatibility.
4039
4040 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4041
4042         * gst/gstelement.c: (gst_element_dispose):
4043         There's no need to warn if VOID_PENDING is not NONE here, as
4044         long as the state is NULL it's ok, and that's checked immediately
4045         above.
4046
4047 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4048
4049         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4050         Fix check for perfect stream to ignore buffers with -1 
4051         offsets/offset ends when checking data contiguity.
4052
4053 2007-03-08  Wim Taymans  <wim@fluendo.com>
4054
4055         * tools/gst-launch.c: (event_loop):
4056         Print INFO messages.
4057
4058 2007-03-08  Wim Taymans  <wim@fluendo.com>
4059
4060         * libs/gst/base/gstbasetransform.c:
4061         (gst_base_transform_sink_eventfunc),
4062         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4063         (gst_base_transform_activate):
4064         * libs/gst/base/gstbasetransform.h:
4065         Add support for dropping buffers with custom GstFlowReturn.
4066         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4067         buffers or dropped buffers.
4068
4069         * docs/libs/gstreamer-libs-sections.txt:
4070         docs for new custom return code.
4071
4072         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4073         Use drop support in base class to implement drop-probability.
4074
4075 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4076
4077         * gst/gst.c: (load_plugin_func):
4078         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4079         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4080         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4081           Remove newlines at end of debug log strings.
4082
4083 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4084
4085         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4086         Only post bus message at max, once per buffer received.
4087
4088 2007-03-07  Wim Taymans  <wim@fluendo.com>
4089
4090         * docs/design/Makefile.am:
4091         * docs/design/part-synchronisation.txt:
4092         Add doc about synchronisation
4093
4094         * docs/design/draft-latency.txt:
4095         * docs/design/part-TODO.txt:
4096         * docs/design/part-clocks.txt:
4097         * docs/design/part-events.txt:
4098         * docs/design/part-gstbus.txt:
4099         * docs/design/part-gstpipeline.txt:
4100         * docs/design/part-live-source.txt:
4101         * docs/design/part-messages.txt:
4102         * docs/design/part-overview.txt:
4103         * docs/design/part-streams.txt:
4104         * docs/design/part-trickmodes.txt:
4105         Documentation updates.
4106
4107 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4108
4109         * gstreamer.doap:
4110         Update the doap file.
4111
4112 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4113
4114         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4115         Rename non-perfect to imperfect for Mike and for the sanctity of the
4116         language.
4117         Also make sure bus message gets emitted for data-incontiguities.
4118
4119 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4120
4121         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4122         (gst_identity_start):
4123         * plugins/elements/gstidentity.h:
4124         Emit bus message if check-perfect is true and we encounter a
4125         non-perfect stream between 2 consecutive buffers.
4126         Fixes #415394.
4127
4128 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4129
4130         * configure.ac:
4131         Back to CVS
4132
4133 === release 0.10.12 ===
4134
4135 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4136
4137         * configure.ac:
4138           releasing 0.10.12, "Inevitable Demise"
4139
4140 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4141
4142         * configure.ac:
4143          Version 0.10.11.2 (0.10.12 pre-release)
4144          Bump libtool versioning.
4145
4146 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4147
4148         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4149           Log flow-names and not numbers.
4150
4151 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4152
4153         * configure.ac:
4154           Convert to new AG_GST style.
4155
4156 2007-02-28  Wim Taymans  <wim@fluendo.com>
4157
4158         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4159         Don't unref query twice.
4160
4161 2007-02-28  Wim Taymans  <wim@fluendo.com>
4162
4163         * gst/gstvalue.c: (gst_value_transform_object_string),
4164         (_gst_value_initialize):
4165         Implement GstObject -> string transform so we print object names
4166         when serializing GValues containing GstObjects.
4167
4168 2007-02-28  Wim Taymans  <wim@fluendo.com>
4169
4170         * docs/gst/gstreamer-sections.txt:
4171         Add new stuff to docs.
4172
4173 2007-02-28  Wim Taymans  <wim@fluendo.com>
4174
4175         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4176         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4177         (gst_base_sink_change_state):
4178         Improve latency query code.
4179         Don't leak latency events.
4180
4181         * tests/check/gst/gstbin.c: (GST_START_TEST):
4182         Improve debugging.
4183
4184 2007-02-28  Wim Taymans  <wim@fluendo.com>
4185
4186         * gst/gstelement.c: (gst_element_message_full),
4187         (gst_element_get_state_func):
4188         * gst/gstelement.h:
4189         Improve docs a little. Added Since: for new macro.
4190
4191         * gst/gstobject.c: (gst_object_sink):
4192         * gst/gstpipeline.c: (gst_pipeline_change_state),
4193         (gst_pipeline_set_new_stream_time):
4194         * gst/gstpipeline.h:
4195         Improve debugging and docs.
4196
4197         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4198         Improve debugging.
4199
4200 2007-02-28  Wim Taymans  <wim@fluendo.com>
4201
4202         * gst/gstelement.c: (gst_element_message_full),
4203         (gst_element_set_locked_state), (gst_element_get_state_func),
4204         (gst_element_change_state):
4205         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4206         Documentation updates.
4207         Small code cleanups.
4208
4209         * gst/gstmessage.c: (gst_message_new_info),
4210         (gst_message_parse_info):
4211         * gst/gstmessage.h:
4212         API: gst_message_new_info()
4213         API: gst_message_parse_info()
4214         Add INFO message create and parse code.
4215
4216 2007-02-28  Wim Taymans  <wim@fluendo.com>
4217
4218         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4219         (bin_query_latency_done):
4220         Also report the live parameter of a latency query.
4221
4222 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4223
4224         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4225           Copy the current generic/states example from -base and adapt so
4226           we can use the exact same code everywhere.
4227           Check a STATES_IGNORE_ELEMENTS env var which can be used
4228           to ignore certain element factories for this test, which is
4229           what is being done in -base
4230         * tests/check/Makefile.am:
4231           Mention this environment variable.
4232
4233 2007-02-27  Wim Taymans  <wim@fluendo.com>
4234
4235         * docs/gst/gstreamer-sections.txt:
4236         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4237         (gst_bus_timed_pop), (gst_bus_pop):
4238         * gst/gstbus.h:
4239         API: gst_bus_timed_pop()
4240         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4241         message to arrive on the bus.
4242
4243         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4244         (gst_bus_suite):
4245         Two unit tests for new _timed_pop() function.
4246
4247 2007-02-23  Wim Taymans  <wim@fluendo.com>
4248
4249         * gst/gstpipeline.c: (gst_pipeline_change_state),
4250         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4251         Don't ref a NULL clock in _provide_clock_func().
4252         Don't allow an INVALID delay.
4253         Don't try to calculate base_time with an invalid start_time.
4254         Also distribute and notify a NULL clock when it was selected.
4255
4256         * tools/gst-launch.c: (event_loop):
4257         Don't crash when a NULL clock was selected in the pipeline.
4258
4259 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4260
4261         * docs/design/Makefile.am:
4262         * docs/design/draft-missing-plugins.txt:
4263         * docs/random/draft-missing-plugins.txt:
4264           Some small updates: update plugin system identifier prefix
4265           ('gstreamer.net' to 'gstreamer'), mention our new install
4266           API in libgstbaseutils rather than libgimme-codec, add
4267           reference to the online docs.
4268
4269 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4270
4271         * win32/common/config.h:
4272           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4273           use moap cl ci to only check in what is mentioned in the ChangeLog.
4274
4275 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4276
4277         * docs/gst/gstreamer-sections.txt:
4278         * gst/gstelement.h:
4279           Fix up documentation to link to the correct GstGError section.
4280           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4281
4282 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4283
4284         * tools/gst-launch.c: (event_loop):
4285           Make sure that we actually show the important message part of a
4286           warning message.
4287           No need to check if the gerror is not NULL to free; first of all
4288           g_free accepts NULL; and second the default error handler would
4289           segfault if gerror was NULL.
4290
4291 2007-02-21  Wim Taymans  <wim@fluendo.com>
4292
4293         * docs/gst/gstreamer-sections.txt:
4294         Removed docs as well.
4295
4296 2007-02-21  Wim Taymans  <wim@fluendo.com>
4297
4298         * gst/gstmessage.c: (gst_message_parse_duration):
4299         * gst/gstmessage.h:
4300         Remove new messages for release.
4301
4302 2007-02-20  Wim Taymans  <wim@fluendo.com>
4303
4304         * docs/design/part-gstghostpad.txt:
4305         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4306         (gst_ghost_pad_new_full):
4307         Make the ghostpad a parent of the internal pad again for better backward
4308         compatibility. Don't write code that relies on this however.
4309
4310         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4311         (gst_pad_link_check_hierarchy):
4312         Require that parents should be GstElements in the hierarchy check.
4313
4314 2007-02-20  Wim Taymans  <wim@fluendo.com>
4315
4316         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4317         (gst_bin_change_state_func), (bin_query_min_max_init),
4318         (bin_query_latency_fold), (bin_query_latency_done),
4319         (gst_bin_query):
4320         Improve debug info.
4321         Implement latency query.
4322
4323 2007-02-20  Wim Taymans  <wim@fluendo.com>
4324
4325         * docs/design/part-gstghostpad.txt:
4326         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4327         (gst_ghost_pad_internal_do_activate_push),
4328         (gst_ghost_pad_internal_do_activate_pull),
4329         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4330         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4331         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4332         Do not set the internal pad as a parent anymore so we can avoid
4333         hierarchy linking errors when the ghostpad has no parent yet. This also
4334         fixes failed activation because of unlinked internal pads, which in
4335         turn fixes the impossible case where you have to activate a pad before
4336         you can add it to a running element.
4337         Also fix the docs.
4338
4339         * gst/gstpad.c: (pre_activate), (post_activate),
4340         (gst_pad_set_active), (gst_pad_activate_pull),
4341         (gst_pad_activate_push), (gst_pad_check_pull_range):
4342         Add some more debug info.
4343         Mark activation mode in pre_activate so that we don't try to activate in
4344         endless loops. Fixes #385084.
4345
4346 2007-02-19  Wim Taymans  <wim@fluendo.com>
4347
4348         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4349         (gst_base_transform_check_get_range):
4350         Implement a checkgetrange function instead of relying on the default
4351         core behaviour that assumes we can operate in pull mode if we have a
4352         getrange function. First step at fixing #385084.
4353
4354 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4355
4356         * gst/gstchildproxy.h:
4357         * libs/gst/base/gstbasesink.h:
4358         * libs/gst/base/gstbasesrc.h:
4359         * libs/gst/base/gstbasetransform.h:
4360         More docs coverage and some ChangeLog surgery (add missing names)
4361
4362 2007-02-15  Wim Taymans  <wim@fluendo.com>
4363
4364         * docs/design/part-TODO.txt:
4365         * docs/design/part-activation.txt:
4366         * docs/design/part-block.txt:
4367         * docs/design/part-buffering.txt:
4368         * docs/design/part-clocks.txt:
4369         * docs/design/part-element-source.txt:
4370         * docs/design/part-events.txt:
4371         * docs/design/part-gstbin.txt:
4372         * docs/design/part-gstbus.txt:
4373         * docs/design/part-gstpipeline.txt:
4374         * docs/design/part-live-source.txt:
4375         * docs/design/part-messages.txt:
4376         * docs/design/part-overview.txt:
4377         * docs/design/part-qos.txt:
4378         * docs/design/part-query.txt:
4379         * docs/design/part-states.txt:
4380         * docs/design/part-trickmodes.txt:
4381         Some doc updates. Start renaming from stream_time to running_time where
4382         it was used wrongly.
4383
4384 2007-02-15  Wim Taymans  <wim@fluendo.com>
4385
4386         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4387         Answer LATENCY query.
4388
4389 2007-02-15  Wim Taymans  <wim@fluendo.com>
4390
4391         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4392         (GST_START_TEST):
4393         Improve debugging.
4394
4395 2007-02-15  Wim Taymans  <wim@fluendo.com>
4396
4397         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4398         (gst_pad_dispatcher):
4399         Improve debugging of default pad dispatcher and query functions.
4400
4401 2007-02-15  Wim Taymans  <wim@fluendo.com>
4402
4403         * docs/gst/gstreamer-sections.txt:
4404         Remove old unused method.
4405
4406 2007-02-13  Wim Taymans  <wim@fluendo.com>
4407
4408         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4409         Fix check
4410
4411 2007-02-13  Wim Taymans  <wim@fluendo.com>
4412
4413         * docs/design/part-seeking.txt:
4414         Some small update.
4415
4416         * gst/gstsegment.c: (gst_segment_set_seek):
4417         Revert old bogus change that should make seeking work again.
4418
4419 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4420
4421         * docs/random/ensonic/dynlink.txt:
4422         * docs/random/ensonic/interfaces.txt:
4423         * docs/random/ensonic/receipies.txt:
4424           Possible dynamic reconnection api, plus some type fixes the other two
4425           docs.
4426
4427 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4428
4429         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4430         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4431         Also check for an absolute path following file:// in the filesrc
4432         element. Remove redundant check and call g_path_is_absolute() on the
4433         unescaped location.
4434
4435 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4436
4437         * docs/design/draft-klass.txt:
4438           Add existing category analysis.
4439           
4440         * gst/gstcaps.c:
4441           Fix doc example, framerate is a fraction.
4442
4443 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4444
4445         * configure.ac:
4446         * docs/gst/Makefile.am:
4447         * docs/gst/gstreamer-sections.txt:
4448         * docs/libs/Makefile.am:
4449           Erm, forgot a bunch of --extra-dir.
4450
4451 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4452
4453         * configure.ac:
4454         * docs/gst/Makefile.am:
4455         * docs/libs/Makefile.am:
4456         * docs/plugins/Makefile.am:
4457           Add crossreferences to glib/gobject docs.
4458
4459 2007-02-12  Wim Taymans  <wim@fluendo.com>
4460
4461         * docs/design/draft-latency.txt:
4462         Small update.
4463
4464         * docs/libs/gstreamer-libs-sections.txt:
4465         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4466         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4467         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4468         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4469         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4470         (gst_base_sink_get_position), (gst_base_sink_query),
4471         (gst_base_sink_change_state):
4472         * libs/gst/base/gstbasesink.h:
4473         API: gst_base_sink_query_latency() to let subclasses query the upstream
4474         latency.
4475         API: gst_base_sink_get_latency() to let subclasses query the configured
4476         latency in the sink.
4477         Implement query and set latency.
4478         Update some docs.
4479         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4480         don't continue preroll when we are flushing. Fixes #405284.
4481
4482         * tests/check/pipelines/stress.c: (change_state_timeout),
4483         (quit_timeout), (GST_START_TEST), (stress_suite):
4484         Test for #405284.
4485
4486 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4487
4488         Patch by: René Stadler <mail at renestadler de>
4489
4490         * docs/gst/gstreamer-sections.txt:
4491         * gst/gsttaglist.c: (_gst_tag_initialize):
4492         * gst/gsttaglist.h:
4493           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4494
4495 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4496
4497         * docs/libs/Makefile.am:
4498           Fix path to core docs.
4499
4500         * gst/gstbin.c: (gst_bin_get_by_interface),
4501         (gst_bin_iterate_all_by_interface):
4502           Refix docs by also renaming 'interface' to 'iface' in implementation.
4503
4504         * docs/gst/gstreamer-sections.txt:
4505         * gst/gstcaps.c:
4506         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4507         * gst/gstchildproxy.h:
4508         * gst/gstelementfactory.c:
4509         * gst/gstpadtemplate.h:
4510         * libs/gst/controller/gstcontroller.c:
4511         (gst_controlled_property_new):
4512           Document more.
4513
4514 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4515
4516         * gst/gstbin.h:(gst_bin_get_by_interface),
4517         (gst_bin_iterate_all_by_interface):
4518         Replace interface parameter name by iface as interface is 
4519         a reserved keyword in Visual Studio for C++ projects so it removes
4520         a build error for application developpers using VS.
4521         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4522         Fix a bug on Windows in uri format check. Now the prefix checked
4523         is file:// and next we check if the path after file:// is absolute.
4524         * win32/common/libgstbase.def:
4525         * win32/common/libgstdataprotocol.def:
4526         * win32/common/libgstgstreamer.def:
4527         Add new exported functions.
4528
4529 2007-02-09  Andy Wingo  <wingo@pobox.com>
4530
4531         * tests/check/pipelines/simple-launch-lines.c
4532         (simple_launch_lines_suite, test_tee): Disable tee test until I
4533         have time to fix it :-(
4534
4535         * tests/check/Makefile.am (noinst_HEADERS): 
4536         * tests/check/libs/libsabi.c: 
4537         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4538         * tests/check/gst/gstabi.c: 
4539         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4540
4541         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4542         tests for push and pull tee behavior.
4543
4544         * plugins/elements/gsttee.h: 
4545         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4546         mark as deprecated as well as unimplemented. It was a crack idea.
4547         Add support for tee operating in pull mode, off by default.
4548
4549         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4550         normal-case logs down to LOG, raise errors to WARNING.
4551         (gst_registry_xml_read_cache): Don't log before calling a function
4552         that logs.
4553
4554         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4555         exit (registry finalize).
4556         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4557         DEBUG log when we emit signals that people don't even have the
4558         chance to connect to.
4559         (gst_registry_scan_path_level): Less logging in the normal case.
4560
4561 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4562
4563         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4564
4565         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4566         Correctly generate EOS for non-seekable files. We don't have a total
4567         length for them and would get an unexpected end of file if we only
4568         special-cased for regular files. (Fixes: #404569)
4569
4570 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4571
4572         * tests/check/elements/filesrc.c: (GST_START_TEST),
4573         (filesrc_suite):
4574         Add unit test for the GstURIHandler interface in filesrc. This also
4575         tests the newly added file://localhost/foo/bar support.
4576
4577 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4578
4579         * gst/gstelementfactory.h:
4580           The klass string is not a hierarchy. Add reference to the design doc
4581           for more information and common types.
4582
4583 2007-02-02  Wim Taymans  <wim@fluendo.com>
4584
4585         * gst/gstquery.c: (gst_query_new_latency):
4586         Remove old structure field.
4587
4588 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4589
4590         * tools/gst-launch.1.in:
4591           Give example for network streaming (#351998)
4592
4593 2007-02-02  Wim Taymans  <wim@fluendo.com>
4594
4595         * docs/gst/gstreamer-sections.txt:
4596         Add docs for new methods.
4597
4598         * gst/gstevent.c: (gst_event_new_latency),
4599         (gst_event_parse_latency):
4600         * gst/gstevent.h:
4601         Add new LATENCY event to configure latency in a pipeline.
4602         API: gst_event_new_latency
4603         API: gst_event_parse_latency
4604
4605         * gst/gstmessage.c: (gst_message_new_buffering),
4606         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4607         (gst_message_new_latency), (gst_message_parse_buffering),
4608         (gst_message_parse_lost_preroll):
4609         * gst/gstmessage.h:
4610         Added messages used in draft-latency.
4611         API: gst_message_new_lost_preroll
4612         API: gst_message_parse_lost_preroll
4613         API: gst_message_new_prerolled
4614         API: gst_message_new_latency
4615
4616         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4617         (gst_query_parse_latency):
4618         * gst/gstquery.h:
4619         Implemented new latency query as in design doc.
4620         API: gst_query_new_latency
4621         API: gst_query_set_latency
4622         API: gst_query_parse_latency
4623
4624 2007-02-02  Wim Taymans  <wim@fluendo.com>
4625
4626         * docs/design/draft-latency.txt:
4627         Slight redesign to allow for dynamic latency adjustments.
4628
4629         * docs/design/part-negotiation.txt:
4630         Fix some typos.
4631
4632 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4633
4634         reviewed by: Wim Taymans <wim@fluendo.com>
4635
4636         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4637         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4638         Allow file://localhost/foo/bar URLs and correctly fail for every other
4639         hostname that one sets. This was gnomevfssrc is linked for those if
4640         installed as it can handle it (#403172)
4641
4642 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4643
4644         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4645
4646         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4647         (unref_data), (gst_collect_pads_add_pad_full):
4648         * libs/gst/base/gstcollectpads.h:
4649         Don't put the previously added destroy notify in the GstCollectData
4650         struct as all it's padding is already used and we don't want to break
4651         ABI. Instead put in the pad's GObject data for now. This should be
4652         cleaned up for 0.11 (#402393).
4653
4654 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4655
4656         reviewed by: Wim Taymans <wim@fluendo.com>
4657
4658         * docs/libs/gstreamer-libs-sections.txt:
4659         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4660         (unref_data), (gst_collect_pads_add_pad),
4661         (gst_collect_pads_add_pad_full):
4662         * libs/gst/base/gstcollectpads.h:
4663         API: Add function to specify a destroy notification for custom
4664         GstCollectData when adding new pads in GstCollectPads (#402393).
4665
4666 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4667
4668         * po/sv.po:
4669           Update Swedish translation (#378255).
4670
4671 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4672
4673         * docs/design/draft-klass.txt:
4674           Fix the previous change, this is a list of categories and not a hierarchy.
4675
4676 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4677
4678         * docs/design/draft-klass.txt:
4679           Add info about how to get a list of used classes.
4680
4681 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4682
4683         * plugins/elements/gsttypefindelement.c:
4684         (gst_type_find_element_chain_do_typefinding),
4685         (gst_type_find_element_change_state):
4686           Don't leak found caps in chain function (no idea why that never
4687           showed up as a leak anywhere).
4688
4689 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4690
4691         * gst/gstplugin.h:
4692           Fix and expand GstPluginDesc API docs.
4693
4694 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4695
4696         * gst/gstcaps.c:
4697         * gst/gstelementfactory.c:
4698         * gst/gstpadtemplate.h:
4699           api doc fixes
4700
4701         * libs/gst/controller/gstcontroller.c:
4702         (gst_controlled_property_new):
4703         * tests/examples/controller/audio-example.c:
4704           comment fixes
4705
4706 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4707
4708         * configure.ac:
4709           comment about refining the xml deps
4710
4711         * docs/manuals.mak:
4712           comments about moving away from jade for docs
4713         
4714         * gst/gst.c:
4715           recommit the ifdefs to use the binary registry
4716         
4717         * gst/gstbin.c: (gst_bin_change_state_func):
4718           this break is obsolete
4719
4720         * gst/gstelementfactory.h:
4721           better GST_ELEMENT_DETAILS docs, add comment about translation
4722
4723         * gst/gstinfo.h:
4724           remove eol slash
4725
4726         * gst/gstobject.c: (gst_signal_object_get_type):
4727           add G_UNLIKELY as usual
4728
4729         * gst/gstpad.c: (gst_pad_event_default):
4730           add fall trhu comment
4731
4732         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4733         (gst_registry_binary_initialize_magic),
4734         (gst_registry_binary_save_string),
4735         (gst_registry_binary_save_pad_template),
4736         (gst_registry_binary_save_feature),
4737         (gst_registry_binary_save_plugin),
4738         (gst_registry_binary_write_cache),
4739         (gst_registry_binary_check_magic),
4740         (gst_registry_binary_load_pad_template),
4741         (gst_registry_binary_load_feature),
4742         (gst_registry_binary_load_plugin),
4743         (gst_registry_binary_read_cache):
4744           comment typo and formatting
4745
4746         * gst/gstutils.c: (gst_element_state_get_name),
4747         (gst_element_state_change_return_get_name):
4748           remove obsolete breaks
4749
4750         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4751           add FIXME 0.11 and remove cpp comment
4752
4753 2007-01-29  Edward Hervey  <edward@fluendo.com>
4754
4755         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4756         Fix print statement in an even more portable way.
4757
4758 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4759
4760         * docs/gst/gstreamer-sections.txt:
4761         * gst/gstutils.h:
4762           API: add GST_ROUND_DOWN_* macros (#401781).
4763
4764 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4765
4766         * docs/gst/gstreamer.types.in:
4767         * gst/gstregistry.c: (gst_registry_class_init):
4768           Document registry signals and make gtk-doc pick them up (#401381).
4769
4770 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4771
4772         * docs/pwg/building-testapp.xml:
4773           Add some audioconverts and audioresample to the pipeline, and some
4774           more comments and error handling.
4775
4776 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4777
4778         * docs/manual/manual.xml:
4779         * docs/pwg/pwg.xml:
4780           Fix typo (#400987).
4781
4782 2007-01-26  Wim Taymans  <wim@fluendo.com>
4783
4784         * gst/gstcaps.c: (gst_static_caps_get):
4785         Init caps flags too.
4786
4787 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4788
4789         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4790
4791         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4792         If not using mmap'ed files try to seek to the end instead of the
4793         start to determine whether we can seek at all. This fixes the case
4794         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4795         seeks for everything afterwards fail. Fixes #400656
4796
4797 2007-01-25  Wim Taymans  <wim@fluendo.com>
4798
4799         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4800         Add some refcount debugging.
4801         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4802         in multiple streaming threads.
4803
4804 2007-01-25  Wim Taymans  <wim@fluendo.com>
4805
4806         Patch by: David Schleef <ds at schleef dot org>
4807
4808         * docs/libs/gstreamer-libs-sections.txt:
4809         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4810         * libs/gst/base/gstadapter.h:
4811         API: gst_adapter_copy() that can reduce the amount of memcpy when
4812         getting data from the adapter. Fixes #388201.
4813
4814 2007-01-25  Edward Hervey  <edward@fluendo.com>
4815
4816         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4817         In print statements, "%x" is for guint. Fixes build on macosx.
4818
4819 2007-01-24  Edward Hervey  <edward@fluendo.com>
4820
4821         * plugins/elements/gstmultiqueue.c:
4822         (gst_multi_queue_loop):
4823         Small fix.
4824         (single_queue_overrun_cb), (single_queue_underrun_cb),
4825         (single_queue_check_full), (gst_single_queue_new):
4826         Implement single queue growth system.
4827         This uses the extra-size properties, and will grow single queues by
4828         that much if one goes full whereas there are others empty. This is
4829         called extra-mode in the code.
4830         When a single queue's levels go back below the initial max-size
4831         limits, it is no longer in extra-mode. This is to ensure we don't
4832         consume too much memory.
4833         Fixes #399875
4834
4835 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4836
4837         * gst/gst.c: (gst_init_get_option_group):
4838           Make warning about late g_thread_init() calls a bit more explicit,
4839           so that it's more obvious to application developers what they need
4840           to do if a user files a bug against their application.
4841
4842 2007-01-22  Edward Hervey  <edward@fluendo.com>
4843
4844         * plugins/elements/gstmultiqueue.c:
4845         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4846         Remove previous hack of unsetting the flushing flag for the source pad
4847         instead of activating it. Instead, fix the source pad activate function
4848         so that it no longer depends on having a parent set or not.
4849
4850 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4851
4852         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4853
4854         * docs/manual/basics-bus.xml:
4855           Fix example code, gst_element_unref() doesn't exist any longer.
4856
4857 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4858
4859         Patch by: Mark Nauwelaerts <manauw at skynet be>
4860
4861         * gst/gstpad.c:
4862           Fix two docs typoes (#399094).
4863
4864 2007-01-19  Edward Hervey  <edward@fluendo.com>
4865
4866         * docs/faq/gst-uninstalled:
4867         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4868         depending on libgstbaseutils can work in uninstalled environment.
4869
4870 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4871
4872         * gst/gsttaglist.h:
4873         * gst/gsttagsetter.c:
4874         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4875         statement for new tag.
4876
4877 2007-01-17  Edward Hervey  <edward@fluendo.com>
4878
4879         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4880         When dynamically creating single queues, activate sinkpad before adding
4881         it.
4882         We should be doing the same thing for the source pad, but we can't
4883         since it would call a method which needs the parent to be set in order
4884         to work propertly. Instead of activating the source pad, we just unset
4885         the flushing flag, which is the minimal requirement for adding a pad
4886         to an element in a state greater than READY.
4887
4888 2007-01-17  Edward Hervey  <edward@fluendo.com>
4889
4890         * docs/faq/gst-uninstalled:
4891         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4892         Mac OS X.
4893
4894 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4895
4896         * tests/check/gst/gstabi.c:
4897         * tests/check/gst/struct_hppa.h:
4898         * tests/check/libs/libsabi.c:
4899         * tests/check/libs/struct_hppa.h:
4900           Add ABI structs for HPPA (see #393796).
4901
4902 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
4903
4904         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4905           Actually write ABI structs to the file specified in the GST_ABI
4906           environment variable, as the message we print claims we would.
4907
4908 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4909
4910         * tests/check/gst/gsttask.c:
4911           Fix header comment.
4912
4913 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4914
4915         * gst/gsttaglist.c: (_gst_tag_initialize):
4916           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4917           previous two entries.
4918
4919 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4920
4921         * docs/gst/gstreamer-sections.txt:
4922         * gst/gsttaglist.c: (_gst_tag_initialize):
4923         * gst/gsttaglist.h:
4924           Add tag support for beat-per-minute.
4925
4926 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4927
4928         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4929         (gst_registry_binary_initialize_magic),
4930         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4931         (gst_registry_binary_save_pad_template),
4932         (gst_registry_binary_save_feature),
4933         (gst_registry_binary_save_plugin),
4934         (gst_registry_binary_write_cache),
4935         (gst_registry_binary_check_magic),
4936         (gst_registry_binary_load_pad_template),
4937         (gst_registry_binary_load_feature),
4938         (gst_registry_binary_load_plugin),
4939         (gst_registry_binary_read_cache):
4940         * gst/gstregistrybinary.h:
4941           Use glib types, cleanup comments, impement interfaces and uri-types.
4942
4943 2007-01-13  Andy Wingo  <wingo@pobox.com>
4944
4945         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4946         getrange() to return buffers with other caps, while we fix
4947         demuxers and typefind, or otherwise change part-negotiation.txt.
4948
4949 2007-01-12  Andy Wingo  <wingo@pobox.com>
4950
4951         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4952         Factor start/stop into this private function instead of partially
4953         in activate functions and partially in the change_state function.
4954         Fixes setup before the element has changed from READY->PAUSED, as
4955         is the case in pull-mode pipelines.
4956         (gst_base_transform_sink_activate_push)
4957         (gst_base_transform_src_activate_pull): Refactor to use
4958         gst_base_transform_activate().
4959         (gst_base_transform_change_state): Removed, not needed any more.
4960
4961         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4962         Truncate before fixating.
4963         
4964         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4965         Don't set_caps() if the result of fixating is ANY, as it's not
4966         supported, and not necessary in the case of a link with no
4967         template caps on either side. Fixes tests/check/libs/basesrc in
4968         some pull-mode tests.
4969
4970         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4971         (gst_base_transform_init, gst_base_transform_sink_activate_push)
4972         (gst_base_transform_src_activate_pull): 
4973         Track the activation mode.
4974         (gst_base_transform_setcaps): In pull mode, when activating the
4975         src pad, after activating the sink pad, activate the sink pad's
4976         peer, as discussed in part-negotiation.txt.
4977
4978         * libs/gst/base/gstbasesrc.h: 
4979         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4980         vmethod, as in basesink.
4981
4982         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4983
4984         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4985         mode, first proxy the setcaps to the peer pad.
4986         (gst_base_sink_pad_fixate): Add a fixate function that calls the
4987         new fixate vmethod.
4988         (gst_base_sink_default_activate_pull): Rename from
4989         gst_base_sink_activate_pull.
4990         (gst_base_sink_negotiate_pull): New function, performs negotiation
4991         in pull mode before calling ::activate_pull().
4992         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4993         vmethod instead of the default implementation. I have no idea how
4994         this worked before. Negotiate before calling activate_pull.
4995
4996         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4997         sink pads in pull mode. In addition to being correct, fixes
4998         filesrc ! decodebin ! identity ! fakesink.
4999         (gst_pad_get_range, gst_pad_pull_range): Don't call
5000         gst_pad_set_caps() if the caps changes; instead error out with
5001         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5002
5003 2007-01-12  Andy Wingo  <wingo@pobox.com>
5004
5005         * docs/design/part-negotiation.txt: Update with more policy.
5006
5007 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5008
5009         * libs/gst/check/gstbufferstraw.h:
5010         * libs/gst/check/gstcheck.h:
5011           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5012           belongs.
5013
5014 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5015
5016         * tests/check/Makefile.am:
5017         * tests/check/gst/.cvsignore:
5018         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5019         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5020         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5021         (GST_START_TEST), (gst_tag_setter_suite):
5022           Add minimal unit test for beforementioned GstTagSetter bug.
5023
5024 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5025
5026         Patch by: René Stadler <mail at renestadler dot de>
5027
5028         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5029           gst_tag_list_merge() returns a new list, so it's not the best idea
5030           to ingore its return value. Effectively meant that tags could only
5031           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5032           Also add function guard to require a non-NULL taglist as input (has
5033           always been so due to gst_tag_list_copy(), just making it explicit).
5034
5035 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5036
5037         * docs/random/draft-missing-plugins.txt:
5038           Some additions: mention new API that is supposed to be used at the
5039           various stages; short blob about new gst-inspect introspection
5040           option; mention potential future problem with plugins that have
5041           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5042
5043 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5044
5045         * tools/gst-inspect.c:
5046         (print_plugin_automatic_install_info_codecs),
5047         (print_plugin_automatic_install_info_protocols),
5048         (print_plugin_automatic_install_info), (main):
5049         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5050         introspect plugin files and get machine-parsable output that corresponds
5051         to the last bit of the missing-plugin installer string (small gotcha:
5052         doesn't take into account ranks).
5053
5054 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5055
5056         * configure.ac:
5057         * docs/gst/gstreamer-sections.txt:
5058         * gst/Makefile.am:
5059         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5060         (gst_registry_lookup_locked):
5061         * gst/gstregistry.h:
5062         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5063         (gst_registry_binary_initialize_magic),
5064         (gst_registry_binary_save_string),
5065         (gst_registry_binary_save_pad_template),
5066         (gst_registry_binary_save_feature),
5067         (gst_registry_binary_save_plugin),
5068         (gst_registry_binary_write_cache),
5069         (gst_registry_binary_check_magic),
5070         (gst_registry_binary_load_pad_template),
5071         (gst_registry_binary_load_feature),
5072         (gst_registry_binary_load_plugin),
5073         (gst_registry_binary_read_cache):
5074         * gst/gstregistrybinary.h:
5075         * gst/gstregistryxml.c: (load_feature),
5076         (gst_registry_xml_read_cache):
5077           commit binary registry (disabled by default, see #359653)
5078
5079 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5080
5081         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5082           Fix 'make check' too.
5083
5084 2007-01-10  Andy Wingo  <wingo@pobox.com>
5085
5086         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5087         notes.
5088         
5089         * docs/design/part-negotiation.txt: Update with, um, one way that
5090         pull-mode negotiation might work?
5091
5092         * gst/gstpad.h: 
5093         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5094         that the pad must be a src pad; makes sense to call it the other
5095         way in pull mode, and the logic is symmetric anyway.
5096
5097 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5098
5099         * plugins/elements/gstfilesink.c:
5100           Include <stdio.h> for fseeko().
5101
5102 2007-01-10  Wim Taymans  <wim@fluendo.com>
5103
5104         * gst/gstevent.c:
5105         * gst/gstevent.h:
5106         Reserve LATENCY event.
5107
5108 2007-01-09  Wim Taymans  <wim@fluendo.com>
5109
5110         * docs/design/draft-latency.txt:
5111         Updates.
5112
5113 2007-01-09  Wim Taymans  <wim@fluendo.com>
5114
5115         * docs/design/draft-latency.txt:
5116         Updates.
5117
5118         * gst/gstelement.h:
5119         * gst/gststructure.c:
5120         * gst/gsttrace.c:
5121         Small typo fixes.
5122
5123 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5124
5125         * tests/check/.cvsignore:
5126           Ignore test-registry.xml as well.
5127
5128 2007-01-09  Wim Taymans  <wim@fluendo.com>
5129
5130         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5131         unref data at the end when we are done with the pad.
5132
5133 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5134
5135         * docs/gst/gstreamer-sections.txt:
5136         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5137         (init_post), (gst_deinit), (gst_update_registry):
5138         * gst/gst.h:
5139           API: add gst_update_registry() (#391296).
5140
5141         * tests/check/Makefile.am:
5142         * tests/check/gst/gstregistry.c:
5143         * tests/check/gst/.cvsignore:
5144           Simple unit test for the above.
5145
5146 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5147
5148         * gst/gstregistry.c: (gst_registry_scan_path_level):
5149           Plugin extension on HP-UX is .sl, add that to the list of approved
5150           plugin extensions (see #393796).
5151
5152         * tests/check/gst/gstpad.c: (GST_START_TEST):
5153           ulong => gulong. Fixes compilation with HP-UX compiler.
5154
5155         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5156           Fix compilation if valgrind headers are not available.
5157
5158 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5159
5160         * win32/common/libgstreamer.def: 
5161           Add new exported function.
5162         * win32/vs6/libgstbase.dsp: 
5163           Add gstdataqueue.c to the build.
5164         * win32/vs6/libgstcoreelements.dsp:
5165           Add gstmultiqueue.c to the build.
5166         
5167 2007-01-06  Andy Wingo  <wingo@pobox.com>
5168
5169         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5170         activate_pull(), providing for a way to specialize the process of
5171         spawning a thread to pull on the sink pad. There is a default
5172         implementation.
5173
5174         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5175         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5176         (gst_base_sink_init): Renamed pad activation functions (inserting
5177         "_pad" in their names). Refactor to use the new activate_pull
5178         vmethod, as appropriate.
5179         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5180         default activate_pull function to start a task pulling from the
5181         sink pad, as before.
5182
5183         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5184         on the pads if necessary, as in push()/chain(). Update docs.
5185         Shouldn't affect existing pull() usage as it is currently only
5186         being used on buffers without caps.
5187
5188 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5189
5190         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5191         (init_pre):
5192           Call g_thread_init() first thing in gst_init() / gst_check_init().
5193           When initialisation is done via gst_init_get_option_group() and
5194           GOption parsing, issue a warning if the GLib thread system has not
5195           been initialised yet by the time gst_init_get_option_group() is
5196           called, as it's quite likely other GLib functions such as
5197           g_option_context_new() have been called already then, and
5198           g_thread_init() must be called before any other GLib function. The
5199           application in question must be fixed in that case, since memory
5200           corruption might happen otherwise.
5201           We issue the warning because even if the GLib folks decide to work
5202           around the problem on their end in future, this is still an issue
5203           with all GLib versions >= 2.10.0, so we should warn until we depend
5204           on a GLib version we know to be safe.
5205           Update documentation as well.
5206           Closes bug #391278.
5207
5208 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5209
5210         * tools/gst-inspect.c: (main):
5211         * tools/gst-launch.c: (main):
5212         * tools/gst-typefind.c: (main):
5213         * tools/gst-xmlinspect.c: (main):
5214           Call g_thread_init() really really early, before any other GLib
5215           function (see #342564 and recent discussion on gtk-devel-list).
5216
5217 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5218
5219         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5220
5221         * gst/gst_private.h:
5222         * gst/gstconfig.h.in:
5223         * gst/gstinfo.h:
5224           On win32, all the __declspec stuff for symbol exporting is
5225           apparently only needed with MSVC, but doesn't work with MingW.
5226           Fixes compilation with MingW and #391909.
5227
5228 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5229
5230         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5231           Change some GST_ERROR_OBJECT that aren't really errors to
5232           GST_WARNING_OBJECT in order to reduce terminal spam.
5233
5234 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5235
5236         * tests/check/Makefile.am:
5237           disable test again, as there seem to be still race problems
5238
5239 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5240
5241         * tests/check/Makefile.am:
5242         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5243         (GST_START_TEST), (queue_suite):
5244           enable queue test again, add tests for the leaky behaviour
5245
5246 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5247
5248         * configure.ac:
5249         * tests/examples/Makefile.am:
5250           Compile adapter test/example only if the required headers are
5251           available (fixes #391915).
5252
5253 2007-01-01  David Schleef  <ds@schleef.org>
5254
5255         * gst/gstplugin.c:
5256           Restore the previous signal handler for SIGSEGV instead of
5257           setting to default, since we may have stolen it away from
5258           someone.  (i.e., Mono)
5259
5260 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5261
5262         * docs/random/draft-missing-plugins.txt:
5263           Some small additions and clarifications.
5264
5265 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5266
5267         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5268           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5269           since that can lead to random memory corruptions and crashes
5270           (may or may not be related to #383244, #386711, and #386711).
5271
5272 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5273
5274         * tests/check/.cvsignore:
5275         * tests/check/Makefile.am:
5276           sync .cvsignome and CLEANFILES
5277
5278 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5279
5280         * tests/check/Makefile.am:
5281           fix distcheck
5282
5283 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5284
5285         * docs/design/part-states.txt:
5286           two tiny additional comments
5287         
5288         * gst/gststructure.c:
5289           doc fixing
5290
5291         * tests/check/Makefile.am:
5292         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5293         (GST_START_TEST):
5294           disable test for now, unless it gets fixed
5295
5296 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5297
5298         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5299         (GST_START_TEST):
5300           fix race in underrun test
5301
5302 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5303
5304         * tests/check/elements/.cvsignore:
5305           ignore more
5306
5307         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5308         (GST_START_TEST):
5309           try to narrow test failure
5310
5311 2006-12-21  David Schleef  <ds@schleef.org>
5312
5313         * plugins/elements/gstfakesrc.c:
5314           Use g_random_int_range(), since it produces better random
5315           numbers in a range than almost-correct floating point code.
5316
5317 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5318
5319         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5320         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5321         (gst_check_teardown_sink_pad):
5322           do not automatically (de)activate pads
5323
5324         * tests/check/Makefile.am:
5325         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5326         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5327           add new, yet simple tests for queue
5328
5329         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5330         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5331         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5332         (GST_START_TEST):
5333         * tests/check/elements/identity.c: (cleanup_identity):
5334           consistent pad (de)activation
5335
5336 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5337
5338         Patch by: Sebastian Dröge  <slomo ubuntu com>
5339
5340         * libs/gst/base/gstcollectpads.c:
5341           Fix two doc typos (#387866).
5342
5343 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5344
5345         * docs/manual/advanced-dparams.xml:
5346           Fix typo (g_object_control_properties() doesn't exist).
5347
5348 2006-12-19  Edward Hervey  <edward@fluendo.com>
5349
5350         * gst/gstsegment.c: (gst_segment_set_seek):
5351         Fine tune the cases where the segment start/stop values are really
5352         updated.
5353         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5354         Add tests for the return values of gst_segment_set_seek().
5355
5356 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5357
5358         * gst/gst.c:
5359           Docs typo fix.
5360
5361         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5362         (gst_queue_init):
5363           Fix incorrect documentation and flesh it out a bit more.
5364           Set default values for the max properties on the GParamSpec as well,
5365           so it shows up correctly in gst-inspect.
5366
5367 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5368
5369         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5370           Correct docs of queue, add more detail and crosslink it more.
5371
5372 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5373
5374         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5375           Print additional debug info when the stream isn't perfectly
5376           timestamped; don't try to use invalid durations.
5377
5378 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5379
5380         * docs/design/Makefile.am:
5381           Dist new design docs.
5382
5383 2006-12-16  Wim Taymans  <wim@fluendo.com>
5384
5385         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5386
5387         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5388         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5389         (gst_collect_pads_stop), (gst_collect_pads_event),
5390         (gst_collect_pads_chain):
5391         * libs/gst/base/gstcollectpads.h:
5392         Add refcounting to the collectpads data so we can track when it's safe
5393         to free the data. Fixes #383382.
5394
5395 2006-12-15  Wim Taymans  <wim@fluendo.com>
5396
5397         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5398         (gst_collect_pads_remove_pad):
5399         Automatically activate/deactivate pads when they are added to a
5400         started/stoped collectpads.
5401
5402 2006-12-15  Wim Taymans  <wim@fluendo.com>
5403
5404         * gst/gstelement.c: (gst_element_add_pad):
5405         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5406         * gst/gstpad.c: (gst_pad_init):
5407         Set pads to FLUSHING when they are created. Check, warn and fix when a
5408         demuxer adds an inactive pad to itself when running. Fixes #339326.
5409
5410 2006-12-15  Wim Taymans  <wim@fluendo.com>
5411
5412         * gst/gstelement.c: (gst_element_class_init),
5413         (gst_element_default_send_event), (gst_element_send_event),
5414         (gst_element_default_query), (gst_element_query):
5415         Expose default element send_event and query handling as vmethods that
5416         subclasses can chain up to.
5417
5418 2006-12-15  Wim Taymans  <wim@fluendo.com>
5419
5420         * gst/gstelement.c: (gst_element_set_state_func):
5421         Small documentation fixes.
5422
5423 2006-12-15  Wim Taymans  <wim@fluendo.com>
5424
5425         * docs/design/draft-latency.txt:
5426         Checked in draft for handling latency in pipelines.
5427
5428 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5429
5430         * Makefile.am:
5431         * gstreamer.doap:
5432         * gstreamer.spec.in:
5433           adding .doap file
5434
5435 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5436
5437         * gst/gst.c: (init_pre), (init_post):
5438           init_pre() and init_post() might be called via our GOptionGroup or
5439           from gst_init(), and we should skip both of them if we've already
5440           been initialised, otherwise we will init some things twice or add
5441           two default log functions.
5442
5443 2006-12-13  Edward Hervey  <edward@fluendo.com>
5444
5445         * docs/manual/basics-bus.xml:
5446         No, gst_main_loop does not exist. Its g_main_loop.
5447         Discovered by somebody who abused the copy-paste technique of coding :)
5448
5449 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5450
5451         * gst/gstghostpad.c:
5452           Log ghostpad debug stuff to the GST_PADS category as well rather
5453           than just to the default category.
5454
5455 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5456
5457         * configure.ac:
5458         * gst/gst.c: (init_pre):
5459           Add some basic system details such as OS and architecture
5460           to the debug output if possible, courtesy of uname().
5461
5462 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5463
5464         * docs/gst/running.xml:
5465           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5466           environment variables.
5467
5468 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5469
5470         * tests/check/gst/gstbin.c: (GST_START_TEST):
5471         It is acceptable to have a refcount of 2 or 3 at this point in the
5472         test, because the pipeline might be just posting its state_change
5473         message. The next line then waits for that message to appear using
5474         bus_poll, so that should be fine too.
5475
5476 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5477
5478         * gst/gst.c: (ensure_current_registry_forking):
5479         Ignore EINTR when reading from the child registry pipe.
5480         Explicitly ignore the return value from close, since it makes no
5481         difference.
5482
5483         * gst/gstminiobject.c: (gst_mini_object_ref),
5484         (gst_mini_object_unref):
5485         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5486
5487         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5488         When removing cached plugins, remove their features too, so they're
5489         not visible after they've disappeared.
5490
5491         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5492         In the unlikely case that we are linking pads with no parents, don't
5493         crash trying to get the non-existent parent bin.
5494
5495         * gst/parse/grammar.y:
5496         Output debug in the PIPELINE category
5497
5498 2005-03-08  Wim Taymans  <wim@fluendo.com>
5499
5500         Patch by: René Stadler <mail at renestadler dot de>
5501
5502         * gst/gstclock.c: (gst_clock_new_periodic_id):
5503         Reject invalid clock times for interval of periodic ids.
5504         Fixes ##383506.
5505
5506 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5507
5508         * gst/gstelementfactory.c: (gst_element_factory_create):
5509         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5510         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5511         * tools/gst-inspect.c: (print_element_info):
5512         Fix refcounting of gst_plugin_feature_load to match the docs. 
5513         Fixes: #380129
5514
5515 2006-12-07  Wim Taymans  <wim@fluendo.com>
5516
5517         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5518         (gst_base_sink_get_position):
5519         Improve debugging of events.
5520
5521 2006-12-07  Wim Taymans  <wim@fluendo.com>
5522
5523         Patch by: René Stadler <mail at renestadler dot de>
5524
5525         * gst/gstclock.c: (gst_clock_id_wait):
5526         Make period ids add the interval to the origial requested time instead
5527         of the possibly updated time which can be wrong when there are multiple
5528         waiters for the same id. Fixes #382592.
5529
5530         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5531         (gst_system_clock_id_wait_jitter_unlocked),
5532         (gst_system_clock_id_wait_jitter):
5533         Fix restart in the async notify thread when an async entry is added to
5534         the front of the list. Fixes #381492. 
5535
5536         * tests/check/gst/gstsystemclock.c: (store_callback),
5537         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5538         Added test for multiple async waits.
5539         Added test for async wait order.
5540
5541 2006-12-07  Wim Taymans  <wim@fluendo.com>
5542
5543         * gst/gstbin.c: (gst_bin_query):
5544         Add some more docs about the POSITION query.
5545
5546 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5547
5548         * configure.ac:
5549         Bump version nano - back to CVS.
5550
5551 === release 0.10.11 ===
5552
5553 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5554
5555         * configure.ac:
5556           releasing 0.10.11, "Love never runs on time"
5557
5558 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5559
5560         * win32/common/libgstbase.def:
5561         * win32/common/libgstreamer.def:
5562         * win32/vs8/libgstbase.vcproj:
5563         * win32/vs8/libgstcoreelements.vcproj:
5564         * win32/vs8/libgstreamer.vcproj:
5565         Fix compilation on win32 under VS8
5566         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5567         Partially fixes #381175
5568
5569 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5570
5571         * gst/gstvalue.c: (gst_value_compare_fraction):
5572         If someone is foolish enough to compare 2 fractions with denominator =
5573         0, return UNORDERED rather than aborting.
5574
5575 2006-11-28  Edward Hervey  <edward@fluendo.com>
5576
5577         * libs/gst/base/Makefile.am:
5578         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5579         (gst_data_queue_base_init), (gst_data_queue_class_init),
5580         (gst_data_queue_init), (gst_data_queue_new),
5581         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5582         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5583         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5584         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5585         (gst_data_queue_set_flushing), (gst_data_queue_push),
5586         (gst_data_queue_pop), (gst_data_queue_drop_head),
5587         (gst_data_queue_set_property), (gst_data_queue_get_property):
5588         * libs/gst/base/gstdataqueue.h:
5589         New GstDataQueue object for threadsafe queueing. Most useful for
5590         elements that need some queueing functionnality.
5591         * docs/libs/gstreamer-libs-docs.sgml:
5592         * docs/libs/gstreamer-libs-sections.txt:
5593         Insert documentation for GstDataQueue
5594         * plugins/elements/Makefile.am:
5595         * plugins/elements/gstelements.c:
5596         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5597         (gst_multi_queue_class_init), (gst_multi_queue_init),
5598         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5599         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5600         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5601         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5602         (gst_multi_queue_loop), (gst_multi_queue_chain),
5603         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5604         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5605         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5606         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5607         (wake_up_next_non_linked), (compute_next_non_linked),
5608         (single_queue_overrun_cb), (single_queue_underrun_cb),
5609         (single_queue_check_full), (gst_single_queue_new):
5610         * plugins/elements/gstmultiqueue.h:
5611         New multiqueue element, using GstDataQueue. Used for queuing multiple
5612         streams.
5613         Closes #344639 and #347785
5614
5615 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5616
5617         * docs/pwg/advanced-types.xml:
5618           add more missing type details
5619
5620         * tools/gst-run.c: (main):
5621           remove unused variable
5622
5623 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5624
5625         * docs/libs/Makefile.am:
5626         * docs/libs/gstreamer-libs.types:
5627           add types of base classes to enable gobject specific stuff in the docs
5628
5629         * docs/random/ensonic/embedded.txt:
5630           more ideas about isolating platform specific things
5631
5632 2006-11-20  Wim Taymans  <wim@fluendo.com>
5633
5634         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5635
5636         * libs/gst/check/gstcheck.h:
5637         Fix compilation and running against 0.9.4. Fixes #377332.
5638
5639 2006-11-20  Wim Taymans  <wim@fluendo.com>
5640
5641         * gst/gstsegment.c: (gst_segment_set_seek),
5642         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5643         (gst_segment_to_running_time):
5644         Fix boundary checking in to_running_time() and to_stream_time().
5645         Fixes #377183.
5646
5647         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5648         stream and running time can now be calculated for the complete
5649         clipped segment.
5650
5651 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5652
5653         * gst/gstpad.c: (gst_pad_push_event):
5654           Can't access event structure after giving away ownership of
5655           the event.
5656
5657 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5658
5659         * docs/random/ensonic/embedded.txt:
5660         * docs/random/ensonic/profiling.txt:
5661         * docs/random/ensonic/receipies.txt:
5662           more thinking
5663
5664 2006-11-13  Wim Taymans  <wim@fluendo.com>
5665
5666         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5667
5668         * gst/gstpad.c:
5669         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5670
5671 2006-11-13  Wim Taymans  <wim@fluendo.com>
5672
5673         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5674
5675         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5676         Store new length in segment duration so we don't keep on calling the
5677         potentially expensize get_size() call. Fixes #370865.
5678
5679 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5680
5681         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5682
5683         * win32/common/libgstreamer.def:
5684           Add two missing symbols (#366492).
5685
5686 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5687
5688         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5689         (gst_adapter_take_buffer):
5690         Fix format string to use all its arguments.
5691         Remove useless >= check on a guint
5692
5693 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5694
5695         * tests/examples/adapter/.cvsignore:
5696         Ignore build file as commanded by the build-bot
5697
5698 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5699
5700         * tests/examples/adapter/Makefile.am:
5701         * tests/examples/adapter/adapter_test.c: (run_test_take),
5702         (run_test_take_buffer), (run_tests), (main):
5703
5704         Add new files from the previous commit
5705
5706 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5707
5708         * Makefile.am:
5709         * configure.ac:
5710         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5711         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5712         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5713         * libs/gst/base/gstadapter.h:
5714         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5715         (GST_START_TEST), (gst_adapter_suite):
5716         * tests/examples/Makefile.am:
5717         Do some optimisation work in GstAdapter to avoid copies in more cases.
5718         It could still do slightly better by merging buffers when
5719         gst_buffer_is_span_fast is true, but is already faster. 
5720
5721         Also, avoid traversing a single-linked list to append each incoming 
5722         buffer inside the adapter.
5723
5724         Add simple test app that times the adapter behaviour in different
5725         situations, and extend the unit test to check that bytes enter and
5726         exit the adapter in their original order.
5727
5728 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5729
5730         * docs/random/draft-missing-plugins.txt:
5731           Update: use element message instead of adding a new message
5732           type to the core; don't provide GStreamer API to initiate the
5733           plugin download, just provide API to compose the strings needed
5734           and let an external libgimmestuff handle the rest.
5735
5736 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5737
5738         * tools/gst-inspect.c: (print_element_properties_info):
5739         Print a string instead of 'unknown type' for GValueArray properties
5740
5741 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5742
5743         * docs/random/draft-missing-plugins.txt:
5744         More small fixes.
5745
5746 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5747
5748         * tests/examples/typefind/typefind.c: (type_found), (main):
5749           Make typefind element example work again (#371894); add a
5750           license header.
5751
5752 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5753
5754         * docs/random/draft-missing-plugins.txt:
5755           Commit initial draft about how to deal with missing plugins,
5756           needs work (API too).
5757
5758 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5759
5760         * docs/pwg/advanced-types.xml:
5761           documents the new caps elements (see #363118)
5762
5763 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5764
5765         * gst/gstplugin.c: (gst_plugin_load_file):
5766         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5767         (gst_file_src_map_region), (gst_file_src_start):
5768         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5769         (gst_file_index_commit):
5770           Use g_strerror() instead of strerror() - we want UTF-8.
5771
5772 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5773
5774         Patch by: Peter Kjellerstedt <pkj at axis com>
5775
5776         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5777           Another printf fix (#371493).
5778
5779 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5780
5781         * tests/check/gst/gsttag.c:
5782           relicence (okay with author=company)
5783
5784 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5785
5786         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5787         (gst_pad_push_event):
5788           Enhance debug and improve docs
5789         
5790         * gst/gsturi.c:
5791           Fix docs
5792
5793 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5794
5795         * docs/random/ensonic/distributed.txt:
5796         * docs/random/ensonic/profiling.txt:
5797           more ideas
5798
5799 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5800
5801         * docs/gst/gstreamer-sections.txt:
5802           add new API and fix the build
5803           
5804         * gst/gstbin.c: (gst_bin_recalc_state):
5805         * gst/gstelement.c: (gst_element_message_full),
5806         (gst_element_get_state_func), (gst_element_set_state_func):
5807           use new API and improve logging
5808         
5809         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5810         * gst/gstutils.h:
5811           API: add function to get StateChangereturn names to improve logs 
5812
5813 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5814
5815         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5816           I'm considering shooting the next person to put strerror stuff
5817           in the translateable part of the message.
5818
5819 2006-11-03  Wim Taymans  <wim@fluendo.com>
5820
5821         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5822         Get the type and printf conversion specifiers right.
5823
5824 2006-11-03  Wim Taymans  <wim@fluendo.com>
5825
5826         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5827
5828         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5829         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5830         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5831         Some small cleanups. Improve debugging.
5832         * gst/gstpad.h:
5833         Signal all waiting threads with a broadcast instead of just one.
5834         Fixes #369942.
5835
5836 2006-11-03  Wim Taymans  <wim@fluendo.com>
5837
5838         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5839         (gst_fd_src_create):
5840         Add some debugging. 
5841         Only update fd when it's different from the old.
5842
5843 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5844
5845         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5846           Printf fixes for PPC/OSX, take two (#369366).
5847
5848 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5849
5850         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5851
5852         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5853         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5854         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5855           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5856           don't cast to long long for portability reasons, but use
5857           GLib's types instead.
5858
5859 2006-10-30  Michael Smith  <msmith@fluendo.com>
5860
5861         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5862           Get the arguments to lseek() the right way around.
5863           Fixes 367677.
5864
5865 2006-10-30  Wim Taymans  <wim@fluendo.com>
5866
5867         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5868
5869         * gst/gstinfo.h:
5870         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5871
5872 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5873
5874         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5875
5876         * docs/design/part-MT-refcounting.txt:
5877         * docs/random/wtay/capsnego2-docs:
5878         * gst/gstclock.c:
5879         * gst/gstxml.c:
5880           Typo fixes (#366212).
5881
5882 2006-10-28  Wim Taymans  <wim@fluendo.com>
5883
5884         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5885
5886         * gst/gst.c:
5887         * win32/common/libgstbase.def:
5888         * win32/common/libgstreamer.def:
5889         * win32/vs8/libgstbase.vcproj:
5890         * win32/vs8/libgstcontroller.vcproj:
5891         Add needed entries in .def files.
5892         Use HAVE_UNISTD_H.
5893         Rearrange def files in vs8 solutions. Fixes #366286.
5894
5895 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5896
5897         * win32/common/gstconfig.h:
5898           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5899           hand-made win32 gstconfig.h. Fixes #366321.
5900
5901 2006-10-27  Wim Taymans  <wim@fluendo.com>
5902
5903         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5904         (gst_ghost_pad_new_full):
5905         Make acceptcaps return TRUE when we don't have a target, just like
5906         setcaps does.
5907
5908 2006-10-27  Wim Taymans  <wim@fluendo.com>
5909
5910         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5911         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5912
5913 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5914
5915         * gst/gststructure.c: (gst_structure_id_set_value):
5916           If someone tries to set a non-UTF8 string field on a structure,
5917           don't just print a warning, but also ignore the request and do
5918           not change/add that field to the structure.
5919
5920         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5921           Test for the above.
5922
5923 2006-10-25  David Schleef  <ds@schleef.org>
5924
5925         * gst/gstinfo.c:
5926           g_hash_table_insert() needs a cast to a non-const pointer duh.
5927
5928 2006-10-25  David Schleef  <ds@schleef.org>
5929
5930         * gst/gstinfo.c:
5931         * gst/gstinfo.h:
5932           Change name parameter of _gst_debug_register_funcptr to const
5933           to reflect the constness of its use in the function as well
5934           as to quiet a gcc warning.
5935
5936 2006-10-25  Edward Hervey  <edward@fluendo.com>
5937
5938         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5939         Don't push the buffer if it's empty.
5940         Closes #363095
5941
5942 2006-10-24  Wim Taymans  <wim@fluendo.com>
5943
5944         * gst/gstevent.h:
5945         Add small comment.
5946
5947         * libs/gst/base/gstbasetransform.c:
5948         (gst_base_transform_sink_eventfunc):
5949         Debug segment values *after* updating them as this is more
5950         interesting.
5951
5952 2006-10-23  Wim Taymans  <wim@fluendo.com>
5953
5954         * docs/design/part-events.txt:
5955         Update some docs.
5956
5957         * docs/design/part-block.txt:
5958         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5959         (gst_pad_push_event):
5960         Revert BLOCKING patch, it tries to be smart without really having a
5961         clear idea what or how. So, now we discard all FLUSHING events again on
5962         a blocking pad. Should fix gnonlin again.
5963
5964 2006-10-23  Wim Taymans  <wim@fluendo.com>
5965
5966         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5967
5968         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5969         (gst_base_src_start), (gst_base_src_activate_push):
5970         Make sure size is always initialized. Fixes #364388.
5971
5972 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
5973
5974         * docs/random/ensonic/distributed.txt:
5975           add some ideas about doing distributed processing
5976
5977         * docs/random/ensonic/profiling.txt:
5978           get_rusage look promising
5979
5980 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5981
5982         * docs/manual/basics-helloworld.xml:
5983           Add a cast in example to fix compile warning
5984
5985 2006-10-18  Wim Taymans  <wim@fluendo.com>
5986
5987         * gst/gstsegment.c: (gst_segment_set_last_stop),
5988         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5989         Relax arg checking again, -1 is allowed.
5990
5991 2006-10-18  Wim Taymans  <wim@fluendo.com>
5992
5993         * gst/gstsegment.c: (gst_segment_set_last_stop),
5994         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5995         _set_last_stop() must be with a value != -1
5996         A _TYPE_SET to -1 means seek to 0.
5997         Calc last_stop correctly for negative rates.
5998         Make sure we work with positive durations when updating a segment.
5999
6000 2006-10-18  Wim Taymans  <wim@fluendo.com>
6001
6002         * docs/design/part-live-source.txt:
6003         * gst/gstclock.h:
6004         Small docs fixes.
6005
6006 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6007
6008         * gst/gstbuffer.h:
6009           Add an explicit cast to GstBuffer** to keep old code that added an
6010           explicit cast to GstMiniObject** for gst_mini_object_replace()
6011           compiling without warning.
6012
6013 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6014
6015         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6016           check for validity of dates
6017
6018 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6019
6020         * docs/gst/gstreamer-sections.txt:
6021           Forgot this one, makes gtk-doc shut up.
6022
6023 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6024
6025         Patch by: Peter Kjellerstedt <pkj at axis com>
6026
6027         * gst/gstobject.h:
6028           Don't define xmlNodePtr to gpointer if the core was built with
6029           --disable-loadsave and --disable-registry, this will break
6030           applications that want to use libxml2 but are buildling against a
6031           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6032           instead so we don't have to mess with the libxml2 namespace
6033           (#361675).
6034
6035 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6036
6037         * gst/gstbuffer.h:
6038           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6039           type-punned pointer warnings.
6040
6041 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6042
6043         * gst/gstelement.h:
6044           Add casts to the correct return type to state <=> state transition
6045           macros.
6046
6047 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6048
6049         * docs/design/part-live-source.txt:
6050           describe howto handle latency
6051         
6052         * docs/random/ensonic/profiling.txt:
6053           more ideas
6054
6055         * tools/gst-plot-timeline.py:
6056           fix log parsing for solaris, remove unused function
6057
6058 2006-10-16  Wim Taymans  <wim@fluendo.com>
6059
6060         * docs/design/part-trickmodes.txt:
6061         * gst/gstevent.c:
6062         Update some docs regarding reverse playback.
6063
6064 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6065
6066         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6067
6068         * win32/vs8/grammar.vcproj:
6069           Error out with a warning if glib-genmarshal.exe is not in path,
6070           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6071
6072 2006-10-13  Wim Taymans  <wim@fluendo.com>
6073
6074         * gst/gstsegment.c: (gst_segment_set_seek):
6075         When seeking to stop -1, set last_stop (current position) to the
6076         duration of the segment.
6077
6078 2006-10-13  Wim Taymans  <wim@fluendo.com>
6079
6080         * gst/gstelement.h:
6081         Clarify _NO_PREROLL a bit more.
6082
6083         * gst/gstevent.c:
6084         Fix docs.
6085
6086         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6087         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6088         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6089         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6090         due to wrong locking order. Fixes #361769.
6091         Remove some redundant/misplaced checks in pad_block.
6092
6093         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6094         For negative rates, count backwards from the duration.
6095
6096 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6097
6098         * gst/gsterror.c: (_gst_library_errors_init):
6099           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6100           up with something better).
6101
6102 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6103
6104         * win32/vs6/libgstreamer.dsp:
6105         * win32/vs7/libgstreamer.vcproj:
6106         * win32/vs8/libgstreamer.vcproj:
6107           Don't reference glib-compat.c which is currently not used and not
6108           disted; add gstquark.c which was recently added. Fixes #361730.
6109
6110 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6111
6112         * win32/common/libgstbase.def:
6113         * win32/common/libgstcontroller.def:
6114         * win32/common/libgstreamer.def:
6115           Add gst_caps_merge() and a bunch of other recently-added functions.
6116           Fixes #361732.
6117
6118 2006-10-11  Wim Taymans  <wim@fluendo.com>
6119
6120         * docs/plugins/gstreamer-plugins.args:
6121         * docs/plugins/inspect/plugin-coreelements.xml:
6122         * docs/plugins/inspect/plugin-coreindexers.xml:
6123         Update element args.
6124
6125         * gst/gstsystemclock.c:
6126         Small comment update.
6127
6128         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6129         (gst_tee_request_new_pad), (gst_tee_release_pad),
6130         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6131         (gst_tee_sink_activate_pull):
6132         * plugins/elements/gsttee.h:
6133         Some tee loving:
6134         Add default property defines.
6135         Implement release pad function.
6136         Give properties better blubs etc.
6137         Activate pads before adding them to a running tee.
6138         Do simple buffer_alloc on the first requested pad.
6139         Post error when activation fails.
6140
6141 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6142
6143         * gst/gst.c: (ensure_current_registry_forking):
6144           Check return value of write() to make compiler happy.
6145
6146 2006-10-11  Wim Taymans  <wim@fluendo.com>
6147
6148         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6149
6150         * plugins/elements/gstqueue.c: (gst_queue_chain):
6151         Recheck queue filledness after signalling the overrun when we're about
6152         to leak downstream because we released the lock when emitting the signal
6153         and the queue could be empty again. Fixes #352345.
6154
6155 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6156
6157         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6158           Fix refcounting here too, just like we did for _new_valist() a few
6159           days ago (#357180) (thanks to René Stadler). Also remove all those
6160           'Since: 0.9' from the gtk-doc blobs.
6161
6162         * tests/check/libs/controller.c: (controller_refcount_new_list),
6163         (gst_controller_suite):
6164           Unit test for the above.
6165
6166 2006-10-10  Wim Taymans  <wim@fluendo.com>
6167
6168         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6169
6170         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6171         (gst_pad_save_thyself):
6172         Update some docs.
6173         Write pad direction in XML output. Fixes #345496.
6174
6175 2006-10-10  Wim Taymans  <wim@fluendo.com>
6176
6177         Patch by: René Stadler <mail at renestadler dot de>
6178
6179         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6180         (gst_controller_new_list), (_gst_controller_dispose),
6181         (_gst_controller_finalize), (_gst_controller_class_init):
6182         Take ref to controlled object so that it cannot disappear. 
6183         Fixes #357432.
6184
6185 2006-10-10  Wim Taymans  <wim@fluendo.com>
6186
6187         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6188         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6189         (gst_check_teardown_sink_pad):
6190         Activate/deactivate pads in setup/teardown respectively.
6191
6192 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6193
6194         Patch by: Josep Torre Valles <josep@fluendo.com>
6195
6196         * gst/Makefile.am:
6197         Cast values when making gstenumtypes.h.  This pacifies Forte
6198         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6199         in the enumeration.
6200
6201 2006-10-09  Wim Taymans  <wim@fluendo.com>
6202
6203         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6204         Rename some more @cur to @start to fix docs. 
6205
6206         * gst/gstsegment.c: (gst_segment_set_seek):
6207         Fix typo.
6208         time and start must always stay in sync as defined in design doc.
6209
6210         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6211         Rename param to fix docs.
6212
6213         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6214         Check that start and time are in sync.
6215
6216         * tests/check/pipelines/parse-launch.c:
6217         (gst_parse_test_element_change_state):
6218         Activate pad before adding to the element.
6219
6220 2006-10-09  Wim Taymans  <wim@fluendo.com>
6221
6222         * docs/design/part-qos.txt:
6223         Fix typo.
6224
6225         * gst/gstevent.c:
6226         * gst/gstevent.h:
6227         Update seek event docs regarding negative rates.
6228         Rename @cur to @start. 
6229
6230         * gst/gstsegment.c: (gst_segment_set_seek):
6231         * gst/gstsegment.h:
6232         Update set_seek docs regarding negative rates.
6233         Correctly update last_stop to @stop when dealing with negative
6234         rates.
6235         Rename @cur to @start. 
6236
6237         * tests/check/gst/gstpad.c: (GST_START_TEST):
6238         Activate pads before trying to use them.
6239
6240         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6241         (gst_segment_suite):
6242         Add simple check for segments and negative rates.
6243
6244 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6245
6246         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6247         * gst/gsttaglist.h:
6248         * docs/gst/gstreamer-sections.txt:
6249           API: add gst_tag_list_is_empty() (#360467).
6250
6251         * tests/check/gst/gsttag.c: (GST_START_TEST):
6252           And a test case.
6253
6254 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6255
6256         * gst/gstmessage.h:
6257         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6258         a value that doesn't fit on enumeration.
6259
6260 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6261
6262         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6263         Remove local debugging system and use Gstreamer's instead.
6264
6265 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6266
6267         Patch by: Josep Torre Valles <josep@fluendo.com>
6268
6269         * common/m4/gst-error.m4:
6270         Disable warning of statement not reached on Forte.
6271         * gst/gstmessage.h:
6272         Fix warning on Forte (value doesn't fit on enumeration).
6273         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6274         Fix warning on Forte (value doesn't fit on enumeration).
6275         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6276         DEBUG macro says it takes minimum of 2 args and so Forte
6277         complains about the use with just 1 arg.
6278         * plugins/elements/gstfdsink.c:
6279         * plugins/elements/gstfdsrc.c:
6280         * plugins/elements/gstfilesink.c:
6281         * plugins/elements/gstfilesrc.c:
6282         Use correct return type for the uri handler implementations.
6283
6284         All these fix warnings in Forte.  Fixes bug #360860.
6285
6286 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6287
6288         * gst/gstelement.h:
6289           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6290           format string, so don't use G_GNUC_PRINTF for those versions.
6291
6292 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6293
6294         * gst/gsttaglist.c: (gst_is_tag_list):
6295         * gst/gsttaglist.h:
6296           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6297
6298         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6299           Small test for the above.
6300
6301 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6302
6303         * gst/gsttaglist.h:
6304           Less tabs, more spaces.
6305
6306 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6307
6308         * gst/gstinfo.h:
6309           Those two function declarations do actually belong there, revert
6310           commit from yesterday that turned them intro macros.
6311
6312 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6313
6314         Patch by: Josep Torre Valles <josep@fluendo.com>
6315
6316         * gst/gst.c: (gst_init_get_option_group):
6317         Fix empty declaration and type mismatch.
6318         * gst/gstbin.c: (gst_bin_change_state_func):
6319         Fix type mismatch.
6320         * gst/gstelement.c: (gst_element_continue_state),
6321         (gst_element_set_state_func), (gst_element_change_state),
6322         (gst_element_change_state_func):
6323         Fix type mismatches.
6324         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6325         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6326         Cast as appropriate.
6327         * gst/gstobject.c: (gst_class_signal_connect):
6328         Cast as appropriate.  The function pointer parameter really
6329         has the wrong type but would break API if we change it.
6330         * gst/gstquery.c:
6331         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6332         order of including string.h.
6333         * gst/gstutils.c: (gst_element_state_get_name):
6334         Remove unreachable line.
6335         * gst/gstxml.c: (gst_xml_parse_doc):
6336         Fix type mismatch.
6337         All these caught by Forte.
6338
6339 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6340
6341         Patch by: Josep Torre Valles <josep@fluendo.com>
6342
6343         * common/m4/gst-error.m4:
6344         Fixed bug #360151.
6345         We need to disable warnings on Forte for empty declarations
6346         due to gst-indent adding ;s to lines that just use macros
6347         where the macro actually doesn't need a ; at end to end
6348         statement.
6349
6350 2006-10-06  Wim Taymans  <wim@fluendo.com>
6351
6352         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6353         (gst_file_sink_close_file), (gst_file_sink_event),
6354         (gst_file_sink_render):
6355         Add some FIXME for the NEWSEGMENT handling.
6356
6357 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6358
6359         * gst/parse/grammar.y:
6360         Remove static function gst_parse_element_lock as all it does
6361         is return.  Looks like cruft from 0.8.
6362
6363 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6364
6365         Patch by: Josep Torre Valles <josep@fluendo.com>
6366
6367         * common/m4/gst-error.m4:
6368         * configure.ac:
6369         * libs/gst/net/Makefile.am:
6370         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6371         libresolv.
6372
6373 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6374
6375         * gst/gstpad.c: (pre_activate):
6376         * gst/gstregistry.c: (gst_registry_scan_path_level):
6377         * gst/gstregistryxml.c: (load_plugin):
6378         * libs/gst/controller/gstcontroller.c:
6379         (gst_controlled_property_set_interpolation_mode):
6380         * libs/gst/dataprotocol/dataprotocol.c:
6381         (gst_dp_packet_from_event_1_0):
6382         * libs/gst/net/gstnetclientclock.c:
6383         (gst_net_client_clock_observe_times):
6384         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6385           Printf fixes.
6386
6387 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6388
6389         * configure.ac:
6390         * docs/gst/gstreamer-sections.txt:
6391         * gst/gstconfig.h.in:
6392         * gst/gstelement.h:
6393         * gst/gstinfo.h:
6394           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6395           whether we can use G_GNUC_PRINTF in other header files and at
6396           least check the printf format/arguments of debug messages and
6397           GST_ELEMENT_ERROR messages when the printf extension is not
6398           being used.
6399           Replace more tabs with spaces in gstinfo.h and remove two spurious
6400           function declarations in GST_DISABLE_DEBUG part with macros.
6401
6402 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6403
6404         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6405           More docs for the sync-message signal (mention that it is not
6406           emitted by default); log message structures of messages posted on
6407           the bus as well.
6408
6409 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6410
6411         * gst/gst.c: (ensure_current_registry_forking):
6412         Use a pipe pair to receive status results from the forked child, and
6413         ignore the result from waitpid. Fixes #355499
6414
6415 2006-10-02  Wim Taymans  <wim@fluendo.com>
6416
6417         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6418         (gst_ghost_pad_suite):
6419         Fix leak in check.
6420
6421 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6422
6423         * gst/gstpad.c:
6424           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6425
6426 2006-10-02  Edward Hervey  <edward@fluendo.com>
6427
6428         * docs/design/part-block.txt:
6429         Further explain the use of flushing on blocked pads.
6430         * docs/gst/gstreamer-sections.txt:
6431         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6432         (gst_pad_push_event):
6433         * gst/gstpad.h:
6434         Added new GstPadFlag : GST_PAD_BLOCKING.
6435         Adds the notion of pads really blocking, which enables to properly
6436         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6437         Fixes #358999
6438         API: gst_pad_is_blocking()
6439         API: GST_PAD_IS_BLOCKING() macro
6440         API: GST_PAD_BLOCKING GstPadFlag
6441         
6442 2006-10-02  Wim Taymans  <wim@fluendo.com>
6443
6444         Patch by: mrcgran <mrc.gran at gmail dot com>
6445
6446         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6447         Filter the proxied caps against the padtemplate if we have one.
6448
6449         * gst/gstquery.c: (gst_query_new_segment):
6450         Add include for gstinfo.h so that compilation with
6451         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6452
6453 2006-10-02  Wim Taymans  <wim@fluendo.com>
6454
6455         Patch by: Alessandro Decina  <alessandro at nnva org>
6456
6457         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6458         (gst_file_sink_set_location), (gst_file_sink_open_file),
6459         (gst_file_sink_close_file), (gst_file_sink_event),
6460         (gst_file_sink_render):
6461         Set file to NULL when closing filesink so that we can set a new filename
6462         in READY. Fixes #358613.
6463
6464 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6465
6466         Patch by: Alessandro Decina  <alessandro at nnva org>
6467
6468         * gst/gstevent.c: (_gst_event_copy):
6469           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6470           with event structures by setting the parent refcount address of the
6471           copied structure to the address of the refcount member of the newly
6472           copied event rather than the address of the refcount member of the
6473           original event. Fixes #358737.
6474
6475         * tests/check/gst/gstevent.c: (GST_START_TEST):
6476           Unit test for the above.
6477
6478 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6479
6480         * docs/design/Makefile.am:
6481           Dist some more files.
6482
6483 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6484
6485         * tests/check/libs/controller.c: (GST_START_TEST),
6486         (gst_controller_suite):
6487           Add test for the previous fix; add some more tests
6488           for correct refcounting behaviour; fix a few leaks
6489           in test cases; call gst_controller_init() at start
6490           of all tests.
6491
6492 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6493
6494         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6495         (gst_controller_set_from_list):
6496           Don't g_return_val_if_fail() on timed values with invalid timestamps
6497           inside a critical section without unlocking the mutex. Spotted by
6498           René Stadler. (#357617)
6499           Also, fix up refcounting properly: when returning an existing
6500           controller, we should increase the reference only once and not
6501           once per property and when trying to control a property again
6502           we should also increase the refcount.
6503
6504 2006-09-29  Wim Taymans  <wim@fluendo.com>
6505
6506         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6507         * libs/gst/net/gstnettimeprovider.c:
6508         (gst_net_time_provider_thread):
6509         Stop reading commands when EOF as well.
6510
6511         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6512         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6513         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6514         Unify description of the dump property.
6515
6516 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6517
6518         * tests/examples/manual/.cvsignore:
6519         OK, so it's actually cvsignore that needs changing. Stop laughing.
6520
6521 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6522
6523         * tests/examples/manual/Makefile.am:
6524         Gah, declare vars *before* using them
6525
6526 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6527
6528         * gst/gst.c: (init_pre), (scan_and_update_registry),
6529         (ensure_current_registry_nonforking),
6530         (ensure_current_registry_forking), (ensure_current_registry),
6531         (init_post), (gst_debug_help), (gst_deinit):
6532         * gst/gst_private.h:
6533         * gst/gstregistry.c: (gst_registry_finalize),
6534         (gst_registry_remove_features_for_plugin_unlocked),
6535         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6536         (gst_registry_scan_path),
6537         (_priv_gst_registry_remove_cache_plugins),
6538         (_priv_gst_registry_cleanup):
6539         * gst/gstregistry.h:
6540         Re-commit the registry changes, along with an extra fix:
6541           When a cached plugin is encountered at a different file path,
6542           update the stored path in the registry cache so that the parent
6543           process knows where it actually is now when it re-reads the registry
6544           cache. Fixes the thing that broke distcheck with the previous commit.
6545
6546         * tests/check/Makefile.am:
6547         Clean up files named 'core' too when running make clean.
6548
6549         * tests/examples/manual/Makefile.am:
6550         Set up a registry path for running these tests, and clean it properly
6551         for distcheck.
6552
6553 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6554
6555         * configure.ac:
6556         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6557         want gmodule-no-export-2.0.pc instead so that we don't drag in
6558         --export-dynamic on every project that links to GStreamer.
6559
6560         Also, make our export regex only match the start of symbols, rather 
6561         than any symbol that contains '_gst' somewhere.
6562
6563         * libs/gst/check/Makefile.am:
6564         The libgstcheck we build does however need export-dynamic, as it
6565         produces some symbols that don't match our _gst... style regex.
6566         Fixes: #318031
6567
6568 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6569
6570         * gst/gst.c: (init_pre), (scan_and_update_registry),
6571         (ensure_current_registry_nonforking),
6572         (ensure_current_registry_forking), (ensure_current_registry),
6573         (init_post), (gst_debug_help), (gst_deinit):
6574         * gst/gst_private.h:
6575         * gst/gstregistry.c: (gst_registry_finalize),
6576         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6577         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6578         (_gst_registry_cleanup):
6579         * gst/gstregistry.h:
6580           Revert previous change until I figure out why it breaks distcheck.
6581
6582 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6583
6584         * gst/gst.c: (init_pre), (scan_and_update_registry),
6585         (ensure_current_registry_nonforking),
6586         (ensure_current_registry_forking), (ensure_current_registry),
6587         (init_post), (gst_debug_help), (gst_deinit):
6588
6589           Make init_pre and init_post take the full complement of GOptionFunc
6590           args so they can return useful GErrors. Make the registry updating
6591           functions do so.
6592
6593           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6594           ensure that the registry we're about to write out doesn't contain
6595           stale information about old-deleted plugin files.
6596
6597           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6598           that deletion of plugin files is considered a registry change.
6599
6600         * gst/gst_private.h:
6601         * gst/gstregistry.c: (gst_registry_finalize),
6602         (gst_registry_remove_features_for_plugin_unlocked),
6603         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6604         (gst_registry_scan_path),
6605         (_priv_gst_registry_remove_cache_plugins),
6606         (_priv_gst_registry_cleanup):
6607         * gst/gstregistry.h:
6608         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6609         by adding _priv prefix, so that they won't appear in the global
6610         symbol table. They still do atm though because of #318031. Move the
6611         prototypes to gst_private.h
6612
6613         When removing a plugin, remove all features for that plugin too. 
6614         Fixes #340878.
6615
6616 2006-09-27  Wim Taymans  <wim@fluendo.com>
6617
6618         * docs/random/moving-plugins:
6619         Make it clear that the "compiled-in descriptions" really mean
6620         the element details.
6621
6622         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6623         (gst_base_sink_wait_preroll):
6624         Update docs.
6625
6626         * docs/libs/gstreamer-libs-sections.txt:
6627         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6628         (gst_base_src_get_range), (gst_base_src_activate_push):
6629         * libs/gst/base/gstbasesrc.h:
6630         Added function to block while waiting for PLAYING, this function
6631         is used by live sources that block on the clock.
6632         API: gst_base_src_wait_playing()
6633
6634 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6635
6636         Patch by: Peter Kjellerstedt <pkj at axis com>
6637
6638         * Makefile.am:
6639           gst-element-check.m4 is generated and should therefore be
6640           copied from the build dir rather than the source dir (#357593).
6641           'make distcheck' hasn't noticed this because we were disting
6642           the file as well, so stop doing that.
6643
6644 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6645
6646         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6647           Add some tests for gst_caps_intersect().
6648
6649         * tools/gst-launch.c: (event_loop):
6650           Print all buffering percentages we get, even the 100% one.
6651
6652 2006-09-26  Wim Taymans  <wim@fluendo.com>
6653
6654         * tools/gst-inspect.c: (print_element_properties_info),
6655         (print_signal_info):
6656         Fix printing of flags to match the look of enums.
6657
6658 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6659
6660         * gst/gstelementfactory.c:
6661           Fix typo in docs blurb.
6662
6663 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6664
6665         * gst/gsturi.c: (search_by_entry):
6666           Don't assert/crash here if a uri handler doesn't return any
6667           supported protocols. The list of protocols could be generated
6668           dynamically at runtime or at plugin registration, and an error
6669           in the underlying library shouldn't be fatal (#353301).
6670
6671 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6672
6673         * gst/gstinfo.c:
6674           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6675           (spotted by Peter Kjellerstedt).
6676
6677 2006-09-23  Wim Taymans  <wim@fluendo.com>
6678
6679         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6680
6681         * libs/gst/base/gstbasesrc.c:
6682         (gst_base_src_default_check_get_range), (gst_base_src_start),
6683         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6684         (gst_base_src_change_state):
6685         Match _start/_stop calls in the activate functions. Remove redundant
6686         _stop call from the state change function. Fixes #356910.
6687         Turn failure DEBUG into ERROR. 
6688
6689 2006-09-22  Wim Taymans  <wim@fluendo.com>
6690
6691         * docs/design/part-buffering.txt:
6692         * gst/gstmessage.c: (gst_message_new_buffering),
6693         (gst_message_parse_buffering):
6694         Update docs about buffering.
6695
6696         * docs/design/part-trickmodes.txt:
6697         Fix typo.
6698
6699 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6700
6701         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6702         (gst_controller_new_list):
6703           Ref instances when returning them again (fixes #357180)
6704
6705 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6706
6707         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6708           Don't forget to release proxy lock when there's an error.
6709
6710 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6711
6712         * gst/gstcaps.h:
6713           Add extra initialisers for Caps things, to fix some plugin warnings
6714           when using -Wextra
6715
6716 2006-09-18  Wim Taymans  <wim@fluendo.com>
6717
6718         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6719           Also set template on the internal pad so that a getcaps from the 
6720           target pad returns the template caps.
6721
6722 2006-09-18  Wim Taymans  <wim@fluendo.com>
6723
6724         * gst/gstelement.c: (gst_element_post_message),
6725         (gst_element_dispose):
6726         Use _DEBUG_OBJECT some more.
6727
6728         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6729         Avoid typechecks.
6730
6731         * tools/gst-launch.c: (main):
6732         If the toplevel element is not a GstPipeline, it must be put in a
6733         pipeline so that a bus and clock is selected.
6734
6735 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6736
6737         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6738           JITTER, RATE, and LATENCY query should be handled by the
6739           default case and not by the CONVERT query code.
6740
6741 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6742
6743         * gst/gstformat.c: (gst_format_register):
6744           Fix locking order (must take lock before using n_values).
6745
6746         * gst/gstvalue.c: (gst_value_serialize_enum),
6747         (gst_value_deserialize_enum_iter_cmp),
6748         (gst_value_deserialize_enum):
6749           Fix serialisation/deserialisation of custom registered GstFormats.
6750
6751         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6752           Unit test for custom format serialisation/deserialisation.
6753
6754 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6755
6756         * docs/pwg/building-boiler.xml:
6757         * plugins/elements/gstcapsfilter.c:
6758         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6759         section.
6760
6761 2006-09-16  Edward Hervey  <edward@fluendo.com>
6762
6763         * libs/gst/base/gstbasetransform.c:
6764         (gst_base_transform_buffer_alloc):
6765         Check if requested caps are the same as the sinks caps IF
6766         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6767         is FALSE.
6768         This fixes the renegotiation issues stated in #352827.
6769
6770 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6771
6772         * configure.ac:
6773         * docs/manual/advanced-autoplugging.xml:
6774         * tests/examples/Makefile.am:
6775         * tests/examples/manual/.cvsignore:
6776         * tests/examples/manual/Makefile.am:
6777         * tests/examples/manual/extract.pl:
6778           Extract the manual examples again like we used to do.
6779           Fix one of them.
6780
6781 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6782
6783         * win32/common/config.h:
6784           update for version
6785
6786 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6787
6788         * gst/gsterror.c:
6789           Documents how to receive errors.
6790
6791 2006-09-15  Wim Taymans  <wim@fluendo.com>
6792
6793         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6794         (event_loop), (main):
6795         Added some comments here and there.
6796         Post an application message when an interrupt is caught instead of doing
6797         an uncontrolled state change.
6798         Clean up the event loop.
6799         Handle buffering messages, pause/resume the pipeline.
6800         Make shutdown because of an interrupt more reliable.
6801
6802 2006-09-15  Wim Taymans  <wim@fluendo.com>
6803
6804         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6805         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6806         (gst_base_sink_preroll_object):
6807         Make sure that our internal state is correct when we commit our state
6808         asynchronously. This solves a race where a state change to PLAYING
6809         could cause the sink to remain blocked in preroll in some situations.
6810
6811 2006-09-15  Wim Taymans  <wim@fluendo.com>
6812
6813         * tools/gst-inspect.c: (print_element_properties_info),
6814         (print_signal_info):
6815         List flags as hex so it's easier to deal with.
6816
6817 2006-09-15  Wim Taymans  <wim@fluendo.com>
6818
6819         * docs/libs/gstreamer-libs-sections.txt:
6820         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6821         (gst_base_sink_do_sync):
6822         * libs/gst/base/gstbasesink.h:
6823         Expose logic to wait for preroll so that subclasses such as audiosink
6824         can also use this method.
6825         API: gst_base_sink_wait_preroll()
6826
6827 2006-09-15  Wim Taymans  <wim@fluendo.com>
6828
6829         * gst/gstobject.c: (gst_object_set_parent):
6830         * gst/gstpipeline.c: (do_pipeline_seek):
6831         Small cleanups in docs and code.
6832
6833         * gst/gstsegment.c: (gst_segment_clip):
6834         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6835         if stop == start and start is in the segment, no clipping should be
6836         done. Also add a test for this.
6837
6838 2006-09-15  Wim Taymans  <wim@fluendo.com>
6839
6840         * docs/design/part-buffering.txt:
6841         * docs/gst/gstreamer-sections.txt:
6842         * gst/gstmessage.c: (gst_message_new_buffering),
6843         (gst_message_parse_buffering):
6844         * gst/gstmessage.h:
6845         Added methods to create and parse BUFFERING messages.
6846         Added preliminary docs about buffering.
6847         API: gst_message_new_buffering
6848         API: gst_message_parse_buffering
6849
6850 2006-09-06  Wim Taymans  <wim@fluendo.com>
6851
6852         * gst/gstbin.c:
6853         Update documentation.
6854
6855         * gst/gstelement.c: (gst_element_class_init),
6856         (gst_element_release_request_pad), (gst_element_set_clock),
6857         (gst_element_get_index), (gst_element_add_pad),
6858         (gst_element_remove_pad), (gst_element_get_random_pad),
6859         (gst_element_send_event), (gst_element_get_query_types),
6860         (gst_element_query), (gst_element_post_message),
6861         (gst_element_message_full), (gst_element_continue_state),
6862         (gst_element_lost_state), (gst_element_save_thyself),
6863         (gst_element_restore_thyself):
6864         Documentation updates.
6865         Rename last bit of the new-pad -> pad-added signal rename.
6866         Fix the case where an element query would only work if the source
6867         pad was linked.
6868         Avoid some useless type checking in message handling.
6869
6870         * gst/gstevent.c:
6871         * gst/gstevent.h:
6872         * gst/gstutils.c:
6873         Documentation updates.
6874
6875 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6876
6877         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6878           add an INFO line for when we actually update the fd
6879
6880 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6881
6882         * configure.ac:
6883           back to TRUNK
6884
6885 === release 0.10.10 ===
6886
6887 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
6888
6889         * configure.ac:
6890           releasing 0.10.10, "Pais"
6891
6892 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
6893
6894         * docs/manual/advanced-position.xml:
6895           Fix typo in sample code.
6896
6897 2006-09-05  Wim Taymans  <wim@fluendo.com>
6898
6899         * libs/gst/net/gstnetclientclock.c: (inet_aton),
6900         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6901         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6902         * libs/gst/net/gstnetclientclock.h:
6903         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6904         * libs/gst/net/gstnettimepacket.h:
6905         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6906         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6907         (gst_net_time_provider_thread), (gst_net_time_provider_new):
6908         * libs/gst/net/gstnettimeprovider.h:
6909         Make stuff compile on windows. Fixes #345295.
6910
6911 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6912
6913         * gst/gst.c: (ensure_current_registry_forking):
6914           Print better details when child was terminated by signal.
6915
6916 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6917
6918         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6919           Print a warning rather than g_assert() if a plugin feature
6920           is a URI handler but returns no protocols (#353976).
6921
6922 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
6923
6924         * docs/random/moving-plugins:
6925         Fix two typos.         
6926
6927 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6928
6929         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6930           Fix locking order, handle NULL function values properly.
6931
6932         * gst/gstinfo.h:
6933           Fix docs.
6934
6935         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6936           Initialise variable before using it and fix debug statement to
6937           print the address of the function rather than the address of the
6938           variable on the stack holding the address of the function.
6939
6940 2006-09-01  Wim Taymans  <wim@fluendo.com>
6941
6942         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6943         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6944         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6945         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6946         (gst_ghost_pad_parent_unset),
6947         (gst_ghost_pad_internal_do_activate_push),
6948         (gst_ghost_pad_internal_do_activate_pull),
6949         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6950         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6951         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6952         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6953         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6954         (gst_ghost_pad_new_no_target_from_template),
6955         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6956         More cleanups.
6957         Avoid needless typechecking in macros.
6958         Since the internal pad is always present and never changes, there is
6959         no need to locking or ref when retrieving it.
6960         Improve debugging a bit.
6961         Handle link errors when setting the target. Fixes #341029.
6962
6963 2006-09-01  Wim Taymans  <wim@fluendo.com>
6964
6965         * docs/libs/gstreamer-libs-sections.txt:
6966         * docs/plugins/gstreamer-plugins-sections.txt:
6967         Fix docs some more.
6968
6969         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6970         (gst_collect_pads_event):
6971         * libs/gst/base/gstcollectpads.h:
6972         Documentation updates.
6973         Free queued buffer when removing a pad.
6974
6975 2006-08-31  Michael Smith  <msmith@fluendo.com>
6976
6977         * gst/gstutils.c: (gst_element_link_pads),
6978         (gst_element_link_pads_filtered):
6979           Ensure that we set a capsfilter to NULL if we failed to link it
6980           when doing filtered linking, to avoid criticals.
6981
6982           No need to check for unreffing srcpad, which is explicly NULLed
6983           above (a trivial code cleanup).
6984
6985 2006-08-31  Wim Taymans  <wim@fluendo.com>
6986
6987         * docs/design/part-gstghostpad.txt:
6988         Update ascii art in documentation.
6989
6990         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6991         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6992         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6993         (gst_ghost_pad_internal_do_activate_push),
6994         (gst_ghost_pad_internal_do_activate_pull),
6995         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6996         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6997         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6998         (gst_ghost_pad_set_target):
6999         Small cleanups and leak fixes.
7000         Remove some checks now that the internal pad is never NULL.
7001         Fix the case where linking pads without a target would create nasty
7002         criticals. Fixes #341029.
7003         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7004         value of _set_target().
7005
7006         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7007         (gst_ghost_pad_suite):
7008         Some more tests for creating and linking untargeted ghostpads.
7009
7010 2006-08-31  Edward Hervey  <edward@fluendo.com>
7011
7012         * docs/gst/gstreamer-sections.txt:
7013         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7014         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7015         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7016         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7017         (gst_ghost_pad_new_from_template),
7018         (gst_ghost_pad_new_no_target_from_template):
7019         * gst/gstghostpad.h:
7020         Refactored *_new() functions.
7021         Templates are now used as a g_object_new() parameter.
7022         Use template in _do_getcaps() if we don't have a target.
7023         Small documentation cleanups.
7024         Added two new constructors:
7025         gst_ghost_pad_new_from_template()
7026         gst_ghost_pad_new_no_target_from_template()
7027         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7028         (gst_ghost_pad_suite):
7029         Added tests for new ghostpad instanciation functions.
7030
7031         API additions: gst_ghost_pad_new_from_template,
7032         gst_ghost_pad_new_no_target_from_template
7033
7034 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7035
7036         * docs/random/ensonic/profiling.txt:
7037           Ideas about qos profiling.
7038
7039 2006-08-29  Wim Taymans  <wim@fluendo.com>
7040
7041         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7042         Code cleanups.
7043         Fix memleak.
7044
7045 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7046
7047         * gst/gstxml.c:
7048           Improve and detypofy docs.
7049
7050         * tests/check/Makefile.am:
7051         * tests/check/gst/.cvsignore:
7052         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7053           Add a basic test suite for GstXML.
7054
7055 2006-08-29  Wim Taymans  <wim@fluendo.com>
7056
7057         * gst/gstelement.c: (activate_pads), (clear_caps),
7058         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7059         Clear the pad caps when the element shut down all of the pads and
7060         is not streaming data that could modify the caps. 
7061         Fixes #352958.
7062
7063 2006-08-28  Michael Smith  <msmith@fluendo.com>
7064
7065         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7066           Revert previous change; I misunderstood single-segment mode.
7067
7068 2006-08-28  Michael Smith  <msmith@fluendo.com>
7069
7070         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7071           Unset DISCONT on buffers when using single-segment mode.
7072
7073 2006-08-28  Wim Taymans  <wim@fluendo.com>
7074
7075         * gst/gstcaps.c: (gst_caps_merge_structure):
7076         * gst/gstcaps.h:
7077         Fix docs and indentation again.
7078
7079         * tests/check/gst/gstquery.c: (GST_START_TEST):
7080         Fix leak in tests and add some more tests.
7081
7082 2006-08-28  Edward Hervey  <edward@fluendo.com>
7083
7084         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7085         Inform GstSegment of the last stop position in order for the current
7086         segment to have a proper duration if it doesn't have a specific stop
7087         position from which a duration could be calculated.
7088         This bug was noticeable when a non-flushing, non-update new segment was
7089         followed by another segment (all buffers from the new segment were being
7090         dropped).
7091
7092 2006-08-28  Wim Taymans  <wim@fluendo.com>
7093
7094         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7095         Small comment update.
7096
7097         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7098         (gst_identity_transform_ip):
7099         Drop-probability is broken, mention this in the code with a 
7100         FIXME and also in the property description.
7101         Make silent also be silent about the drop messages.
7102
7103 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7104
7105         * docs/manual/appendix-win32.xml:
7106           Remove mention of popt, we don't depend on that any
7107           longer (#353136). Add some comments pointing out that
7108           this section is slightly outdated.
7109
7110 2006-08-28  Wim Taymans  <wim@fluendo.com>
7111
7112         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7113
7114         * gst/gstquery.c: (gst_query_new_segment):
7115         * tests/check/gst/gstquery.c: (GST_START_TEST):
7116         Initialize variables when creating a new segment query.
7117         Fixes #353121.
7118
7119 2006-08-28  Wim Taymans  <wim@fluendo.com>
7120
7121         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7122
7123         * gst/gstelement.c: (gst_element_get_bus):
7124         * tests/check/gst/gstelement.c: (GST_START_TEST):
7125         Check for NULL before _reffing the bus. Fixes #353122.
7126
7127 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7128
7129         * docs/manual/basics-bus.xml:
7130           Docs update: fix wrong callback return value explanation; add
7131           some lines about the implicit relationship between main loop
7132           and main context; remove duplicate main loop variable declaration.
7133
7134 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7135
7136         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7137           Don't leak caps in unit test; add a few more simple
7138           checks. 
7139
7140 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7141
7142         * docs/gst/gstreamer-sections.txt:
7143         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7144         (gst_caps_structure_is_subset), (gst_caps_merge),
7145         (gst_caps_merge_structure):
7146         * gst/gstcaps.h:
7147         * libs/gst/base/gstbasetransform.c:
7148         (gst_base_transform_transform_caps):
7149         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7150           implement caps merging (fixes #352580)
7151
7152 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7153
7154         * tools/Makefile.am:
7155         * tools/gst-plot-timeline.py:
7156           add debug-log plotting developer tool (#340674)
7157
7158 2006-08-23  Wim Taymans  <wim@fluendo.com>
7159
7160         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7161         (gst_pad_stop_task):
7162         Improve debugging for task functions.
7163
7164         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7165         (gst_task_start), (gst_task_pause), (gst_task_join):
7166         Make sure that the task function started and finished after a 
7167         join(). 
7168         Don't try to push the task function on the threadpool multiple
7169         times.
7170         Improve the g_warning message with some useful suggestions
7171         about how to fix the problem. 
7172
7173 2006-08-23  Wim Taymans  <wim@fluendo.com>
7174
7175         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7176         Handle RESYNC correctly in _proxy_getcaps.
7177
7178 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7179
7180         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7181         (gst_xml_parse_memory), (gst_xml_get_element):
7182           Chain up to parent class in dispose function and also
7183           unref the elements in the toplevel_elements GList.
7184           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7185           Always return a reference in gst_xml_get_element() rather
7186           than only sometimes.
7187
7188         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7189           Don't leak GstXml object.
7190
7191 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7192
7193         * docs/gst/gstreamer-sections.txt:
7194         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7195         (gst_caps_merge):
7196         * gst/gstcaps.h:
7197         * libs/gst/base/gstbasetransform.c:
7198         (gst_base_transform_transform_caps):
7199           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7200           in a better way
7201
7202 2006-08-21  Edward Hervey  <edward@fluendo.com>
7203
7204         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7205         Implement GObject::dispose virtual method in GstXML so we can free the
7206         top_elements GList.
7207
7208 2006-08-21  Wim Taymans  <wim@fluendo.com>
7209
7210         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7211         (gst_buffer_create_sub):
7212         Copy duration/offset_end/caps when creating a subbuffer of the
7213         complete parent.
7214         Make the subbuffer read-only when we make the metadata writable for
7215         now. Fixes #351768.
7216
7217         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7218         Added check for metadata copy when creating subbuffers.
7219
7220 2006-08-21  Edward Hervey  <edward@fluendo.com>
7221
7222         * libs/gst/base/gstbasetransform.c:
7223         (gst_base_transform_buffer_alloc):
7224         Only call downstream buffer_alloc if transform element is passthrough
7225         or always_in_place. Closes #350449.
7226
7227 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7228
7229         * ChangeLog:
7230           ChangeLog surgery to add comments to previous changes
7231
7232 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7233
7234         * gst/gst.c:
7235           Add comments
7236
7237         * gst/gstpad.c: (gst_pad_set_active):
7238           Be more verbose in the log
7239
7240         * libs/gst/base/gstbasetransform.c:
7241         (gst_base_transform_transform_caps):
7242           Simplify caps to get rid of duplicates, fixes #345444
7243
7244 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7245
7246         * gst/gstvalue.c:
7247         * gst/gstvalue.h:
7248           Use these optimizations only internally.
7249
7250 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7251
7252         * gst/gstvalue.c: (gst_value_compare_list),
7253         (gst_value_compare_fraction_range),
7254         (gst_value_intersect_fraction_fraction_range),
7255         (gst_value_intersect_fraction_range_fraction_range),
7256         (gst_value_subtract_fraction_fraction_range),
7257         (gst_value_subtract_fraction_range_fraction_range),
7258         (gst_value_get_compare_func), (gst_value_compare),
7259         (gst_value_compare_with_func):
7260         * gst/gstvalue.h:
7261           Saves the expensive lookup of the compare function in many cases
7262          (#345444)
7263
7264 2006-08-18  Edward Hervey  <edward@fluendo.com>
7265
7266         * tests/check/gst/gstinfo.c: (gst_info_suite):
7267         Disable test that require gstdebug if it wasn't built in core.
7268
7269 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7270
7271         * docs/random/ensonic/logging.txt:
7272           update ideas
7273           
7274         * gst/gstinfo.c: (gst_debug_log_default):
7275           reorder fields, save some columns, add optional color codes for log
7276           levels
7277
7278 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7279
7280         * docs/random/ensonic/logging.txt:
7281           add ideas about making the logs a bit more useful
7282
7283 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7284
7285         * docs/pwg/advanced-events.xml:
7286         * docs/pwg/titlepage.xml:
7287           Update for 0.10 API (#340627). Add myself
7288           to authors list.
7289
7290 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7291
7292         * docs/libs/gstreamer-libs-docs.sgml:
7293         * docs/libs/gstreamer-libs-sections.txt:
7294         * libs/gst/check/gstbufferstraw.c:
7295           Make gstcheck stuff show up in docs (still needs to
7296           be documented properly though).
7297
7298 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7299
7300         * docs/gst/gstreamer-sections.txt:
7301         * gst/Makefile.am:
7302         * gst/gst.c: (init_post):
7303         * gst/gst_private.h:
7304         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7305         * gst/gstquark.h:
7306         * gst/gstquery.c: (gst_query_new_position),
7307         (gst_query_set_position), (gst_query_parse_position),
7308         (gst_query_new_duration), (gst_query_set_duration),
7309         (gst_query_parse_duration), (gst_query_new_convert),
7310         (gst_query_set_convert), (gst_query_parse_convert),
7311         (gst_query_new_segment), (gst_query_set_segment),
7312         (gst_query_parse_segment), (gst_query_new_seeking),
7313         (gst_query_set_seeking), (gst_query_parse_seeking):
7314         Add internal helpers for pre-registering quarks from static strings
7315         and using the quark values directly instead of looking them up when
7316         creating and parsing queries. Can be used for event construction too.
7317         Closes #350432.
7318
7319 2006-08-16  Wim Taymans  <wim@fluendo.com>
7320
7321         * gst/gstbin.c:
7322         Fix bogus docs.
7323
7324 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7325
7326         * gst/gstutils.c: (gst_util_set_value_from_string):
7327           Fix memleak (#351502).
7328
7329         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7330           Add unit test for most of gst_util_set_value_from_string()
7331           (not that one would want to encourage use of this function).
7332
7333 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7334
7335         * libs/gst/check/gstcheck.h:
7336           Use const gchar * variables in fail_unless_equals_string
7337           macro to avoid compiler warnings (and don't use tabs for
7338           indenting).
7339
7340 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7341
7342         * tools/gst-launch.c: (print_tag):
7343           More space on the left for the tag names, to cater
7344           for the 'extended comment' tag (not touching the
7345           string for the first line since it's translated).
7346
7347 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7348
7349         * libs/gst/check/gstcheck.h:
7350           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7351           print something when they fail.
7352
7353 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7354
7355         * docs/gst/gstreamer-sections.txt:
7356         * gst/gsttaglist.c: (_gst_tag_initialize):
7357         * gst/gsttaglist.h:
7358           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7359           Also change merge function for GST_TAG_COMMENT to
7360           use_first.
7361
7362 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7363
7364         * gst/gstinfo.c: (gst_debug_print_object):
7365           Make GST_PTR_FORMAT print messages as well.
7366
7367         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7368         (GST_START_TEST), (gst_info_suite):
7369           More tests.
7370
7371 2006-08-14  Edward Hervey  <edward@fluendo.com>
7372
7373         * gst/gstelementfactory.c: (gst_element_register):
7374         If the GstElementClass doesn't have a GstElementDetails with all fields
7375         filled up correctly (longname, description AND author), then error out
7376         nicely instead of crashing.
7377
7378 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7379
7380         * gst/gststructure.c:
7381           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7382
7383         * gst/gstvalue.h:
7384           Expand on the difference between arrays and lists as we use them.
7385           
7386 2006-08-14  Wim Taymans  <wim@fluendo.com>
7387
7388         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7389         If the parent state change function failed, don't assume we can safely
7390         stop the source, this will be done when the pads are deactivated.
7391
7392 2006-08-14  Wim Taymans  <wim@fluendo.com>
7393
7394         * gst/gstbuffer.c:
7395         * gst/gsttask.c: (gst_task_join):
7396         Small doc updates.
7397
7398         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7399         (gst_pad_stop_task):
7400         When pad (de)activation failed for some reason, restore the old
7401         activation mode and set the pad to flushing instead of assuming the
7402         pad is deactivated.
7403         If the _task_join() failed, reinstall the task on the pad so that it can
7404         be stopped later and return an error.
7405
7406 2006-08-11  Andy Wingo  <wingo@pobox.com>
7407
7408         * configure.ac:
7409         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7410         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7411         is only for users of API that don't want to see deprecated
7412         functions in the headers; people that want to compile out
7413         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7414         CFLAGS. Fixes the build of multifdsink, or will soon..
7415
7416 2006-08-11  Wim Taymans  <wim@fluendo.com>
7417
7418         * docs/gst/gstreamer-sections.txt:
7419         Add GstClockClass vmethod docs.
7420
7421         * gst/gstcaps.h:
7422         Mark #endif with comment for associated #if
7423
7424         * gst/gstclock.c: (gst_clock_id_wait):
7425         * gst/gstclock.h:
7426         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7427         most clock implementations.
7428         Document vmethods.
7429         Flesh out docs about resolution methods.
7430         API: GstClockClass::wait_jitter
7431
7432         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7433         (gst_system_clock_async_thread),
7434         (gst_system_clock_id_wait_jitter_unlocked),
7435         (gst_system_clock_id_wait_jitter):
7436         Use base class wait_jitter variant for improved performance
7437         due to less clock polling.
7438
7439 2006-08-11  Edward Hervey  <edward@fluendo.com>
7440
7441         * gst/gst.c: (gst_init_check), (init_post):
7442         Set gst as being initialized before scanning/updating the registry,
7443         since there might be my python plugin loader that calls gst_init() and
7444         we don't want to loop back in.
7445         Closes #350879
7446
7447 2006-08-11  Wim Taymans  <wim@fluendo.com>
7448
7449         * docs/design/part-qos.txt:
7450         Bring docs in line with the code. Mostly the sign of the jitter was
7451         wrong in the docs. Fixes #349943.
7452
7453         * gst/gstclock.c:
7454         Fix the docs for the jitter.
7455
7456         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7457         (gst_event_parse_tag), (gst_event_new_buffer_size),
7458         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7459         (gst_event_new_seek), (gst_event_parse_seek),
7460         (gst_event_new_navigation):
7461         Make sure the GstStructure has no parent when creating custom
7462         events.
7463         Add some more argument checking so that we avoid 0.0 rates.
7464         Flesh out the docs for the QoS event some more.
7465
7466 2006-08-11  Wim Taymans  <wim@fluendo.com>
7467
7468         * docs/gst/gstreamer-sections.txt:
7469         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7470         (ensure_current_registry_forking), (ensure_current_registry),
7471         (parse_one_option), (parse_goption_arg), (gst_deinit),
7472         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7473         * gst/gst.h:
7474         Doc updates.
7475         Added API and command line option to disable registry forking in
7476         addition to the environment variable.
7477         Constify some static arrays.
7478         Added some more debug.
7479         Don't deinit twice.
7480         API: gst_registry_fork_is_enabled()
7481         API: gst_registry_fork_set_enabled()
7482         API: --gst-disable-registry-fork command line option
7483         Fixes #348918.
7484
7485 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7486
7487         * gst/gst.c: (gst_init):
7488           Fix typo in error message.
7489
7490 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7491
7492         * libs/gst/controller/gstcontroller.h:
7493           fix ABI size-correction
7494
7495         * tests/check/libs/gdp.c: (gst_dp_suite):
7496           make tests that use deprecated API conditional
7497
7498 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7499
7500         * docs/libs/gstreamer-libs-sections.txt:
7501         * libs/gst/controller/gstcontroller.c:
7502         (_gst_controller_get_property), (_gst_controller_set_property),
7503         (_gst_controller_init), (_gst_controller_class_init):
7504         * libs/gst/controller/gstcontroller.h:
7505         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7506         (gst_object_set_control_rate):
7507           API: add gst_object_{s,g}et_control_rate(), add private data section,
7508           fix docs
7509
7510         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7511         * libs/gst/dataprotocol/dataprotocol.h:
7512           add deprecation guards to make gtk-doc happy and allow disabling cruft
7513
7514 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7515
7516         * tests/check/Makefile.am:
7517         * tests/check/gst/.cvsignore:
7518           Let's enable the new unit test as well.
7519
7520 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7521
7522         * configure.ac:
7523         * docs/gst/gstreamer-sections.txt:
7524         * gst/gstconfig.h.in:
7525         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7526         (_gst_info_printf_extension_ptr),
7527         (_gst_info_printf_extension_segment):
7528           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7529           register that lets us easily dump GstSegments into debug
7530           logs (#350419).
7531
7532         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7533         (info_segment_format_printf_extension), (gst_info_suite):
7534           Add simple unit test that logs a bunch of different segments (not
7535           valgrinded at the moment because of leaks in
7536           gst_debug_add_log_function).
7537
7538 2006-08-09  Edward Hervey  <edward@fluendo.com>
7539
7540         * libs/gst/base/gstbasetransform.c:
7541         (gst_base_transform_buffer_alloc):
7542         Even if we can't figure out the proper format to request downstream,
7543         call buffer_alloc() downstream with the input parameters without setting
7544         the caps on the srcpad. This will force negotiation in the chain
7545         function.
7546         Closes #350449
7547
7548 2006-08-08  Edward Hervey  <edward@fluendo.com>
7549
7550         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7551         Unlinking from a pad without a target is now a perfectly valid case
7552         which should NOT raise an assertion.
7553         This case would happen if a linked ghostpad its target set to NULL after
7554         it was previously linked.
7555
7556 2006-08-08  Edward Hervey  <edward@fluendo.com>
7557
7558         * tests/check/libs/gdp.c:
7559         Also comment out the test (see below).
7560
7561 2006-08-08  Edward Hervey  <edward@fluendo.com>
7562
7563         * tests/check/libs/gdp.c: (gst_dp_suite):
7564         Use the architecture information from config.h and not gcc macros
7565         in order to properly disable a test that fails on PPC64.
7566
7567 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7568
7569         * gst/gstelement.c: (gst_element_remove_pad):
7570           Don't crash printing the warning if the pad has no parent.
7571
7572 2006-08-02  Wim Taymans  <wim@fluendo.com>
7573
7574         * libs/gst/dataprotocol/dataprotocol.c:
7575         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7576         (gst_dp_crc), (gst_dp_header_payload_length),
7577         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7578         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7579         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7580         (gst_dp_event_from_packet), (gst_dp_validate_header),
7581         (gst_dp_validate_payload):
7582         Make debug category static
7583         Constify the crc table.
7584         Do some more arg checking in public functions.
7585         Fix some docs and do some small cleanups.
7586
7587         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7588         Add some more checks to see if GDP deals with bogus input.
7589
7590 2006-07-31  Wim Taymans  <wim@fluendo.com>
7591
7592         * gst/gstvalue.c: (gst_value_compare_list):
7593         Fix GstValueList comparison code. Fixes #347293.
7594
7595         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7596         Check to test GstValueList comparison.
7597
7598 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7599
7600         * gst/gstelementfactory.c: (gst_element_factory_create):
7601         Remove unnecessary ref/unref pair
7602
7603         * gst/parse/grammar.y:
7604         Make sure to free the parse buffer on all code paths.
7605         Move a g_free up to the error handler where it's easier to see.
7606
7607         * tests/check/gst/gstevent.c: (test_event):
7608         Extending timeout for downstream travelling events to 10 seconds to
7609         hopefully avoid intermittent failure on the buildbots.
7610
7611         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7612         Don't manually set the state of the src element - it will happen as a
7613         natural consequence of the pipeline changing state, and that way it
7614         will do it in the right order too.
7615
7616 2006-07-31  Wim Taymans  <wim@fluendo.com>
7617
7618         * libs/gst/base/gstbasetransform.c:
7619         (gst_base_transform_buffer_alloc):
7620         Use OBJECT_LOCK and refcounting to get the pad caps in the
7621         buffer_alloc function because the caps could change while we are
7622         busy with them. Fixes #349105
7623
7624 2006-07-31  Wim Taymans  <wim@fluendo.com>
7625
7626         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7627         Protect _PAD_CAPS with OBJECT_LOCK.
7628
7629 2006-07-31  Wim Taymans  <wim@fluendo.com>
7630
7631         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7632         (gst_pad_get_property), (gst_pad_activate_pull),
7633         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7634         (gst_pad_set_activate_function),
7635         (gst_pad_set_activatepull_function),
7636         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7637         (gst_pad_set_getrange_function),
7638         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7639         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7640         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7641         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7642         (gst_pad_set_acceptcaps_function),
7643         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7644         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7645         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7646         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7647         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7648         (gst_pad_configure_sink), (gst_pad_configure_src),
7649         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7650         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7651         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7652         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7653         (gst_pad_send_event):
7654         Use _DEBUG_OBJECT when it makes sense.
7655         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7656         Small cleanups and code reflows.
7657         Avoid caps refcounting in _accept_caps.
7658         Refactor alloc_buffer so that the code performed on the peer is in a
7659         separate function. Also if the pad does not implement a buffer alloc
7660         function, we should still check if the pad is flushing before falling
7661         back to the default allocator.
7662
7663 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7664
7665         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7666         Make all uses of identity and fakesink have silent=true to avoid
7667         serialising every passing data structure, which is breaking tests
7668         on FC4 for some unknown reason.
7669
7670 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7671
7672         * gst/parse/Makefile.am:
7673         * gst/parse/grammar.y:
7674         * gst/parse/parse.l:
7675           Reverted previous patch as it required to bump the flex dependency to
7676           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7677
7678 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7679
7680         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7681
7682         * gst/parse/Makefile.am:
7683         * gst/parse/grammar.y:
7684         * gst/parse/parse.l:
7685           push & pop the state of the lexer for reentrant use case
7686           Fixes #349180
7687
7688 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7689
7690         * libs/gst/base/gstbasesrc.h:
7691           Note in the docs that the ::newsegment vfunc is not actually used by
7692           GstBaseSrc.
7693
7694 2006-07-28  Wim Taymans  <wim@fluendo.com>
7695
7696         * libs/gst/base/gstcollectpads.c:
7697         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7698         (gst_collect_pads_clear), (gst_collect_pads_flush),
7699         (gst_collect_pads_event), (gst_collect_pads_chain):
7700         When flushing a pad, also clear the queued buffer so that we don't
7701         accidentally use it when we shouldn't.
7702         Fix leaks by inreffing incomming buffer.
7703         Flush out queued buffers in case of errors.
7704         Fixes #347452.
7705
7706 2006-07-28  Wim Taymans  <wim@fluendo.com>
7707
7708         * docs/random/phonon-gst:
7709         Random notes about a Phonon backend.
7710
7711 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7712
7713         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7714         Extra debug output
7715         * tests/check/libs/gdp.c: (gst_dp_suite):
7716         Take a whack at fixing the ppc compile using a different define to
7717         disable the broken test.
7718
7719         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7720         Remove excess g_print()
7721
7722 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7723
7724         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7725         Oops, meant to uncomment this line too to dampen the noise a bit.
7726
7727 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7728
7729         * gst/parse/grammar.y:
7730         * gst/parse/parse.l:
7731         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7732         (GST_START_TEST), (parse_suite):
7733         Fix some of the leaks exposed by extending the parse-launch testsuite,
7734         and move the 3 I can't figure out into a separate test that won't run
7735         the pipelines unless the appropriate line is uncommented.
7736
7737 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7738
7739         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7740           Requesting 0 bytes before the end of the file should result in
7741           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7742           unit test.
7743
7744 2006-07-27  Wim Taymans  <wim@fluendo.com>
7745
7746         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7747         Fix useless assert, a uint is always positive.
7748
7749         * gst/gststructure.c: (gst_structure_nth_field_name),
7750         (gst_structure_foreach), (gst_structure_map_in_place):
7751         Check input arguments for public functions to avoid obvious crashes.
7752
7753         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7754         * plugins/elements/gstfakesink.h:
7755         Do less useless typechecking.
7756
7757 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7758
7759         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7760           Do not use mmap() by default since there are a number of error
7761           conditions that we would like to handle in a non-fatal way that
7762           will result in a SIGBUS if we use mmap(). Examples: external
7763           devices (USB harddrive, portable music player) being unplugged
7764           while in use; file on mounted CD/DVD that can't be read because
7765           the medium is partly damaged. Fixes #348455 and #348475.
7766
7767 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7768
7769         * gst/gstquery.h:
7770         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7771         rates are a gdouble
7772
7773 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7774
7775         * gst/gstregistry.c:
7776           Move big documentation comment into class section header, so that it
7777           appears in the API docs.
7778
7779 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7780
7781         * docs/gst/gstreamer-sections.txt:
7782         Oops. Commit the docs additions too for new API.
7783         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7784
7785 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7786
7787         * gst/gststructure.c: (gst_structure_id_set),
7788         (gst_structure_id_set_valist):
7789         * gst/gststructure.h:
7790         Add API for setting values into structures without performing
7791         a quark lookup, if the appropriate quark is already known.
7792
7793         API: gst_structure_id_set
7794         API: gst_structure_id_set_valist
7795
7796         * gst/parse/grammar.y:
7797         * gst/parse/parse.l:
7798         Remove some dead code shown by the coverage information.
7799         Don't throw a critical g_warning when encountering a syntax error,
7800         just warn and let the normal error path handle it.
7801
7802         * plugins/elements/gstelements.c:
7803         Bump the rank of filesink up to PRIMARY so that it is preferred over
7804         gnomevfssink for file:// sink uri's
7805
7806         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7807         (GST_START_TEST), (run_delayed_test),
7808         (gst_parse_test_element_base_init),
7809         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7810         (gst_parse_test_element_change_state),
7811         (gst_register_parse_element), (parse_suite):
7812         Beef up the tests for parse syntax to check that more error cases
7813         fail as they are supposed to. Increases the test coverage a bit.
7814
7815 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7816
7817         * docs/manual/basics-elements.xml:
7818           Fix gst_element_link() example.
7819
7820         * gst/gstutils.c:
7821           Mention in API docs that one should usually gst_bin_add()
7822           elements to a bin or pipeline before doing the linking.
7823           
7824 2006-07-26  Wim Taymans  <wim@fluendo.com>
7825
7826         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7827         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7828         Avoid function call for known types by keeping the buffer and
7829         subbuffer GType global.
7830
7831         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7832         Random silly optimisations in read() path.
7833
7834 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7835
7836         * tools/gst-launch.c: (main):
7837           If the top-level of the parse is a normal bin, it doesn't do the
7838           right logic to run as a top-level element, so place it inside a
7839           pipeline.
7840
7841 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7842
7843         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7844           Remove superfluous g_object_notify() calls, GObject does
7845           that for us automatically.
7846
7847 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7848
7849         * gst/gstinfo.h:
7850           on Win32, use dllspec to export the debug category symbols
7851
7852 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7853
7854         * gst/gsttaglist.c: (_gst_tag_initialize):
7855           Allow more than one GST_TAG_IMAGE per taglist.
7856
7857 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7858
7859         * gst/gstminiobject.c:
7860           update docs
7861         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7862         (gst_fd_src_create):
7863           log recurring events at LOG level
7864           add more debug for when the fd gets set
7865
7866 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7867
7868         * gst/gstparse.c: (gst_parse_launch):
7869           Also remove reentrance checks if flex is MT safe (#348179)
7870          Fix my empty ChangeLog entry below
7871
7872 2006-07-21  Andy Wingo  <wingo@pobox.com>
7873
7874         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7875
7876         * libs/gst/check/Makefile.am
7877         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7878         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7879         * libs/gst/check/gstbufferstraw.h:
7880         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7881         functions, thus proving I am still a GStreamer haxor. OK I wrote
7882         them a long time ago, but anyways.
7883
7884 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7885
7886         * configure.ac:
7887         * gst/gstparse.c: (gst_parse_launch):
7888           Check for flex version and omit mutex if we have a MT save flex
7889           (fixes #348179)
7890
7891 2006-07-21  Wim Taymans  <wim@fluendo.com>
7892
7893         * gst/gstparse.c: (gst_parse_launch):
7894         Protect recursive calls to _parse with a recursive mutex
7895         and busy flag.
7896
7897 2006-07-21  Wim Taymans  <wim@fluendo.com>
7898
7899         * tests/check/gst/gstpad.c: (GST_START_TEST):
7900         Fix leak in test.
7901
7902 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
7903
7904         * gst/gstparse.c: (gst_parse_launch):
7905           Do not hang on recursive usage of gst_parse_launch()
7906
7907 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7908
7909         * gst/gsttaglist.c:
7910           Add some more docs, comments and FIXME 0.11s here and there
7911           and also fix some typos.
7912
7913 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7914
7915         * gst/gstsegment.h:
7916           Convert tabs to spaces for better readability. 
7917
7918 2006-07-20  Edward Hervey  <edward@fluendo.com>
7919
7920         * tests/check/libs/gdp.c: (gst_dp_suite):
7921         the test_buffer test fails at line 140 on ppc64 at the following
7922         check:
7923         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7924                 GST_BUFFER_FLAG_IN_CAPS),
7925                 "GST_BUFFER_IN_CAPS flag should have been copied !");
7926         See bug #348114 for more details.
7927
7928 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
7929
7930         * docs/pwg/advanced-scheduling.xml:
7931         * gst/gstpad.c:
7932           Fix typos (#348000).
7933
7934 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
7935
7936         * docs/pwg/intro-basics.xml:
7937           Fix wrong links (#347927).
7938
7939 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
7940
7941         * gst/gstregistry.h:
7942         * gst/gstregistryxml.c: (load_feature),
7943         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7944         * win32/common/config.h:
7945           make --disable-index work (#342564)
7946
7947 2006-07-18  Wim Taymans  <wim@fluendo.com>
7948
7949         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7950
7951         * gst/Makefile.am:
7952         * gst/gsttrace.h:
7953         The attached patch adds two missing defines to gsttrace.h when tracing
7954         is disabled.  It also corrects one existing define.
7955         Fixes #347756.
7956
7957 2006-07-17  Wim Taymans  <wim@fluendo.com>
7958
7959         * docs/gst/gstreamer-sections.txt:
7960         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7961         * gst/gst.h:
7962         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7963         Add two functions to check and change the SIGSEGV behaviour
7964         when loading plugins.
7965         Don't mess with the SIGSEGV handler when we were told not to.
7966         Fixes #347794.
7967         API: gst_segtrap_is_enabled
7968         API: gst_segtrap_set_enabled
7969
7970 2006-07-14  Wim Taymans  <wim@fluendo.com>
7971
7972         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7973         * tests/check/elements/filesrc.c: (GST_START_TEST):
7974         Revert fix for regression in #347408 after release.
7975
7976 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
7977
7978         Patch by: Antoine Tremblay <hexa00 at gmail com>
7979
7980         * gst/gstutils.c: (gst_element_unlink):
7981           Free iterator when done (#347311).
7982
7983         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7984           And add a test case for this.
7985
7986 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
7987
7988         * configure.ac:
7989         Bump nano back to CVS
7990
7991 === release 0.10.9 ===
7992
7993 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
7994
7995         * configure.ac:
7996           releasing 0.10.9, "On the road again"
7997
7998 2006-07-13  Wim Taymans  <wim@fluendo.com>
7999
8000         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8001         * tests/check/elements/filesrc.c: (GST_START_TEST):
8002         Revert pull-0 fix for release. Disable check. Fixes #347408.
8003
8004 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8005
8006         * libs/gst/dataprotocol/dataprotocol.c:
8007         (gst_dp_event_from_packet_1_0):
8008           Fixes #347337: failure to deserialize event packets with
8009           empty payload (only event type)
8010
8011 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8012
8013         * gst/Makefile.am:
8014           do not install a .c file in the header directory
8015
8016 2006-07-13  Edward Hervey  <edward@fluendo.com>
8017
8018         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8019         GhostPad no longer implicitely use the padtemplates of the targets.
8020         Fixes #347384
8021
8022 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8023
8024         * gst/gstvalue.c: (gst_value_compare_list),
8025         (gst_value_compare_array), (_gst_value_initialize):
8026         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8027         Make GstValueArray comparison be order dependent as designed.
8028         Add checks for value lists and value array comparisons.
8029         Fixes #347221
8030
8031 2006-07-11  Edward Hervey  <edward@fluendo.com>
8032
8033         * gst/gstbin.c: (activate_pads),
8034         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8035         (gst_bin_change_state_func):
8036         (de)activate src pads before calling state_change on the childs.
8037         This is to avoid the case where a src ghostpad is blocked (holding the
8038         stream lock), which would block the deactivation of the ghostpad's
8039         target pad.
8040         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8041         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8042         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8043         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8044         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8045         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8046         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8047         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8048         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8049         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8050         (gst_ghost_pad_class_init),
8051         (gst_ghost_pad_internal_do_activate_push),
8052         (gst_ghost_pad_internal_do_activate_pull),
8053         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8054         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8055         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8056         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8057         GhostPads now create their internal GstProxyPad at creation (and not
8058         when they're linked, as it was being done previously).
8059         The internal and target pads are linked straight away.
8060         The data will also travel through the other pad in order to make
8061         pad blocking and probes non-hackish (the probe/block now really happens
8062         on the GhostPad and not on the target).
8063         * gst/gstpad.c: (gst_pad_set_blocked_async),
8064         (gst_pad_link_prepare), (gst_pad_push_event):
8065         Remove previous ghostpad cruft.
8066         * gst/gstutils.c: (gst_pad_add_data_probe),
8067         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8068         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8069         (gst_pad_remove_buffer_probe):
8070         Remove previous ghost pad cruft.
8071         Added more detailed debug statements.
8072         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8073         Fix the testsuite for refcounting changes.
8074         The comments about who has references were correct, but the refcount
8075         being checked wasn't the same (!?!).
8076
8077         Fixes #341029
8078
8079 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8080
8081         * docs/gst/gstreamer-sections.txt:
8082         * gst/gstconfig.h.in:
8083         More docs for configuration options, add docs to gtk-doc.
8084
8085 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8086
8087         * gst/Makefile.am:
8088         * gst/gstconfig.h.in:
8089         * win32/common/config.h:
8090         Fix build when disabling tracing (fixes #344016). Also start to document
8091         the defines that disable the sub-systems.
8092
8093 2006-07-10  Edward Hervey  <edward@fluendo.com>
8094
8095         * gst/gst.c: (ensure_current_registry_forking):
8096         let's make valgrind happy...
8097
8098 2006-07-09  Wim Taymans  <wim@fluendo.com>
8099
8100         * gst/gstelement.c: (activate_pads),
8101         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8102         Better pad activation code: Reset the collect value too on resync.
8103         Add some comments.
8104
8105 2006-07-09  Wim Taymans  <wim@fluendo.com>
8106
8107         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8108         (gst_pad_activate_push):
8109         Use some more macros where it makes sense.
8110         Allow pad mode switching instead of asserting. When a pad
8111         is activated in one mode and we activate it in another, 
8112         deactivate it first before activating it in a different mode.
8113         Fixes #329198.
8114
8115 2006-07-08  Andy Wingo  <wingo@pobox.com>
8116
8117         * tools/gst-launch.c (main): Handle err == NULL.
8118
8119         * gst/gst.c (init_post, ensure_current_registry)
8120         (ensure_current_registry_forking)
8121         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8122         factoring out the registry scanning into separate functions. Don't
8123         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8124         Better environment var name/interface suggestions accepted.
8125
8126 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8127
8128         * gst/gstobject.c: (gst_object_set_name_default),
8129         (gst_object_set_name):
8130           Random micro-optimisation: don't use a hash table
8131           with strings as keys and the usual strdup/strcmp
8132           involved, but rather just use the GQuark of the
8133           type name as key, since it needs to be looked up
8134           anyway to get the type name string.
8135
8136         * tests/check/gst/gstobject.c: (GST_START_TEST):
8137           Fix various leaks.
8138
8139 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8140
8141         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8142         (gst_bin_iterate_all_by_interface):
8143           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8144           GTypes are gulongs and thus the top 4 bytes might be cut
8145           off on some platforms when doing GPOINTER_TO_INT, leading
8146           to invalid GTypes and bad things happening (see RH bug #179654).
8147           Also add a check to make sure the type passed in is really
8148           an interface type.
8149
8150 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8151
8152         * .cvsignore:
8153           Ignore more.
8154
8155 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8156
8157         * Makefile.am:
8158         * configure.ac:
8159         * gst-element-check.m4:
8160         * gst-element-check.m4.in:
8161           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8162           instead of the unversioned gst-inspect (#324176, #168659).
8163
8164 2006-07-06  Wim Taymans  <wim@fluendo.com>
8165
8166         * gst/gstmessage.h:
8167         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8168         warnings.
8169
8170 2006-07-06  Wim Taymans  <wim@fluendo.com>
8171
8172         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8173         (gst_base_src_wait), (gst_base_src_update_length),
8174         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8175         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8176         (gst_base_src_loop), (gst_base_src_start),
8177         (gst_base_src_activate_pull):
8178         Update docs.
8179         blocksize == 0 now means the default blocksize when working in push
8180         based mode.
8181         Remove some pointless asserts in _wait function.
8182         Fix offset/length calculations and EOS handling. We can now pull 0
8183         bytes as well, which is allowed.
8184         use _check_get_range() to decide if we can operate in _pull based
8185         mode.
8186         Fix refcounting leak when check_get_range function was not 
8187         implemented.
8188         API GstBaseSrc::blocksize range can be 0 too now (default)
8189
8190         * tests/check/elements/filesrc.c: (GST_START_TEST),
8191         (filesrc_suite):
8192         Added check to test _get_range() behaviour.
8193
8194 2006-07-06  Wim Taymans  <wim@fluendo.com>
8195
8196         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8197         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8198         (gst_pad_pull_range):
8199         * gst/gstpad.h:
8200         Lots of comments and docs added to the pad functions.
8201         Flesh out the expected behaviour of the get_range() functions.
8202
8203 2006-07-06  Wim Taymans  <wim@fluendo.com>
8204
8205         * gst/gstbus.h:
8206         * gst/gstclock.h:
8207         * gst/gstevent.h:
8208         * gst/gstiterator.h:
8209         * gst/gstpad.h:
8210         * gst/gstplugin.h:
8211         * gst/gsttask.h:
8212         Remove comma at end of enumerator list. 
8213
8214 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8215
8216         * win32/common/libgstbase.def:
8217         * win32/common/libgstdataprotocol.def:
8218         * win32/common/libsgtreamer.def:
8219         Add new exported functions.
8220
8221 2006-07-05  Wim Taymans  <wim@fluendo.com>
8222
8223         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8224         Add some more docs here and there.
8225
8226 2006-07-05  Wim Taymans  <wim@fluendo.com>
8227
8228         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8229         (gst_base_sink_loop), (gst_base_sink_get_position):
8230         When operating in pull mode update the offset so that we
8231         read sequentially.
8232
8233 2006-07-05  Wim Taymans  <wim@fluendo.com>
8234
8235         * gst/gstregistryxml.c: (read_string):
8236         Avoid strdup. (will happen in libxml, but hey!)
8237
8238         * gst/gsturi.c:
8239         Add some more docs.
8240
8241 2006-07-05  Wim Taymans  <wim@fluendo.com>
8242
8243         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8244         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8245         (gst_buffer_suite):
8246         No point in checking if the size of the subbuffer > 0, the
8247         code handles it correclty as demonstrated by unit test.
8248         Also add a unit test for the zero sized _new_and_alloc and
8249         _copy. Fixes #346663.
8250
8251 2006-07-05  Wim Taymans  <wim@fluendo.com>
8252
8253         * libs/gst/base/gstbasetransform.c:
8254         (gst_base_transform_prepare_output_buffer),
8255         (gst_base_transform_buffer_alloc),
8256         (gst_base_transform_handle_buffer):
8257         Make sure the buffer we pass to transform_ip has a refcount of
8258         1 and thus is writable. Fixes #343196
8259
8260 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8261
8262         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8263         (gst_file_src_init), (gst_file_src_set_property),
8264         (gst_file_src_get_property), (gst_file_src_map_region):
8265         * plugins/elements/gstfilesrc.h:
8266         Add "sequential" property, off by default, to use madvise and hint
8267         to the kernel that sequential access is desired.
8268         Touch all retrieved pages by default to ensure they are pulled
8269         into memory. (Closes #345720)
8270
8271 2006-07-03  Wim Taymans  <wim@fluendo.com>
8272
8273         * docs/design/part-block.txt:
8274         * docs/design/part-dynamic.txt:
8275         Small docs updates.
8276
8277 2006-07-03  Wim Taymans  <wim@fluendo.com>
8278
8279         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8280         (gst_caps_unref), (gst_static_caps_get),
8281         (gst_caps_append_structure):
8282         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8283         Use GSlice when the glib we build against is >= 2.10
8284
8285 2006-07-03  Wim Taymans  <wim@fluendo.com>
8286
8287         * gst/gstelement.c: (gst_element_pads_activate):
8288         Small cleanup in pad activation code.
8289
8290 2006-07-03  Wim Taymans  <wim@fluendo.com>
8291
8292         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8293
8294         * gst/gst-i18n-app.h:
8295         * gst/gst-i18n-lib.h:
8296         * tools/gst-inspect.c: (print_signal_info):
8297         The attached patch will make the inclusion of gettext.h unconditional in
8298         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8299         libintl.h in tools/gst-inspect.c.
8300         This allows use of --disable-nls again and fixes #344642.
8301
8302 2006-07-03  Edward Hervey  <edward@fluendo.com>
8303
8304         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8305         Implement pad blocking on events according to part-block.txt.
8306         More comments on behaviour.
8307         * tests/check/gst/gstevent.c: (test_event):
8308         Send event to peer pad of blocked pad (else it will block).
8309
8310 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8311
8312         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8313         (gst_check_run_suite):
8314           if we get the wrong message, give us the types as string
8315         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8316           Fix a translatable
8317         * tests/check/elements/filesrc.c: (GST_START_TEST):
8318           add a test for trying to open a non-existing file
8319
8320 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8321
8322         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8323           add a test for adding self
8324
8325 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8326
8327         * libs/gst/check/gstcheck.h:
8328           add some assert_ as alias for fail_unless_*
8329         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8330           increase test coverage
8331
8332 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8333
8334         * Makefile.am:
8335           include lcov.mak for lcov coverage generation
8336         * tools/Makefile.am:
8337           add to CLEANFILES
8338
8339 2006-07-02  Edward Hervey  <edward@fluendo.com>
8340
8341         * tests/check/elements/.cvsignore:
8342         moaping
8343
8344 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8345
8346         * configure.ac:
8347           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8348         * tests/check/Makefile.am:
8349           clean up gcov files
8350
8351 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8352
8353         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8354           remove gst_caps_simplify; it was not declared and not used
8355           and deprecated in 0.8
8356
8357 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8358
8359         * docs/faq/gst-uninstalled:
8360           don't put empty paths on PYTHONPATH
8361         * docs/gst/gstreamer-sections.txt:
8362           remove some symbols that are not there
8363
8364 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8365
8366         * gst/gstcaps.c: (gst_caps_compare_structures):
8367           whitespace fixes
8368         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8369         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8370           add more tests
8371
8372 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8373
8374         * libs/gst/dataprotocol/Makefile.am:
8375           build dataprotocol test by linking to the lib, instead of
8376           compiling the source, so we get coverage
8377         * tests/check/Makefile.am:
8378         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8379         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8380           add a test for filesrc
8381
8382 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8383
8384         * tests/check/gst/gststructure.c: (GST_START_TEST),
8385         (gst_structure_suite):
8386           Push coverage from 59.04% to 70.00%
8387
8388 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8389
8390         * tests/check/Makefile.am:
8391           gst-inspect every element; this makes sure that we also get
8392           coverage on element's get/set functions
8393
8394 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8395
8396         * configure.ac:
8397           set CFLAGS and friends to -O0 if gcov is being used
8398           add GCOV LIBS
8399         * gst/Makefile.am:
8400         * libs/gst/base/Makefile.am:
8401         * libs/gst/check/Makefile.am:
8402         * libs/gst/controller/Makefile.am:
8403         * libs/gst/dataprotocol/Makefile.am:
8404         * libs/gst/net/Makefile.am:
8405         * plugins/elements/Makefile.am:
8406         * plugins/indexers/Makefile.am:
8407           add makefile rules to generate gcov data and clean up
8408         * tests/check/Makefile.am:
8409           add a coverage target that generates an html overview
8410           of coverage data
8411
8412 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8413
8414         * tests/check/elements/fakesink.c:
8415         * tests/check/elements/fakesrc.c:
8416         * tests/check/elements/fdsrc.c:
8417         * tests/check/elements/identity.c:
8418         * tests/check/generic/sinks.c: (gst_sinks_suite):
8419         * tests/check/generic/states.c:
8420         * tests/check/gst/gst.c:
8421         * tests/check/gst/gstabi.c:
8422         * tests/check/gst/gstbin.c:
8423         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8424         * tests/check/gst/gstbus.c: (gst_bus_suite):
8425         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8426         * tests/check/gst/gstelement.c:
8427         * tests/check/gst/gstevent.c: (gst_event_suite):
8428         * tests/check/gst/gstghostpad.c:
8429         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8430         * tests/check/gst/gstmessage.c: (gst_message_suite):
8431         * tests/check/gst/gstminiobject.c:
8432         * tests/check/gst/gstobject.c:
8433         * tests/check/gst/gstpad.c:
8434         * tests/check/gst/gstpipeline.c:
8435         * tests/check/gst/gstplugin.c:
8436         * tests/check/gst/gstquery.c: (gst_query_suite):
8437         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8438         * tests/check/gst/gststructure.c:
8439         * tests/check/gst/gstsystemclock.c:
8440         * tests/check/gst/gsttag.c:
8441         * tests/check/gst/gsttask.c: (gst_task_suite):
8442         * tests/check/gst/gstutils.c:
8443         * tests/check/gst/gstvalue.c:
8444         * tests/check/libs/adapter.c:
8445         * tests/check/libs/basesrc.c:
8446         * tests/check/libs/collectpads.c:
8447         * tests/check/libs/controller.c:
8448         * tests/check/libs/gdp.c: (gst_dp_suite):
8449         * tests/check/libs/gstnetclientclock.c:
8450         * tests/check/libs/gstnettimeprovider.c:
8451         * tests/check/libs/libsabi.c: (libsabi_suite):
8452         * tests/check/libs/typefindhelper.c:
8453         * tests/check/pipelines/cleanup.c:
8454         * tests/check/pipelines/parse-launch.c:
8455         * tests/check/pipelines/simple-launch-lines.c:
8456         * tests/check/pipelines/stress.c: (stress_suite):
8457           use the new macro
8458
8459 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8460
8461         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8462         * libs/gst/check/gstcheck.h:
8463           create a macro and function so that the simple unit test
8464           case can be just one macro to create main()
8465
8466 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8467
8468         * gst/gstbin.c: (gst_bin_restore_thyself):
8469         * gst/gstxml.c: (gst_xml_make_element):
8470           Fix deserialisation from XML. Set parent manually
8471           instead of using gst_bin_add(), since gst_bin_add()
8472           will unlink all pads of the element being added.
8473           Fixes #341667.
8474
8475 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8476
8477         Patch by: Peter Kjellerstedt <pkj at axis com>
8478
8479         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8480           Fix missing g_strdup() and double free when using the
8481           --gst-plugin-load command line option (#346097).
8482
8483 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8484
8485         * gst/gstinfo.c:
8486           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8487
8488         * libs/gst/net/gstnetclientclock.c:
8489         * libs/gst/net/gstnettimeprovider.c:
8490           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8491
8492 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8493
8494         * docs/manual/advanced-dataaccess.xml:
8495           Fix buffer probe example compilation in
8496           ADM (#345708).
8497         
8498 2006-06-22  Edward Hervey  <edward@fluendo.com>
8499
8500         * gst/gstelement.c: (gst_element_pads_activate):
8501         We need to deactivate src pads first and then sink pads.
8502         The reason is the src pads might be blocking while holding the streaming
8503         lock, so we need to deactivate them first so that deactivating the sink
8504         pads doesn't block (since it will require the streaming lock).
8505
8506 2006-06-22  Wim Taymans  <wim@fluendo.com>
8507
8508         * libs/gst/base/gstbasetransform.c:
8509         (gst_base_transform_buffer_alloc):
8510         Forgot to remove two unneeded unrefs.
8511         Simplify a check _is_equal allready checks the obvious case.
8512
8513 2006-06-22  Wim Taymans  <wim@fluendo.com>
8514
8515         * docs/design/part-block.txt:
8516         Some docs about what pad_block should do.
8517
8518 2006-06-22  Wim Taymans  <wim@fluendo.com>
8519
8520         * gst/gstcaps.c: (gst_caps_replace):
8521         Fix crasher when passed NULL. Doc clarification.
8522         Optimize for the trivial case.
8523
8524         * gst/gstpipeline.c: (gst_pipeline_change_state):
8525         Small cleanups.
8526
8527         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8528         Small documentation cleanup.
8529
8530         * libs/gst/base/gstbasetransform.c:
8531         (gst_base_transform_buffer_alloc):
8532         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8533         is what we need and it avoids a whole lot of redundant 
8534         refcount operations.
8535
8536 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8537
8538         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8539
8540         * docs/manual/advanced-dataaccess.xml:
8541           Fix 'Embedding static elements' section to use
8542           GST_PLUGIN_DEFINE_STATIC (#345607).
8543
8544 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8545
8546         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8547           Attempt to 'fix' spuriously failing test case: it seems like the
8548           timeout of half a second is simply too small when the system is under
8549           load otherwise, and the timeout doesn't really seem to serve any
8550           particular purpose here. Give the pipeline a few seconds to preroll
8551           first, and then give it another half a second to go from PAUSED to
8552           PLAYING and marshal the message into the main thread.
8553
8554 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8555
8556         * tools/gst-feedback-m.m:
8557           Don't only use unversioned tools, try versioned tools as well
8558           (#345086).
8559
8560 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8561
8562         * gst/gstbus.c: (gst_bus_class_init):
8563           Fix some typos, make docs more explicit.
8564
8565 2006-06-20  Wim Taymans  <wim@fluendo.com>
8566
8567         * tests/check/gst/gstghostpad.c: (block_callback),
8568         (GST_START_TEST), (gst_ghost_pad_suite):
8569         Added some more ghostpad tests, mainly blocking
8570         and probes.
8571
8572 2006-06-16  Wim Taymans  <wim@fluendo.com>
8573
8574         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8575         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8576         (gst_file_sink_event), (gst_file_sink_render):
8577         * plugins/elements/gstfilesink.h:
8578         Check if we can seek in the file instead of assuming
8579         we always can. Post an error when we are asked to seek in a
8580         non-seekable file (like a fifo). Fixes #343312.
8581         Some cleanups.
8582
8583 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8584
8585         * tools/gst-launch.1.in:
8586           Un-garble (fourcc) bit in filtered caps section.
8587
8588 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8589
8590         * docs/manual/advanced-autoplugging.xml:
8591         * docs/manual/basics-helloworld.xml:
8592         * docs/manual/highlevel-components.xml:
8593           Don't leak bus reference in sample code.
8594
8595 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8596
8597         * autogen.sh:
8598           Add default for new --enable-plugin-docs switch.
8599
8600         * configure.ac:
8601           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8602           Fixes #344039.
8603
8604         * docs/Makefile.am:
8605           Use new ENABLE_PLUGIN_DOCS conditional.
8606
8607 2006-06-14  Wim Taymans  <wim@fluendo.com>
8608
8609         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8610         Make it clear with a FIXME and a real define what the #if 0
8611         previously disabled.
8612
8613 2006-06-14  Wim Taymans  <wim@fluendo.com>
8614
8615         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8616         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8617         * libs/gst/base/gstbasetransform.c:
8618         (gst_base_transform_sink_eventfunc):
8619         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8620         Don't randomly and silently reset a segment when the format 
8621         changes as this is a bug somewhere upstream. Fixes #330379.
8622
8623 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8624
8625         Patch by: Wouter Paesen  <wouter at kangaroot net>
8626
8627         * libs/gst/controller/gstcontroller.c:
8628         (gst_controlled_property_new):
8629           Fix controlling of float properties (#344849).
8630
8631         * tests/check/libs/controller.c:
8632         (gst_test_mono_source_get_property),
8633         (gst_test_mono_source_set_property),
8634         (gst_test_mono_source_class_init), (GST_START_TEST):
8635           While we're at it, add some float stuff to unit test.
8636
8637 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8638
8639         * docs/README:
8640         * docs/images/gdp-header.svg:
8641           add a gdp image
8642         * docs/libs/Makefile.am:
8643         * docs/libs/gdp-header.png:
8644         * libs/gst/dataprotocol/dataprotocol.c:
8645           add it to the API docs
8646         * docs/manual/intro-motivation.xml:
8647           fix typo
8648
8649 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8650
8651         * gst/gst.c: (scan_and_update_registry), (init_post):
8652           If the fork()'ed child process can't write the updated registry cache
8653           file to disk for some reason, make it exit with a failure exit code,
8654           so that the parent can then re-scan the plugins itself and update the
8655           registry structures in memory and work with that (rather than failing
8656           when creating elements because seemingly no plugins are available).
8657           Refactor registry scanning code into separate function for this and
8658           also separate fork() and non-fork() code paths. Fixes #344748.
8659
8660 2006-06-13  Wim Taymans  <wim@fluendo.com>
8661
8662         * docs/manual/advanced-dataaccess.xml:
8663         Fix wrong PluginDesc. Fixes #344755.
8664
8665 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8668           Fix silly bug that prevented us from creating
8669           ~/.gstreamer-0.10 and writing the registry in one
8670           go (the first call to g_mkstemp() would overwrite the
8671           placeholder in the template string, so the second call
8672           to g_mkstemp() after creating the missing directory
8673           would then error out with 'invalid argument').
8674
8675 2006-06-13  Edward Hervey  <edward@fluendo.com>
8676
8677         * gst/gst.c: (init_post):
8678         Free string.
8679
8680 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8681
8682         * gst/glib-compat-private.h:
8683         * gst/glib-compat.c:
8684         * gst/glib-compat.h:
8685         * gst/gstvalue.c: (gst_value_serialize_flags):
8686           remove GLib 2.6 compatibility code
8687
8688 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8689
8690         * gst/parse/Makefile.am:
8691           Fix build with 'make -j N' even more (#340016).
8692
8693 2006-06-12  Wim Taymans  <wim@fluendo.com>
8694
8695         * docs/gst/gstreamer-sections.txt:
8696         Fix docs.
8697
8698 2006-06-12  Wim Taymans  <wim@fluendo.com>
8699
8700         * gst/gstsegment.c: (gst_segment_set_duration),
8701         (gst_segment_set_last_stop), (gst_segment_set_seek),
8702         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8703         (gst_segment_to_running_time), (gst_segment_clip):
8704         Use G_UNLIKELY to help the compiler a bit.
8705
8706 2006-06-12  Wim Taymans  <wim@fluendo.com>
8707
8708         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8709
8710         * gst/gstevent.c: (gst_event_get_type):
8711         * gst/gstmessage.c:
8712         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8713         (gst_pad_push):
8714         constify quark registration strings. Fixes #344115
8715         Avoid unneeded type checking is _pad_push() by internally
8716         calling gst_pad_chain_unchecked().
8717
8718 2006-06-12  Wim Taymans  <wim@fluendo.com>
8719
8720         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8721         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8722         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8723         (gst_buffer_is_span_fast), (gst_buffer_span):
8724         Init _type for consistency.
8725         Use _FLAGS macro to avoid type check.
8726         Avoid unneeded type checks in subbufer code.
8727
8728 2006-06-12  Wim Taymans  <wim@fluendo.com>
8729
8730         * gst/gst.c: (gst_debug_help):
8731         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8732         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8733         (gst_plugin_feature_list_free):
8734         * gst/gstregistry.c: (gst_registry_add_plugin),
8735         (gst_registry_add_feature), (gst_registry_plugin_filter),
8736         (gst_registry_feature_filter), (gst_registry_find_plugin),
8737         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8738         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8739         * gst/gstregistryxml.c: (load_feature),
8740         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8741         * gst/gstminiobject.c: (gst_mini_object_unref),
8742         (gst_mini_object_replace), (gst_value_mini_object_free),
8743         (gst_value_mini_object_copy):
8744         Use _CAST macros to avoid unneeded type checking.
8745         Added some more G_UNLIKELY.
8746
8747 2006-06-12  Wim Taymans  <wim@fluendo.com>
8748
8749         * gst/gstbuffer.h:
8750         Avoid unneeded type checking.
8751         API: GST_BUFFER_IS_DISCONT
8752
8753         * gst/gstminiobject.h:
8754         Avoid type check in flag accessor.
8755
8756         * gst/gstelementfactory.h:
8757         * gst/gstplugin.h:
8758         * gst/gstpluginfeature.h:
8759         Add _CAST macros.
8760         API: GST_ELEMENT_FACTORY_CAST
8761         API: GST_PLUGIN_CAST
8762         API: GST_PLUGIN_FEATURE_CAST
8763
8764 2006-06-12  Wim Taymans  <wim@fluendo.com>
8765
8766         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8767         (gst_object_unref):
8768         Add G_UNLIKELY in type registration.
8769         Avoid type check in _ref/_unref since that is also
8770         done in glib.
8771
8772 2006-06-12  Wim Taymans  <wim@fluendo.com>
8773
8774         * gst/gsterror.c: (gst_g_error_get_type):
8775         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8776         (gst_static_pad_template_get_type):
8777         * gst/gsttaglist.c: (gst_tag_list_get_type):
8778         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8779         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8780         * gst/gsturi.c: (gst_uri_handler_get_type):
8781         * gst/gstvalue.c: (gst_date_get_type):
8782         * gst/gstxml.c: (gst_xml_get_type):
8783         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8784         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8785         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8786         Add G_UNLIKELY in type registration.
8787
8788 2006-06-12  Wim Taymans  <wim@fluendo.com>
8789
8790         * tools/gst-inspect.c: (print_signal_info):
8791         Properly print enum values.
8792
8793 2006-06-12  Wim Taymans  <wim@fluendo.com>
8794
8795         * gst/gstinfo.c: (gst_debug_set_active),
8796         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8797         * gst/gstinfo.h:
8798         Add some G_[UN]LIKELY.
8799         Maintain __gst_debug_min to avoid formatting the arguments of
8800         debug messages that will be dropped anyway to avoid a lot of 
8801         overhead from the debugging system.
8802
8803 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8804
8805         * po/POTFILES.in:
8806         * po/POTFILES.skip:
8807           add missing files containing translatable strings, tell intltool about
8808           one exception
8809
8810 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8811
8812         * tests/check/libs/.cvsignore:
8813         add test-binary to ignore list
8814
8815 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8816
8817         * docs/libs/gstreamer-libs-docs.sgml:
8818         reorder (put dp into a chapter) and indent
8819
8820 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8821
8822         * configure.ac:
8823           back to HEAD
8824
8825 === release 0.10.8 ===
8826
8827 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8828
8829         * configure.ac:
8830           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8831
8832 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8833
8834         * gst/gst.c: (init_post):
8835           move pid declaration to declaration block
8836
8837 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8838
8839         * gst/gst.c: (init_post):
8840           use _exit() instead of exit() in our forked child; this ensures
8841           that none of the registered exit handlers from whatever is using
8842           GStreamer get executed.  This fixes gnome-mixer-applet failing
8843           to load, because ORBit would shut down.
8844           Spotted by: Edward Hervey  <edward@fluendo.com>
8845           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8846           Fixes #344474
8847
8848 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8849
8850         * configure.ac:
8851           back to TRUNK
8852
8853 === release 0.10.7 ===
8854
8855 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8856
8857         * configure.ac:
8858           releasing 0.10.7, "Soepeke, ik zie ou"
8859
8860 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8861
8862         * configure.ac:
8863         * po/af.po:
8864         * po/az.po:
8865         * po/bg.po:
8866         * po/ca.po:
8867         * po/cs.po:
8868         * po/de.po:
8869         * po/en_GB.po:
8870         * po/fr.po:
8871         * po/it.po:
8872         * po/nb.po:
8873         * po/nl.po:
8874         * po/ru.po:
8875         * po/sq.po:
8876         * po/sr.po:
8877         * po/sv.po:
8878         * po/tr.po:
8879         * po/uk.po:
8880         * po/vi.po:
8881         * po/zh_CN.po:
8882         * po/zh_TW.po:
8883         * win32/common/config.h:
8884           0.10.6.2 prerelease
8885
8886 2006-06-07  Wim Taymans  <wim@fluendo.com>
8887
8888         * gst/gstindex.c: (gst_index_gtype_resolver):
8889         * tools/gst-xmlinspect.c: (print_plugin_info):
8890         Fix leak spotted by coverity checker. Fixes #343827
8891         Fix another other leak found by paolo borelli.
8892
8893 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8894
8895         * libs/gst/dataprotocol/dataprotocol.c:
8896         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8897         (gst_dp_version_get_type), (gst_dp_init),
8898         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8899         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8900         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8901         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8902         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8903         (gst_dp_packetizer_free):
8904         * libs/gst/dataprotocol/dataprotocol.h:
8905           API: add a GstDPPacketizer object, and create/free functions
8906           API: add GstDPVersion enum
8907           Add 1.0 event function that uses the string serialization
8908           Serialize more useful buffer flags
8909           Fixes #343988
8910
8911 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8912
8913         * tests/check/Makefile.am:
8914         * tests/check/gst/gstabi.c:
8915         * tests/check/gst/struct_ppc64.h:
8916         * tests/check/libs/libsabi.c:
8917         * tests/check/libs/struct_ppc64.h:
8918           add ppc64 structure sizes
8919
8920 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8921
8922         * tests/check/Makefile.am:
8923         * tests/check/gst/gstabi.c:
8924         * tests/check/gst/struct_x86_64.h:
8925         * tests/check/libs/libsabi.c:
8926         * tests/check/libs/struct_x86_64.h:
8927           generate and add structure size lists for x86_64
8928
8929 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8930
8931         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8932         * libs/gst/check/gstcheck.h:
8933           factor out the method from tests that checks size of structures,
8934           and add code to generate the header containing these sizes
8935         * tests/check/gst/gstabi.c: (GST_START_TEST):
8936         * tests/check/gst/struct_i386.h:
8937         * tests/check/libs/libsabi.c: (GST_START_TEST):
8938         * tests/check/libs/struct_i386.h:
8939           use it
8940
8941 2006-06-06  Michael Smith  <msmith@fluendo.com>
8942
8943         * gst/gstsegment.h:
8944           Don't use c++-style comments, fixes #343929
8945
8946 2006-06-05  Edward Hervey  <edward@fluendo.com>
8947
8948         * gst/gst.c:
8949         plugin_paths is not used if we build without registry support.
8950
8951         * gst/gstsegment.c: (gst_segment_copy): 
8952         _copy() was always returning NULL...
8953
8954 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8955
8956         * libs/gst/dataprotocol/dataprotocol.c:
8957         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8958         (gst_dp_packet_from_event):
8959           factor out CRC code
8960
8961 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8962
8963         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8964           make sure we unset caps
8965
8966 2006-06-02  Michael Smith  <msmith@fluendo.com>
8967
8968         * libs/gst/check/gstcheck.c: (gst_check_init),
8969         (gst_check_chain_func):
8970         * libs/gst/check/gstcheck.h:
8971           Add a cond/mutex to the check support lib, signal this whenever we
8972           add to the buffers list. This will allow tests to not busy-wait on
8973           the buffer-list.
8974
8975 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8976
8977         * libs/gst/dataprotocol/dataprotocol.c:
8978         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8979         (gst_dp_packet_from_event):
8980           factor out some common header init code
8981
8982 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8983
8984         * docs/libs/gstreamer-libs-sections.txt:
8985         * docs/libs/tmpl/gstdataprotocol.sgml:
8986         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8987         * libs/gst/dataprotocol/dataprotocol.h:
8988           API: make gst_dp_crc() public
8989
8990 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8991
8992         * plugins/indexers/gstindexers.c: (plugin_init):
8993         conditionally register fileindexer (fixes #343598)
8994
8995 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8996
8997         * gst/gsttagsetter.h:
8998         Can't cast ifaces to a class
8999
9000         * libs/gst/net/gstnetclientclock.h:
9001         * libs/gst/net/gstnettimeprovider.h:
9002         * plugins/elements/gstfakesink.h:
9003         * plugins/elements/gstfakesrc.h:
9004         * plugins/elements/gstfdsink.h:
9005         * plugins/elements/gstfdsrc.h:
9006         * plugins/elements/gstfilesink.h:
9007         * plugins/elements/gstfilesrc.h:
9008         * plugins/elements/gstidentity.h:
9009         * plugins/elements/gstqueue.h:
9010         * plugins/elements/gsttee.h:
9011         * plugins/indexers/gstfileindex.c:
9012         * plugins/indexers/gstmemindex.c:
9013         * tests/old/examples/plugins/example.h:
9014         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9015
9016 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9017
9018         * libs/gst/dataprotocol/dataprotocol.c:
9019         (gst_dp_header_from_buffer):
9020           make sure we zero the whole ABI-compatible area
9021
9022 2006-06-01  Wim Taymans  <wim@fluendo.com>
9023
9024         Patch by: Alessandro Decina <alessandro at nnva dot org>
9025
9026         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9027         Make sure the EOS flag is cleared from pads after a flush
9028         or stop. Fixes #343538.
9029
9030         * tests/check/libs/collectpads.c: (GST_START_TEST),
9031         (gst_collect_pads_suite):
9032         Added test for collectpads reusage after EOS.
9033
9034 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9035
9036         * gst/gst.c:
9037          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9038         * win32/common/libgstbase.def:
9039          export gst_collect_pads_set_flushing
9040         * win32/common/libgstreamer.def:
9041          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9042          gst_value_fraction_multiply
9043         * win32/vs6/gst_inspect.dsp:
9044          add a link to intl.lib
9045
9046 2006-05-30  Wim Taymans  <wim@fluendo.com>
9047
9048         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9049         (gst_collect_pads_chain):
9050         Handle the case where a pad is removed from the collection
9051         that could cause the other pads to become collectable.
9052
9053 2006-05-30  Wim Taymans  <wim@fluendo.com>
9054
9055         * gst/gstelement.c:
9056         Clarify the use of _release_request_pad() and
9057         _get_request_pad() a bit better.
9058
9059         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9060         (gst_adapter_take_buffer):
9061         Fix some doc and comment typos.
9062
9063 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9064
9065         * docs/gst/gstreamer-sections.txt:
9066         * docs/libs/gstreamer-libs-sections.txt:
9067           add declared symbols
9068
9069 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9070
9071         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9072         Add debug that can be enabled using a #define at the top of the file,
9073         for dumping stats about how late/early we were when waking up from
9074         waiting on the clock.
9075
9076 2006-05-30  Wim Taymans  <wim@fluendo.com>
9077
9078         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9079         When rebuilding the pad list, don't leak the previous list.
9080
9081 2006-05-30  Wim Taymans  <wim@fluendo.com>
9082
9083         Patch by: Lutz Mueller <lutz at topfrose dot de>
9084
9085         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9086         (gst_base_src_get_query_types), (gst_base_src_update_length):
9087         Publish supported query types.
9088         Update last_stop field in get_range mode so the position
9089         query works. Fixes #342321.
9090
9091 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9092
9093         * docs/gst/gstreamer-sections.txt:
9094         * gst/gsttaglist.c: (_gst_tag_initialize):
9095         * gst/gsttaglist.h:
9096           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9097
9098 2006-05-30  Wim Taymans  <wim@fluendo.com>
9099
9100         Patch by: Alessandro Decina <alessandro at nnva dot org>
9101
9102         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9103         Unlock mutex when removing an unknown pad.
9104         Fixes #343334.
9105
9106         * tests/check/Makefile.am:
9107         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9108         (push_event), (setup), (teardown), (GST_START_TEST),
9109         (gst_collect_pads_suite), (main):
9110         Added collecpads check, disabled for now as check crashes for
9111         some reason.
9112
9113 2006-05-29  Wim Taymans  <wim@fluendo.com>
9114
9115         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9116         Don't leak pads lists.
9117
9118 2006-05-29  Wim Taymans  <wim@fluendo.com>
9119
9120         * docs/libs/gstreamer-libs-sections.txt:
9121         * libs/gst/base/gstcollectpads.c:
9122         (gst_collect_pads_set_flushing_unlocked),
9123         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9124         (gst_collect_pads_stop):
9125         * libs/gst/base/gstcollectpads.h:
9126         API: gst_collect_pads_set_flushing()
9127         Added api to set the pads to flushing, useful for seeking
9128         code in elements using collectpads.
9129         Clear segment when receiving a flush.
9130
9131 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9132
9133         * gst/gst.c: (add_path_func), (init_post):
9134           Don't scan registry paths passed via --gst-plugin-path immediately
9135           (will crash, because absolutely nothing is set up and no types are
9136           registered etc.); do this later in init_post(). Fixes #343057.
9137
9138 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9139
9140         * gst/gst.c: (init_post):
9141           if we have fork, fork while reading/rebuilding the registry
9142           so the parent doesn't take the hit of having all plugins loaded
9143           in memory.  Fixes #342777.
9144         * configure.ac:
9145           Check if we have fork()
9146         * win32/common/config.h.in:
9147           no fork() on win32
9148
9149 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9150
9151         * plugins/elements/gstelements.c:
9152         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9153         (gst_file_src_init), (gst_file_src_set_property),
9154         (gst_file_src_get_property), (gst_file_src_start):
9155         * plugins/elements/gstfilesrc.h:
9156           API: GstFileSrc::use-mmap
9157
9158         Add a use-mmap property to enable easier testing of all code paths.
9159         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9160         in the absence of gnomevfssrc. (Closes #340501)
9161
9162 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9163
9164         * tools/gst-inspect.c:
9165         Add missing include, removes warning of ngettext not being defined on
9166         some arches.
9167
9168 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9169
9170         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9171         Handle NULL input and output pointers silently as a failed conversion,
9172         rather than g_warnings.
9173
9174 2006-05-25  Wim Taymans  <wim@fluendo.com>
9175
9176         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9177         Initialize variable before using. Fixes #342820.
9178
9179 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9180
9181         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9182           Fix off-by-one bug that would only allow peeks of N-1 bytes
9183           from the start even if the buffer to typefind on contains
9184           in fact N bytes of data (makes vorbis typefinding from a
9185           vorbis identification header buffer work).
9186
9187         * tests/check/Makefile.am:
9188         * tests/check/libs/.cvsignore:
9189         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9190         (gst_typefindhelper_suite), (main), (foobar_typefind),
9191         (plugin_init):
9192           Add very basic unit test for gst_type_find_helper_for_buffer()
9193           that checks for the problem fixed above.
9194
9195 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9196
9197         * tools/gst-inspect.c: (print_interfaces),
9198         (print_element_properties_info), (print_element_list), (main):
9199           add more translatable strings
9200
9201 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9202
9203         Patch by: Julien Moutte  <julien at moutte net>
9204
9205         * docs/gst/gstreamer-sections.txt:
9206           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9207           
9208         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9209         (gst_fake_sink_preroll):
9210         * plugins/elements/gstfakesink.h:
9211           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9212
9213 2006-05-23  Wim Taymans  <wim@fluendo.com>
9214
9215         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9216         * gst/gstpad.h:
9217         Added _CUSTOM error and success GstFlowReturn that can be
9218         used be elements internally. 
9219         Added macro to check for SUCCESS flowreturns.
9220         API: GST_FLOW_CUSTOM_SUCCESS
9221         API: GST_FLOW_CUSTOM_ERROR
9222         API: GST_FLOW_IS_SUCCESS
9223
9224         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9225         Added check for GstFlowReturn sanity.
9226
9227 2006-05-23  Wim Taymans  <wim@fluendo.com>
9228
9229         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9230
9231         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9232         (gst_collect_pads_event):
9233         clear/reset segment info in FLUSH_STOP.
9234         Fixes #336929.
9235
9236 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9237
9238         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9239         (gst_collect_pads_check_collected):
9240         Flush queued buffer on _stop(), fixes playing again (#342454)
9241
9242 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9243
9244         * tests/check/gst/gststructure.c: (GST_START_TEST),
9245         (gst_structure_suite):
9246           add a test for a complete structure
9247
9248 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9249
9250         * docs/faq/developing.xml:
9251         * docs/faq/faq.xml:
9252         * docs/faq/troubleshooting.xml:
9253         * docs/faq/using.xml:
9254           Some minor FAQ updates that won't change the fact that
9255           our FAQ is badly structured, full of information hardly
9256           anyone new to GStreamer needs to know and lacking lots
9257           of information people constantly ask for.
9258           
9259 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9260
9261         * gst/gstpad.c: (gst_pad_set_caps):
9262           Short-circuit gst_pad_set_caps if setting the existing
9263           caps pointer again, and avoid printing debug and 
9264           reffing/unreffing the caps.
9265
9266         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9267           There's actually no need to set the caps before pushing -
9268           the acceptcaps method will handle it anyway.
9269
9270 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9271
9272         * docs/gst/gstreamer-sections.txt:
9273         * win32/common/libgstreamer.def:
9274         * gst/gstutils.c: (gst_element_seek_simple):
9275         * gst/gstutils.h:
9276           API: add gst_element_seek_simple() (#342238).
9277
9278 2006-05-18  Edward Hervey  <edward@fluendo.com>
9279
9280         * gst/gsttypefind.c: (gst_type_find_get_type):
9281         * gst/gsttypefind.h:
9282         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9283         registered for GstTypeFind pointers. This allows wrapping the structure
9284         in bindings (i.e. gst-python).
9285
9286 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9287
9288         * gst/gsttagsetter.c:
9289           Docs additions and fixes (see #339918).
9290
9291 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9292
9293         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9294         The caps intersection algorithm can produce multiple copies of the
9295         caps. Until that is fixed, we need to simplify the result to be
9296         sure whether the allowed caps are fixed or not.
9297
9298         * plugins/elements/gstqueue.c: (gst_queue_init),
9299         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9300         (gst_queue_push_one):
9301         Proxied buffer alloc should not set the caps on the source pad.
9302         When pushing buffers, we always accept the caps change that triggers.
9303         This prevents negotiation errors caused by caps changing mid-stream 
9304         and then being refused on our source pad (because upstream is now
9305         refusing those caps).
9306
9307 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9308
9309         * tests/examples/helloworld/helloworld.c: (main):
9310           Must plug audioconvert and audioresample between decoder
9311           and audio sink.
9312
9313 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9314
9315         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9316         (load_feature), (load_plugin):
9317         Allow empty strings for some of the plugin fields so we don't 
9318         drop valid plugin entries that were written out correctly
9319         (Fixes #341479)
9320
9321 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9322         
9323         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9324           Use g_remove and g_rename instead of remove and rename that don't 
9325           handle utf8 characters. rename was failing for users who had specific
9326           characters in their name then the registry was built at each 
9327           gstreamer init.
9328         * win32/vs6/gst_inspect.dsp:
9329         * win32/vs6/gst_launch.dsp:
9330         * win32/vs6/libgstbase.dsp:
9331         * win32/vs6/libgstcoreelements.dsp:
9332         * win32/vs6/libgstreamer.dsp:
9333           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9334           build of libgstreamer and clean unused libraries in projects link 
9335           settings.
9336
9337 2006-05-17  Edward Hervey  <edward@fluendo.com>
9338
9339         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9340         The queue is not responsible for pushing an EOS when receiving a fatal
9341         flow error. It's up to the real element driving the pipeline to do that.
9342
9343 2006-05-16  Edward Hervey  <edward@fluendo.com>
9344
9345         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9346         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9347         buffer returned a fatal error. It should just send an EOS and stop
9348         its task.
9349         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9350         when pushing buffers on the queue and will be able to handle the event.
9351
9352 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9353
9354         * docs/manual/basics-bins.xml:
9355         * docs/manual/basics-init.xml:
9356           Fix typos and minor errors in sample code (#341856).
9357
9358 2006-05-16  Wim Taymans  <wim@fluendo.com>
9359
9360         * docs/design/part-qos.txt:
9361         Fix indexes in formulas to make more sense.
9362
9363 2006-05-15  Wim Taymans  <wim@fluendo.com>
9364
9365         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9366         Don't report POSITION based on clock time if sync is
9367         disabled in a sink.
9368
9369 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9370
9371         * gst/gstobject.h:
9372           Add cast to make compiler happy - refcount variable was a gint
9373           in GstObject but is a guint in GObject and g_atomic_int_get()
9374           wants a gint *.
9375
9376 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9377
9378         * gst/parse/Makefile.am:
9379           chain commands using &&, which also makes parallel make work
9380
9381 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9382
9383         * docs/gst/gstreamer-sections.txt:
9384         * gst/gstevent.c:
9385         * gst/gstevent.h:
9386         * gst/gstmessage.h:
9387           Minor docs fixes.
9388
9389 === release 0.10.6 ===
9390
9391 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9392
9393         * configure.ac:
9394           releasing 0.10.6, "Take the cannoli"
9395
9396 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9397
9398         * tools/gst-launch.c: (print_tag):
9399           Fix use of uninitialized variable in the hypothetical
9400           case that some broken plugin creates a GST_TAG_IMAGE
9401           tag containing a NULL buffer (#341667).
9402
9403 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9404
9405         * tools/gst-launch.c: (print_tag):
9406           Print something more intelligible for image tags when
9407           using the -t switch (#341556).
9408
9409 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9410
9411         * Makefile.am:
9412           updates for win32
9413         * configure.ac:
9414           define GST_MAJORMINOR so we have it available in win32/common/config.h
9415           Possibly remove it from our Makefile.am files later
9416         * win32/common/config.h:
9417         * win32/common/config.h.in:
9418           added GST_MAJORMINOR
9419         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9420         * win32/common/gstversion.h:
9421           updated
9422
9423 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9424
9425         * win32/MANIFEST:
9426           Update win32 files listing.
9427         * win32/common/gstversion.h:
9428           Add GST_MAJORMINOR definition.
9429         * win32/common/libgstreamer.def:
9430           Add new exported functions.
9431           
9432 2006-05-12  Michael Smith  <msmith@fluendo.com>
9433
9434         * gst/gstplugin.c: (gst_plugin_load_file):
9435           If an so file has no plugin entry point, unload the module.
9436
9437 2006-05-11  Wim Taymans  <wim@fluendo.com>
9438
9439         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9440         (gst_queue_set_property):
9441         Don't forget to signal the _chain or _loop function 
9442         when the queue size or thresholds change since that might
9443         cause them to make progres again.
9444
9445 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9446
9447         * gst/gstclock.c: (gst_clock_class_init):
9448         * gst/gstindex.c: (gst_index_class_init):
9449         * gst/gstobject.c: (gst_object_class_init):
9450         * gst/gstpad.c: (gst_pad_class_init):
9451         * gst/gstpipeline.c: (gst_pipeline_class_init):
9452         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9453         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9454         * libs/gst/base/gstbasetransform.c:
9455         (gst_base_transform_class_init):
9456         * libs/gst/net/gstnetclientclock.c:
9457         (gst_net_client_clock_class_init):
9458         * libs/gst/net/gstnettimeprovider.c:
9459         (gst_net_time_provider_class_init):
9460         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9461         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9462         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9463         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9464         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9465         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9466         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9467         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9468         * plugins/elements/gsttee.c: (gst_tee_class_init):
9469         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9470         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9471           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9472
9473 2006-05-11  Wim Taymans  <wim@fluendo.com>
9474
9475         * gst/gstbuffer.c: (_gst_buffer_initialize):
9476         Register subbufer along with the buffer type so that
9477         it does not accidentally gets registered from N
9478         different streaming threads in a non threadsafe way.
9479
9480 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9481
9482         * gst/gstbuffer.h:
9483         * gst/gstevent.h:
9484         * gst/gstmessage.h:
9485           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9486           gst_event_ref() and gst_message_ref() functions again
9487           (ugly hack, please do fix if there's a better way besides
9488           overrides.txt, which doesn't seem to work).
9489
9490 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9491
9492         * libs/gst/check/gstcheck.h:
9493           add an assert for setting state to avoid lots of repetitive code
9494           in the future
9495
9496 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9497
9498         * gst/gstvalue.c: (gst_value_serialize_flags):
9499           fix a leak if no flags are set
9500         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9501           fix leak in tests
9502
9503 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9504
9505         * docs/manual/basics-pads.xml:
9506           Expand a bit on caps and filtered links and update
9507           examples that were still using the no longer existing
9508           gst_pad_link_filtered() (#338206).
9509
9510 2006-05-10  Wim Taymans  <wim@fluendo.com>
9511
9512         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9513         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9514         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9515         (gst_collect_pads_stop):
9516         * libs/gst/base/gstcollectpads.h:
9517         No need to call _stop in _finalize.
9518         Iterate the main pad list in _finalize.
9519         Added some more debug.
9520         Free lists and data in the right order.
9521         Also free data whem doing _remove_pad when stopped for
9522         backward compatibility protect ::started with PAD_LOCK as
9523         well.
9524
9525 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9526
9527         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9528         (gst_structure_parse_value):
9529           add some comments
9530           rename a method so that it actually says what it does better
9531
9532 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9533
9534         * gst/gstevent.c: (_gst_event_initialize):
9535         * gst/gstformat.c: (_gst_format_initialize):
9536           make sure some essential types used by events are registered
9537           as part of gst_init()
9538         * gst/gstvalue.c: (gst_value_serialize_flags):
9539           if no flags are set, serialize them to a value that represents NONE
9540           so that deserializing them works
9541         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9542           add tests for serialization and deserialization of flags
9543
9544 2006-05-10  Wim Taymans  <wim@fluendo.com>
9545
9546         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9547         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9548         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9549         (gst_collect_pads_event), (gst_collect_pads_chain):
9550         Update docs.
9551         Better debug info.
9552         Catch and return errors from the collect function
9553         Refuse data on eos pads.
9554
9555 2006-05-10  Edward Hervey  <edward@fluendo.com>
9556
9557         * gst/gstinterface.h:
9558         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9559         GInterface type checking.
9560         They were previously using non-defined macros.
9561
9562 2006-05-09  Wim Taymans  <wim@fluendo.com>
9563
9564         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9565         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9566         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9567         (gst_collect_pads_start), (gst_collect_pads_stop),
9568         (gst_collect_pads_peek), (gst_collect_pads_pop),
9569         (gst_collect_pads_available), (gst_collect_pads_read),
9570         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9571         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9572         (gst_collect_pads_chain):
9573         * libs/gst/base/gstcollectpads.h:
9574         Clean up the mess that is collectpads, add comments and
9575         FIXMEs where needed.
9576         Maintain a separate pad list so we can add pads while
9577         collecting the other ones. For this we need a new separate 
9578         lock (see comics).
9579         Fix memory leak in finalize.
9580         Refactor some weird code to set/unset pad flushing flags, mark
9581         with comments.
9582         Don't crash in _available, _read, _flush when we're EOS.
9583
9584         * tests/check/libs/.cvsignore:
9585         Ignore adapter check binary.
9586
9587 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9588
9589         * gst/gstindex.c: (gst_index_resolver_get_type):
9590         * plugins/elements/gstfakesink.c:
9591         (gst_fake_sink_state_error_get_type):
9592         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9593         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9594         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9595           Const-ify GEnumValue arrays.
9596
9597 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9598
9599         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9600           Add test case for flags + gst_buffer_make_metadata_writable().
9601
9602 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9603
9604         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9605           gst_buffer_make_metadata_writable() should maintain the
9606           buffer flags (those that make sense at least) (see #340859).
9607
9608 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9609
9610         * tools/gst-inspect.c:
9611         * tools/gst-launch.c:
9612         * tools/gst-typefind.c:
9613         * tools/gst-xmlinspect.c:
9614         * tools/tools.h:
9615           Fix up includes: need to include stdlib.h in tools.h for exit().
9616
9617 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9618
9619         * gst/gsttaglist.c: (_gst_tag_initialize):
9620         * gst/gsttaglist.h:
9621           API: add GST_TAG_IMAGE tag (#340721).
9622
9623 2006-05-08  Wim Taymans  <wim@fluendo.com>
9624
9625         * gst/gstquery.c:
9626         Added some docs for the segment query.
9627
9628 2006-05-08  Wim Taymans  <wim@fluendo.com>
9629
9630         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9631         (gst_base_src_loop), (gst_base_src_change_state):
9632         Always push non-flushing serialized events in the streaming 
9633         thread.
9634
9635 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9636
9637         * gst/gsterror.c: (_gst_stream_errors_init):
9638           Add a missing error string.
9639
9640 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9641
9642         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9643         Add applied_rate to the debug
9644
9645         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9646         Copy applied_rate into the outgoing NEWSEGMENT event
9647
9648 2006-05-08  Wim Taymans  <wim@fluendo.com>
9649
9650         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9651
9652         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9653         (gst_base_sink_change_state):
9654         call ::unlock before taking the PREROLL_LOCK so we can safely
9655         handle elements that lock in ::render.
9656         Fixes #340174.
9657
9658 2006-05-08  Edward Hervey  <edward@fluendo.com>
9659
9660         * autogen.sh: (CONFIGURE_DEF_OPT): 
9661         Darwin's libtoolize is in fact called glibtoolize.
9662         Adding glibtoolize to the list of accepted names for libtoolize.
9663
9664 2006-05-08  Wim Taymans  <wim@fluendo.com>
9665
9666         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9667         Unify error handling, don't post an error message
9668         when a push() returns EOS but perform our normal EOS
9669         handling code. Fixes #340772.
9670
9671 2006-05-08  Wim Taymans  <wim@fluendo.com>
9672
9673         * docs/design/part-overview.txt:
9674         Make upsteam/downstream concepts more clear.
9675         Give an example of serialized/non-serialized events.
9676
9677         * docs/design/part-events.txt:
9678         * docs/design/part-streams.txt:
9679         Mention applied_rate.
9680
9681         * docs/design/part-trickmodes.txt:
9682         Mention applied rate, flesh out some more use cases.
9683
9684         * gst/gstevent.c: (gst_event_new_new_segment),
9685         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9686         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9687         (gst_event_parse_tag), (gst_event_new_buffer_size),
9688         (gst_event_parse_buffer_size), (gst_event_new_qos),
9689         (gst_event_parse_qos), (gst_event_parse_seek),
9690         (gst_event_new_navigation):
9691         * gst/gstevent.h:
9692         Add applied_rate field to NEWSEGMENT event.
9693         API: gst_event_new_new_segment_full()
9694         API: gst_event_parse_new_segment_full()
9695
9696         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9697         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9698         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9699         * gst/gstsegment.h:
9700         Add applied_rate to GstSegment structure.
9701         Make calculation of stream_time and running_time more correct
9702         wrt rate/applied_rate.
9703         Add some more docs.
9704         API: GstSegment::applied_rate field
9705         API: gst_segment_set_newsegment_full();
9706
9707         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9708         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9709         * libs/gst/base/gstbasetransform.c:
9710         (gst_base_transform_sink_eventfunc),
9711         (gst_base_transform_handle_buffer):
9712         Parse and use applied_rate in the GstSegment field.
9713
9714         * tests/check/gst/gstevent.c: (GST_START_TEST):
9715         Add check for applied_rate field.
9716
9717         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9718         (gstsegments_suite):
9719         Add more checks for various GstSegment operations.
9720
9721 2006-05-08  Wim Taymans  <wim@fluendo.com>
9722
9723         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9724         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9725         (gst_base_sink_get_position), (gst_base_sink_change_state):
9726         Store the sync time of the buffer end position separatly in a
9727         new variable eos_rtime so we can properly sync the EOS event.
9728         Fixes #340697.
9729         Fix the docs for gst_base_sink_set_qos_enabled().
9730         Don't set segment start to invalid value when we receive a 
9731         non TIME newsegment.
9732         get closer to handling position reporting for negative rates 
9733         correctly.
9734
9735 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9736
9737         * gst/gstcaps.c:
9738         Docs about how to print caps for debug purposes.
9739
9740         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9741         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9742
9743 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9744
9745         * gst/gstelement.c:
9746           use full enum names and preprend a '%' in docs strings to make recent 
9747           gtk-doc turn that into a link
9748
9749 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9750
9751         * docs/manual/basics-bins.xml:
9752         * docs/manual/basics-bus.xml:
9753         * docs/manual/basics-pads.xml:
9754           Some typo fixes, some additions, some clarifications. 
9755
9756 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9757
9758         * tools/gst-inspect.c: (main):
9759         * tools/gst-launch.c: (main):
9760         * tools/gst-run.c: (main):
9761         * tools/gst-typefind.c: (main):
9762         * tools/gst-xmlinspect.c: (main):
9763           Use the string passed to g_option_context_new() for
9764           what it's intended for - the program name is already
9765           printed elsewhere.
9766
9767 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9768
9769         * tools/Makefile.am:
9770         * tools/gst-inspect.c: (main):
9771         * tools/gst-launch.c: (main):
9772         * tools/gst-xmlinspect.c: (main):
9773         * tools/tools.h:
9774           Add back --version command line option (#340460).
9775
9776         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9777           Add --version option and use GOption for argument parsing; refactor a
9778           bit; accept directories as arguments and recurse into them; lastly,
9779           print a decent error message when things go wrong.
9780
9781 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9782
9783         * docs/manual/basics-bins.xml:
9784         Don't mention GstThread (#340611)
9785         * docs/manual/basics-elements.xml:
9786         Update link to GObject tutorial (#340607)
9787         
9788 2006-05-05  Wim Taymans  <wim@fluendo.com>
9789
9790         * gst/gstbuffer.h:
9791         * gst/gstminiobject.c:
9792         Add note about refcounting and miniobject/buffer writeability
9793         to docs. Fixes #340604
9794
9795         * gst/gstelementfactory.h:
9796         Added some explanation about @klass.
9797
9798 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9799
9800         * docs/manual/intro-motivation.xml:
9801         * docs/manual/manual.xml:
9802         Avoid CORBA & Bonobo references (#340598)
9803
9804 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9805
9806         * docs/manual/basics-bus.xml:
9807         * docs/manual/basics-pads.xml:
9808         Fix up some inaccuracies and omissions (#340609)
9809         
9810 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9811
9812         * gst/gstghostpad.c:
9813           Small typo in docs (#340625)
9814
9815 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9816
9817         * gst/parse/Makefile.am:
9818           Make 'make -j' proof (see #340698).
9819
9820 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9821
9822         * configure.ac:
9823           Require GLib-2.8 here as well.
9824
9825 2006-05-05  Wim Taymans  <wim@fluendo.com>
9826
9827         * gst/glib-compat.c:
9828         * gst/gst.c: (init_pre):
9829         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9830         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9831         (gst_object_dispatch_properties_changed):
9832         * gst/gstobject.h:
9833         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9834         * gst/gststructure.c: (gst_structure_set_valist):
9835         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9836         Remove pre glib2.8 compatibility, fixes #340508
9837
9838 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9839
9840         * gst/gsttaglist.h:
9841           Mention type of tags in doc blurbs.
9842
9843 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9844
9845         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9846         (gst_pad_configure_src), (gst_pad_push):
9847         Restore acceptcaps checking behaviour now that good plugins have
9848         been released.
9849
9850 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9851
9852         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9853
9854         * gst/gst.c:
9855         * gst/gstbus.c:
9856         * gst/gstclock.c:
9857         * gst/gstevent.c:
9858         * gst/gstformat.c:
9859         * gst/gstmessage.c:
9860         * gst/gstparse.c:
9861         * gst/gstquery.c:
9862         * gst/gstutils.c:
9863         * gst/parse/Makefile.am:
9864         * libs/gst/base/gstadapter.c:
9865         * libs/gst/base/gstbasesrc.c:
9866         * libs/gst/base/gstpushsrc.c:
9867         * libs/gst/base/gsttypefindhelper.c:
9868         * plugins/elements/gstfakesrc.c:
9869         * plugins/elements/gstidentity.c:
9870           Make sure gstprivate.h and/or config.h are
9871           always included first, otherwise some of our
9872           defines (like _FILE_OFFSET_BITS) might be
9873           redefined in the system headers. Fixes build
9874           on opensolaris (#340016).
9875
9876 2006-05-04  Wim Taymans  <wim@fluendo.com>
9877
9878         * docs/libs/gstreamer-libs-sections.txt:
9879         API: addition: gst_adapter_take_buffer()
9880         
9881         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9882         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9883         (gst_adapter_available_fast):
9884         * libs/gst/base/gstadapter.h:
9885         Prepare for optimizing the hell out of this hugely inefficient
9886         piece of code. 
9887         Added gst_adapter_take_buffer() so we can at least start thinking
9888         about subbuffering and merging.
9889         Added some comments.
9890
9891         * tests/check/Makefile.am:
9892         * tests/check/libs/adapter.c: (GST_START_TEST),
9893         (gst_adapter_suite), (main):
9894         Added GstAdapter check.
9895
9896 2006-05-04  Wim Taymans  <wim@fluendo.com>
9897
9898         * docs/design/part-overview.txt:
9899         Fix some typos, add blurb about buffer flags.
9900
9901 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9902
9903         * docs/libs/gstreamer-libs-sections.txt:
9904           make sure GstBaseTransformClass shows up in the docs
9905         * libs/gst/base/gstbasetransform.c:
9906         * libs/gst/base/gstbasetransform.h:
9907           move docs so gtk-doc picks it up now
9908
9909 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9910
9911         * docs/libs/gstreamer-libs-sections.txt:
9912           add missing symbols to docs
9913
9914 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9915
9916         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9917           back out the newsegment handling change, see #340060 for ongoing
9918           discussion
9919
9920 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
9921
9922         * tools/gst-run.c: (get_candidates), (main):
9923           Fix wrong g_file_test() usage (see glib docs for why it doesn't
9924           work); fix typo in error message. Fixes #340079.
9925
9926 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9927
9928         * common/Makefile.am:
9929         * docs/Makefile.am:
9930         * docs/faq/Makefile.am:
9931         * docs/gst/Makefile.am:
9932         * docs/libs/Makefile.am:
9933         * docs/manual/Makefile.am:
9934         * docs/plugins/Makefile.am:
9935         * docs/pwg/Makefile.am:
9936         * docs/slides/Makefile.am:
9937         * docs/upload.mak:
9938         * common/upload.mak:
9939           move upload.mak to common
9940
9941 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9942
9943         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9944           add more asserts on refcounts
9945           do more cleanup at end of tests
9946           fix test leaks showing in FC5
9947
9948 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
9949
9950         * plugins/elements/gsttypefindelement.c:
9951         (gst_type_find_element_handle_event):
9952         reverted wrong change and reflowed code to avoid others falling into
9953         this trap
9954
9955 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9956
9957         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9958           fix changelog entry about last collectpads change,
9959           add notes about proper fix
9960
9961 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9962
9963         * gst/gst.c:
9964         * gst/gstregistry.c: (gst_registry_scan_path_level),
9965         (gst_registry_scan_path):
9966         * gst/gstregistry.h:
9967           only write out registry if it has changed, fixes #338339
9968
9969 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9970
9971         * gst/gstbin.c:
9972         * gst/gstpipeline.c:
9973         * plugins/elements/gstcapsfilter.c:
9974         * plugins/elements/gstfakesink.c:
9975         * plugins/elements/gstfakesrc.c:
9976         * plugins/elements/gstfdsink.c:
9977         * plugins/elements/gstfdsrc.c:
9978         * plugins/elements/gstfilesink.c:
9979         * plugins/elements/gstfilesrc.c:
9980         * plugins/elements/gstidentity.c:
9981         * plugins/elements/gstqueue.c:
9982         * plugins/elements/gsttee.c:
9983         * plugins/elements/gsttypefindelement.c:
9984         (gst_type_find_element_handle_event):
9985           make GstElementDetails const
9986
9987 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9988
9989         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9990         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9991         (gst_collect_pads_is_collected), (gst_collect_pads_event):
9992           more detailed debug and formatting cleanup,
9993           forward newsegments to src-pad (so that e.g. adder not eats them)
9994
9995 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9996
9997         * gst/gstutils.c: (gst_element_link_pads):
9998           cleanup double code
9999
10000 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10001
10002         * libs/gst/controller/gstcontroller.c:
10003         (gst_controller_sync_values):
10004           some little tuning
10005         * tests/check/libs/controller.c: (GST_START_TEST),
10006         (gst_controller_suite):
10007           a new test for live value handling
10008
10009 2006-04-28  Wim Taymans  <wim@fluendo.com>
10010
10011         * gst/gstutils.c: (push_and_ref):
10012         Added some more docs.
10013         Fix refcount issue whith gst_element_found_tags() helper 
10014         function. Fixes #338335
10015
10016         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10017         Added testsuite for gst_element_found_tags().
10018
10019 2006-04-28  Michael Smith  <msmith@fluendo.com>
10020
10021         * gst/gstvalue.c: (gst_value_serialize_flags):
10022           Avoid NULL dereference when trying to serialize flags containing
10023           invalid values.
10024
10025 2006-04-28  Michael Smith  <msmith@fluendo.com>
10026
10027         * plugins/elements/gsttypefindelement.c:
10028         (gst_type_find_element_handle_event):
10029           If we get EOS before any data is accumulated, don't use
10030           uninitialised local variables.
10031
10032 2006-04-28  Michael Smith  <msmith@fluendo.com>
10033
10034         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10035         (gst_dp_event_from_packet):
10036           Fixes in reading/writing events over GDP (not currently used?) - 
10037           dereferencing NULL events for unknown/invalid event types, memory
10038           leak, and change g_warning to GST_WARNING.
10039
10040 2006-04-28  Wim Taymans  <wim@fluendo.com>
10041
10042         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10043         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10044         (gst_base_sink_get_position), (gst_base_sink_change_state):
10045         When frame dropping is enabled, we should not ignore frames
10046         without a duration.
10047         Update some documentation.
10048
10049 2006-04-28  Wim Taymans  <wim@fluendo.com>
10050
10051         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10052         (gst_base_src_send_event), (gst_base_src_change_state):
10053         Documentation updates.
10054
10055 2006-04-28  Wim Taymans  <wim@fluendo.com>
10056
10057         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10058         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10059         handle EAGAIN, EINTR and short writes correctly. Also clean
10060         up some error cases, avoid a deadlock on bad file descriptors and
10061         use GST_DEBUG_OBJECT.
10062         Fixes #339843
10063
10064 2006-04-28  Wim Taymans  <wim@fluendo.com>
10065
10066         * gst/gstvalue.c: (gst_value_serialize_buffer),
10067         (gst_value_deserialize_buffer):
10068         Don't try to serialize a GValue with a NULL buffer. 
10069         Fixes #339821.
10070
10071         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10072         Added check for serialisation of NULL buffers.
10073
10074 2006-04-28  Wim Taymans  <wim@fluendo.com>
10075
10076         * gst/gstminiobject.c: (gst_value_take_mini_object):
10077         Taking a NULL miniobject is valid, fix the case where
10078         we try to unref the NULL miniobject.
10079
10080 2006-04-28  Wim Taymans  <wim@fluendo.com>
10081
10082         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10083
10084         * gst/gstbin.c: (gst_bin_handle_message_func):
10085         Update docs.
10086         Don't leak bin refcount when a state recalc is
10087         in progress and we delay another one #339808.
10088
10089 2006-04-28  Wim Taymans  <wim@fluendo.com>
10090
10091         * docs/design/part-TODO.txt:
10092         Mention QoS as an ongoing work item.
10093
10094         * docs/design/part-buffering.txt:
10095         New doc about buffering that needs to be fleshed out
10096         at some point.
10097
10098         * docs/design/part-qos.txt:
10099         More QoS policy for decoders/demuxers/transforms
10100
10101         * docs/design/part-trickmodes.txt:
10102         Small update.
10103
10104 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10105
10106         * configure.ac:
10107           back to HEAD
10108
10109 === release 0.10.5 ===
10110
10111 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10112
10113         * configure.ac:
10114           releasing 0.10.5, "Fogo"
10115
10116 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10117
10118         patch by: Wim Taymans
10119
10120         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10121         (gst_pad_configure_src), (gst_pad_push):
10122         * gst/gstpipeline.c: (gst_pipeline_init):
10123           Fix internal data flow errors.  Fixes #338711.
10124
10125 2006-04-12  Wim Taymans  <wim@fluendo.com>
10126
10127         * tests/check/gst/gstelement.c: (GST_START_TEST):
10128         Don't leak the factory.
10129
10130 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10131
10132         * configure.ac:
10133         * win32/common/config.h:
10134           prerelease
10135
10136 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10137
10138         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10139         (gst_controller_unset_all):
10140           Free allocated GstTimedValues when freeing list nodes.
10141           Should fix leaks 'make check-valgrind' complains about.
10142
10143         * win32/common/libgstcontroller.def:
10144           Add gst_controller_unset_all.
10145
10146 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10147
10148         * docs/libs/gstreamer-libs-sections.txt:
10149         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10150         (gst_controller_unset_all):
10151         * libs/gst/controller/gstcontroller.h:
10152         API: Added new method gst_controller_unset_all()
10153         fixed gst_controller_unset()
10154         * tests/check/libs/controller.c: (GST_START_TEST),
10155         (gst_controller_suite):
10156         Added two testcases for new and fixed method
10157
10158 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10159
10160         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10161           MSG_DONTWAIT is not defined on Cygwin, so work
10162           around that (fixes #317048).
10163           
10164 2006-04-11  Wim Taymans  <wim@fluendo.com>
10165
10166         * gst/gstelementfactory.c: (gst_element_register),
10167         (gst_element_factory_create), (gst_element_factory_make):
10168         Some cleanups.
10169         Fixed a FIXME.
10170         Updated docs (Fixes #131079)
10171
10172         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10173         Small cleanups.
10174
10175         * tests/check/gst/gstelement.c: (GST_START_TEST),
10176         (gst_element_suite):
10177         Added testcase for elementfactory class field.
10178
10179 2006-04-10  Wim Taymans  <wim@fluendo.com>
10180
10181         * gst/gstsegment.c:
10182         Added some more docs.
10183
10184         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10185         (gst_base_sink_reset_qos):
10186         Calculate more accurate rate values.
10187
10188 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10189
10190         * gst/gst_private.h:
10191           add a new #ifdef to use __declspec(dllimport) only for
10192           other modules and not for gstreamer core
10193         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10194           use gst_guint64_to_gdouble for conversion
10195         * win32/common/libgstreamer.def:
10196           add new exported functions
10197         * win32/vs6/gst_inspect.dsp:
10198         * win32/vs6/gst_launch.dsp:
10199         * win32/vs6/libgstbase.dsp:
10200         * win32/vs6/libgstcontroller.dsp:
10201         * win32/vs6/libgstcoreelements.dsp:
10202         * win32/vs6/libgstdataprotocol.dsp:
10203         * win32/vs6/libgstnet.dsp:
10204           update project files
10205
10206 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10207
10208         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10209         * gst/gstclock.c: (gst_clock_class_init):
10210         * gst/gstelement.c: (gst_element_class_init):
10211         * gst/gstindex.c: (gst_index_class_init):
10212         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10213         * gst/gstobject.c: (gst_object_class_init),
10214         (gst_signal_object_class_init):
10215         * gst/gstpad.c: (gst_pad_class_init):
10216         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10217         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10218         * gst/gstregistry.c: (gst_registry_class_init):
10219         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10220         * gst/gsttask.c: (gst_task_class_init):
10221         * gst/gstxml.c: (gst_xml_class_init):
10222         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10223         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10224         (gst_base_src_loop):
10225         * libs/gst/controller/gstcontroller.c:/
10226         (_gst_controller_class_init):
10227         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10228         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10229         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10230         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10231         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10232         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10233
10234 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10235
10236         * gst/gstpad.c: (gst_pad_link):
10237           Must set peer pads before calling the link function, otherwise
10238           a task started from a link function might get a flow-not-linked
10239           result when trying to push because the other thread where the
10240           linking happens hasn't had a chance to set the peers yet. This
10241           might happen for example when a queue gets linked to a downstream
10242           element, as queue starts a streaming task when its source pad
10243           gets linked. Happens in real life when playing back flac/musepack
10244           files in playbin (#332390).
10245           
10246 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10247
10248         * gst/gstindex.h:
10249         * gst/gstxml.h:
10250         * libs/gst/base/gstadapter.h:
10251         * libs/gst/base/gstbasesink.h:
10252         * libs/gst/base/gstbasesrc.h:
10253         * libs/gst/base/gstbasetransform.h:
10254         * libs/gst/base/gstcollectpads.h:
10255         * libs/gst/base/gstpushsrc.h:
10256         Fix broken GObject macros
10257
10258 2006-04-07  Wim Taymans  <wim@fluendo.com>
10259
10260         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10261         Initialize start and stop times, thanks valgrind.
10262
10263 2006-04-07  Wim Taymans  <wim@fluendo.com>
10264
10265         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10266         Be a bit nicer to badly behaving upstream elements that expect
10267         us to deal with non TIME segments and timestamps (such as fakesrc
10268         in the testsuite).
10269
10270 2006-04-07  Wim Taymans  <wim@fluendo.com>
10271
10272         * gst/gstbus.c:
10273         Small documentation clarification about the signal watch.
10274
10275         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10276         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10277         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10278         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10279         (gst_base_sink_get_position_last),
10280         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10281         Convert and store timestamps in stream time and running time, the
10282         raw timestamps are not useful, also document this better.
10283         Use different window sizes for good and bad QoS observations so
10284         we react to badness a little quicker.
10285         Keep track of the amount of rendered and dropped buffers.
10286         Send QoS timestamps in running time.
10287
10288         * libs/gst/base/gstbasetransform.c:
10289         (gst_base_transform_sink_eventfunc),
10290         (gst_base_transform_handle_buffer):
10291         Compare QoS timestamps against running time.
10292
10293 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10294
10295         * gst/gstpad.c:
10296           Typo fixes in docs.
10297
10298 2006-04-06  Michael Smith  <msmith@fluendo.com>
10299
10300         * gst/gstpad.c: (gst_pad_set_property):
10301           Use g_value_get_object() instead of g_value_dup_gst_object(),
10302           to avoid double-reffing the pad template (which we then sink,
10303           so this worked previously if (and only if) the pad template
10304           was floating.
10305
10306         * gst/gstpadtemplate.c: (gst_pad_template_init),
10307         (gst_pad_template_pad_created):
10308           Never return floating references to pad templates, create
10309           them as initially-sunken.
10310
10311           Document an extra function (and make this stop sinking our
10312           pad template, since that is now guaranteed to do nothing,
10313           since we created it sunken).
10314
10315         * gst/gstghostpad.c:
10316           Fix docs typo.
10317
10318 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10319
10320         * gst/gstinfo.c: (__gst_in_valgrind):
10321           Add some newlines.
10322
10323         * plugins/elements/gsttypefindelement.c:
10324         (gst_type_find_element_chain):
10325           Don't leak buffer caps.
10326
10327 2006-04-06  Michael Smith  <msmith@fluendo.com>
10328
10329         * gst/parse/grammar.y:
10330           Fix a leak in parse-launch for any source-or-sink named element 
10331           references used.
10332
10333         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10334           Unref the pipeline if it exists after we've failed parsing.
10335
10336 2006-04-05  Michael Smith  <msmith@fluendo.com>
10337
10338         * gst/gstpipeline.c: (gst_pipeline_init):
10339           When we create a pipeline bus, initially create it in flushing mode.
10340           Fixes leaks in at least one test, and makes a new pipeline work the
10341           same as one that has gone to READY and then back to NULL.
10342
10343         * gst/gstelement.c:
10344           Typo fix in docs.
10345
10346 2006-04-05  Michael Smith  <msmith@fluendo.com>
10347
10348         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10349           Unref a pad we reffed.
10350         * tests/check/gst/gstutils.c: (GST_START_TEST):
10351           Unref bins
10352
10353 2006-04-05  Michael Smith  <msmith@fluendo.com>
10354
10355         * gst/gstquery.c: (gst_query_set_formats),
10356         (gst_query_set_formatsv):
10357           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10358
10359 2006-04-05  Michael Smith  <msmith@fluendo.com>
10360
10361         * tests/check/generic/sinks.c: (GST_START_TEST):
10362           Fix a variety of memleaks in sinks check, which are only sometimes 
10363           shown by running the tests under valgrind (weird?).
10364
10365 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10366
10367         * docs/version.entities.in:
10368           Fix the substituted entity name after thomas' changes on the
10369           weekend.
10370
10371 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10372
10373         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10374         VALGRIND_PRINTF
10375         
10376 2006-04-05  Andy Wingo  <wingo@pobox.com>
10377
10378         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10379
10380         * libs/gst/base/gstbasetransform.c
10381         (gst_base_transform_sink_eventfunc): When resetting our segment on
10382         FLUSH_STOP, also update the flag saying we haven't seen a
10383         newsegment.
10384
10385 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10386
10387         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10388
10389         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10390         (gst_plugin_check_license):
10391           minor clean-ups: G_DEFINE_TYPE already takes care of the
10392           parent_class stuff, no need to do it twice. Mark array of
10393           license strings as constant. (#337103)
10394           
10395 2006-04-04  Michael Smith  <msmith@fluendo.com>
10396
10397         * tools/gst-inspect.c: (print_element_list):
10398           Free the right plugin list; fixes a memory leak.
10399
10400 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10401
10402         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10403
10404         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10405           Don't error out on empty buffers (#336945).
10406           
10407 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10408
10409         * docs/libs/gstreamer-libs-sections.txt:
10410         * gst/gsttaglist.c:
10411         * libs/gst/base/gstbasesink.c:
10412         * libs/gst/base/gstbasesink.h:
10413         * libs/gst/base/gstbasesrc.c:
10414         * libs/gst/base/gstbasesrc.h:
10415           Documentation updates. Make BaseSink and BaseSrc docs contain the
10416           class structure so that people can actually see the prototypes for
10417           virtual functions they're supposed to be overriding.
10418
10419 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10420
10421         * plugins/elements/gsttypefindelement.c:
10422         (gst_type_find_element_chain):
10423           More debug info; when skipping typefinding, send cached
10424           events in all cases.
10425
10426 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10427
10428         * configure.ac:
10429           use new AS_VERSION and AS_NANO macros
10430         * gst/gst-i18n-lib.h:
10431         * gst/gst.c:
10432         * gst/gsterror.c:
10433         * gst/gstversion.h.in:
10434         * win32/common/config.h:
10435         * win32/common/config.h.in:
10436           update accordingly
10437
10438 2006-03-31  Michael Smith  <msmith@fluendo.com>
10439
10440         * plugins/elements/gsttypefindelement.c:
10441         (gst_type_find_element_chain):
10442           Do not typefind content if the buffers already have caps.
10443           Neccesary for icydemux (#333657), and the right thing to do anyway.
10444
10445 2006-03-30  Wim Taymans  <wim@fluendo.com>
10446
10447         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10448         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10449         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10450         (gst_base_sink_record_qos_observation),
10451         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10452         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10453         (gst_base_sink_change_state):
10454         More QoS measurements as described in the design doc.
10455         Get rid of ringbuffer with observations, running average is
10456         more simple and equally good.
10457         Calculates valid proportion now.
10458         Added beginning of flood measurement.
10459
10460 2006-03-29  Wim Taymans  <wim@fluendo.com>
10461
10462         * docs/design/part-qos.txt:
10463         * gst/gstclock.c:
10464         Small documentation updates and additions.
10465
10466 2006-03-29  Wim Taymans  <wim@fluendo.com>
10467
10468         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10469         (gst_base_src_send_event), (gst_base_src_loop),
10470         (gst_base_src_change_state):
10471         Perform the EOS logic when we reach the segment stop position.
10472         Fix compilation on gcc4.1
10473
10474 2006-03-29  Wim Taymans  <wim@fluendo.com>
10475
10476         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10477
10478         * plugins/elements/gstqueue.c: (gst_queue_init),
10479         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10480         (gst_queue_set_property):
10481         * plugins/elements/gstqueue.h:
10482         In queue, when EOS is received, if minimum threshold > max_size -
10483         current_level, there is chance that queue blocks forever in conditional
10484         item del wait. This is because the queue is not emptied completely due
10485         to minimum threshold.  Here is another approach. Instead of setting
10486         cur_levels to max in EOS, just zero all minimum threshold levels. This
10487         should make sure that queue gives out all data. When going to READY
10488         (stop) state, just reset the original minimum threshold levels.
10489         Fixes #336336.
10490
10491 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10492
10493         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10494         (gst_type_find_element_handle_event),
10495         (gst_type_find_element_send_cached_events),
10496         (gst_type_find_element_change_state):
10497         * plugins/elements/gsttypefindelement.h:
10498           When typefinding is done in push mode, we should cache
10499           events we receive during typefinding instead of just
10500           dropping them (e.g. newsegment, custom events from
10501           dvdreadsrc etc.) and then send them out once we've
10502           determined the type of the stream (and decodebin
10503           has had a chance to plug in a decoder/demuxer).
10504           
10505 2006-03-27  Wim Taymans  <wim@fluendo.com>
10506
10507         * docs/design/part-qos.txt:
10508         First QoS ideas.
10509
10510 2006-03-27  Wim Taymans  <wim@fluendo.com>
10511
10512         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10513
10514         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10515         (gst_base_src_send_event), (gst_base_src_change_state):
10516         Handle element seek correctly when we are streaming.
10517         Fixes #326998.
10518
10519 2006-03-24  Michael Smith  <msmith@fluendo.com>
10520
10521         * docs/faq/gst-uninstalled:
10522           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10523           allow you to correctly run intalled applications built against old 
10524           core, using plugins that require updated core (e.g. running
10525           installed totem against a full uninstalled gstreamer stack)
10526
10527 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10528
10529         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10530         more debug details
10531
10532 2006-03-24  Wim Taymans  <wim@fluendo.com>
10533
10534         * docs/gst/gstreamer-sections.txt:
10535         Rearrange the order of the methods so that related methods
10536         are grouped together in sections.
10537
10538 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10539
10540         * gst/gstelement.c:
10541           Little clarification in the docs
10542
10543 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10544
10545         * docs/README:
10546         formatting fix
10547         * plugins/elements/gstidentity.c:
10548         * plugins/elements/gstqueue.c:
10549         * plugins/elements/gsttee.c:
10550         * plugins/elements/gsttypefindelement.c:
10551         GST_ELEMENT_DETAILS formatting
10552
10553 2006-03-24  Wim Taymans  <wim@fluendo.com>
10554
10555         * libs/gst/base/gstbasesink.h:
10556         Only add fields, not insert or we break ABI.
10557
10558 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10559
10560         * win32/common/libgstbase.def:
10561         * win32/common/libgstreamer.def:
10562           Update, add recently added functions.
10563
10564 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10565
10566         * docs/gst/gstreamer-sections.txt:
10567         * gst/gstutils.c: (gst_pad_query_peer_position),
10568         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10569         * gst/gstutils.h:
10570           API: add some new utility functions:
10571            - gst_pad_query_peer_position()
10572            - gst_pad_query_peer_duration()
10573            - gst_pad_query_peer_convert()
10574           
10575 2006-03-23  Wim Taymans  <wim@fluendo.com>
10576
10577         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10578         (gst_base_sink_init), (gst_base_sink_finalize),
10579         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10580         (gst_base_sink_set_property), (gst_base_sink_get_property),
10581         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10582         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10583         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10584         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10585         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10586         (gst_base_sink_preroll_object), (gst_base_sink_event),
10587         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10588         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10589         (gst_base_sink_query), (gst_base_sink_change_state):
10590         Decouple max-lateness and the fact that QoS messages are generated
10591         with a new property (qos).
10592         added API: GstBaseSink::async_play()
10593         Add vmethod so subclasses can be notified of ASYNC playing
10594         state changes.
10595         Collect timestamp start and stop to report better current
10596         position in EOS/PLAYING/PAUSED/READY/NULL.
10597         Refactor QoS/frame dropping and other measurements.
10598         API: GstBaseSrc::qos
10599         Fixes #326311
10600
10601         * libs/gst/base/gstbasesink.h:
10602         Added Private struct.
10603         API: gst_base_sink_set_qos_enabled()
10604         API: gst_base_sink_is_qos_enabled()
10605
10606 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10607
10608         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10609           If compiling against GLib-2.8 or newer, try to read the
10610           registry file using GMappedFile first before falling back
10611           to fopen() + fread() (#332151).
10612
10613 2006-03-22  Wim Taymans  <wim@fluendo.com>
10614
10615         * gst/gstinfo.c: (gst_debug_set_active),
10616         (gst_debug_category_set_threshold):
10617         Disable debugging unless explicitly activated.
10618         Fixes #335480.
10619
10620 2006-03-22  Wim Taymans  <wim@fluendo.com>
10621
10622         * gst/gstelement.c: (gst_element_set_locked_state),
10623         (gst_element_dispose):
10624         Cleanup the error case.
10625
10626         * gst/gstobject.c: (gst_object_dispose):
10627         print a critical when some object was disposed with
10628         a parent, also revive the object since it might
10629         crash the parent.
10630
10631 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10632
10633         * tools/gst-launch.1.in:
10634           Fix another typo.
10635
10636 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10637
10638         * configure.ac:
10639         * tests/check/Makefile.am:
10640           disable some tests when we don't have a registry
10641         * tests/check/gst/gstutils.c: (gst_utils_suite):
10642           don't build the part that needs parsing
10643
10644 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10645
10646         * gst/Makefile.am
10647         * tests/examples/Makefile.am:
10648           fix --disable-parse build
10649
10650 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10651
10652         * tools/gst-feedback.1.in:
10653           Fix typo: s/feeback/feedback/ (#133494).
10654
10655 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10656
10657         * tools/Makefile.am:
10658         * tools/gst-launch.1.in:
10659           Add FILES section and correct entry about GST_REGISTRY_PATH
10660           environment variable (#133495; #133494).
10661
10662 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10663
10664         * tools/Makefile.am:
10665         * tools/gst-md5sum.1.in:
10666         * tools/gst-md5sum.c:
10667           Remove gst-md5sum and man page (the md5sink element
10668           required was removed ages ago)
10669
10670 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10671
10672         * gst/gststructure.c: (gst_structure_id_set_value):
10673           Make sure that string fields in structures/taglists
10674           contain valid UTF-8 - we don't want to pass rubbish to
10675           applications because of a buggy plugin (cp. #334167).
10676
10677 2006-03-21  Edward Hervey  <edward@fluendo.com>
10678
10679         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10680         (gst_bin_handle_message_func):
10681         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10682         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10683         (gst_element_set_bus_func):
10684         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10685         * gst/gstminiobject.c: (gst_value_set_mini_object),
10686         (gst_value_take_mini_object):
10687         * gst/gstpad.c: (gst_pad_set_pad_template):
10688         * gst/gstpipeline.c: (gst_pipeline_dispose),
10689         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10690         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10691         (gst_collect_pads_chain):
10692         * libs/gst/net/gstnettimeprovider.c:
10693         (gst_net_time_provider_set_property):
10694         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10695         It's in fact all issues with gst_*object_replace().
10696
10697 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10698
10699         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10700         
10701         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10702         * pkgconfig/gstreamer-check.pc.in:
10703           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10704
10705 2006-03-21  Edward Hervey  <edward@fluendo.com>
10706
10707         * gst/gstbuffer.h:
10708         * gst/gstevent.h:
10709         * gst/gstmessage.h:
10710         gst_[buffer|event|message]_ref() macros are replaced by a static
10711         inline functions because gcc-4.1 will about if the return value
10712         isn't used.
10713         * tests/check/gst/gstevent.c: (event_probe):
10714         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10715
10716 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10717
10718         * gst/gstutils.h:
10719         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10720         the type' case. (Closes: #335195 for now). In the future, when we
10721         depend on GLib 2.10, we could also intern the type name using
10722         g_intern_static_string()
10723
10724 2006-03-20  Wim Taymans  <wim@fluendo.com>
10725
10726         * gst/gstbin.c: (gst_bin_handle_message_func),
10727         (bin_query_max_init), (bin_query_position_fold),
10728         (bin_query_position_done), (gst_bin_query):
10729         Position query should also take max of all streams.
10730
10731 2006-03-20  Wim Taymans  <wim@fluendo.com>
10732
10733         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10734         (gst_fake_src_finalize):
10735         Fix leaks in fakesrc.
10736
10737         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10738         Fix leaks in the testcase.
10739
10740 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10741
10742         * gst/gst_private.h:
10743           add win32 specific import decoration(__declspec(dllimport)) 
10744           for all extern GstDebugCategory * variables
10745         * win32/common/libgstbase.def:
10746         * win32/common/libgstcontroller.def:
10747         * win32/common/libgstreamer.def:
10748           Add some exports, remove empty lines
10749         * win32/common/libgstdataprotocol.def:
10750         * win32/common/libgstdataprotocol.dsp:
10751         * win32/common/libgstnet.def:
10752         * win32/common/libgstnet.dsp:
10753           new project files and exportation files added
10754         
10755 2006-03-19  Wim Taymans  <wim@fluendo.com>
10756
10757         * tests/check/libs/basesrc.c: (eos_event_counter):
10758         Use proper return value for probe.
10759
10760 2006-03-17  Wim Taymans  <wim@fluendo.com>
10761
10762         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10763         (gst_pad_push):
10764         Don't leak buffers, caps and pads on negotiation errors.
10765
10766 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10767
10768         * docs/faq/cvs.xml:
10769         * docs/faq/dependencies.xml:
10770         * docs/faq/developing.xml:
10771         * docs/faq/faq.xml:
10772         * docs/faq/general.xml:
10773         * docs/faq/getting.xml:
10774         * docs/faq/legal.xml:
10775         * docs/faq/troubleshooting.xml:
10776         * docs/faq/using.xml:
10777         Faq review and update.
10778
10779 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10780
10781         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10782         (gst_pad_push):
10783         Don't pound the cpu to pieces by checking get_caps when accept_caps
10784         is called with the same caps as the pad already has.
10785         Use GST_DEBUG_OBJECT when outputting caps change information.
10786
10787 2006-03-15  Wim Taymans  <wim@fluendo.com>
10788
10789         * gst/gstclock.c: (gst_clock_class_init):
10790         Fix docs.
10791
10792 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10793
10794         * gst/gstbuffer.h:
10795         Documentation fix.
10796
10797         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10798         (gst_pad_accept_caps), (gst_pad_configure_sink),
10799         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10800         Make the default acceptcaps behaviour be to check the requested 
10801         caps against the gst_pad_get_caps output. 
10802
10803         Ensure that gst_pad_accept_caps is used to check caps when a pad
10804         doesn't have a setcaps function, so that pads automatically refuse 
10805         caps that they don't allow in their pad template. (Fixes #332986)
10806
10807         When a buffer with attached caps is pushed, ensure that the source 
10808         pad receives those caps even if the element didn't call
10809         gst_pad_set_caps first.
10810
10811 2006-03-15  Wim Taymans  <wim@fluendo.com>
10812
10813         * libs/gst/base/gstadapter.c:
10814         Add some docs.
10815
10816 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10817
10818         * win32/common/libgstbase.def:
10819         * win32/common/libgstcontroller.def:
10820         * win32/common/libgstreamer.def:
10821           Add a whole bunch of missing functions (#334434).
10822
10823 2006-03-14  Wim Taymans  <wim@fluendo.com>
10824
10825         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10826         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10827         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10828         Better debug info when we receive a segment event.
10829         Reorganize a bit so we can pass the get_times() results around.
10830         Use the segment format when calculating the running time.
10831         Don't do QoS is sync is disabled or we have no clock or the
10832         element does not want us to sync to the clock.
10833         Don't drop buffers if QoS is disabled for now.
10834
10835 2006-03-14  Wim Taymans  <wim@fluendo.com>
10836
10837         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10838         Marked the stats property as unimplemented so people don't get
10839         wild ideas.
10840         Add debug message when regression goes wrong.
10841         Added some more docs.
10842
10843 2006-03-14  Wim Taymans  <wim@fluendo.com>
10844
10845         * gst/gstsegment.c: (gst_segment_to_stream_time):
10846         Return correct return type in case of errors.
10847
10848 2006-03-14  Wim Taymans  <wim@fluendo.com>
10849
10850         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10851           Don't segfault on invalid formats.
10852
10853 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10854
10855         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10856           Can't use gst_segment_to_running_time() when the segment
10857           is not in GST_TIME_FORMAT (like with filesink, for example).
10858           Stops flac encoding pipelines from spewing critical warnings
10859           at EOS (#331248).
10860           
10861 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10862
10863         * gst/gstpipeline.c: (gst_pipeline_class_init):
10864           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10865
10866         * plugins/elements/gsttypefindelement.c:
10867         (gst_type_find_element_handle_event):
10868           Don't try to typefind empty streams.
10869
10870 2006-03-14  Wim Taymans  <wim@fluendo.com>
10871
10872         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10873         (gst_base_sink_do_qos):
10874         Separate QoS calculation.
10875         Only drop buffers when lateness is bigger than the 
10876         duration of the buffer.
10877
10878 2006-03-13  Wim Taymans  <wim@fluendo.com>
10879
10880         * gst/gstpipeline.c: (gst_pipeline_set_property),
10881         (gst_pipeline_get_property), (do_pipeline_seek),
10882         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10883         (gst_pipeline_get_delay):
10884         Don't deadlock when reading properties.
10885
10886 2006-03-13  Wim Taymans  <wim@fluendo.com>
10887
10888         * libs/gst/base/gstbasetransform.c:
10889         (gst_base_transform_class_init), (gst_base_transform_init),
10890         (gst_base_transform_sink_event),
10891         (gst_base_transform_sink_eventfunc),
10892         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10893         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10894         (gst_base_transform_set_property),
10895         (gst_base_transform_get_property),
10896         (gst_base_transform_change_state), (gst_base_transform_update_qos),
10897         (gst_base_transform_set_qos_enabled),
10898         (gst_base_transform_is_qos_enabled):
10899         * libs/gst/base/gstbasetransform.h:
10900         Make basetransform virtual method for src events too.
10901         Handle QOS in basetransform.
10902         API: gst_base_transform_update_qos()
10903         API: gst_base_transform_set_qos_enabled()
10904         API: gst_base_transform_is_qos_enabled()
10905
10906 2006-03-13  Wim Taymans  <wim@fluendo.com>
10907
10908         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10909         (gst_base_sink_do_sync):
10910         Small cleanups.
10911         Use QOS debug category.
10912
10913 2006-03-13  Wim Taymans  <wim@fluendo.com>
10914
10915         * plugins/elements/gstqueue.c:
10916         Very small doc update.
10917
10918 2006-03-13  Wim Taymans  <wim@fluendo.com>
10919
10920         * gst/gst_private.h:
10921         * gst/gstinfo.c: (_gst_debug_init):
10922         Added QOS debug category
10923
10924 2006-03-13  Wim Taymans  <wim@fluendo.com>
10925
10926         * docs/gst/gstreamer-sections.txt:
10927         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10928         * gst/gstbin.h:
10929         * gst/gstbus.c: (gst_bus_class_init):
10930         * gst/gstbus.h:
10931         * gst/gstclock.c:
10932         * gst/gstelement.c: (gst_element_set_locked_state):
10933         * gst/gstsegment.c:
10934         Documentation updates.
10935
10936         * gst/gstpipeline.c: (gst_pipeline_get_type),
10937         (gst_pipeline_class_init), (gst_pipeline_init),
10938         (gst_pipeline_dispose), (gst_pipeline_set_property),
10939         (gst_pipeline_get_property), (do_pipeline_seek),
10940         (gst_pipeline_send_event), (gst_pipeline_change_state),
10941         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10942         (gst_pipeline_get_delay):
10943         * gst/gstpipeline.h:
10944         Added methods for setting the delay.
10945         API: gst_pipeline_set_delay()
10946         API: gst_pipeline_get_delay()
10947         Add pipeline debug category
10948         Various cleanups.
10949         Updated docs.
10950         Don't reset stream time when seek failed.
10951
10952 2006-03-13  Wim Taymans  <wim@fluendo.com>
10953
10954         * docs/design/draft-klass.txt:
10955         * docs/design/part-clocks.txt:
10956         * docs/design/part-events.txt:
10957         * docs/design/part-gstbin.txt:
10958         * docs/design/part-gstpipeline.txt:
10959         * docs/design/part-messages.txt:
10960         * docs/design/part-negotiation.txt:
10961         * docs/design/part-overview.txt:
10962         * docs/design/part-preroll.txt:
10963         * docs/design/part-seeking.txt:
10964         * docs/design/part-states.txt:
10965         * docs/design/part-streams.txt:
10966         Documentation updates.
10967
10968 2006-03-12  Julien MOUTTE  <julien@moutte.net>
10969
10970         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10971         us to leak strings...
10972
10973 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10974
10975         * libs/gst/net/gstnettimeprovider.c:
10976           fix docs
10977         * win32/common/config.h:
10978           update
10979
10980 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
10981
10982         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10983
10984         * configure.ac:
10985           Don't check for libgnomeui (leftover from old examples
10986           that aren't built or disted any longer) (#334303).
10987           
10988 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
10989
10990         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10991         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10992           Emit RESOURCE_NO_SPACE_LEFT error here as well when
10993           there's no space left on the device.
10994
10995 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
10996
10997         * gst/gstclock.h:
10998           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10999           to cast the input to GstClockTime before comparing with
11000           another GstClockTime value.
11001
11002 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11003
11004         * configure.ac:
11005           back to trunk
11006
11007 === release 0.10.4 ===
11008
11009 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11010
11011         * configure.ac:
11012           releasing 0.10.4, "Light"
11013
11014 2006-03-10  Michael Smith  <msmith@fluendo.com>
11015
11016         * libs/gst/dataprotocol/dataprotocol.c:
11017           Fix docs for dataprocotol to not get the return types completely
11018           wrong for a few functions.
11019
11020 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11021
11022         * docs/gst/gstreamer-sections.txt:
11023         * gst/gstpipeline.c: (gst_pipeline_class_init),
11024         (gst_pipeline_init), (gst_pipeline_set_property),
11025         (gst_pipeline_get_property), (gst_pipeline_change_state),
11026         (gst_pipeline_set_auto_flush_bus),
11027         (gst_pipeline_get_auto_flush_bus):
11028         * gst/gstpipeline.h:
11029           Add new API: gst_pipeline_set_auto_flush_bus() and
11030           gst_pipeline_get_auto_flush_bus() to disable automatic
11031           flushing of the pipeline's GstBus when going from READY
11032           to NULL state (#332045).
11033
11034 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11035
11036         * docs/gst/gstreamer-sections.txt:
11037         * gst/gsturi.c: (gst_uri_has_protocol):
11038         * gst/gsturi.h:
11039            Add new API: gst_uri_has_protocol() (#333779).
11040
11041 2006-03-09  Wim Taymans  <wim@fluendo.com>
11042
11043         * gst/gstclock.c: (gst_clock_entry_new),
11044         (gst_clock_id_compare_func), (gst_clock_id_wait),
11045         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11046         (gst_clock_init), (gst_clock_get_internal_time),
11047         (gst_clock_set_master), (do_linear_regression),
11048         (gst_clock_add_observation), (gst_clock_set_property):
11049         * gst/gstclock.h:
11050         Review docs.
11051         Small cleanups.
11052         Fix a possible segfault when the window-size is made smaller.
11053         Calculate jitter before performing the clock wait. Ideally
11054         the clock implementation should calculate jitter but we need
11055         API breakage for that.
11056
11057         * gst/gstsystemclock.c: (gst_system_clock_init):
11058         Docs review.
11059         
11060         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11061         Remove leftover else
11062
11063         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11064         (gst_systemclock_suite):
11065         Added check to test GST_CLOCK_DIFF.
11066
11067 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11068
11069         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11070         (gst_type_find_helper_get_range):
11071           If we are provided with the size, we should implement
11072           GstTypeFind::get_length, so that typefind functions who
11073           want to can actually peek at the middle of a file.
11074
11075 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11076
11077         * docs/manual/advanced-dataaccess.xml:
11078           Add some very very basic error checking.
11079
11080         * docs/pwg/appendix-checklist.xml:
11081           Some updates to the list of things to check when writing an element.
11082
11083 2006-03-08  Wim Taymans  <wim@fluendo.com>
11084
11085         * docs/design/part-element-transform.txt:
11086         Added some docs about the design of tranform elements.
11087
11088         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11089         (gst_base_src_loop), (gst_base_src_change_state):
11090         Mark buffers with the DISCONT flag.
11091
11092 2006-03-08  Michael Smith  <msmith@fluendo.com>
11093
11094         * gst/gstregistry.h:
11095         * gst/gstregistryxml.c: (gst_registry_save),
11096         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11097         (gst_registry_xml_save_pad_template),
11098         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11099         (gst_registry_xml_write_cache):
11100           Rewrite registry-saving to avoid race conditions and check for
11101           failed writes.
11102
11103 2006-03-08  Wim Taymans  <wim@fluendo.com>
11104
11105         * libs/gst/base/gstbasetransform.c:
11106         (gst_base_transform_transform_caps),
11107         (gst_base_transform_transform_size),
11108         (gst_base_transform_prepare_output_buffer),
11109         (gst_base_transform_get_unit_size),
11110         (gst_base_transform_buffer_alloc),
11111         (gst_base_transform_handle_buffer),
11112         (gst_base_transform_change_state):
11113         Cleanups, separate normal flow from errors, add sensible
11114         DEBUG lines.
11115         Don't try to renegotiate when allocating an output buffer.
11116         Also copy DISCONT buffer flag when copying a buffer.
11117         Reset the transform after we finish streaming, not during.
11118
11119 2006-03-08  Wim Taymans  <wim@fluendo.com>
11120
11121         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11122         Use last buffer timestamp in qos message.
11123
11124 2006-03-07  Wim Taymans  <wim@fluendo.com>
11125
11126         Patch by: Christophe Fergeau
11127
11128         * docs/pwg/advanced-tagging.xml:
11129         * docs/pwg/building-pads.xml:
11130           fixes #333416
11131
11132 2006-03-07  Wim Taymans  <wim@fluendo.com>
11133
11134         * docs/libs/gstreamer-libs-sections.txt:
11135         Added basesink new methods.
11136
11137         * gst/gstevent.c:
11138         * gst/gstevent.h:
11139         Docs updates. Flesh out the QoS docs.
11140
11141         * libs/gst/base/gstadapter.c:
11142         Small doc clarification about ownership and flushing.
11143
11144         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11145         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11146         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11147         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11148         * libs/gst/base/gstbasesink.h:
11149         API additions: 
11150         Added new methods to allow subclass to control max-lateness 
11151         and sync.
11152         Generate very basic QoS events based on last sync observation.
11153         Updated docs, fix typo, added some QoS blurb.
11154
11155         * libs/gst/base/gstbasesrc.c:
11156         Remove obsolete _get_state() calls from docs.
11157
11158 2006-03-07  Wim Taymans  <wim@fluendo.com>
11159
11160         * docs/libs/gstreamer-libs-sections.txt:
11161         * libs/gst/base/gstbasetransform.h:
11162         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11163         Fix docs for GstBaseSrc.
11164
11165 2006-03-07  Wim Taymans  <wim@fluendo.com>
11166
11167         * docs/gst/gstreamer-sections.txt:
11168         * gst/gstbuffer.h:
11169         * gst/gstvalue.c:
11170         * libs/gst/base/gstbasetransform.h:
11171         Small documentation fixes.
11172
11173 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11174
11175         * gst/gstvalue.c:
11176           Document thread-unsafety of gst_value_register_foo_func()
11177           when used at the same time as gst_value_foo() (#322628).
11178
11179 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11180
11181         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11182         (gst_push_src_check_get_range):
11183           Push sources don't support pull mode by default.
11184
11185 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11186
11187         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11188         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11189         (gst_base_src_default_check_get_range):
11190         * libs/gst/base/gstbasesrc.h:
11191           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11192           provide default implementation, and rename
11193           gst_base_src_check_get_range() to
11194           gst_base_src_pad_check_get_range() for clarity.
11195
11196 2006-03-06  Wim Taymans  <wim@fluendo.com>
11197
11198         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11199         Make property overridable.
11200
11201 2006-03-06  Wim Taymans  <wim@fluendo.com>
11202
11203         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11204         (gst_base_sink_init), (gst_base_sink_set_property),
11205         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11206         * libs/gst/base/gstbasesink.h:
11207         API addition: Make max-lateness a property.
11208
11209 2006-03-06  Wim Taymans  <wim@fluendo.com>
11210
11211         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11212         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11213         Don't ever draw a frame that is >10ms late.
11214
11215 2006-03-06  Michael Smith  <msmith@fluendo.com>
11216
11217         * gst/gstmessage.c: (_gst_message_copy):
11218           When copying a message, set the parent_refcount of the enclosed
11219           structure to point at the copy, not the original message.
11220
11221 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11222
11223         Patch by: Christophe Fergeau
11224
11225         * gst/gstutils.h:
11226           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11227           usable in c++ code (#333417)
11228
11229 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11230
11231         * gst/gstclock.h:
11232           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11233
11234 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11235
11236         * libs/gst/base/gstbasetransform.c:
11237         (gst_base_transform_transform_caps):
11238           Make sure caps are writable before passing them to
11239           gst_caps_append().
11240
11241 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11242
11243         * gst/gsterror.h:
11244           Fix some minor docs errors.
11245
11246 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11247
11248           Patch by: Ross Burton <ross at burtonini dot com>
11249
11250         * gst/gsterror.c: (_gst_resource_errors_init):
11251         * gst/gsterror.h:
11252           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11253
11254 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11255
11256         * gst/gst.c:
11257         Add a check and output a g_warning when GStreamer is built
11258         against GLib 2.6 but running against 2.8 or higher, and vice 
11259         versa. (Closes: #323542)
11260
11261 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11262
11263         * gst/parse/parse.l:
11264           Commit patch for parse_launch syntax from #331255. Removes 
11265           support for quoted strings and mimetypes when writing filtered 
11266           caps. See the bug report for more details - I'm pretty sure this
11267           obscure feature is not in use by _anyone_ anywhere.
11268
11269           With this simple change, the size of the gstreamer.so here 
11270           drops from 2193KB to 1565KB.
11271
11272 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11273
11274         * plugins/elements/gsttypefindelement.h:
11275         * plugins/elements/gsttypefindelement.c:
11276         (gst_type_find_element_src_event), (start_typefinding),
11277         (stop_typefinding), (gst_type_find_element_handle_event),
11278         (gst_type_find_element_chain),
11279         (gst_type_find_element_chain_do_typefinding):
11280           Use gst_type_find_helper_for_buffer() for chain-based
11281           typefinding.
11282
11283 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11284
11285         * plugins/elements/gsttypefindelement.c:
11286         (gst_type_find_element_class_init),
11287         (gst_type_find_element_set_property),
11288         (gst_type_find_element_get_property):
11289           Deprecate "maximum" property (not only was it only taken into
11290           account for typefinding in push-mode anyway, it also was never
11291           actually possible to set it in the first place because the
11292           property was registered with the numeric property ID for the
11293           "minimum" property). Register "maximum" property correctly,
11294           for the sake of future copy'n'pasters. Remove some cruft
11295           from property get/set functions.
11296
11297 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11298
11299         * plugins/elements/gsttypefindelement.c:
11300         (gst_type_find_element_activate):
11301           Use gst_type_find_helper_get_range() here, so we
11302           can honour the "minimum" property and also emit
11303           the signal with the correct probability of the found caps.
11304
11305 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11306
11307         * docs/libs/gstreamer-libs-sections.txt:
11308         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11309         (helper_find_suggest), (gst_type_find_helper_get_range),
11310         (gst_type_find_helper):
11311         * libs/gst/base/gsttypefindhelper.h:
11312           New API: gst_type_find_helper_get_range() (#333042).
11313
11314 2006-03-02  Michael Smith  <msmith@fluendo.com>
11315
11316         * gst/gstregistryxml.c: (load_feature):
11317           Asserting on a failure to read part of the registry is Not Cool.
11318           Just log a warning and return NULL (which is already handled)
11319
11320 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11321
11322         * win32/common/libgstbase.def:
11323           added export of gst_type_find_helper_for_buffer
11324         * win32/common/libgstbase.def:
11325           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11326           gst_ghost_pad_get_target
11327
11328 2006-02-28  Wim Taymans  <wim@fluendo.com>
11329
11330         * docs/design/draft-klass.txt:
11331         We use Filter now.
11332         Added Connector to mark elements that are only used to
11333         allow pipeline connections.
11334         Moved Debug to extra feature since most of them are 
11335         functionally something else.
11336
11337 2006-02-28  Wim Taymans  <wim@fluendo.com>
11338
11339         * docs/design/draft-klass.txt:
11340         Some updates and clarifications.
11341
11342 2006-02-28  Wim Taymans  <wim@fluendo.com>
11343
11344         * docs/design/draft-klass.txt:
11345         Proposal for klass field values.
11346
11347         * docs/design/part-streams.txt:
11348         Start of a doc describing stream anatomy.
11349
11350 2006-02-28  Wim Taymans  <wim@fluendo.com>
11351
11352         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11353         Help the compiler a bit with type registration.
11354         Use existing forward cod path instead of duplicating it when 
11355         handling a message.
11356         
11357         * gst/gstbus.c: (gst_bus_get_type):
11358         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11359         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11360         * gst/gstclock.c: (gst_clock_get_type):
11361         * gst/gstelement.c: (gst_element_get_type),
11362         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11363         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11364         * gst/gstminiobject.c: (gst_mini_object_get_type):
11365         * gst/gstpad.c: (gst_pad_get_type):
11366         * gst/gstsegment.c: (gst_segment_get_type):
11367         * gst/gststructure.c: (gst_structure_get_type):
11368         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11369         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11370         * gst/gstvalue.c:
11371         Help compiler with type registration.
11372
11373         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11374         Small doc update.
11375
11376 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11377
11378         * plugins/elements/gsttypefindelement.c:
11379         (gst_type_find_element_handle_event):
11380           When we get an EOS event and have not found a type yet
11381           (most likely because we had not yet accumulated
11382           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11383           type given the data we have so far. Fixes typefinding
11384           for very short streams again, most notably quicktime
11385           redirections as used on Apple's trailer site (#331701).
11386
11387 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11388
11389         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11390         (gst_type_find_helper):
11391           Try typefinding factories with the highest rank first.
11392
11393 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11394
11395         * docs/libs/gstreamer-libs-docs.sgml:
11396         * docs/libs/gstreamer-libs-sections.txt:
11397         * libs/gst/base/gsttypefindhelper.c:
11398           Add section for typefind helper and add documentation
11399           for the old and the new function.
11400
11401 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11402
11403         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11404         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11405         (gst_type_find_helper_for_buffer):
11406         * libs/gst/base/gsttypefindhelper.h:
11407           New API: gst_type_find_helper_for_buffer() (#332723).
11408           
11409 2006-02-27  Michael Smith  <msmith@fluendo.com>
11410
11411         Patch by: Loïc Minier
11412
11413         * configure.ac:
11414         * docs/Makefile.am:
11415         * docs/slides/Makefile.am:
11416           prevent CVS directories getting disted.
11417
11418 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11419
11420         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11421           Use the REFCOUNTING category for caps refcounting.
11422           
11423 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11424
11425         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11426           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11427
11428 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11429
11430         * plugins/elements/gsttypefindelement.c:
11431         (gst_type_find_element_activate):
11432           Use gst_pad_check_pull_range() before _activate_pull()
11433           to avoid unnecessary open/close (see #331690).
11434
11435 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11436
11437         * gst/gstutils.c:
11438           Docs enhancement: make it crystal clear what the
11439           gst_pad_add_*_probe() callbacks should look like.
11440
11441 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11442
11443         * libs/gst/base/gstbasesrc.c:
11444           Document how applications can stop recording from
11445           live sources (see #330996).
11446
11447 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11448
11449         * tests/check/Makefile.am:
11450         * tests/check/libs/basesrc.c: (eos_event_counter),
11451         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11452         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11453         (gst_basesrc_suite), (main):
11454           ... and add some tests for the base source EOS stuff.
11455
11456 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11457
11458         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11459           Test case originally showed the problem fixed below,
11460           but was then amended. Add checks back at the place
11461           where they used to be.
11462
11463 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11464
11465         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11466         (gst_base_src_init), (gst_base_src_loop),
11467         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11468         (gst_base_src_change_state):
11469         * libs/gst/base/gstbasesrc.h:
11470           Don't unconditionally send EOS when going from PAUSED to
11471           READY state, esp. make sure we don't send two EOS events
11472           in some cases (e.g. one when reaching EOS and one when
11473           going from PAUSED to READY). Also, we don't want to send
11474           EOS events when operating in pull mode. However, we do
11475           want to send an EOS event when shutting down a live
11476           source explicitly, for example (fixes #330996).
11477           
11478 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11479
11480         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11481           Update src->read_position after a seek when not using mmap.
11482           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11483
11484 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11485
11486         * gst/Makefile.am:
11487         * gst/gstparse.h:
11488         * gst/gstutils.c:
11489         * gst/gstutils.h:
11490         Make things work with --disable-parse as they do with 
11491         --disable-load-save - the symbols involved disappear, but the
11492         header is still installed and GST_DISABLE_PARSE is included via
11493         gstconfig.h
11494
11495 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11496
11497         * libs/gst/base/gstbasetransform.c:
11498         (gst_base_transform_change_state): Fix a stupid bug. I was 
11499         sure I compiled that.
11500
11501 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11502
11503         * gst/gstpad.c: (gst_pad_set_blocked_async):
11504         * gst/gstutils.c: (gst_pad_add_data_probe),
11505         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11506         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11507         (gst_pad_remove_buffer_probe): Make those function act on the
11508         ghostpad target when it's a ghostpad. (Closes #331727)
11509
11510 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11511
11512         * libs/gst/base/gstbasetransform.c:
11513         (gst_base_transform_change_state): Make basetransform reusable.
11514         (Closes #331898)
11515
11516 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11517
11518         * docs/random/release:
11519         Move the current documentation of how to do a release to the top
11520         of the file.
11521
11522         * gst/gstbin.c: (gst_bin_class_init),
11523         (gst_bin_handle_message_func):
11524         Allow multiple state-recalculation threads. (Closes #328873)
11525
11526 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11527
11528         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11529         * gst/gstpad.c: (gst_pad_set_event_function),
11530         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11531         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11532         2 strings. You can't use the STR_NULL macro on that.
11533
11534 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11535
11536         * gst/gstpad.c: (gst_pad_set_event_function),
11537         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11538         (gst_pad_set_getcaps_function)
11539         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11540           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11541           So now, we can use --gst-debug-level=5 on Windows
11542         * win32/common/libgstcontroller.def:
11543           Added export of gst_controller_init
11544         * win32/vs6/libgstcontroller.dsp:
11545           Fixed Release post build configuration
11546
11547 2006-02-17  Wim Taymans  <wim@fluendo.com>
11548
11549         * tests/check/gst/gstquery.c: (GST_START_TEST):
11550         Added another check.
11551
11552 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11553
11554         * plugins/elements/gsttypefindelement.c: (find_peek):
11555           We can do peeks at non-zero offsets, as long as they
11556           fall within the buffer we have.
11557
11558 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11559
11560         * tests/check/Makefile.am:
11561         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11562         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11563         (parse_suite), (main):
11564           Add testsuite for parse launch syntax
11565
11566 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11567
11568         * plugins/elements/gsttypefindelement.c:
11569         (gst_type_find_element_chain):
11570           When typefinding is unsuccessful in the chain function, don't
11571           error out immediately. Only error out with NO_CAPS_FOUND if
11572           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11573           otherwise simply wait for more data so we can try typefinding
11574           again with more data later. Also, don't attempt to typefind
11575           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11576           this should improve typefinding from network sources where the
11577           size of the first buffer can be somewhat random.
11578
11579 2006-02-14  Wim Taymans  <wim@fluendo.com>
11580
11581         * docs/gst/gstreamer-sections.txt:
11582         * gst/gstpadtemplate.c:
11583         * gst/gstpadtemplate.h:
11584         Fix padtemplate docs, fixes #328805.
11585
11586 2006-02-14  Wim Taymans  <wim@fluendo.com>
11587
11588         * tools/gst-launch.c: (main):
11589         NO_PREROLL is not an ERROR so don't send confusing messages
11590         to the user.
11591
11592 2006-02-14  Wim Taymans  <wim@fluendo.com>
11593
11594         Patch by: Torsten Schoenfeld
11595
11596         * gst/gstregistry.c: (gst_registry_get_default),
11597         (_gst_registry_cleanup):
11598         Protect default registry with lock and ref/sink it.
11599         Fixes #324818
11600
11601 2006-02-14  Wim Taymans  <wim@fluendo.com>
11602
11603         * gst/gstbuffer.c:
11604         * gst/gstquery.c: (gst_query_list_add_format),
11605         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11606         (gst_query_parse_formats_nth):
11607         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11608         Docs fixes.
11609
11610 2006-02-14  Wim Taymans  <wim@fluendo.com>
11611
11612         * docs/gst/gstreamer-sections.txt:
11613         Reworked query docs.
11614
11615         * gst/gstquery.c: (gst_query_new_formats),
11616         (gst_query_list_add_format), (gst_query_set_formats),
11617         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11618         (gst_query_parse_formats_nth):
11619         * gst/gstquery.h:
11620         Flesh out formats query, added some new methods.
11621         Fix part of #324398.
11622
11623         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11624         Added query creation tests.
11625
11626 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11627
11628         * gst/gstpad.c: (fixate_value):
11629         Add a default fixation for fraction lists.
11630
11631 2006-02-13  Wim Taymans  <wim@fluendo.com>
11632
11633         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11634         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11635         (gst_task_join):
11636         * gst/gsttask.h:
11637         Detect and warn for obvious deadlocks. fixes #320340
11638         Fix error case where lock was not released.
11639
11640         * tests/check/Makefile.am:
11641         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11642         (task_func), (gst_element_suite), (main):
11643         Add task check.
11644
11645 2006-02-13  Wim Taymans  <wim@fluendo.com>
11646
11647         * docs/gst/gstreamer-sections.txt:
11648         * gst/gstbus.c:
11649         Add new functions to docs.
11650
11651 2006-02-13  Wim Taymans  <wim@fluendo.com>
11652
11653         * docs/design/part-TODO.txt:
11654         Updated TODO list, basesrc supports seeking to non-bytes
11655         formats.
11656
11657         * docs/design/part-element-sink.txt:
11658         Update docs.
11659
11660         * gst/gstbin.c: (bin_replace_message),
11661         (gst_bin_handle_message_func):
11662         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11663         * gst/gstevent.c: (gst_event_finalize):
11664         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11665         (gst_pad_send_event):
11666         Use shiny new _TYPE_NAME macros.
11667
11668         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11669         Move debug statement up.
11670
11671         * gst/gstelement.c: (gst_element_set_locked_state):
11672         Add some debugging.
11673
11674 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11675
11676         * docs/gst/gstreamer-sections.txt:
11677         * gst/gstmessage.h:
11678         * gst/gstquery.h:
11679           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11680           macros (#330906). Also, document the already existing
11681           GST_QUERY_TYPE macro.
11682
11683 2006-02-13  Wim Taymans  <wim@fluendo.com>
11684
11685         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11686         (event_probe), (GST_START_TEST):
11687         Only events up to the pipeline EOS are counted, there are
11688         some more when going to NULL currently which we don't care
11689         about for now.
11690
11691 2006-02-13  Wim Taymans  <wim@fluendo.com>
11692
11693         * gst/gstpad.c: (gst_pad_send_event):
11694         Correctly check flushing and emit probes. fixes #330125
11695
11696 2006-02-10  Andy Wingo  <wingo@pobox.com>
11697
11698         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11699         structure.
11700         (gst_bus_init): Cache the location of the private data in the
11701         instance structure.
11702         (gst_bus_enable_sync_message_emission) 
11703         (gst_bus_disable_sync_message_emission): Implement new public
11704         functions.
11705         (gst_bus_post): Emit the sync-message signal if the user asked for
11706         it. Fixes #330684.
11707
11708         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11709         location of the bus-private structure.
11710         (gst_bus_enable_sync_message_emission)
11711         (gst_bus_disable_sync_message_emission): API addition
11712
11713 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11714
11715         Patch by: Vincent Torri
11716
11717         * docs/pwg/building-boiler.xml:
11718         PWG patch from #326800
11719
11720 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11721
11722         * configure.ac:
11723         * docs/Makefile.am:
11724         * docs/design/Makefile.am:
11725           Dist design docs.
11726
11727 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11728
11729         * configure.ac:
11730           back to CVS
11731
11732 === release 0.10.3 ===
11733
11734 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11735
11736         * configure.ac:
11737           releasing 0.10.3, "Like a virgin"
11738
11739 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11740
11741         * configure.ac:
11742           2nd prerelease of 0.10.3
11743           Bump libtool versioning.
11744
11745 2006-02-07  Andy Wingo  <wingo@pobox.com>
11746
11747         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11748         update last_stop if we're in TIME format and the timestamp is
11749         valid.
11750
11751         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11752         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11753         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11754         If we get a new newsegment with a different format, adapt
11755         accordingly.
11756
11757         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11758         of 0. Not a problem, really.
11759
11760         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11761         warn if sync=true.
11762
11763 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11764
11765         * configure.ac:
11766           Prelease of 0.10.3
11767
11768 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11769
11770         * win32/vs7:
11771           project files updated to the default vs7 configuration
11772         * win32/common/libgstbase.def:
11773         * win32/common/libgstreamer.def:
11774           added new symbols,
11775           removed empty lines,
11776           sorted all exported symbols alphabetically
11777         * win32/common/dirent.c:
11778         * win32/common/dirent.h:
11779         * win32/common/gchar.h:
11780           use windows line end.
11781           
11782 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11783
11784         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11785           Send EOS event when stopping.
11786
11787 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11788
11789         * docs/README:
11790           Tell folks what to do if the plugin-foobar.xml file
11791           hasn't been generated for a newly-added plugin.
11792
11793 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11794
11795         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11796         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11797         (gst_collect_pads_start), (gst_collect_pads_stop),
11798         (gst_collect_pads_event): Collectpads now holds a reference
11799         to the GstPad that was added. Indeed we don't want to look
11800         at pads that might just go away with no warning...
11801
11802 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11803
11804         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11805         (gst_collect_pads_start), (gst_collect_pads_stop),
11806         (gst_collect_pads_event), (gst_collect_pads_chain):
11807         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11808         Mark Nauwelaerts's patch on bug #328491.
11809
11810 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11811
11812         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11813         (gst_utils_suite):
11814           Add some simple tests for gst_parse_bin_from_description() and
11815           gst_bin_find_unconnected_pad() (#329069).
11816
11817 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11818
11819         * tools/gst-launch.c: (event_loop), (main):
11820           Catch errors during preroll (#320084).
11821
11822 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11823
11824         * plugins/elements/gsttypefindelement.c:
11825         (gst_type_find_element_activate):
11826           Post TYPE_NOT_FOUND error message when typefinding
11827           is unsuccessful in the activate function as well.
11828
11829 2006-02-02  Wim Taymans  <wim@fluendo.com>
11830
11831         * docs/design/part-element-sink.txt:
11832         Updated doc.
11833
11834 2006-02-02  Wim Taymans  <wim@fluendo.com>
11835
11836         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11837         (gst_base_sink_render_object),
11838         (gst_base_sink_queue_object_unlocked):
11839         Only keep track of prerollable items when we are 
11840         prerolling.
11841         Before rendering after preroll, always check if we
11842         have queued items.
11843         Added some more debugging.
11844
11845 2006-02-02  Wim Taymans  <wim@fluendo.com>
11846
11847         * gst/gstelement.c: (gst_element_continue_state),
11848         (gst_element_set_state_func), (gst_element_change_state):
11849         Fixed #326576, been running this for quite some time with
11850         no regressions at all.
11851
11852 2006-02-02  Wim Taymans  <wim@fluendo.com>
11853
11854         * common/gst.supp:
11855         Added more suppressions
11856
11857 2006-02-02  Wim Taymans  <wim@fluendo.com>
11858
11859         * docs/design/part-element-sink.txt:
11860         Updated document.
11861
11862         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11863         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11864         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11865         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11866         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11867         (gst_base_sink_preroll_object),
11868         (gst_base_sink_queue_object_unlocked),
11869         (gst_base_sink_queue_object), (gst_base_sink_event),
11870         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11871         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11872         (gst_base_sink_get_position), (gst_base_sink_change_state):
11873         * libs/gst/base/gstbasesink.h:
11874         Totally refactored matching the design doc.
11875         Use two segments, one to clip incomming buffers and another to
11876         perform sync.
11877         Handle queueing correctly, bypass the queue when playing.
11878         Make EOS cancelable.
11879         Handle errors correctly when operating in pull based mode.
11880
11881         * tests/check/elements/fakesink.c: (GST_START_TEST),
11882         (fakesink_suite):
11883         Added new check for sinks.
11884
11885 2006-02-02  Wim Taymans  <wim@fluendo.com>
11886
11887         * gst/gstsegment.c: (gst_segment_clip):
11888         No reason to refuse to clip when start == -1
11889
11890 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
11891
11892         * docs/README:
11893         * docs/manual/intro-basics.xml:
11894         * docs/manual/intro-preface.xml:
11895         * docs/manual/manual.xml:
11896         * docs/pwg/advanced-dparams.xml:
11897         * docs/pwg/intro-basics.xml:
11898         * docs/pwg/intro-preface.xml:
11899         * docs/pwg/pwg.xml:
11900           describe dparams (controller) for plugins
11901           unify docs a little more
11902
11903 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
11904
11905         * docs/gst/gstreamer-sections.txt:
11906         * gst/gstutils.c: (element_find_unconnected_pad),
11907         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11908         * gst/gstutils.h:
11909           Add new API: gst_parse_bin_from_description() and
11910           gst_bin_find_unconnected_pad() (#329069).
11911
11912 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
11913
11914         * docs/manual/README:
11915           uncover a nasty detail of the docs build
11916
11917 2006-01-31  Wim Taymans  <wim@fluendo.com>
11918
11919         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11920         Don't cache duration messages if we're not going to use or
11921         free them.
11922
11923 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
11924
11925         * docs/manual/advanced-dparams.xml:
11926         * docs/pwg/advanced-dparams.xml:
11927           more dparam docs
11928         * gst/gstindex.c:
11929           fix docs
11930         * libs/gst/controller/lib.c: (gst_controller_init):
11931           init just once
11932
11933 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11934
11935         * gst/gstelement.c: (gst_element_message_full):
11936           also show file/line/func if no additional debug was given
11937
11938 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
11939         
11940         * win32/vs7/grammar.vcproj:
11941           activate copy of autogenerated files for Release mode
11942
11943 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11944         
11945         * win32/common/libgstreamer.def:
11946           export gst_value_compare
11947
11948 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
11949
11950         * plugins/elements/Makefile.am:
11951         * plugins/elements/gstelements.c:
11952         * plugins/elements/gstfdsink.c: (_do_init),
11953         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11954         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11955         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11956         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11957         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11958         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11959         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11960         * plugins/elements/gstfdsink.h:
11961         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11962
11963 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
11964
11965         * docs/manual/advanced-dparams.xml:
11966           describe controller
11967         * docs/manual/advanced-position.xml:
11968         * docs/manual/basics-init.xml:
11969         * docs/manual/manual.xml:
11970         * docs/manual/titlepage.xml:
11971         * docs/pwg/pwg.xml:
11972         * docs/pwg/titlepage.xml:
11973           cleanup xml (more to come)
11974         * libs/gst/controller/gstcontroller.c:
11975           fix typo
11976
11977 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11978         
11979         * win32/vs6/grammar.dsp:
11980           add autogen of gstmarshal.c,h for Release mode
11981                 
11982 2006-01-30  Wim Taymans  <wim@fluendo.com>
11983
11984         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11985         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11986         (gst_base_sink_handle_object), (gst_base_sink_event),
11987         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11988         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11989         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11990         (gst_base_sink_deactivate), (gst_base_sink_activate),
11991         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11992         (gst_base_sink_query), (gst_base_sink_change_state):
11993         Basesink cleanups, remove some old code.
11994         Handle the case where a subclass can preroll in the render
11995         method (mostly audiosinks).
11996         Handle more events.
11997         Remove some locks around variables that are now protected
11998         with the PREROLL_LOCK (clock_id, flushing, ..).
11999         Optimize position query some more, do correct locking.
12000         Remove old code to push queue in state change, this is not
12001         needed anymore since preroll blocks on all prerollable items 
12002         now.
12003         Almost implemented as described in design doc.
12004
12005 2006-01-30  Wim Taymans  <wim@fluendo.com>
12006
12007         * tests/check/gst/gstbin.c: (GST_START_TEST):
12008         Wait for refcount to settle down before checking.
12009
12010 2006-01-30  Wim Taymans  <wim@fluendo.com>
12011
12012         * docs/design/part-element-sink.txt:
12013         Pseudo code overview of desired sink behaviour regarding
12014         preroll.
12015
12016 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12017         * win32/vs6/grammar.dsp:
12018           fix some bugs in Release mode for autogenerated files
12019                 
12020 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12021         * win32/common/libgstbase.def:
12022         * win32/common/libgstreamer.def:
12023           export some new symbols: gst_base_src_set_format,
12024           gst_iterator_next, gst_structure_set_valist
12025
12026 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12027
12028         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12029         Set pad functions unconditionally. Fixes #329105.
12030
12031 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12032         * win32/vs8:
12033           add vs8 project files created by Sergey Scobich
12034
12035 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12036
12037         * gst/gstutils.c: (gst_element_unlink_pads):
12038         Don't leak pad references.
12039
12040         * tests/check/elements/fakesink.c: (GST_START_TEST):
12041         * tests/check/generic/sinks.c: (GST_START_TEST):
12042         * tests/check/generic/states.c: (GST_START_TEST):
12043         * tests/check/gst/gstbin.c: (GST_START_TEST):
12044         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12045         * tests/check/gst/gstelement.c: (GST_START_TEST):
12046         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12047         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12048         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12049         Fix a bunch of leaks. Make generic/sinks.c
12050         use a bit less cpu by slowing the buffer rate
12051         between fakesrc and fakesink.
12052         
12053 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12054         * gst/gstcaps.c:
12055         * gst/gstelement.c: (gst_element_send_event):
12056         * gst/gstevent.c:
12057         * gst/gstinfo.c:
12058         * gst/gstiterator.c:
12059         * gst/gstiterator.h:
12060         * gst/gstpad.c: (gst_pad_send_event):
12061         * gst/gststructure.c:
12062         * gst/gsturi.c:
12063         * gst/gstutils.c:
12064         * gst/gstvalue.c:
12065         * libs/gst/base/gstadapter.c:
12066           doc fixes, to link to function, just write gst_cool_function(), don't
12067           prefix with '#'
12068
12069 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12070
12071         * plugins/elements/gsttee.c: (gst_tee_do_push),
12072         (gst_tee_handle_buffer):
12073         Always prefer an actual return value from a src
12074         pad in place of NOT_LINKED. This means we return
12075         WRONG_STATE when all src pads are WRONG_STATE
12076         instead of NOT_LINKED.
12077
12078         Lock when replacing the last message to prevent
12079         racing with the get_property method.
12080
12081         Add debug output
12082
12083 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12084
12085         * tests/check/Makefile.am:
12086         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12087         (main):
12088         Add a very simple check that should have caught the memleak I fixed
12089         last night (if not for the slice allocator hiding it)
12090
12091 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12092
12093         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12094         (gst_bin_remove_func), (gst_bin_handle_message_func),
12095         (bin_query_duration_fold), (bin_query_generic_fold):
12096         Clean up references to the clock provider when disposed or when
12097         handling a clock-lost message from it.
12098
12099         Unref sinks when performing a query via gst_iterator_fold, as the
12100         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12101
12102         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12103         (gst_clock_set_master):
12104         Drop our reference to the master clock, if any, when we are disposed.
12105
12106         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12107         Chain up in dispose. 
12108
12109 2006-01-26  Wim Taymans  <wim@fluendo.com>
12110
12111         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12112         Add some debugging.
12113
12114 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12115
12116         * plugins/elements/gsttee.c: (gst_tee_do_push),
12117         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12118         handles pad being NOT_LINKED or in WRONG_STATE.
12119
12120 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12121
12122         * win32/MANIFEST:
12123           more updating
12124
12125 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12126
12127         * win32/MANIFEST:
12128           remove obsolete entry
12129
12130 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12131
12132         * docs/gst/gstreamer-sections.txt:
12133         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12134         (gst_bin_iterate_sources), (gst_bin_send_event):
12135         * gst/gstbin.h:
12136         * gst/gstelement.c: (gst_element_send_event):
12137         * gst/gstevent.c:
12138         * gst/gstpad.c: (gst_pad_send_event):
12139           added code for downstream events, reviewed docs in gstevent.c
12140
12141 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12142
12143         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12144         We only query position using the clock in the playing state.
12145         Query peer in the other cases.
12146         * win32/common/config.h: Updates.
12147
12148 2006-01-24  Wim Taymans  <wim@fluendo.com>
12149
12150         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12151         A clock entry that is scheduled for the exact time of the
12152         clock is still in time.
12153
12154         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12155         (gst_base_sink_do_sync):
12156         Add some more debug info.
12157
12158 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12159
12160         * win32/vs7:
12161           Add new vs7 project files and solution.
12162
12163 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12164
12165         * win32/vs7:
12166           all files removed as they were out-dated.
12167
12168 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12169
12170         * docs/random/release:
12171           update notes
12172         * gst/gstbin.c: (gst_bin_init):
12173         * gst/gstbus.c: (gst_bus_new):
12174         * gst/gstbus.h:
12175         * gst/gstpipeline.c: (gst_pipeline_init):
12176           use gst_bus_new(), improve logging, fix docs
12177         * win32/common/config.h:
12178           update for cvs build
12179
12180 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12181
12182         * autogen.sh:
12183           up required version of automake to 1.7
12184
12185 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12186
12187         * win32/common/libgstreamer.def:
12188           export gst_buffer_is_metadata_writable
12189
12190 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12191
12192         * docs/gst/gstreamer-sections.txt:
12193         * gst/gstevent.h:
12194           Add gst_event_replace() (#327001)
12195
12196 2006-01-20  Wim Taymans  <wim@fluendo.com>
12197
12198         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12199         Make it actually compile too..
12200
12201 2006-01-20  Wim Taymans  <wim@fluendo.com>
12202
12203         * gst/gstcaps.c:
12204         Clarify behaviour of _is_equal() when passing NULL parameters.
12205
12206         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12207         (gst_pad_set_caps):
12208         Cleanups. Don't unref NULL caps.
12209         When setting the same caps, protect caps of the pad with
12210         proper lock.
12211         Use full functionality of _is_equal() when comparing caps.
12212
12213 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12214
12215         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12216         Don't loop infinitely if there are no buffers to present. Partially
12217         fixes #327197, but collectpads is just broken for reusing elements
12218         to do multiple encodes atm.
12219
12220 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12221
12222         * tools/gst-inspect.c: (print_element_features):
12223         * tools/gst-xmlinspect.c: (main):
12224         URL_HANDLER is not a plugin feature we can search for in
12225         the registry.
12226
12227 2006-01-19  Edward Hervey  <edward@fluendo.com>
12228
12229         * gst/gstelement.c: (gst_element_pads_activate): 
12230         When activating, do src pads first, then sink pads.
12231         When de-activating, do sink pads first, then src pads.
12232
12233 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12234
12235         * docs/gst/gstreamer-sections.txt:
12236         Add gst_index_add_associationv to the docs
12237
12238 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12239
12240         * gst/gstevent.c:
12241           Fix docs typo
12242
12243         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12244         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12245           Do some refactoring. Doesn't actually change functionality,
12246           but makes landing the DRAIN event easier later.
12247
12248 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12249
12250         * docs/pwg/advanced-scheduling.xml:
12251           Update from 0.9.x to 0.10 API and make example a bit
12252           clearer.
12253
12254 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12255
12256         * docs/gst/gstreamer-sections.txt:
12257         Add gst_buffer_(is|make)_metadata_writable methods.
12258
12259 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12260
12261         * docs/design/part-sparsestreams.txt:
12262         Update sparse streams doc, hopefully for greater clarity
12263
12264 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12265
12266         * docs/design/part-events.txt:
12267         Remove mention of FILLER events.
12268         Add DRAIN event.
12269
12270         * docs/design/part-sparsestreams.txt:
12271         Write some things about using NEWSEGMENT to keep sparse streams
12272         flowing.
12273
12274 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12275
12276         * gst/gstbin.c: (gst_bin_dispose):
12277           Guard gst_object_unref call against a NULL object (dispose
12278           can theoretically be called multiple times).
12279           
12280 2006-01-18  Wim Taymans  <wim@fluendo.com>
12281
12282         * gst/gstbin.c: (gst_bin_element_set_state):
12283         * gst/gstclock.c: (gst_clock_id_wait):
12284         Added some more debug info.
12285
12286         * libs/gst/base/gstadapter.c:
12287         Added more docs.
12288
12289         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12290         (gst_base_sink_do_sync), (gst_base_sink_chain):
12291         Added some comments.
12292
12293 2006-01-18  Wim Taymans  <wim@fluendo.com>
12294
12295         * tests/check/Makefile.am:
12296         * tests/check/elements/fakesink.c: (chain_async_buffer),
12297         (chain_async), (chain_async_return), (GST_START_TEST),
12298         (fakesink_suite), (main):
12299         Added fakesink test that checks prerolling and clipping
12300         behaviour.
12301
12302         * tests/check/gst/gstutils.c: (GST_START_TEST):
12303         Make check run faster so that buildbots don't timeout.
12304
12305 2006-01-18  Wim Taymans  <wim@fluendo.com>
12306
12307         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12308         (gst_base_sink_do_sync):
12309         Some cleanups.
12310         When the sink finishes blocking on the preroll buffer, it can
12311         immediatly render it instead of rendering when the next buffer
12312         arrives.
12313
12314 2006-01-18  Wim Taymans  <wim@fluendo.com>
12315
12316         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12317         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12318         (gst_base_sink_chain):
12319         Small cleanups.
12320         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12321         Don't store _last_stop if the buffer is dropped.
12322
12323 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12324
12325         * plugins/elements/gsttypefindelement.c:
12326         (gst_type_find_element_class_init):
12327           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12328           object method handler that sets the caps on the pad and we want
12329           that to happen before we emit the signal (fixes e.g. feeding a
12330           plain text file to decodebin).
12331
12332 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12333
12334         * gst/gstplugin.c: Add MPL and Proprietary as license options
12335
12336 2006-01-18  Andy Wingo  <wingo@pobox.com>
12337
12338         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12339         symbol was exported before, it appears this was just an oversight.
12340         Fixes #168703.
12341         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12342
12343         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12344         prototype to gint. OK since this prototype was not in the header.
12345
12346 2006-01-17  Andy Wingo  <wingo@pobox.com>
12347
12348         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12349         registry while we remove plugins.
12350
12351         * tools/gst-inspect.c (print_element_info): Don't unref the
12352         factory arg, that should be the responsibility of whatever code
12353         received the ref. Fixes a double-free when called from
12354         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12355         (main): Unref the factory if we have one.
12356         (print_element_list): No change -- relies on the
12357         plugin_feature_list_free to free the list of features.
12358
12359 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12360
12361         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12362         (gst_buffer_make_metadata_writable):
12363         * gst/gstbuffer.h:
12364         * libs/gst/base/gstbasetransform.c:
12365         (gst_base_transform_prepare_output_buf):
12366         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12367         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12368           Replace gst_buffer_(make|is)_metadata_writable patch now
12369           that the release is out.
12370
12371 2006-01-17  Andy Wingo  <wingo@pobox.com>
12372
12373         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12374         in the present tense without reference to versions.
12375
12376         * gst/gstregistry.c (gst_registry_add_plugin)
12377         (gst_registry_remove_plugin, gst_registry_remove_feature)
12378         (gst_registry_find_feature, gst_registry_get_feature_list)
12379         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12380         (gst_registry_lookup, gst_registry_scan_path)
12381         (_gst_registry_remove_cache_plugins)
12382         (gst_registry_get_feature_list_by_plugin): Add argument
12383         validation.
12384
12385 === release 0.10.2 ===
12386
12387 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12388
12389         * configure.ac:
12390           releasing 0.10.2, "If man is five"
12391
12392 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12393
12394         * gst/gstbuffer.c:
12395         * gst/gstbuffer.h:
12396         * libs/gst/base/gstbasetransform.c:
12397         (gst_base_transform_prepare_output_buf):
12398         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12399         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12400           Back out patch until after the release.
12401
12402 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12403
12404         * gst/gstminiobject.c:
12405           Spelling fix in docs.
12406         * ChangeLog - remove conflict indicator
12407
12408 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12409
12410         Reviewed By: Andy Wingo
12411
12412         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12413         (gst_buffer_make_metadata_writable):
12414         * gst/gstbuffer.h:
12415           Add gst_buffer_(is|make)_metadata_writable as analogues of
12416           gst_buffer_(is|make)_writable.
12417
12418         * libs/gst/base/gstbasetransform.c:
12419         (gst_base_transform_prepare_output_buf):
12420         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12421           Use name gst_buffer_(is|make)_metadata_writable functions.
12422
12423         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12424           Test gst_buffer_(is|make)_metadata_writable
12425         
12426           (Closes: #324162)
12427
12428 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12429
12430         * docs/manual/Makefile.am:
12431           don't do parallel make
12432         * configure.ac:
12433           AC_SUBST HOST_CPU
12434         * win32/common/config.h.in:
12435           add generations for HOST_CPU and GST_MAJORMINOR
12436         * win32/common/config.h:
12437           commit generated result
12438
12439 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12440
12441         * docs/manual/appendix-integration.xml:
12442           Update GNOME integration section to use gst_init_get_option_group()
12443           instead of the old popt stuff (#322911). Also, GNOME applications
12444           should  now use gconf*sink and gconf*src instead of the old gconf
12445           helper lib we had.
12446
12447 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12448
12449
12450         * docs/gst/gstreamer-docs.sgml:
12451         * docs/gst/gstreamer-sections.txt:
12452         * docs/libs/gstreamer-libs-sections.txt:
12453           add new API entries to the docs
12454         * libs/gst/controller/Makefile.am:
12455         * libs/gst/controller/gstcontroller.c:
12456         * libs/gst/controller/gstcontroller.h:
12457         * libs/gst/controller/gstcontrollerprivate.h:
12458         * libs/gst/controller/gsthelper.c:
12459         * libs/gst/controller/gstinterpolation.c:
12460           move private structs to private header
12461         * po/README:
12462           gstreamer-0.7 -> gstreamer-0.10
12463         * tests/check/libs/struct_i386.h:
12464           remove private structs
12465
12466 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12467
12468         * plugins/indexers/Makefile.am:
12469           Fixes as part of #317048
12470
12471 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12472
12473         * plugins/indexers/Makefile.am:
12474           fix #316086 - compilation when mmap is missing
12475
12476 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12477
12478         * libs/gst/base/gstbasesink.c:
12479           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12480           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12481         * win32/common/config.h:
12482           added some defines GST_MAJORMINOR and HOST_CPU
12483         * win32/common/libgstbase.def:
12484         * win32/common/libgstreamer.def:
12485           added some exported functions.
12486
12487 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12488
12489         * libs/gst/controller/gstcontroller.c:
12490         (gst_controlled_property_set_interpolation_mode),
12491         (gst_controlled_property_new):
12492         * libs/gst/controller/gstcontroller.h:
12493         * libs/gst/controller/gstinterpolation.c:
12494         (interpolate_none_get_string_value_array):
12495           make G_TYPE_STRING controlable
12496
12497 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12498
12499         * tools/README:
12500         * tools/gst-feedback.1.in:
12501         * tools/gst-inspect.1.in:
12502         * tools/gst-launch.1.in:
12503         * tools/gst-md5sum.1.in:
12504         * tools/gst-typefind.1.in:
12505         * tools/gst-xmlinspect.1.in:
12506         * tools/gst-xmllaunch.1.in:
12507           cleanup man-pages, remove reference to gst-register, document env-vars
12508
12509 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12510
12511         * gst/gstbuffer.c: (gst_buffer_span):
12512           gst_buffer_span should copy the timestamp of the first buffer
12513           if they were both originally overlapping subbuffers of the 
12514           same parent, using the same logic as the 'slow copy' case.
12515
12516 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12517
12518         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12519           Need to awaken ALL the pads when we pop a buffer, otherwise
12520           collectpads only works when there is 2 input streams.
12521
12522 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12523
12524         * docs/random/ensonic/media-device-daemon.txt:
12525           more ideas (dbus)
12526         * gst/gstbuffer.c:
12527           fix doc example, add clarification
12528         * tools/gst-launch.1.in:
12529           add initial info about GST_PLUGIN_PATH, needs more work
12530
12531 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12532
12533         * docs/manual/basics-bins.xml:
12534         * docs/manual/basics-elements.xml:
12535         * docs/manual/intro-basics.xml:
12536           Some more minor docs additions and updates.
12537
12538 2006-01-11  Wim Taymans  <wim@fluendo.com>
12539
12540         * docs/manual/basics-bins.xml:
12541         * docs/manual/basics-elements.xml:
12542         Some small fixes as pointed out by Ser-ver on IRC.
12543
12544 2006-01-10  Edward Hervey  <edward@fluendo.com>
12545
12546         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12547         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12548         the single-segment mode.
12549
12550 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12551
12552         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12553
12554         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12555         (gst_base_src_perform_seek), (gst_base_src_send_event),
12556         (gst_base_src_set_property), (gst_base_src_get_property),
12557         (gst_base_src_loop), (gst_base_src_start),
12558         (gst_base_src_activate_push):
12559         * libs/gst/base/gstbasesrc.h:
12560           Name (private) union; makes Sun's Forte compiler happy (#324900).
12561
12562 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12563
12564         * README:
12565           gst-register is gone.
12566
12567 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12568
12569         * gst/gstvalue.c: (_gst_value_initialize):
12570           make the G_TYPE_DATE instantiation work if debug is disabled
12571
12572 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12573
12574         * gst/gstmessage.c: (gst_message_parse_tag),
12575         (gst_message_parse_error), (gst_message_parse_warning):
12576           Don't crash when return location for error/warning debug
12577           string is NULL; add fact that return locations can be
12578           NULL to docs where appropriate.
12579
12580 2006-01-05  Wim Taymans  <wim@fluendo.com>
12581
12582         * gst/gstplugin.c: (gst_plugin_load_file):
12583         Replace strdup by g_strdup.
12584
12585 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12586
12587         * docs/pwg/advanced-types.xml:
12588           fix doc borkage
12589
12590 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12591
12592         submitted by: Abel Cheung
12593
12594         * po/LINGUAS:
12595         * po/zh_TW.po:
12596           Added Chinese (traditional) translation
12597
12598 2006-01-04  Wim Taymans  <wim@fluendo.com>
12599
12600         * docs/manual/basics-pads.xml:
12601         * docs/plugins/Makefile.am:
12602         * docs/plugins/gstreamer-plugins-docs.sgml:
12603         * docs/plugins/gstreamer-plugins-sections.txt:
12604         * docs/pwg/advanced-clock.xml:
12605         * docs/pwg/advanced-scheduling.xml:
12606         * docs/pwg/advanced-types.xml:
12607         * plugins/elements/gstfdsink.c:
12608         * plugins/elements/gstfdsrc.c:
12609         * plugins/elements/gstfdsrc.h:
12610         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12611         * plugins/elements/gstidentity.h:
12612         * plugins/elements/gstqueue.h:
12613         * plugins/elements/gsttee.c:
12614         * plugins/elements/gsttee.h:
12615         * plugins/elements/gsttypefindelement.c:
12616         (gst_type_find_element_class_init):
12617         * plugins/elements/gsttypefindelement.h:
12618         Small updates to various docs.
12619         Added core plugins to docs.
12620
12621 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12622
12623         * common/gst.supp:
12624           add a suppression for liboil's uninitialized variable
12625
12626 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12627
12628         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12629
12630         * gst/gstutils.h:
12631           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12632           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12633           compiler switch is being used (#325429).
12634
12635 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12636
12637         * gst/gstbin.c: (gst_bin_query):
12638           Disable duration query caching in bins until it gets
12639           fixed (see #324807).
12640
12641 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12642
12643         * tools/gst-inspect.c: (print_element_properties_info):
12644           Handle properties of POINTER and BOXED type.
12645
12646 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12647
12648         * gst/gst.c: (init_post):
12649           Init tags stuff and some other things before loading
12650           any static plugins (there may be other static plugins
12651           than just the GStreamer ones, and they may want to
12652           register their own tags or formats or whatever, and
12653           preferably without segfaulting).
12654
12655         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12656           Print at least a warning in the debug logs if we drop a
12657           query just because we don't know how to adjust the value
12658           in the particular format.
12659
12660 2005-12-24  David Schleef  <ds@schleef.org>
12661
12662         * tools/gstreamer-completion:
12663           Replacement for gst-complete written in sh and sed.  Only
12664           completes names of features, but that's 90% of what I want
12665           it for.  Properties are not available in registry.xml.  (Maybe
12666           they should be...)
12667
12668 === release 0.10.1 ===
12669
12670 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12671
12672         * configure.ac:
12673           releasing 0.10.1, "Nollaig chridheil"
12674
12675 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12676
12677         * docs/faq/cvs.xml:
12678           Add missing quote, should be make ERROR_CFLAGS="".
12679
12680 2005-12-20  Wim Taymans  <wim@fluendo.com>
12681
12682         * docs/design/part-trickmodes.txt:
12683         More documentation on trickmodes.
12684
12685 2005-12-20  Edward Hervey  <edward@fluendo.com>
12686
12687         * gst/gstcaps.c: (gst_static_caps_get_type):
12688         * gst/gstcaps.h:
12689           API addition: GST_TYPE_STATIC_CAPS
12690         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12691         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12692         * gst/gstpadtemplate.h:
12693           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12694         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12695         bindings.
12696
12697 2005-12-18  Wim Taymans  <wim@fluendo.com>
12698
12699         * libs/gst/base/gstadapter.c:
12700         * libs/gst/base/gstadapter.h:
12701         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12702         (gst_base_sink_get_position):
12703         * libs/gst/base/gstbasesink.h:
12704         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12705         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12706         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12707         (gst_base_src_send_event), (gst_base_src_update_length),
12708         (gst_base_src_get_range), (gst_base_src_loop),
12709         (gst_base_src_start):
12710         * libs/gst/base/gstbasesrc.h:
12711         * libs/gst/base/gstbasetransform.h:
12712         * libs/gst/base/gstcollectpads.h:
12713         * libs/gst/base/gstpushsrc.c:
12714         * libs/gst/base/gstpushsrc.h:
12715         * libs/gst/dataprotocol/dataprotocol.c:
12716         * libs/gst/dataprotocol/dataprotocol.h:
12717         * libs/gst/net/gstnetclientclock.h:
12718         * libs/gst/net/gstnettimeprovider.h:
12719         Documentation updates.
12720
12721 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12722
12723         * docs/manual/basics-helloworld.xml:
12724           Remove superfluous closing bracket in helloworld example.
12725
12726 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12727
12728         * tools/gst-launch.1.in:
12729           Update gst-launch man page; add a section with useful
12730           environment variables. Fixes #323882.
12731
12732 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12733
12734         * gst/gst.c:
12735         * gst/gst_private.h:
12736           change some char* into char[]
12737
12738 2005-12-16  Wim Taymans  <wim@fluendo.com>
12739
12740         * gst/gstregistryxml.c: (load_feature):
12741         Cleanups.
12742         Don't use g_object_unref on GstObjects so that we avoid
12743         leaks on unsafe glibs.
12744
12745 2005-12-16  Wim Taymans  <wim@fluendo.com>
12746
12747         * gst/gstbin.c: (gst_bin_recalc_state):
12748         Small doc updates.
12749
12750 2005-12-16  Wim Taymans  <wim@fluendo.com>
12751
12752         * common/check.mak:
12753         Added make forever target for check.
12754
12755 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12756
12757         * gst/gst.c: (init_post):
12758           make the registry cache file HOST_CPU-dependent
12759
12760 2005-12-16  Andy Wingo  <wingo@pobox.com>
12761
12762         * plugins/elements/gstbufferstore.c
12763         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12764         return value.
12765
12766         * tests/check/gst/gstobject.c
12767         (test_fake_object_name_threaded_unique): Pay attention to
12768         g_list_sort return value.
12769
12770 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12771
12772         * tools/gst-feedback-m.m:
12773           Update for 0.9/0.10 (fixes #323870).
12774
12775 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12776
12777         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12778           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12779           
12780         * tests/check/gst/gstminiobject.c: (my_foo_init),
12781         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12782         (test_value_collection), (gst_mini_object_suite):
12783           Add test to ensure refcounts end up as expected when passing
12784           GstMiniObjects through g_object_get() and g_object_set().
12785
12786 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12787
12788         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12789         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12790         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12791         of collectpads. This version removes a lot of races without
12792         touching API/ABI. Yay !
12793
12794 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12795
12796         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12797           Don't allow activation of a srcpad in pull_range if it has no
12798           getrange function.
12799           Change some debug statements to be a little clearer
12800
12801         * plugins/elements/gsttypefindelement.c:
12802         (gst_type_find_handle_src_query):
12803           Check that we have a peer before executing queries thereupon.
12804
12805         * tests/examples/metadata/read-metadata.c: (message_loop):
12806           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12807           immediately return us any available message with 0 timeout.
12808
12809 2005-12-12  Michael Smith  <msmith@fluendo.com>
12810
12811         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12812           Don't unref factories after calling them.
12813         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12814         * plugins/elements/gsttypefindelement.c:
12815         (gst_type_find_element_chain):
12816           Free lists of factories after using them. Fixing typefinding memory
12817           leaks.
12818
12819 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12820
12821         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12822         (gst_plugin_feature_load):
12823           more meaningful debug output
12824         * configure.ac:
12825         * tests/Makefile.am:
12826         * tests/old/examples/Makefile.am:
12827           make make distcheck happy again
12828
12829 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12830
12831         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12832           Catch the special case where we are operating chain-based,
12833           but the downstream peer pad has no chain function. Emit a
12834           custom error message in this case instead of letting the
12835           core generate one implying that this is some sort of core
12836           bug. It's not, it just means that whatever got plugged
12837           into the pipeline downstream when we announced the type
12838           can only operate pull-based, while our source can only
12839           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12840           Error string has not been marked for translation yet, as
12841           it probably needs some more work first.
12842
12843         (gst_type_find_element_get_best_possibility):
12844           Add helper function to find the best of all available
12845           found possibilities that qualify given the min. threshold.
12846
12847         (gst_type_find_element_handle_event):
12848           Fix the case where we get an EOS while still in TYPEFIND
12849           mode (we want to chose the best of all possible types,
12850           not just the first type that happens to be in our unsorted
12851           list of possible types).
12852
12853         (gst_type_find_element_chain):
12854           Make sure we return GST_FLOW_ERROR when we errored out
12855           in stop_typefinding(); also, don't just find the best of
12856           all found type entries and then use the last examined
12857           type entry, but actually use the best entry.
12858
12859 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12860
12861         * tests/examples/typefind/typefind.c: (type_found):
12862         * tests/examples/xml/runxml.c: (xml_loaded):
12863           More gcc4 fixes and a mem leak fix.
12864
12865 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12866
12867         * tests/examples/xml/createxml.c: (object_saved):
12868           gcc 4 fixes
12869
12870 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12871
12872         * tests/Makefile.am:
12873           enable the examples even more
12874
12875 2005-12-12  Andy Wingo  <wingo@pobox.com>
12876
12877         * libs/gst/net/gstnettimeprovider.c
12878         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12879         (gst_net_time_provider_set_property)
12880         (gst_net_time_provider_get_property):
12881         API addition: Export "active" as a GObject property.
12882         (gst_net_time_provider_thread): Only respond to time queries if
12883         the time provider is active.
12884
12885         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12886         NetTimeProvider, preserving binary compat.
12887
12888 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12889
12890         * tests/examples/controller/audio-example.c: (main):
12891         * tests/examples/launch/Makefile.am:
12892           convert comments again
12893
12894 2005-12-12  Wim Taymans  <wim@fluendo.com>
12895
12896         * libs/gst/base/gstpushsrc.c:
12897         Fix typo.
12898
12899 2005-12-12  Wim Taymans  <wim@fluendo.com>
12900
12901         * docs/libs/gstreamer-libs-sections.txt:
12902         Added new symbol to docs.
12903
12904         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12905         (gst_base_src_init), (gst_base_src_set_format),
12906         (gst_base_src_default_query), (gst_base_src_query),
12907         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12908         (gst_base_src_perform_seek), (gst_base_src_send_event),
12909         (gst_base_src_default_event), (gst_base_src_event_handler),
12910         (gst_base_src_set_property), (gst_base_src_get_property),
12911         (gst_base_src_wait), (gst_base_src_do_sync),
12912         (gst_base_src_update_length), (gst_base_src_get_range),
12913         (gst_base_src_check_get_range), (gst_base_src_loop),
12914         (gst_base_src_default_negotiate), (gst_base_src_start),
12915         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12916         (gst_base_src_change_state):
12917         * libs/gst/base/gstbasesrc.h:
12918         Implement seeking to other formats than _BYTES.
12919         Implement more seeking methods correctly.
12920         Doc updates.
12921         Added query vmethod.
12922         Added do_seek vmethod to make life easier for subclasses
12923         when seeking.
12924         API addition: gst_base_src_set_format()
12925
12926 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12927
12928         * tests/examples/Makefile.am:
12929           added that too
12930
12931 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12932
12933         * configure.ac:
12934         * docs/random/ensonic/media-device-daemon.txt:
12935         * tests/examples/controller/.cvsignore:
12936         * tests/examples/controller/Makefile.am:
12937         * tests/examples/controller/audio-example.c: (main):
12938         * tests/examples/helloworld/.cvsignore:
12939         * tests/examples/helloworld/Makefile.am:
12940         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12941         * tests/examples/launch/.cvsignore:
12942         * tests/examples/launch/Makefile.am:
12943         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12944         * tests/examples/metadata/.cvsignore:
12945         * tests/examples/metadata/Makefile.am:
12946         * tests/examples/metadata/read-metadata.c: (message_loop),
12947         (make_pipeline), (print_tag), (main):
12948         * tests/examples/queue/.cvsignore:
12949         * tests/examples/queue/Makefile.am:
12950         * tests/examples/queue/queue.c: (event_loop), (main):
12951         * tests/examples/typefind/.cvsignore:
12952         * tests/examples/typefind/Makefile.am:
12953         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12954         (main):
12955         * tests/examples/xml/.cvsignore:
12956         * tests/examples/xml/Makefile.am:
12957         * tests/examples/xml/createxml.c: (object_saved), (main):
12958         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12959         * tests/old/examples/Makefile.am:
12960         * tests/old/examples/TODO:
12961         * tests/old/examples/controller/.cvsignore:
12962         * tests/old/examples/controller/Makefile.am:
12963         * tests/old/examples/controller/audio-example.c:
12964         * tests/old/examples/helloworld/.cvsignore:
12965         * tests/old/examples/helloworld/Makefile.am:
12966         * tests/old/examples/helloworld/helloworld.c:
12967         * tests/old/examples/launch/.cvsignore:
12968         * tests/old/examples/launch/Makefile.am:
12969         * tests/old/examples/launch/mp3parselaunch.c:
12970         * tests/old/examples/launch/mp3play:
12971         * tests/old/examples/manual/Makefile.am:
12972         * tests/old/examples/metadata/Makefile.am:
12973         * tests/old/examples/metadata/read-metadata.c:
12974         * tests/old/examples/queue/.cvsignore:
12975         * tests/old/examples/queue/Makefile.am:
12976         * tests/old/examples/queue/queue.c:
12977         * tests/old/examples/typefind/.cvsignore:
12978         * tests/old/examples/typefind/Makefile.am:
12979         * tests/old/examples/typefind/typefind.c:
12980         * tests/old/examples/xml/.cvsignore:
12981         * tests/old/examples/xml/Makefile.am:
12982         * tests/old/examples/xml/createxml.c:
12983         * tests/old/examples/xml/runxml.c:
12984           applied some simple fixing to some examples
12985           re-enabled the working examples
12986
12987 2005-12-12  Wim Taymans  <wim@fluendo.com>
12988
12989         * gst/gstsegment.c: (gst_segment_init),
12990         (gst_segment_set_last_stop), (gst_segment_set_seek),
12991         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12992         (gst_segment_to_running_time):
12993         Added more documentation.
12994         Make sure the last_pos value is updated properly.
12995         Make sure to_stream_time and to_running_time don't
12996         operate on wrong values.
12997
12998         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12999         Update check.
13000
13001 2005-12-12  Michael Smith  <msmith@fluendo.com>
13002
13003         * plugins/elements/gsttypefindelement.c: (free_entry),
13004         (gst_type_find_element_chain):
13005           Now that we're not leaking factories, make sure we keep references
13006           to them while we need them.
13007
13008 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13009
13010         * tests/check/gst/struct_i386.h:
13011           ifdef out the XML structs
13012
13013 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13014
13015         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13016           floor is not needed, F is always positive; this obviates the
13017           need for adding -lm when building without libxml
13018
13019 2005-12-12  Wim Taymans  <wim@fluendo.com>
13020
13021         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13022         Take current playback rate into account when reporting
13023         the position.
13024
13025 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13026
13027         * docs/manual/mime-world.fig:
13028           Let's try this again, this time with a file that is
13029           actually in XFig format.
13030
13031 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13032
13033         * docs/manual/mime-world.fig:
13034           Add audioconvert element to diagram so that it
13035           matches the text and the code (fixes #319526).
13036
13037 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13038
13039         * docs/pwg/building-chainfn.xml:
13040         * docs/pwg/building-pads.xml:
13041         * docs/pwg/building-state.xml:
13042         * docs/pwg/other-source.xml:
13043           Update state change stuff for 0.10 (fixes #322969).
13044
13045 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13046
13047         * docs/manual/advanced-dataaccess.xml:
13048         * docs/manual/appendix-checklist.xml:
13049         * docs/manual/appendix-programs.xml:
13050         * docs/manual/basics-pads.xml:
13051         * docs/manual/highlevel-components.xml:
13052         * docs/manual/manual.xml:
13053           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13054           add converters in front of pipelines; remove curly
13055           brackets for threads stuff, they no longer exist; use
13056           GST_TYPE_FRACTION for framerates; update some pieces of
13057           code to 0.10, but there's plenty more to do.
13058
13059         * docs/manual/appendix-porting.xml:
13060           Expand on asynchroneous state changes; s/0.9/0.10/;
13061           mention disappearance of gst_init_get_popt_table()
13062           (fixes #322916).
13063
13064 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13065
13066         * docs/faq/using.xml:
13067           Spider no longer exists, and neither does gst-launch-ext.
13068           Update examples to use decodebin and playbin and put
13069           converters in front of sinks (fixes #323726).
13070
13071 2005-12-09  Michael Smith  <msmith@fluendo.com>
13072
13073         * plugins/elements/gsttypefindelement.c: (find_peek),
13074         (gst_type_find_element_chain):
13075           Fix leaking element factories in typefinding.
13076           Fix problem where we forgot about a probable type on non-seekable
13077           files, and thus later mis-typefound it.
13078
13079 2005-12-09  Michael Smith  <msmith@fluendo.com>
13080
13081         * common/m4/gst-makecontext.m4:
13082         * common/m4/gst-mcsc.m4:
13083         * configure.ac:
13084         * win32/common/config.h:
13085         * win32/common/config.h.in:
13086           Remove makecontext stuff; not used in 0.10 and causes problems on
13087           HPUX according to bug #322441
13088
13089 2005-12-07  Wim Taymans  <wim@fluendo.com>
13090
13091         * tests/check/Makefile.am:
13092         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13093         (main):
13094         * tests/check/libs/struct_i386.h:
13095         Added ABI check for libs
13096
13097 2005-12-07  Wim Taymans  <wim@fluendo.com>
13098
13099         * tests/check/Makefile.am:
13100         And add the struct_i386.h to dist.
13101
13102 2005-12-07  Wim Taymans  <wim@fluendo.com>
13103
13104         * tests/check/Makefile.am:
13105         * tests/check/gst/.cvsignore:
13106         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13107         (main):
13108         * tests/check/gst/struct_i386.h:
13109         Added check for ABI compatibility.
13110
13111 2005-12-07  Wim Taymans  <wim@fluendo.com>
13112
13113         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13114         (gst_fake_src_get_times), (gst_fake_src_create):
13115         Fix broken sync option, fixes #323259
13116
13117 2005-12-07  Wim Taymans  <wim@fluendo.com>
13118
13119         * gst/gstbuffer.c:
13120         Small docs update.
13121
13122         * gst/gstcaps.c: (gst_caps_is_equal):
13123         Don't assert on NULL <--> X. Fixes #323260
13124
13125         * gst/gstminiobject.c: (gst_mini_object_replace):
13126         If we're doing atomic operations, we might just as well use
13127         the proper way to get an atomic pointer.
13128
13129         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13130         Clean up debugging.
13131
13132 2005-12-07  Michael Smith  <msmith@fluendo.com>
13133
13134         * gst/parse/grammar.y:
13135           Remove handling of { } for threads.
13136
13137 2005-12-06  David Schleef  <ds@schleef.org>
13138
13139         * libs/gst/base/gstbasetransform.c: speling fix.
13140
13141 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13142
13143         * docs/libs/tmpl/gstdataprotocol.sgml:
13144         * docs/random/omega/testing/gstobject.c:
13145         * gst/gst.c:
13146         * gst/gstclock.c:
13147         * gst/gstelement.c:
13148         * gst/gstelementfactory.c:
13149         * gst/gsterror.c:
13150         * gst/gstevent.c:
13151         * gst/gstghostpad.c:
13152         * gst/gstinfo.c:
13153         * gst/gstpadtemplate.c:
13154         * gst/gstregistryxml.c:
13155         * gst/gsttaglist.c:
13156         * gst/gsttagsetter.c:
13157         * gst/gsttypefind.c:
13158         * gst/gstvalue.c:
13159         * libs/gst/base/gstbasesrc.c:
13160         * libs/gst/net/gstnetclientclock.c:
13161         * libs/gst/net/gstnettimeprovider.c:
13162         * plugins/elements/gstfakesrc.c:
13163         * plugins/elements/gstfdsrc.c:
13164         * plugins/elements/gstfilesrc.c:
13165         * plugins/elements/gstidentity.c:
13166         * plugins/elements/gstqueue.c:
13167         * plugins/elements/gsttypefindelement.c:
13168         * plugins/indexers/gstfileindex.c:
13169         * plugins/indexers/gstmemindex.c:
13170         * tests/check/gst/gsttag.c:
13171         * tests/old/examples/cutter/cutter.c:
13172         * tests/old/examples/mixer/mixer.c:
13173         * tests/old/examples/xml/runxml.c: (main):
13174         * tests/old/testsuite/caps/normalisation.c:
13175         * tests/old/testsuite/debug/global.c:
13176         * tests/old/testsuite/parse/parse1.c:
13177         * tools/gst-xmlinspect.c:
13178         * win32/common/dirent.c:
13179           expand tabs
13180
13181 === release 0.10.0 ===
13182
13183 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13184
13185         * configure.ac:
13186           releasing 0.10.0, "Maroilles"
13187
13188 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13189
13190         submitted by: Funda Wang <fundawang@linux.net.cn>
13191
13192         * po/LINGUAS:
13193         * po/zh_CN.po:
13194           added Chinese (Traditional) translation
13195
13196 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13197
13198         * docs/gst/gstreamer-sections.txt:
13199         * docs/libs/tmpl/gstdataprotocol.sgml:
13200         * docs/random/thomasvs/TODO:
13201         * gst/gstutils.c:
13202         * gst/gstutils.h:
13203           fix docs
13204
13205 2005-12-05  Andy Wingo  <wingo@pobox.com>
13206
13207         patch by: Wim Taymans <wim@fluendo.com>
13208
13209         * libs/gst/base/gstbasetransform.c
13210         (gst_base_transform_prepare_output_buf)
13211         (gst_base_transform_buffer_alloc):
13212         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13213         alloc_buffer_and_set_caps.
13214
13215         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13216         set_caps on the source pad.
13217         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13218         alloc_buffer used to do. Fixes #322874.
13219
13220         * docs/gst/gstreamer-sections.txt: 
13221         * docs/design/part-negotiation.txt: 
13222         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13223         changes.
13224
13225 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13226
13227         patch by: Sebastien Moutte
13228
13229         * win32/MANIFEST:
13230         * win32/common/config.h.in:
13231         * win32/vs6/libgstcontroller.dsp:
13232           win32 build fixes
13233
13234 2005-12-05  Wim Taymans  <wim@fluendo.com>
13235
13236         * gst/gstcaps.c: (gst_caps_is_equal):
13237         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13238         (gst_fake_src_create):
13239         Back out previous code changes, leave doc updates, file bugs 
13240         instead. 
13241
13242 2005-12-05  Wim Taymans  <wim@fluendo.com>
13243
13244         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13245         (gst_fake_src_get_times), (gst_fake_src_create):
13246         * plugins/elements/gstfakesrc.h:
13247         Fix broken sync code.
13248
13249 2005-12-05  Wim Taymans  <wim@fluendo.com>
13250
13251         * gst/gstcaps.c: (gst_caps_is_equal):
13252         Comparing NULL against !NULL yields different caps, not a
13253         failure.
13254
13255 2005-12-05  Wim Taymans  <wim@fluendo.com>
13256
13257         * gst/gstpipeline.c:
13258         Fix small typo in docs.
13259
13260 2005-12-05  Andy Wingo  <wingo@pobox.com>
13261
13262         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13263
13264         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13265         registries/plugins with a MAJORMINOR one.
13266         (plugin_desc): Rename library from gstcoreleements to
13267         staticelements. Fixes #323222.
13268
13269 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13270
13271         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13272           Change debug category to 'collectpads' from 'collect_pads'
13273           (fixes #323250).
13274
13275 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13276
13277         patch by: Sebastien Moutte
13278
13279         * libs/gst/controller/gstinterpolation.c:
13280           use convert function for uint64/double
13281         * win32/vs6/libgstcontroller.dsp:
13282           link to GLib
13283
13284 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13285
13286         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13287         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13288         * gst/gstutils.h:
13289         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13290           add tests that seem to show that the guint64/gdouble conversions
13291           are correct.
13292
13293 2005-12-02  Wim Taymans  <wim@fluendo.com>
13294
13295         * gst/gstregistry.c: (gst_registry_add_path):
13296         * gst/gstregistry.h:
13297         * gst/gstregistryxml.c:
13298         Fix docs again.
13299
13300 2005-12-02  Wim Taymans  <wim@fluendo.com>
13301
13302         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13303         (gst_util_uint64_scale_int):
13304         Small cleanup.
13305
13306         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13307         Add debug log line.
13308
13309         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13310         Add FIXME.
13311
13312 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13313
13314         * win32/MANIFEST:
13315         * win32/common/config.h:
13316         * win32/vs6/gstreamer.dsw:
13317         * win32/vs6/libgstcoreelements.dsp:
13318         * win32/vs6/libgstelements.dsp:
13319           renamed core elements plugin
13320
13321 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13322
13323         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13324         (get_candidates):
13325           do piece-wise major/minor comparison so 0.9 < 0.10
13326           also allow .exe extensions for tools
13327
13328 2005-12-02  Michael Smith  <msmith@fluendo.com>
13329
13330         * gst/gst.c:
13331           Escape a % to make gtkdoc happier; bug 322958.
13332
13333 === release 0.9.7 ===
13334
13335 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13336
13337         * configure.ac:
13338           releasing 0.9.7, "My Dog Has No Nose"
13339
13340 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13341
13342         * common/gst-xmlinspect.py:
13343         * configure.ac:
13344         * docs/libs/tmpl/gstdataprotocol.sgml:
13345         * docs/random/release:
13346         * po/af.po:
13347         * po/az.po:
13348         * po/bg.po:
13349         * po/ca.po:
13350         * po/cs.po:
13351         * po/de.po:
13352         * po/en_GB.po:
13353         * po/fr.po:
13354         * po/it.po:
13355         * po/nb.po:
13356         * po/nl.po:
13357         * po/ru.po:
13358         * po/sq.po:
13359         * po/sr.po:
13360         * po/sv.po:
13361         * po/tr.po:
13362         * po/uk.po:
13363         * po/vi.po:
13364         * win32/common/config.h:
13365         * win32/common/config.h.in:
13366         * win32/vs6/gst_inspect.dsp:
13367         * win32/vs6/gst_launch.dsp:
13368         * win32/vs6/libgstbase.dsp:
13369         * win32/vs6/libgstelements.dsp:
13370         * win32/vs6/libgstreamer.dsp:
13371         * win32/vs7/GStreamer.vcproj:
13372         * win32/vs7/gst-inspect.vcproj:
13373         * win32/vs7/gst-launch.vcproj:
13374         * win32/vs7/libgstbase.vcproj:
13375           bump GST_MAJORMINOR to 0.10
13376           reset libtool version
13377
13378 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13379
13380         * po/LINGUAS:
13381         * po/bg.po:
13382           Added Bulgarian translation by (Alexander Shopov)
13383
13384 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13385
13386         * tests/check/gst/gstplugin.c:
13387           fix test
13388
13389 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13390
13391         * common/gst-xmlinspect.py:
13392         * common/gtk-doc-plugins.mak:
13393         * configure.ac:
13394         * docs/Makefile.am:
13395         * docs/gst/Makefile.am:
13396         * docs/gst/gstreamer-docs.sgml:
13397         * docs/gst/gstreamer-sections.txt:
13398         * docs/gst/gstreamer.types:
13399         * docs/gst/gstreamer.types.in:
13400         * docs/plugins/Makefile.am:
13401         * docs/plugins/gstreamer-plugins-docs.sgml:
13402         * docs/plugins/gstreamer-plugins-sections.txt:
13403         * docs/plugins/gstreamer-plugins.types:
13404         * docs/plugins/inspect.stamp:
13405         * docs/plugins/inspect/plugin-coreelements.xml:
13406         * docs/plugins/inspect/plugin-coreindexers.xml:
13407         * docs/plugins/scanobj-build.stamp:
13408         * gstreamer.spec.in:
13409         * plugins/elements/Makefile.am:
13410         * plugins/elements/gstelements.c:
13411         * plugins/elements/gstfakesink.c:
13412         * plugins/elements/gstfakesrc.c:
13413         * plugins/elements/gstfilesink.c:
13414         * plugins/elements/gstfilesrc.c:
13415         * plugins/elements/gstqueue.c:
13416         * plugins/indexers/Makefile.am:
13417         * plugins/indexers/gstindexers.c:
13418           document core plugins in a separate document just like all the
13419           others
13420           rename these plugins to something starting with core
13421
13422 2005-12-01  Andy Wingo  <wingo@pobox.com>
13423
13424         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13425         padding here before, but it missed the commit.
13426
13427 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13428
13429         * libs/gst/controller/gstinterpolation.c:
13430           whitespace prices have crashed, we should feel free to use some now
13431           use gst_guint64_to_gdouble
13432
13433 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13434
13435         * libs/gst/controller/gstcontroller.c:
13436         * libs/gst/controller/gsthelper.c:
13437         * libs/gst/controller/gstinterpolation.c:
13438         * libs/gst/controller/lib.c:
13439           wrap config.h include
13440
13441 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13442
13443         * docs/gst/gstreamer-sections.txt:
13444           update docs
13445
13446 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13447
13448         * plugins/elements/gstelements.c:
13449         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13450         (gst_fd_sink__class_init), (gst_fd_sink__init),
13451         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13452         (gst_fd_sink__get_property):
13453         * plugins/elements/gstfdsink.h:
13454         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13455         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13456         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13457         (gst_fd_src_unlock), (gst_fd_src_set_property),
13458         (gst_fd_src_get_property), (gst_fd_src_create),
13459         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13460         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13461         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13462         (gst_fd_src_uri_handler_init):
13463         * plugins/elements/gstfdsrc.h:
13464         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13465           more anal cleanup
13466
13467 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13468
13469         * docs/gst/Makefile.am:
13470         * docs/gst/gstreamer.types.in:
13471         * gst/Makefile.am:
13472           fix the docs build
13473
13474 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13475
13476         * configure.ac:
13477         * gst/Makefile.am:
13478         * gst/gst.c:
13479         * gst/gstplugin.h:
13480         * gst/gstregistry.h:
13481         * tests/benchmarks/complexity.c:
13482         * tests/benchmarks/mass-elements.c:
13483         * tests/check/Makefile.am:
13484         * tools/Makefile.am:
13485         * tools/gst-inspect.c:
13486         * tools/gst-xmlinspect.c:
13487           various fixes to make
13488           --disable-nls --disable-registry --disable-loadsave
13489           --disable-parse --disable-gst-debug
13490           work and get the core .so down to 360444 bytes after stripping
13491
13492 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13493
13494         * Makefile.am:
13495         * configure.ac:
13496           descend into tests
13497         * docs/random/thomasvs/TODO:
13498         * tests/Makefile.am:
13499         * tests/README:
13500           add a README
13501
13502 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13503
13504         * win32/GStreamer.vcproj:
13505         * win32/MANIFEST:
13506         * win32/Makefile:
13507         * win32/Makefile.inspect:
13508         * win32/Makefile.launch:
13509         * win32/Makefile.register:
13510         * win32/README.txt:
13511         * win32/gst-inspect.vcproj:
13512         * win32/gst-launch.vcproj:
13513         * win32/gst-register.vcproj:
13514         * win32/gstelements.vcproj:
13515         * win32/gstgetbits.def:
13516         * win32/gstgetbits.vcproj:
13517         * win32/gstreamer-dbg.def:
13518         * win32/gstreamer.def:
13519         * win32/libgstbase.def:
13520         * win32/libgstbase.vcproj:
13521         * win32/link_oldruntime.c:
13522         * win32/mman.c:
13523         * win32/mman.h:
13524         * win32/mman.inl:
13525         * win32/msvc71.sln:
13526           move even more stuff, win32/ is nice and clean now
13527
13528 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13529
13530         * libs/gst/control/.cvsignore:
13531         * win32/MANIFEST:
13532         * win32/config.h:
13533         * win32/dirent.c:
13534         * win32/dirent.h:
13535         * win32/gstbytestream.def:
13536         * win32/gstbytestream.vcproj:
13537         * win32/gstconfig.h:
13538         * win32/gstenumtypes.c:
13539         * win32/gstenumtypes.h:
13540         * win32/gstoptimalscheduler.vcproj:
13541         * win32/gstversion.h:
13542         * win32/gtchar.h:
13543         * win32/testsuite/bins.vcproj:
13544         * win32/testsuite/bytestream.vcproj:
13545         * win32/testsuite/caps.vcproj:
13546         * win32/testsuite/cleanup.vcproj:
13547         * win32/testsuite/clock.vcproj:
13548         * win32/testsuite/debug.vcproj:
13549         * win32/testsuite/dlopen.vcproj:
13550         * win32/testsuite/dynparams.vcproj:
13551         * win32/testsuite/elements.vcproj:
13552         * win32/testsuite/ghostpads.vcproj:
13553         * win32/testsuite/indexers.vcproj:
13554         * win32/testsuite/negotiation.vcproj:
13555         * win32/testsuite/parse.vcproj:
13556         * win32/testsuite/plugin.vcproj:
13557         * win32/testsuite/refcounting.vcproj:
13558         * win32/testsuite/schedulers.vcproj:
13559         * win32/testsuite/states.vcproj:
13560         * win32/testsuite/tags.vcproj:
13561         * win32/testsuite/threads.vcproj:
13562           remove old win32 stuff that isn't maintained and should be
13563           reorganized
13564
13565 2005-11-30  Andy Wingo  <wingo@pobox.com>
13566
13567         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13568         loading the gst.interfaces python module bork.
13569
13570         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13571         available since GLib 2.2. Fixes #318031.
13572
13573 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13574
13575         * Makefile.am:
13576         * check/.cvsignore:
13577         * check/Makefile.am:
13578         * check/elements/.cvsignore:
13579         * check/elements/fakesrc.c:
13580         * check/elements/fdsrc.c:
13581         * check/elements/identity.c:
13582         * check/generic/.cvsignore:
13583         * check/generic/states.c:
13584         * check/gst-libs/.cvsignore:
13585         * check/gst-libs/controller.c:
13586         * check/gst-libs/gdp.c:
13587         * check/gst/.cvsignore:
13588         * check/gst/capslist.h:
13589         * check/gst/gst.c:
13590         * check/gst/gstbin.c:
13591         * check/gst/gstbuffer.c:
13592         * check/gst/gstbus.c:
13593         * check/gst/gstcaps.c:
13594         * check/gst/gstelement.c:
13595         * check/gst/gstevent.c:
13596         * check/gst/gstghostpad.c:
13597         * check/gst/gstiterator.c:
13598         * check/gst/gstmessage.c:
13599         * check/gst/gstminiobject.c:
13600         * check/gst/gstobject.c:
13601         * check/gst/gstpad.c:
13602         * check/gst/gstpipeline.c:
13603         * check/gst/gstplugin.c:
13604         * check/gst/gstsegment.c:
13605         * check/gst/gststructure.c:
13606         * check/gst/gstsystemclock.c:
13607         * check/gst/gsttag.c:
13608         * check/gst/gstutils.c:
13609         * check/gst/gstvalue.c:
13610         * check/net/.cvsignore:
13611         * check/net/gstnetclientclock.c:
13612         * check/net/gstnettimeprovider.c:
13613         * check/pipelines/.cvsignore:
13614         * check/pipelines/cleanup.c:
13615         * check/pipelines/simple_launch_lines.c:
13616         * check/pipelines/stress.c:
13617         * check/states/.cvsignore:
13618         * check/states/sinks.c:
13619         * configure.ac:
13620         * examples/Makefile.am:
13621         * examples/appreader/.cvsignore:
13622         * examples/appreader/Makefile.am:
13623         * examples/appreader/appreader.c:
13624         * examples/controller/.cvsignore:
13625         * examples/controller/Makefile.am:
13626         * examples/controller/audio-example.c:
13627         * examples/cutter/.cvsignore:
13628         * examples/cutter/Makefile.am:
13629         * examples/cutter/cutter.c:
13630         * examples/cutter/cutter.h:
13631         * examples/events/Makefile.am:
13632         * examples/events/seek.c:
13633         * examples/helloworld/.cvsignore:
13634         * examples/helloworld/Makefile.am:
13635         * examples/helloworld/helloworld.c:
13636         * examples/helloworld2/.cvsignore:
13637         * examples/helloworld2/Makefile.am:
13638         * examples/helloworld2/helloworld2.c:
13639         * examples/launch/.cvsignore:
13640         * examples/launch/Makefile.am:
13641         * examples/launch/mp3parselaunch.c:
13642         * examples/launch/mp3play:
13643         * examples/manual/.cvsignore:
13644         * examples/manual/Makefile.am:
13645         * examples/manual/extract.pl:
13646         * examples/metadata/Makefile.am:
13647         * examples/metadata/read-metadata.c:
13648         * examples/mixer/.cvsignore:
13649         * examples/mixer/Makefile.am:
13650         * examples/mixer/mixer.c:
13651         * examples/mixer/mixer.h:
13652         * examples/pingpong/.cvsignore:
13653         * examples/pingpong/Makefile.am:
13654         * examples/pingpong/pingpong.c:
13655         * examples/plugins/.cvsignore:
13656         * examples/plugins/Makefile.am:
13657         * examples/plugins/example.c:
13658         * examples/plugins/example.h:
13659         * examples/pwg/.cvsignore:
13660         * examples/pwg/Makefile.am:
13661         * examples/pwg/extract.pl:
13662         * examples/queue/.cvsignore:
13663         * examples/queue/Makefile.am:
13664         * examples/queue/queue.c:
13665         * examples/queue2/.cvsignore:
13666         * examples/queue2/Makefile.am:
13667         * examples/queue2/queue2.c:
13668         * examples/queue3/.cvsignore:
13669         * examples/queue3/Makefile.am:
13670         * examples/queue3/queue3.c:
13671         * examples/queue4/.cvsignore:
13672         * examples/queue4/Makefile.am:
13673         * examples/queue4/queue4.c:
13674         * examples/retag/.cvsignore:
13675         * examples/retag/Makefile.am:
13676         * examples/retag/retag.c:
13677         * examples/retag/transcode.c:
13678         * examples/thread/.cvsignore:
13679         * examples/thread/Makefile.am:
13680         * examples/thread/thread.c:
13681         * examples/typefind/.cvsignore:
13682         * examples/typefind/Makefile.am:
13683         * examples/typefind/typefind.c:
13684         * examples/xml/.cvsignore:
13685         * examples/xml/Makefile.am:
13686         * examples/xml/createxml.c:
13687         * examples/xml/runxml.c:
13688         * tests/Makefile.am:
13689         * tests/check/Makefile.am:
13690         * testsuite/.cvsignore:
13691         * testsuite/Makefile.am:
13692         * testsuite/Rules:
13693         * testsuite/caps/.cvsignore:
13694         * testsuite/caps/Makefile.am:
13695         * testsuite/caps/app_fixate.c:
13696         * testsuite/caps/audioscale.c:
13697         * testsuite/caps/caps.c:
13698         * testsuite/caps/caps.h:
13699         * testsuite/caps/caps_strings:
13700         * testsuite/caps/compatibility.c:
13701         * testsuite/caps/deserialize.c:
13702         * testsuite/caps/enumcaps.c:
13703         * testsuite/caps/eratosthenes.c:
13704         * testsuite/caps/filtercaps.c:
13705         * testsuite/caps/fixed.c:
13706         * testsuite/caps/fraction-convert.c:
13707         * testsuite/caps/fraction-multiply-and-zero.c:
13708         * testsuite/caps/intersect2.c:
13709         * testsuite/caps/intersection.c:
13710         * testsuite/caps/normalisation.c:
13711         * testsuite/caps/random.c:
13712         * testsuite/caps/renegotiate.c:
13713         * testsuite/caps/sets.c:
13714         * testsuite/caps/simplify.c:
13715         * testsuite/caps/string-conversions.c:
13716         * testsuite/caps/structure.c:
13717         * testsuite/caps/subtract.c:
13718         * testsuite/caps/union.c:
13719         * testsuite/debug/.cvsignore:
13720         * testsuite/debug/Makefile.am:
13721         * testsuite/debug/category.c:
13722         * testsuite/debug/commandline.c:
13723         * testsuite/debug/global.c:
13724         * testsuite/debug/output.c:
13725         * testsuite/debug/printf_extension.c:
13726         * testsuite/dlopen/.cvsignore:
13727         * testsuite/dlopen/Makefile.am:
13728         * testsuite/dlopen/dlopen_gst.c:
13729         * testsuite/dlopen/loadgst.c:
13730         * testsuite/elements/.cvsignore:
13731         * testsuite/elements/Makefile.am:
13732         * testsuite/elements/gst-inspect-check.in:
13733         * testsuite/elements/struct_i386.h:
13734         * testsuite/elements/struct_size.c:
13735         * testsuite/indexers/.cvsignore:
13736         * testsuite/indexers/Makefile.am:
13737         * testsuite/indexers/cache1.c:
13738         * testsuite/indexers/indexdump.c:
13739         * testsuite/parse/.cvsignore:
13740         * testsuite/parse/Makefile.am:
13741         * testsuite/parse/parse1.c:
13742         * testsuite/parse/parse2.c:
13743         * testsuite/plugin/.cvsignore:
13744         * testsuite/plugin/Makefile.am:
13745         * testsuite/plugin/README:
13746         * testsuite/plugin/dynamic.c:
13747         * testsuite/plugin/linked.c:
13748         * testsuite/plugin/loading.c:
13749         * testsuite/plugin/registry.c:
13750         * testsuite/plugin/static.c:
13751         * testsuite/plugin/static2.c:
13752         * testsuite/plugin/testplugin.c:
13753         * testsuite/plugin/testplugin2.c:
13754         * testsuite/plugin/testplugin2_s.c:
13755         * testsuite/plugin/testplugin_s.c:
13756         * testsuite/refcounting/.cvsignore:
13757         * testsuite/refcounting/Makefile.am:
13758         * testsuite/refcounting/bin.c:
13759         * testsuite/refcounting/element.c:
13760         * testsuite/refcounting/element_pad.c:
13761         * testsuite/refcounting/mainloop.c:
13762         * testsuite/refcounting/mem.c:
13763         * testsuite/refcounting/mem.h:
13764         * testsuite/refcounting/object.c:
13765         * testsuite/refcounting/pad.c:
13766         * testsuite/refcounting/sched.c:
13767         * testsuite/refcounting/thread.c:
13768         * testsuite/states/.cvsignore:
13769         * testsuite/states/Makefile.am:
13770         * testsuite/states/bin.c:
13771         * testsuite/states/locked.c:
13772         * testsuite/states/parent.c:
13773         * testsuite/threads/.cvsignore:
13774         * testsuite/threads/159566.c:
13775         * testsuite/threads/159852.c:
13776         * testsuite/threads/Makefile.am:
13777         * testsuite/threads/queue.c:
13778         * testsuite/threads/signals.c:
13779         * testsuite/threads/staticrec.c:
13780         * testsuite/threads/thread.c:
13781         * testsuite/threads/threadb.c:
13782         * testsuite/threads/threadc.c:
13783         * testsuite/threads/threadd.c:
13784         * testsuite/threads/threade.c:
13785         * testsuite/threads/threadf.c:
13786         * testsuite/threads/threadg.c:
13787         * testsuite/threads/threadh.c:
13788         * testsuite/threads/threadi.c:
13789           move all of these under tests
13790
13791 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13792
13793         * configure.ac:
13794         * tests/Makefile.am:
13795           fix distcheck
13796
13797 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13798
13799         * docs/gst/gstreamer-sections.txt:
13800         * tests/sched/.cvsignore:
13801         * tests/sched/Makefile.am:
13802         * tests/sched/cases/(fs-fs).xml:
13803         * tests/sched/cases/(fs-i-fs).xml:
13804         * tests/sched/cases/(fs-i-i-fs).xml:
13805         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13806         * tests/sched/dynamic-pipeline.c:
13807         * tests/sched/interrupt1.c:
13808         * tests/sched/interrupt2.c:
13809         * tests/sched/interrupt3.c:
13810         * tests/sched/runtestcases:
13811         * tests/sched/runxml.c:
13812         * tests/sched/sched-stress.c:
13813         * tests/sched/sort.c:
13814         * tests/sched/testcases:
13815         * tests/sched/testcases1.tc:
13816         * tests/seeking/.cvsignore:
13817         * tests/seeking/Makefile.am:
13818         * tests/seeking/seeking1.c:
13819         * tests/threadstate/.cvsignore:
13820         * tests/threadstate/Makefile.am:
13821         * tests/threadstate/test1.c:
13822         * tests/threadstate/test2.c:
13823         * tests/threadstate/threadstate1.c:
13824         * tests/threadstate/threadstate2.c:
13825         * tests/threadstate/threadstate3.c:
13826         * tests/threadstate/threadstate4.c:
13827         * tests/threadstate/threadstate5.c:
13828           remove obsolete tests
13829         * configure.ac:
13830         * tests/bench-complexity.scm:
13831         * tests/bench-mass_elements.scm:
13832         * tests/complexity.c:
13833         * tests/complexity.gnuplot:
13834         * tests/instantiate/.cvsignore:
13835         * tests/instantiate/Makefile.am:
13836         * tests/instantiate/caps.c:
13837         * tests/mass_elements.c:
13838         * tests/network-clock-utils.scm:
13839         * tests/network-clock.scm:
13840         * tests/plot-data:
13841         First pass at cleaning up tests/ dir before moving the rest
13842         Combined with CVS surgery
13843
13844 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13845
13846         * po/POTFILES.in:
13847           queue has moved, update
13848
13849 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13850
13851         * docs/gst/gstreamer-sections.txt:
13852           remove double entries from the docs
13853         * gst/gst_private.h:
13854         * gst/gstinfo.c: (_gst_debug_init):
13855           remove the THREAD debug category
13856         * gst/Makefile.am:
13857         * gst/gstqueue.c:
13858         * gst/gstqueue.h:
13859         * docs/gst/gstreamer.types:
13860         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13861         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13862           completely move queue and fix up debugging categories
13863
13864 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13865
13866         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13867           make initialization portable, using LL is not
13868
13869 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13870
13871         * win32/common/gstconfig.h:
13872           add large padding
13873
13874 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13875
13876         * win32/common/libgstreamer.def:
13877           rename symbols; sort base section
13878
13879 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13880
13881         * gst/gstclock.c: (do_linear_regression):
13882           remove crack non-portable handrolled DEBUG macro
13883
13884 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13885
13886         * docs/random/release:
13887           update notes
13888         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13889         (gst_object_flags_get_type), (register_gst_bin_flags),
13890         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13891         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13892         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13893         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13894         (gst_caps_flags_get_type), (register_gst_clock_return),
13895         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13896         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13897         (gst_clock_flags_get_type), (register_gst_state),
13898         (gst_state_get_type), (register_gst_state_change_return),
13899         (gst_state_change_return_get_type), (register_gst_state_change),
13900         (gst_state_change_get_type), (register_gst_element_flags),
13901         (gst_element_flags_get_type), (register_gst_core_error),
13902         (gst_core_error_get_type), (register_gst_library_error),
13903         (gst_library_error_get_type), (register_gst_resource_error),
13904         (gst_resource_error_get_type), (register_gst_stream_error),
13905         (gst_stream_error_get_type), (register_gst_event_type_flags),
13906         (gst_event_type_flags_get_type), (register_gst_event_type),
13907         (gst_event_type_get_type), (register_gst_seek_type),
13908         (gst_seek_type_get_type), (register_gst_seek_flags),
13909         (gst_seek_flags_get_type), (register_gst_format),
13910         (gst_format_get_type), (register_gst_index_certainty),
13911         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13912         (gst_index_entry_type_get_type),
13913         (register_gst_index_lookup_method),
13914         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13915         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13916         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13917         (gst_index_flags_get_type), (register_gst_debug_level),
13918         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13919         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13920         (gst_iterator_result_get_type), (register_gst_iterator_item),
13921         (gst_iterator_item_get_type), (register_gst_message_type),
13922         (gst_message_type_get_type), (register_gst_mini_object_flags),
13923         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13924         (gst_pad_link_return_get_type), (register_gst_flow_return),
13925         (gst_flow_return_get_type), (register_gst_activate_mode),
13926         (gst_activate_mode_get_type), (register_gst_pad_direction),
13927         (gst_pad_direction_get_type), (register_gst_pad_flags),
13928         (gst_pad_flags_get_type), (register_gst_pad_presence),
13929         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13930         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13931         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13932         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13933         (gst_plugin_flags_get_type), (register_gst_rank),
13934         (gst_rank_get_type), (register_gst_query_type),
13935         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13936         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13937         (gst_tag_flag_get_type), (register_gst_task_state),
13938         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13939         (gst_alloc_trace_flags_get_type),
13940         (register_gst_type_find_probability),
13941         (gst_type_find_probability_get_type), (register_gst_uri_type),
13942         (gst_uri_type_get_type), (register_gst_parse_error),
13943         (gst_parse_error_get_type):
13944         * win32/common/gstenumtypes.h:
13945         * win32/common/gstversion.h:
13946           update visual studio generated files
13947
13948 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13949
13950         * win32/vs6/libgstbase.dsp:
13951         * win32/vs6/libgstelements.dsp:
13952           update project files for new locations
13953
13954 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13955
13956         * Makefile.am:
13957           remove some files
13958         * README:
13959           reinstate and update
13960         * DEVEL:
13961         * REQUIREMENTS:
13962           removed
13963         * LICENSE:
13964         * docs/random/LICENSE:
13965           moved to random
13966
13967 2005-11-30  Edward Hervey  <edward@fluendo.com>
13968
13969         * gst/gsttypefind.c: (gst_type_find_register):
13970         * gst/gsttypefind.h:
13971         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13972         (gst_type_find_factory_dispose):
13973         * gst/gsttypefindfactory.h:
13974         Fix memory leak in GstTypeFindFactory.
13975
13976 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13977
13978         * gst/gst.c:
13979         * plugins/elements/Makefile.am:
13980         * plugins/elements/gstelements.c:
13981         * plugins/elements/gstqueue.c:
13982           move queue from core to the elements plugin
13983
13984 2005-11-29  Andy Wingo  <wingo@pobox.com>
13985
13986         * libs/gst/base/gstbasetransform.h: 
13987         * libs/gst/base/gstbasesrc.h: 
13988         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13989
13990         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13991         of pointers by which to pad very extensible base classes (like the
13992         ones in libs/gst/base).
13993
13994 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13995
13996         * docs/gst/gstreamer-docs.sgml:
13997         * docs/gst/gstreamer-sections.txt:
13998         * docs/libs/gstreamer-libs-docs.sgml:
13999         * docs/libs/gstreamer-libs-sections.txt:
14000           moving documentation from core to lib
14001
14002 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14003
14004         * check/Makefile.am:
14005         * configure.ac:
14006         * docs/gst/Makefile.am:
14007         * gst/Makefile.am:
14008         * gst/base/.cvsignore:
14009         * gst/base/Makefile.am:
14010         * gst/base/README:
14011         * gst/base/gstadapter.c:
14012         * gst/base/gstadapter.h:
14013         * gst/base/gstbasesink.c:
14014         * gst/base/gstbasesink.h:
14015         * gst/base/gstbasesrc.c:
14016         * gst/base/gstbasesrc.h:
14017         * gst/base/gstbasetransform.c:
14018         * gst/base/gstbasetransform.h:
14019         * gst/base/gstcollectpads.c:
14020         * gst/base/gstcollectpads.h:
14021         * gst/base/gstpushsrc.c:
14022         * gst/base/gstpushsrc.h:
14023         * gst/base/gsttypefindhelper.c:
14024         * gst/base/gsttypefindhelper.h:
14025         * gst/check/Makefile.am:
14026         * gst/check/gstcheck.c:
14027         * gst/check/gstcheck.h:
14028         * gst/net/Makefile.am:
14029         * gst/net/gstnet.h:
14030         * gst/net/gstnetclientclock.c:
14031         * gst/net/gstnetclientclock.h:
14032         * gst/net/gstnettimepacket.c:
14033         * gst/net/gstnettimepacket.h:
14034         * gst/net/gstnettimeprovider.c:
14035         * gst/net/gstnettimeprovider.h:
14036         * libs/gst/Makefile.am:
14037         * libs/gst/base/Makefile.am:
14038         * libs/gst/base/gstbasetransform.c:
14039         * libs/gst/check/Makefile.am:
14040         * plugins/elements/Makefile.am:
14041         * po/POTFILES.in:
14042           CVS surgery + support to move base, check, and net out of gst
14043           and into libs/gst
14044
14045 2005-11-29  Andy Wingo  <wingo@pobox.com>
14046
14047         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14048
14049         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14050         padding.
14051
14052         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14053
14054         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14055
14056         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14057
14058         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14059         padding; reduces object size by about 30%. We don't expect
14060         anything else to go into gstobject.
14061
14062         * gst/gstminiobject.h (struct _GstMiniObject)
14063         (struct _GstMiniObjectClass): Only one pointer of padding; the
14064         payload is only a pointer and two ints anyway. For the class there
14065         are only two methods as well.
14066         
14067         * gst/gstelement.h (struct _GstElementClass): Removed
14068         the state_changed signal callback, it is not used.
14069
14070 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14071
14072         * docs/gst/gstreamer.types:
14073           fix includes, though they are a little dinky
14074
14075 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14076
14077         * check/Makefile.am:
14078           look in the right place for elements, a lot more chance of
14079           success
14080         * gst/Makefile.am:
14081           remove indexers and elements subdirs
14082         * plugins/Makefile.am:
14083           make indexers conditional
14084
14085 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14086
14087         * Makefile.am:
14088         * configure.ac:
14089         * plugins/elements/Makefile.am:
14090         * plugins/elements/gstcapsfilter.c:
14091         * plugins/elements/gstfilesink.c:
14092         * plugins/elements/gstfilesrc.c:
14093         * plugins/elements/gstidentity.c:
14094         * plugins/indexers/Makefile.am:
14095           do CVS surgery and related build fixery to move elements
14096           and indexers in a new gstreamer/plugins directory, out of the
14097           gst/ directory
14098
14099 2005-11-29  Andy Wingo  <wingo@pobox.com>
14100
14101         * check/Makefile.am:
14102         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14103         * pkgconfig/gstreamer-net.pc.in:
14104         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14105         #322257.
14106
14107 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14108
14109         * tools/Makefile.am:
14110         * tools/gst-complete.1.in:
14111         * tools/gst-complete.c:
14112         * tools/gst-compprep.1.in:
14113         * tools/gst-compprep.c:
14114           removing -compprep and -complete
14115
14116 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14117
14118         * gst/gstevent.c: (gst_event_new_new_segment),
14119         (gst_event_parse_new_segment):
14120         * gst/gstevent.h:
14121           fix #320529 - clean up new_segment API and structure.
14122           Let's hope everyone was using the methods, and not the structure.
14123
14124 2005-11-29  Edward Hervey  <edward@fluendo.com>
14125
14126         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14127         (gst_base_sink_event), (gst_base_sink_do_sync),
14128         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14129         Properly handle non GST_FORMAT_TIME segment
14130         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14131         Properly handle non GST_FORMAT_TIME segment
14132         * gst/gstsegment.c:
14133         This function is valid if the accumulator is 0 and the format
14134         is different from the requested format.
14135         
14136 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14137
14138         * docs/gst/gstreamer-sections.txt:
14139         Add gst_query_new_seeking and gst_query_parse_seeking to the
14140         docs.
14141
14142 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14143
14144         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14145           Treat a pad alloc with new caps the same as if we were not
14146           negotiated, in order to allow a changing upstream output
14147           to produce a new format of data.
14148
14149 2005-11-29  Edward Hervey  <edward@fluendo.com>
14150
14151         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14152         (gst_base_transform_event), (gst_base_transform_eventfunc):
14153         The event virtual method is now properly implemented, with a default
14154         handler
14155         Sub classes should call the parent_class event method. They should
14156         return FALSE if they had a problem handling the given event, or don't
14157         want GstBaseTransform to send that even downstream
14158         * gst/elements/gstidentity.c: (gst_identity_class_init),
14159         (gst_identity_init), (gst_identity_event),
14160         (gst_identity_transform_ip), (gst_identity_set_property),
14161         (gst_identity_get_property):
14162         * gst/elements/gstidentity.h:
14163         Added the single-segment boolean property.
14164         If set to TRUE, it will output a single segment of data, starting from
14165         0, will eat up all incoming newsegment, and modify the timestamp of the
14166         buffers accordingly
14167
14168 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14169
14170         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14171           Don't ref NULL target pad (#322751). Improve docs.
14172
14173 2005-11-29  Michael Smith  <msmith@fluendo.com>
14174
14175         * gst/gstregistryxml.c: (load_plugin):
14176           Don't crash if we failed to load a feature from a plugin. 
14177
14178 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14179
14180         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14181         (GST_START_TEST):
14182           use more check API and less GLib API
14183
14184 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14185
14186         * Makefile.am:
14187           don't run checks if we don't have check
14188         * common/check.mak:
14189           remove the registry when running make torture
14190         * docs/gst/gstreamer-sections.txt:
14191           remove second multiply
14192         * gst/gstqueue.c: (gst_queue_loop):
14193           fix a compile warning when disabling debug
14194
14195 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14196
14197         * gst/gstinfo.h:
14198         Hey! Let's print the pad name if the pointer != NULL instead
14199         of when it == NULL :-)
14200
14201 2005-11-28  Wim Taymans  <wim@fluendo.com>
14202
14203         * check/gst/gstutils.c: (GST_START_TEST):
14204         Updated check, add some scaling accuracy checking code.
14205
14206         * gst/gstutils.c: (gst_util_div128_64),
14207         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14208         (gst_util_uint64_scale_int):
14209         Fix 6 times faster division code. Optimize for common 
14210         1/1 and less common X/1 cases.
14211
14212 2005-11-28  Wim Taymans  <wim@fluendo.com>
14213
14214         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14215         More checks.
14216
14217         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14218         (do_linear_regression), (gst_clock_add_observation):
14219         Cleanups.
14220         Release lock when the clock cannot be slaved.
14221         Catch the case where the regression returned an invalid denominator.
14222
14223         * gst/gstutils.c: (gst_util_div128_64_iterate),
14224         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14225         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14226         Add protentially more performant non-iterative 128/64 divide function
14227         that unfortunatly does not work yet.
14228         Shortcut the trivial 0/X = 0 case.
14229         Remove the warnings on overflow.
14230
14231 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14232
14233         * gst/gstplugin.c: (gst_plugin_register_func):
14234           everything causing a plugin not to load should be at least a WARNING
14235
14236 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14237
14238         * docs/random/ensonic/dparams.txt:
14239           some TODOs for the next dev cycle
14240         * libs/gst/controller/gstcontroller.c:
14241         (gst_controlled_property_set_interpolation_mode),
14242         (gst_controlled_property_new):
14243         * libs/gst/controller/gstcontroller.h:
14244           use base type to assign acccessor functions
14245
14246 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14247
14248         * check/Makefile.am:
14249         Oops, that should have been top_srcdir
14250
14251 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14252
14253         * check/Makefile.am:
14254         * check/elements/fdsrc.c: (GST_START_TEST):
14255         Use a cmdline define to specify the location of a file to use for
14256         testing, to avoid breaking distcheck.
14257
14258 2005-11-28  Andy Wingo  <wingo@pobox.com>
14259
14260         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14261
14262 2005-11-28  Edward Hervey  <edward@fluendo.com>
14263
14264         * tools/gst-launch.c: (main):
14265         Clarify the output strings, makes it easier to translate.
14266         Fixes #322626
14267
14268 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14269
14270         * gst/Makefile.am:
14271           don't try and build net if we don't even have <sys/socket.h>
14272
14273 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14274
14275         * check/Makefile.am:
14276         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14277         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14278           Add tests for fdsrc seekability
14279
14280         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14281         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14282         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14283         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14284         * gst/elements/gstfdsrc.h:
14285           fdsrc should not be a 'live' source.
14286           Implement seeking on seekable fd's.
14287
14288         * gst/gstquery.c: (gst_query_new_seeking),
14289         (gst_query_parse_seeking):
14290         * gst/gstquery.h:
14291           Implement SEEKING query functions: 
14292             *_new_seeking and *_parse_seeking
14293
14294 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14295
14296         * gst/gstelement.c: (gst_element_dispose):
14297           don't loop forever
14298
14299         * gst/gstiterator.c:
14300         * gst/gststructure.c:
14301           doc fixes
14302
14303         * libs/gst/controller/gstcontroller.c:
14304         (gst_controlled_property_set_interpolation_mode):
14305         * libs/gst/controller/gstcontroller.h:
14306         * libs/gst/controller/gstinterpolation.c:
14307         (interpolate_none_get_enum_value_array):
14308           support controlling enums
14309
14310 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14311
14312         * gst/gstvalue.c:
14313           Improve documentation for gst_value_union().
14314
14315         * gst/gstvalue.h:
14316           Change return value for union, intersect and subtract functions
14317           from gint to gboolean.
14318
14319 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14320
14321         * gst/gstvalue.c: (gst_value_serialize_any_list),
14322         (gst_value_transform_any_list_string),
14323         (gst_value_deserialize_list), (gst_value_deserialize_array),
14324         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14325         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14326         (gst_value_set_fraction_range_full),
14327         (gst_value_deserialize_fraction_range),
14328         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14329         (gst_value_deserialize_boolean),
14330         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14331         (gst_value_serialize_float), (gst_value_deserialize_float),
14332         (gst_string_wrap), (gst_value_deserialize_string),
14333         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14334         (gst_value_union_int_range_int_range),
14335         (gst_value_intersect_int_range_int_range),
14336         (gst_value_intersect_double_range_double_range),
14337         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14338         (gst_value_subtract_int_range_int_range),
14339         (gst_value_subtract_double_double_range),
14340         (gst_value_subtract_double_range_double_range),
14341         (gst_value_deserialize_fraction):
14342         * gst/gstvalue.h:
14343           Use gint, gdouble and gchar in our API instead of int, double and
14344           char (and make usage in gstvalue.c more consistent).
14345
14346 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14347
14348         * check/Makefile.am:
14349         * libs/gst/controller/Makefile.am:
14350         * libs/gst/dataprotocol/Makefile.am:
14351           fix up Makefile.am and remove GST_ENABLE_NEW
14352
14353 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14354
14355         * configure.ac:
14356         * gst/Makefile.am:
14357         * gst/base/Makefile.am:
14358         * gst/check/Makefile.am:
14359         * gst/elements/Makefile.am:
14360         * gst/net/Makefile.am:
14361           update LDFLAGS use some more
14362
14363 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14364
14365         * common/m4/gst-doc.m4:
14366           Fixes #312589
14367
14368 2005-11-26  Edward Hervey  <edward@fluendo.com>
14369
14370         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14371         This shouldn't issue a g_warning since it returns NULL if it
14372         couldn't find the plugin, and all functions using this behave
14373         properly on a NULL return. Switching to a GST_WARNING.
14374
14375 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14376
14377         * gst/gstbin.c: (gst_bin_handle_message_func):
14378         Don't leak clock messages.
14379
14380 2005-11-25  Wim Taymans  <wim@fluendo.com>
14381
14382         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14383         (gst_util_uint64_scale_int):
14384         Optimisations, remove unneeded vars.
14385
14386 2005-11-25  Wim Taymans  <wim@fluendo.com>
14387
14388         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14389         Added more checks for the high precision uint64 cases.
14390
14391         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14392         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14393         Implement high precision (guint64 * guint64) / guint64.
14394
14395 2005-11-24  Wim Taymans  <wim@fluendo.com>
14396
14397         * gst/base/gstbasesrc.c: (gst_base_src_query):
14398         Fix wrong percentage query.
14399
14400         * gst/gstutils.c: (gst_util_uint64_scale),
14401         (gst_util_uint64_scale_int):
14402         Add some more common cases that can be handled 
14403         efficiently to _scale.
14404
14405 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14406
14407         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14408         (gst_mini_object_suite):
14409           don't use check calls from threads; check probably isn't
14410           threadsafe and using a lock to make it threadsafe would
14411           defeat the purpose of this check
14412         * gst/check/gstcheck.c:
14413         * gst/check/gstcheck.h:
14414           use GST_DEBUG some more
14415
14416 2005-11-24  Wim Taymans  <wim@fluendo.com>
14417
14418         * gst/gstutils.c: (gst_util_uint64_scale),
14419         (gst_util_uint64_scale_int):
14420         Chain trivial case to _scale_int.
14421
14422 2005-11-24  Wim Taymans  <wim@fluendo.com>
14423
14424         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14425         Added test for scaling.
14426
14427         * gst/gstclock.h:
14428         Small doc fix.
14429
14430         * gst/gstutils.c: (gst_util_uint64_scale_int):
14431         Implemented high precision scaling code.
14432
14433 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14434
14435         * gst/gstinfo.h:
14436           do not crash on pad==NULL
14437
14438 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14439
14440         Patch by: Stefan Kost
14441
14442         * common/gtk-doc.mak:
14443         * docs/gst/Makefile.am:
14444         * docs/libs/Makefile.am:
14445           Fix distcheck issues for the libraries docs build
14446           Closes #319599.
14447
14448 2005-11-24  Michael Smith <msmith@fluendo.com>
14449
14450         * docs/manual/basics-helloworld.xml:
14451           Fix bug #315027: memory leak in example code in docs.
14452
14453 2005-11-24  Michael Smith <msmith@fluendo.com>
14454
14455         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14456           Unlock the PREROLL_LOCK in a failure case.
14457
14458 2005-11-24  Wim Taymans  <wim@fluendo.com>
14459
14460         * docs/gst/gstreamer-sections.txt:
14461         * gst/base/gstadapter.h:
14462         * gst/base/gstbasesink.h:
14463         * gst/base/gstbasesrc.h:
14464         * gst/base/gstbasetransform.h:
14465         * gst/base/gstpushsrc.h:
14466         * gst/elements/gstfakesink.h:
14467         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14468         * gst/elements/gstfakesrc.h:
14469         * gst/elements/gstfilesink.h:
14470         * gst/elements/gstfilesrc.h:
14471         * gst/gst.c:
14472         * gst/gstbin.c:
14473         * gst/gstbuffer.c: (_gst_buffer_copy):
14474         * gst/gstbus.h:
14475         * gst/gstcaps.c:
14476         * gst/gstchildproxy.c:
14477         * gst/gstclock.c:
14478         * gst/gstelement.c:
14479         * gst/gstelementfactory.c:
14480         * gst/gstelementfactory.h:
14481         * gst/gstevent.c:
14482         * gst/gstghostpad.h:
14483         * gst/gstindex.h:
14484         * gst/gstinterface.h:
14485         * gst/gstminiobject.c:
14486         * gst/gstminiobject.h:
14487         * gst/gstpad.c:
14488         * gst/gstpad.h:
14489         * gst/gstpadtemplate.h:
14490         * gst/gstpipeline.h:
14491         * gst/gstpluginfeature.h:
14492         * gst/gstquery.h:
14493         * gst/gstqueue.h:
14494         * gst/gsttaglist.c:
14495         * gst/gsttaglist.h:
14496         * gst/gsttagsetter.c:
14497         * gst/gsttagsetter.h:
14498         * gst/gsttrace.c:
14499         * gst/gsttrace.h:
14500         * gst/gsttypefind.h:
14501         * gst/gsturi.h:
14502         * gst/gstvalue.c:
14503         * gst/net/gstnetclientclock.c:
14504         * gst/net/gstnetclientclock.h:
14505         * gst/net/gstnettimepacket.c:
14506         * gst/net/gstnettimeprovider.c:
14507         * gst/net/gstnettimeprovider.h:
14508         Doc fixes.
14509
14510 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14511
14512         * configure.ac: back to HEAD
14513
14514 === release 0.9.6 ===
14515
14516 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14517
14518         * configure.ac:
14519           releasing 0.9.6, "Always On Time"
14520
14521 2005-11-23  Wim Taymans  <wim@fluendo.com>
14522
14523         * docs/gst/gstreamer-sections.txt:
14524         * gst/glib-compat.c:
14525         * gst/gsttagsetter.c:
14526         * gst/gstvalue.c:
14527         * gst/net/gstnetclientclock.c:
14528         * gst/net/gstnettimepacket.h:
14529         Doc updates.
14530
14531 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14532
14533         * docs/faq/using.xml:
14534         * docs/libs/tmpl/gstcontrol.sgml:
14535         * docs/manual/advanced-dparams.xml:
14536         * docs/manual/appendix-checklist.xml:
14537         * docs/manual/basics-elements.xml:
14538         * docs/pwg/other-source.xml:
14539         * docs/random/moving-plugins:
14540         * gst/gstpad.c:
14541         * tools/gst-launch.1.in:
14542           remove mentions of sinesrc
14543
14544 2005-11-23  Michael Smith <msmith@fluendo.com>
14545
14546         * docs/gst/gstreamer-sections.txt:
14547           Update for new API and API changes.
14548         * gst/gstobject.h:
14549           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14550         * gst/gstvalue.c:
14551           Documentation typo fix.
14552         * gst/net/gstnettimepacket.c:
14553           Documentation fixes for arguments.
14554
14555 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14556
14557         * gst/gststructure.c: (gst_structure_get_fraction),
14558         (gst_structure_parse_value),
14559         (gst_structure_fixate_field_nearest_fraction):
14560         * gst/gststructure.h:
14561         * gst/gstutils.c: (gst_util_uint64_scale_int):
14562         * gst/gstutils.h:
14563         * scripts/update-funcnames:
14564         API Changes. 
14565         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14566         Make gst_structure_fixate_field_nearest_fraction take a numerator
14567         and denominator argument instead of a GValue
14568         add gst_structure_get_fraction helper function.
14569
14570 2005-11-23  Wim Taymans  <wim@fluendo.com>
14571
14572         * docs/design/part-TODO.txt:
14573         Update TODO.
14574
14575         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14576         * gst/net/gstnetclientclock.h:
14577         Use parent fields for timeout and window_size.
14578
14579 2005-11-23  Andy Wingo  <wingo@pobox.com>
14580
14581         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14582         rate_num/rate_denom change.
14583
14584         * gst/net/gstnetclientclock.c
14585         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14586         OBJECT_LOCK. Don't call add_observation with the lock.
14587
14588         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14589         fraction.
14590         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14591         rate fraction.
14592         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14593         deal with rate as a fraction whose numerator and denominator are
14594         GstClockTime values.
14595         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14596         master; the other fields are protected by the SLAVE_LOCK.
14597         (do_linear_regression): Note that this must be called with the
14598         SLAVE_LOCK.
14599         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14600         OBJECT_LOCK. Call set_calibration instead of touching the
14601         variables directly.
14602         (gst_clock_set_property, gst_clock_get_property): Protect
14603         master/slave parameters with the SLAVE_LOCK.
14604
14605         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14606         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14607         note that all of the instance variables that add_observation and
14608         the set_master functions use are protected by that lock and not
14609         the OBJECT_LOCK.
14610         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14611
14612         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14613         the caller to take the object lock.
14614
14615 2005-11-23  Wim Taymans  <wim@fluendo.com>
14616
14617         * gst/gsterror.c: (_gst_core_errors_init):
14618         * gst/gsterror.h:
14619         Add error for clock stuff.
14620
14621         * gst/gstpipeline.c: (gst_pipeline_change_state),
14622         (gst_pipeline_set_clock):
14623         Post clock error when clock cannot be used in a pipeline.
14624
14625 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14626
14627         * docs/gst/gstreamer-sections.txt:
14628           make two symbols from gstinfo private for the docs
14629         * gst/base/gstcollectpads.h:
14630         * gst/gstutils.c:
14631           fix doc typos, update docs
14632
14633 2005-11-22  Wim Taymans  <wim@fluendo.com>
14634
14635         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14636         (gst_base_sink_wait), (gst_base_sink_do_sync),
14637         (gst_base_sink_handle_event):
14638         * gst/base/gstbasesink.h:
14639         No need to store the clock, the parent element class already
14640         has it.
14641
14642         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14643         Updates for clock_set returning a gboolean
14644
14645         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14646         (gst_clock_id_wait_async), (gst_clock_class_init),
14647         (gst_clock_init), (gst_clock_finalize),
14648         (gst_clock_get_internal_time), (gst_clock_get_time),
14649         (gst_clock_slave_callback), (gst_clock_set_master),
14650         (gst_clock_get_master), (do_linear_regression),
14651         (gst_clock_add_observation), (gst_clock_set_property),
14652         (gst_clock_get_property):
14653         * gst/gstclock.h:
14654         Implement master/slave. When setting a clock as a slave, a
14655         periodic timeout is scheduled to sample master and slave times.
14656         Then the slave clock is recalibrated to match offset and rate
14657         of the master clock.
14658         Update logging a bit.
14659         Add flag so that a clock can state that is cannot be slaved to
14660         another clock.
14661
14662         * gst/gstelement.c: (gst_element_set_clock):
14663         * gst/gstelement.h:
14664         The set clock returns a gboolean for when an element cannot
14665         deal with the selected clock in the pipeline. 
14666
14667         * gst/gstpipeline.c: (gst_pipeline_change_state),
14668         (gst_pipeline_set_clock):
14669         * gst/gstpipeline.h:
14670         Handle the case where the selected clock cannot be set on
14671         the pipeline.
14672
14673         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14674         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14675         (gst_net_client_clock_set_property),
14676         (gst_net_client_clock_get_property),
14677         (gst_net_client_clock_observe_times):
14678         * gst/net/gstnetclientclock.h:
14679         Use regression code in GstClock parent, remove duplicated
14680         functionality.
14681
14682 2005-11-22  Michael Smith <msmith@fluendo.com>
14683
14684         * gst/gstutils.c: (gst_util_clock_time_scale):
14685         * gst/gstutils.h:
14686         * docs/gst/gstreamer-sections.txt:
14687           Rename method to have extra underscore.
14688
14689 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14690
14691         * gst/elements/Makefile.am:
14692         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14693         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14694         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14695         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14696         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14697         * gst/elements/gstfakesrc.h:
14698         * gst/gstqueue.c: (queue_leaky_get_type):
14699           correctly fix GEnumValues so that nick is the short lowercase
14700           dashed tag
14701         * tools/gst-inspect.c: (print_element_properties_info):
14702           also show the nick, since it's useful to use from parse_launch
14703           syntax
14704           Fixes #322139
14705
14706 2005-11-22  Michael Smith <msmith@fluendo.com>
14707
14708         * gst/gstutils.c: (gst_util_clocktime_scale):
14709         * gst/gstutils.h:
14710         * docs/gst/gstreamer-sections.txt:
14711           Add util method for scaling a clocktime by a fraction. Useful 
14712           implementation is left as an exercise for the reader.
14713
14714 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14715
14716         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14717         If needed, allocate storage in the destination value during
14718         collection.
14719
14720 2005-11-22  Edward Hervey  <edward@fluendo.com>
14721
14722         * docs/gst/gstreamer-sections.txt:
14723         * gst/Makefile.am:
14724         * gst/gst.h:
14725         * gst/gsturitype.c:
14726         * gst/gsturitype.h:
14727         * gst/gstutils.c: (gst_util_set_object_arg):
14728         * tools/gst-compprep.c: (main):
14729         * tools/gst-inspect.c: (print_element_properties_info):
14730         Removed GstURI, closes bug #321061
14731
14732 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14733
14734         * check/gst/gststructure.c: (GST_START_TEST):
14735         * gst/gststructure.c: (gst_structure_parse_value):
14736           Oops, broke automatic string type parsing.
14737           Add a test to catch it in future.
14738
14739 2005-11-22  Andy Wingo  <wingo@pobox.com>
14740
14741         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14742         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14743         Actually rename the function implementations. Grr.
14744
14745 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14746
14747         * check/gst/capslist.h:
14748           Comment test cases
14749         * check/gst/gststructure.c: (GST_START_TEST),
14750         (gst_structure_suite):
14751           Test automatic value type detection in gst_structure_from_string.
14752         * gst/gststructure.c: (gst_structure_parse_value):
14753           Add fraction as a type we try and guess automatically in
14754           caps/structure strings.
14755
14756 2005-11-22  Andy Wingo  <wingo@pobox.com>
14757
14758         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14759
14760         * gst/gsttagsetter.h:
14761         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14762         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14763         (gst_tag_setter_add_tag_valist)
14764         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14765         _add_values, _add_valist, and _add_valist_values. Since this is an
14766         interface the function suffixes should be more explicit so
14767         language binding don't end up with element.add_valist ->
14768         gst_tag_setter_add_valist, for example. Fixes #322069.
14769
14770 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14771
14772         * check/gst/gstcaps.c: (GST_START_TEST):
14773           Extend caps string tests to check that a caps to string
14774           conversion is reversible and produces the same caps.
14775
14776         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14777           Output "fraction" as the generic type fraction range, so caps
14778           serialisation and deserialisation works.
14779         * check/gst/capslist.h:
14780         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14781           Support 'MIN' and 'MAX' for deserialising fractions.
14782
14783 2005-11-22  Andy Wingo  <wingo@pobox.com>
14784
14785         * gst/gstevent.h (gst_event_new_new_segment)
14786         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14787         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14788         Renamed from *_newsegment, *_buffersize, *_notarget.
14789
14790         * scripts/update-funcnames: New script, performs the changes
14791         listed above.
14792
14793 2005-11-22  Wim Taymans  <wim@fluendo.com>
14794
14795         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14796         Make sure the GstFlowReturn is returned.
14797
14798         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14799         (gst_bus_add_signal_watch):
14800         * gst/gstbus.h:
14801         add gst_bus_add_signal_watch_full.
14802
14803         * gst/gstplugin.c: (gst_plugin_load_file):
14804         Small style cleanup.
14805
14806 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14807
14808         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14809           Block the fakesrc srcpad when we send an event, to avoid
14810           contention on the stream_lock causing random test failures.
14811
14812 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14813
14814         * check/gst/gstvalue.c: (GST_START_TEST):
14815         * gst/gstvalue.c: (gst_value_fraction_subtract):
14816           Fix subtraction.
14817
14818 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14819
14820         * gst/gst.h:
14821           include "gstchildproxy.h"
14822         * gst/gstchildproxy.h:
14823         * libs/gst/controller/gstcontroller.h:
14824           use G_GNUC_NULL_TERMINATED
14825
14826 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14827
14828         * check/gst/capslist.h:
14829         * check/gst/gstcaps.c: (GST_START_TEST):
14830         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14831         * gst/gststructure.c: (gst_structure_parse_range),
14832         (gst_structure_fixate_field_nearest_fraction):
14833         * gst/gststructure.h:
14834         * gst/gstvalue.c: (gst_value_init_fraction_range),
14835         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14836         (gst_value_collect_fraction_range),
14837         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14838         (gst_value_set_fraction_range_full),
14839         (gst_value_get_fraction_range_min),
14840         (gst_value_get_fraction_range_max),
14841         (gst_value_serialize_fraction_range),
14842         (gst_value_transform_fraction_range_string),
14843         (gst_value_compare_fraction_range),
14844         (gst_value_deserialize_fraction_range),
14845         (gst_value_intersect_fraction_fraction_range),
14846         (gst_value_intersect_fraction_range_fraction_range),
14847         (gst_value_subtract_fraction_fraction_range),
14848         (gst_value_subtract_fraction_range_fraction),
14849         (gst_value_subtract_fraction_range_fraction_range),
14850         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14851         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14852         (gst_value_transform_string_fraction), (_gst_value_initialize):
14853         * gst/gstvalue.h:
14854           Implement fraction ranges and extend GstFraction to support
14855           arithmetic subtraction, as well as deserialization from integer
14856           strings such as "100"
14857           Add a testsuite as for int and double range set operations
14858
14859 2005-11-21  Andy Wingo  <wingo@pobox.com>
14860
14861         * gst/gsttaglist.h: 
14862         * gst/gstcaps.h: 
14863         * gst/gststructure.h: Add glib-compat.h.
14864
14865 2005-11-21  Wim Taymans  <wim@fluendo.com>
14866
14867         * gst/gstbin.c: (gst_bin_change_state_func):
14868         Fix for #321595
14869
14870 2005-11-21  Wim Taymans  <wim@fluendo.com>
14871
14872         * gst/gstsegment.h:
14873         And add a nice define too.
14874
14875 2005-11-21  Wim Taymans  <wim@fluendo.com>
14876
14877         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14878         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14879         (gst_segment_set_duration), (gst_segment_set_last_stop),
14880         (gst_segment_set_seek), (gst_segment_set_newsegment),
14881         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14882         (gst_segment_clip):
14883         * gst/gstsegment.h:
14884         Make binding friendly.
14885
14886 2005-11-21  Andy Wingo  <wingo@pobox.com>
14887
14888         * gst/gsttagsetter.h: 
14889         * gst/gsttaglist.h: 
14890         * gst/gststructure.h: 
14891         * gst/gstcaps.h: 
14892         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14893         #319940.
14894
14895         * gst/gsterror.c (_gst_core_errors_init):
14896         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14897         category.
14898
14899         * gst/Makefile.am (gst_headers): Add glib-compat.h.
14900         (noinst_HEADERS): noinst the -private.
14901
14902 2005-11-21  Michael Smith <msmith@fluendo.com>
14903
14904         * gst/gstplugin.h:
14905         * gst/gstregistry.h:
14906           Remove unimplemented declarations for which we can see no sensible
14907           use.
14908
14909 2005-11-21  Andy Wingo  <wingo@pobox.com>
14910
14911         * gst/gst.h: Include glib-compat.h.
14912
14913         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14914
14915         * gst/glib-compat.c: Include the public and the private header.
14916
14917         * gst/glib-compat-private.h: Copied here from glib-compat.h.
14918
14919         * gst/gstvalue.c: 
14920         * gst/gstpad.c: 
14921         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14922
14923         * check/gst/gstevent.c (create_custom_events): Check that
14924         FLUSH_STOP is serialized.
14925
14926         * check/elements/identity.c (event_func): 
14927         * check/elements/fakesrc.c (event_func): No stream lock, the core
14928         takes it.
14929
14930         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14931         stream lock taking, yay.
14932
14933         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14934         ensure that core takes the stream lock.
14935
14936         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14937         lock name change.
14938
14939         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14940         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14941         it already. For the flush start we do take it though so we get the
14942         right preroll state change messages.
14943
14944         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14945         the stream lock here, the core does it for us.
14946
14947         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14948         GST_STREAM_GET_LOCK.
14949         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
14950         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
14951         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14952         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14953         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
14954         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14955
14956         * gst/gstpad.c: Update for stream lock name change.
14957
14958         * gst/base/gstbasesink.c: Update for preroll lock name change.
14959
14960 2005-11-21  Wim Taymans  <wim@fluendo.com>
14961
14962         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14963         (gst_clock_get_master):
14964         * gst/gstclock.h:
14965         * gst/gstsystemclock.c: (gst_system_clock_init):
14966         Convert Clock flags to object flags.
14967         Added methods to manage master/slave clocks.
14968
14969 2005-11-21  Wim Taymans  <wim@fluendo.com>
14970
14971         * check/gst/gstsegment.c: (GST_START_TEST):
14972         * docs/design/part-TODO.txt:
14973         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14974         (gst_base_sink_event), (gst_base_sink_do_sync),
14975         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14976         (gst_base_sink_query), (gst_base_sink_change_state):
14977         * gst/base/gstbasesink.h:
14978         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14979         (gst_base_src_default_newsegment),
14980         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14981         (gst_base_src_get_range), (gst_base_src_loop),
14982         (gst_base_src_change_state):
14983         * gst/base/gstbasesrc.h:
14984         * gst/base/gstbasetransform.c:
14985         (gst_base_transform_prepare_output_buf),
14986         (gst_base_transform_event), (gst_base_transform_change_state):
14987         * gst/base/gstbasetransform.h:
14988         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14989         (gst_collect_pads_event):
14990         * gst/base/gstcollectpads.h:
14991         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14992         (gst_fake_src_create):
14993         * gst/elements/gstfakesrc.h:
14994         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14995         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14996         (gst_segment_set_last_stop), (gst_segment_set_seek),
14997         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14998         (gst_segment_to_running_time), (gst_segment_clip):
14999         * gst/gstsegment.h:
15000         More segment updates, replace code in plugins with segment
15001         helper functions.
15002
15003 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15004
15005         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15006         Don't ignore sscanf results
15007
15008 2005-11-21  Andy Wingo  <wingo@pobox.com>
15009
15010         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15011
15012         * *.h:
15013         * *.c: Ran scripts/update-macros. Oh yes.
15014
15015         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15016         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15017         GST_GET_LOCK, etc.
15018
15019         * scripts/update-macros: New script. Run it on your files to
15020         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15021         well.
15022
15023 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15024
15025         * docs/gst/Makefile.am:
15026         * docs/gst/gstreamer-docs.sgml:
15027         * docs/gst/gstreamer-sections.txt:
15028         * docs/gst/gstreamer.types:
15029         * gst/gstinfo.h:
15030           more docs fixes, add new api to the docs
15031
15032 2005-11-21  Andy Wingo  <wingo@pobox.com>
15033
15034         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15035         state_broadcast call.
15036
15037         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15038
15039 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15040
15041         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15042         function calls for arrays.
15043
15044 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15045
15046         * docs/random/ensonic/media-device-daemon.txt:
15047           wild idea, can this be done?
15048         * docs/gst/gstreamer-sections.txt:
15049         * gst/gsterror.h:
15050         * gst/gstfilter.c:
15051         * gst/gstfilter.h:
15052         * gst/gstplugin.h:
15053         * gst/gstpluginfeature.c:
15054         * gst/gsttrace.c:
15055         * gst/gstvalue.c:
15056         * gst/gstvalue.h:
15057           doc fixes and additions
15058
15059 2005-11-21  Andy Wingo  <wingo@pobox.com>
15060
15061         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15062         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15063         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15064         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15065         private to the basesrc implementation.
15066
15067         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15068         behalf of event function if necessary. It should no longer be
15069         necessary to take the stream lock in pad's event functions. Fixes
15070         #320299.
15071
15072 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15073         * docs/gst/gstreamer-sections.txt:
15074         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15075         (gst_structure_fixate_field_nearest_double),
15076         (gst_structure_fixate_field_boolean):
15077         * gst/gststructure.h:
15078         * win32/common/libgstreamer.def:
15079         * win32/gstreamer.def:
15080
15081         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15082         (#322027)
15083
15084 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15085
15086         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15087         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15088         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15089         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15090         (gst_fdsrc_uri_handler_init):
15091         * gst/elements/gstfdsrc.h:
15092           Port fd:// URI handler from 0.8 to fdsrc
15093
15094 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15095
15096         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15097         (gst_value_serialize_fourcc):
15098         * gst/gstvalue.h:
15099           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15100           consistent with our other format defines (#320324).
15101
15102 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15103
15104         * gst/gstvalue.c: (gst_value_is_fixed):
15105           Revert previous commit. Value lists are by definition
15106           not fixed, as they are a list of possible values.
15107
15108 2005-11-21  Andy Wingo  <wingo@pobox.com>
15109
15110         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15111         during the stable series if we need it. Fixes #319178.
15112
15113         * gst/gstevent.c (gst_event_new_filler): Removed.
15114
15115         * check/gst/gstevent.c: Update comment about filler events.
15116
15117 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15118
15119         * gst/gstvalue.c: (gst_value_is_fixed):
15120           Should handle both value arrays and value lists.
15121
15122 2005-11-21  Andy Wingo  <wingo@pobox.com>
15123
15124         patch by: Alessandro Dessina <alessandro nnva org>
15125
15126         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15127         functions to access arrays. Fixes #321962.
15128
15129 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15130
15131         * docs/gst/gstreamer.types:
15132           gst_collectpads_get_type => gst_collect_pads_get_type.
15133           
15134         * gst/base/gstbasetransform.c:
15135           Remove unused SIGNAL_HANDOFF enum.
15136
15137 2005-11-21  Andy Wingo  <wingo@pobox.com>
15138
15139         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15140         the event type (upstream, downstream, serialized). Renamed
15141         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15142         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15143         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15144
15145         * gst/gstevent.c: Update for new CUSTOM event names.
15146
15147         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15148
15149         * gst/gstevent.h:
15150         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15151         bug #319392.
15152
15153 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15154
15155         * docs/gst/gstreamer-sections.txt:
15156         * win32/common/libgstbase.def:
15157         * win32/libgstbase.def:
15158         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15159         (gst_collect_pads_class_init), (gst_collect_pads_init),
15160         (gst_collect_pads_finalize), (gst_collect_pads_new),
15161         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15162         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15163         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15164         (gst_collect_pads_start), (gst_collect_pads_stop),
15165         (gst_collect_pads_peek), (gst_collect_pads_pop),
15166         (gst_collect_pads_available), (gst_collect_pads_read),
15167         (gst_collect_pads_flush), (gst_collect_pads_event),
15168         (gst_collect_pads_chain):
15169         * gst/base/gstcollectpads.h:
15170           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15171           unimplemented functions as unimplemented. Add padding to
15172           GstCollectData. (#320766, #320423)
15173
15174 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15175
15176         * gst/gstmessage.c:
15177           Improve docs for DURATION message (usage of duration parameter)
15178           (#320113)
15179
15180 2005-11-20  Wim Taymans  <wim@fluendo.com>
15181
15182         * check/Makefile.am:
15183         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15184         (main):
15185         * gst/Makefile.am:
15186         * gst/gst.h:
15187         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15188         (gst_segment_set_seek), (gst_segment_set_newsegment),
15189         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15190         (gst_segment_clip):
15191         * gst/gstsegment.h:
15192         Added segment helper structure and methods. Not fully implemented
15193         yet.
15194         Added segment check.
15195
15196 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15197
15198         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15199           Add a deserialisation test for fractions
15200         * examples/metadata/read-metadata.c: (message_loop),
15201         (make_pipeline), (main):
15202           Fix up metadata reading sample.
15203         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15204           Debug format fix
15205         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15206           Don't try and fixate empty caps
15207         * gst/gst_private.h:
15208           Wrap in G_BEGIN_DECLS/G_END_DECLS
15209         * gst/gstvalue.c: (gst_value_collect_fraction),
15210         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15211         (gst_value_transform_string_fraction),
15212         (gst_value_compare_fraction):
15213           Add some extra guards to ensure that we don't end up 
15214           with an invalid denominator of 0 in a gstfraction and
15215           that fractions always get reduced.
15216
15217 2005-11-20  Wim Taymans  <wim@fluendo.com>
15218
15219         * docs/gst/gstreamer-sections.txt:
15220         * gst/gstbuffer.h:
15221         * gst/gstelement.c:
15222         * gst/gstformat.c:
15223         * gst/gstformat.h:
15224         * gst/gstindex.h:
15225         * gst/gstquery.c:
15226         * gst/gstquery.h:
15227         * gst/gstvalue.c:
15228         Doc fixes.
15229
15230 2005-11-20  Wim Taymans  <wim@fluendo.com>
15231
15232         * docs/design/part-TODO.txt:
15233         * gst/gstcaps.h:
15234         Make a proper enum of the flag.
15235
15236 2005-11-19  Wim Taymans  <wim@fluendo.com>
15237
15238         * docs/design/part-TODO.txt:
15239         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15240         (gst_format_to_quark), (gst_format_register):
15241         * gst/gstformat.h:
15242         * gst/gstquery.c: (_gst_query_initialize),
15243         (gst_query_type_get_name), (gst_query_type_to_quark),
15244         (gst_query_type_register):
15245         * gst/gstquery.h:
15246         Add type to quark and type to string conversions.
15247
15248 2005-11-19  Andy Wingo  <wingo@pobox.com>
15249
15250         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15251         #320097.
15252
15253 2005-11-19  Wim Taymans  <wim@fluendo.com>
15254
15255         * docs/design/part-TODO.txt:
15256         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15257         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15258         (gst_bin_handle_message_func):
15259         * gst/gstbin.h:
15260         Make message handling overridable.
15261
15262 2005-11-19  Andy Wingo  <wingo@pobox.com>
15263
15264         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15265
15266         * gst/gstclock.h:
15267         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15268         be a GstClockTime.
15269         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15270         is a GstClockTime. Fixes #321710.
15271
15272         * gst/gstclock.h (GstClock): Remove offset property. Add
15273         internal_calibration and external_calibration. Fix padding. Pad
15274         also by GstClockTime so we don't run into problems.
15275
15276         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15277         (gst_clock_get_rate_offset): Remove.
15278         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15279
15280         * gst/gstutils.h:
15281         * gst/gstutils.c (g_static_rec_cond_wait)
15282         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15283
15284         * gst/gstbin.c: Remove terrible continue_state prototype.
15285
15286         * gst/gstelement.h (gst_element_continue_state): Make public.
15287
15288         * gst/gstelement.h:
15289         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15290         by continue_state. Fixes #319389.
15291
15292         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15293         Really fixes #168438. However I don't see anywhere where the
15294         filter function is called... stupid GStreamer...
15295         
15296         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15297         don't have a dispose function, so it won't get called when the
15298         object is unreffed, but oh well!
15299
15300         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15301         allows a destroy function to be set so user_data can be freed.
15302         Fixes #168438.
15303         (gst_index_set_filter): Call gst_index_set_filter_full.
15304
15305         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15306
15307         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15308         string should produce an error, given the lack of a way to
15309         represent NULL strings. Fixes #165650.
15310         
15311         * gst/gstvalue.h: 
15312         * gst/gstvalue.c (gst_value_array_append_value) 
15313         (gst_value_array_prepend_value, gst_value_array_get_size) 
15314         (gst_value_array_get_value): New API, copied from
15315         gst_value_list_*, only operates on arrays.
15316         (gst_value_list_append_value, gst_value_list_prepend_value) 
15317         (gst_value_list_concat, gst_value_list_get_size) 
15318         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15319
15320         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15321         init_list, because it works on both.
15322         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15323         (gst_value_copy_list_or_array): Renamed from copy_list.
15324         (gst_value_free_list_or_array): Renamed from free_list.
15325         (gst_value_collect_list_or_array): Renamed from collect_list.
15326         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15327         (gst_value_list_or_array_peek_pointer): Renamed from
15328         list_peek_pointer.
15329         (_gst_value_array_value_table, _gst_value_list_value_table):
15330         Update value table functions.
15331         (gst_value_compare_list_or_array): Renamed from compare_list.
15332
15333         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15334         some constness.
15335
15336         * gst/gsttaglist.c:
15337         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15338         GstTagList*. Fixes #143472.
15339
15340         * gst/gststructure.h: Clarify what the foreach/map functions can
15341         or can't do to their arguments.
15342
15343 2005-11-18  Wim Taymans  <wim@fluendo.com>
15344
15345         * gst/gstclock.c: (gst_clock_set_calibration),
15346         (gst_clock_get_calibration):
15347         Doc and API fixes.
15348         Calibration can be set with internal time equal to current
15349         internal time too.
15350
15351 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15352
15353         * gst/gsterror.c:
15354         * gst/gsterror.h:
15355           document
15356
15357 2005-11-18  Andy Wingo  <wingo@pobox.com>
15358
15359         * configure.ac: 
15360         * pkgconfig/gstreamer-net.pc.in:
15361         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15362         * pkgconfig/Makefile.am: Add net pkgconfig files.
15363
15364 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15365
15366         * gst/gstcaps.c:
15367         * gst/gstghostpad.c:
15368         * gst/gsttrace.c:
15369         * gst/gstvalue.c:
15370         * gst/gstvalue.h:
15371           docs fixes
15372
15373 2005-11-18  Andy Wingo  <wingo@pobox.com>
15374
15375         * gst/net/gstnetclientclock.c: Turn off debugging.
15376
15377         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15378         times connverge somewhat. Can't make a real test.
15379
15380         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15381         integer arithmetic. Return the minimum of the domain, which can be
15382         set as "internal" for gst_clock_set_calibration.
15383         (gst_net_client_clock_observe_times): Call _set_calibration.
15384         (gst_net_client_clock_new): Call _set_calibration instead of
15385         rate_offset.
15386
15387         * check/net/gstnetclientclock.c (test_functioning): Use the right
15388         adjustment api.
15389
15390         * gst/gstclock.h:
15391         * gst/gstclock.c (gst_clock_get_calibration) 
15392         (gst_clock_set_calibration): New functions, obsolete the ones I
15393         added yesterday. Doh. Precision issues mean we have to extrapolate
15394         from a point in the more recent past than 1970.
15395         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15396         obsolete.
15397         (gst_clock_adjust_unlocked): Use the right calibration data.
15398
15399 2005-11-18  Edward Hervey  <edward@fluendo.com>
15400
15401         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15402         Also reset the ->current_* values in READY->PAUSED
15403
15404 2005-11-18  Andy Wingo  <wingo@pobox.com>
15405
15406         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15407         Whoops, check the right fd. Also add some debugging.
15408         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15409         (do_linear_regression): Add a crapload of debugging. Subtract off
15410         the minimum values from the input series to discard unneeded bits.
15411         Use only int arithmetic. There is still double arithmetic when
15412         calculating the intercept that needs fixing. Return boolean to
15413         indicate success; FALSE would mean the domain or range is too
15414         great. Still needs fixes.
15415
15416 2005-11-18  Wim Taymans  <wim@fluendo.com>
15417
15418         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15419         For the current position in stream time, we need to subtract
15420         accumulated time.
15421         
15422         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15423         Release lock before calling the callback function of async
15424         entries.
15425
15426 2005-11-18  Andy Wingo  <wingo@pobox.com>
15427
15428         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15429         Port goes all the way to MAXUINT16.
15430
15431         * gst/net/gstnettimeprovider.c: Make the port range the same as
15432         for the kernel: 0 assigns, otherwise ports are less than
15433         MAXUINT16.
15434
15435         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15436         port change.
15437
15438         * check/net/gstnetclientclock.c (test_functioning): Add the start
15439         of another test. 
15440
15441 2005-11-18  Wim Taymans  <wim@fluendo.com>
15442
15443         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15444         (gst_bin_remove_func), (bin_bus_handler):
15445         * gst/gstbin.h:
15446         Removing a clock provider from a bin, triggers a clock lost message
15447         so that a new clock will be selected.
15448         Adding a clock to a bin triggers a clock provider message.
15449         Make sure we reselect a clock when we received a clock lost message.
15450         Keep a reference to the element that provided the clock.
15451
15452 2005-11-18  Andy Wingo  <wingo@pobox.com>
15453
15454         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15455         the clock initially so it produces values around the base time.
15456         (gst_net_client_clock_class_init): Typo fix.
15457         (gst_net_client_clock_thread): Add note on when the socket gets
15458         closed.
15459
15460 2005-11-17  Wim Taymans  <wim@fluendo.com>
15461
15462         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15463         Free remote and local time arrays.
15464
15465 2005-11-17  Wim Taymans  <wim@fluendo.com>
15466
15467         * gst/net/gstnetclientclock.c: (do_linear_regression),
15468         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15469         Fix compilation, uninitialized vars and a forgotten continue.
15470
15471 2005-11-17  Andy Wingo  <wingo@pobox.com>
15472
15473         * check/Makefile.am (check_PROGRAMS): 
15474         * check/net/gstnetclientclock.c: Add a most minimal test for the
15475         net client clock. More to come later.
15476
15477         * gst/net/gstnet.h: 
15478         * gst/net/Makefile.am: Add netclientclock.
15479
15480         * gst/net/gstnetclientclock.h:
15481         * gst/net/gstnetclientclock.c: New files, implement an untested
15482         GstClock that takes its time from a network time provider.
15483         Implements the algorithm in network-clock.scm.
15484
15485         * tests/network-clock.scm (*window-size*): Rename from
15486         *queue-length*.
15487         * tests/network-clock.scm (network-time): 
15488         * tests/network-clock-utils.scm (q-push): Update callers.
15489
15490 2005-11-17  Wim Taymans  <wim@fluendo.com>
15491
15492         * gst/gstbin.c: (gst_bin_provide_clock_func),
15493         (gst_bin_sort_iterator_new):
15494         And unref the child too..
15495
15496 2005-11-17  Wim Taymans  <wim@fluendo.com>
15497
15498         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15499         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15500         Refactor the sort iterator so it can be used while holding the
15501         LOCK too.
15502         Make clock selection select a clock closest to the source.
15503
15504 2005-11-17  Michael Smith <msmith@fluendo.com>
15505
15506         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15507         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15508         * gst/gstclock.h:
15509           Anonymous structs are a gcc (and some other compilers) extension, so
15510           don't use them. Since this is only for ABI-compatibility, and our
15511           API/ABI freeze is over in a few days, this whole thing will only
15512           last a few days, so don't bother trying to think up a meaningful
15513           name for the struct.
15514
15515 2005-11-17  Andy Wingo  <wingo@pobox.com>
15516
15517         * gst/gstclock.h (GstClock): Add rate and offset properties,
15518         preserving ABI stability. Add rate/offset accessors. Will file bug
15519         for the freeze break.
15520
15521         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15522         and offset, trying to keep precision and avoiding
15523         underflow/overflow.
15524         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15525         functions. Make gst_clock_set_time_adjust obsolete.
15526         (gst_clock_set_time_adjust): Note that this function is obsolete.
15527         Will file bug soon.
15528
15529         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15530         greppable by using GST_PADDING-1+1.
15531
15532 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15533
15534         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15535
15536         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15537           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15538
15539         * gst/gstpadtemplate.h:
15540         * gst/gstpluginfeature.h:
15541           Don't use c++ style comments in headers (#321638).
15542
15543 2005-11-16  Andy Wingo  <wingo@pobox.com>
15544
15545         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15546         buffer.
15547
15548         * check/net/gstnettimeprovider.c: Check to see that the time
15549         provider actually provides times. Works, yo!
15550
15551 2005-11-16  Wim Taymans  <wim@fluendo.com>
15552
15553         * check/Makefile.am:
15554         Enable more tests.
15555
15556         * check/elements/fakesrc.c: (GST_START_TEST):
15557         Set element to NULL before disposing it.
15558
15559 2005-11-16  Andy Wingo  <wingo@pobox.com>
15560
15561         * gst/net/Makefile.am:
15562         * gst/net/gstnet.h:
15563         * gst/net/gstnettimeprovider.c: 
15564         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15565         provider, include it from gstnet.h, and add it to the build.
15566
15567         * gst/net/gstnettimepacket.h: 
15568         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15569         sending and receiving.
15570
15571 2005-11-16  Wim Taymans  <wim@fluendo.com>
15572
15573         * check/Makefile.am:
15574         Enable valgrind check.
15575
15576         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15577         (gst_fake_src_alloc_buffer):
15578         Fix memleak.
15579
15580 2005-11-16  Wim Taymans  <wim@fluendo.com>
15581
15582         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15583         Call parent finalize too.
15584
15585 2005-11-16  Wim Taymans  <wim@fluendo.com>
15586
15587         * check/Makefile.am:
15588         Enable valgrind check that should work fine now.
15589
15590         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15591         * gst/gstqueue.c: (gst_queue_init):
15592         Fix memleaks in pad allocation.
15593
15594 2005-11-16  Andy Wingo  <wingo@pobox.com>
15595
15596         * gst/net/Makefile.am:
15597         * gst/net/gstnet.h: New part of core to hold network elements and
15598         objects. Put in core because it exposes API that applications want
15599         to use. The library is named libgstnet-tempname right now because
15600         of the existing libgstnet in gst-plugins-base. Solution is
15601         probably to rename the one in plugins-base; will file a bug for
15602         the freeze break.
15603
15604         * gst/net/gstnettimeprovider.c: 
15605         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15606         get_time call over the network.
15607
15608         * configure.ac: 
15609         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15610
15611         * check/Makefile.am:
15612         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15613         get additions shortly.
15614
15615 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15616
15617         * gst/gstpad.c: (gst_pad_new_from_static_template):
15618         * gst/gstpad.h:
15619           add gst_pad_new_from_static_template functions
15620         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15621         (gst_check_setup_sink_pad):
15622         * gst/elements/gsttee.c: (gst_tee_init):
15623           and use them
15624
15625 2005-11-16  Wim Taymans  <wim@fluendo.com>
15626
15627         * gst/gstpad.c: (gst_pad_pause_task):
15628         Removed warning, it's not really an error either.
15629
15630 2005-11-16  Wim Taymans  <wim@fluendo.com>
15631
15632         * gst/base/gstbasetransform.c:
15633         (gst_base_transform_prepare_output_buf),
15634         (gst_base_transform_event):
15635         Check if the caps are NULL, this can happen if the element
15636         is shutting down and the pad caps are set to NULL.
15637
15638 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15639
15640         * gst/elements/gsttee.c: (gst_tee_init):
15641           fix pad template leak in tee
15642
15643 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15644
15645         * gst/glib-compat.c: (g_value_dup_gst_object):
15646         * gst/glib-compat.h:
15647         * gst/gstpad.c: (gst_pad_set_property):
15648           use gst_object_ref when setting the pad template; this will
15649           trigger the pad template leaks on GLib 2.6 and the slaves
15650
15651 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15652
15653         * gst/glib-compat.c: (gst_flags_get_first_value):
15654         * gst/glib-compat.h:
15655         * gst/gstregistryxml.c:
15656           remove functions copied from GLib 2.6
15657
15658 2005-11-16  Michael Smith <msmith@fluendo.com>
15659
15660         * gst/Makefile.am:
15661           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15662           do, but only breaks with newer valgrind versions. We're not a
15663           valgrind tool, we have no link-time dependencies on libcoregrind.
15664
15665 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15666
15667         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15668           some debug changes
15669         * gst/gstmessage.h:
15670           typo fixes
15671
15672 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15673
15674         * gst/base/gstbasesrc.c: (gst_base_src_init):
15675         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15676         * gst/gstqueue.c: (gst_queue_init):
15677         * gst/gstregistryxml.c: (load_feature):
15678           Revert all these unrefs, they don't even pass make check !
15679
15680 2005-11-15  Johan Dahlin  <johan@gnome.org>
15681
15682         * gst/base/gstbasesrc.c: (gst_base_src_init):
15683         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15684         * gst/gstqueue.c: (gst_queue_init): 
15685         Free pad templates, fixes a couple of leaks.
15686
15687 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15688
15689         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15690
15691         * gst/gstpad.c: (gst_pad_get_property):
15692           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15693           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15694           (#321452)
15695
15696 2005-11-15  Wim Taymans  <wim@fluendo.com>
15697
15698         * gst/gstevent.c:
15699         Small doc update.
15700
15701 2005-11-15  Andy Wingo  <wingo@pobox.com>
15702
15703         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15704
15705         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15706         using GST_CLOCK_TIME_NONE to disable base time management.
15707         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15708         time if it was NONE before.
15709         (gst_pipeline_change_state): Only munge the base time if
15710         stream_time != GST_CLOCK_TIME_NONE.
15711
15712         * check/gst/gstpipeline.c (test_base_time): Punt around the
15713         problem of the probe not being called, because that's not the
15714         issue I'm looking at. Add a check that setting stream_time to NONE
15715         disables base time management.
15716         
15717 2005-11-15  Wim Taymans  <wim@fluendo.com>
15718
15719         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15720         segment_stop == -1 at startup.
15721
15722         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15723         (gst_base_transform_change_state):
15724         Init segment values at start.
15725
15726 2005-11-15  Wim Taymans  <wim@fluendo.com>
15727
15728         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15729         0 segment values are 0 in any format.
15730
15731         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15732         * gst/base/gstbasetransform.h:
15733         Parse newsegment correctly in basetransform
15734
15735         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15736         Sync to clock using updated segment values.
15737
15738 2005-11-15  Andy Wingo  <wingo@pobox.com>
15739
15740         * check/gst/gstpipeline.c (test_base_time): Add check that the
15741         base time and stream time are reset correctly.
15742
15743 2005-11-15  Wim Taymans  <wim@fluendo.com>
15744
15745         * docs/design/part-TODO.txt:
15746         Some more TODO items.
15747
15748 2005-11-15  Andy Wingo  <wingo@pobox.com>
15749
15750         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15751         error if the user selected "no clock" as the clocking method.
15752
15753         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15754         timestamps with live capture.
15755
15756         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15757         is 0 but we are a live source, timestamp the buffers using the
15758         element's clock.
15759
15760 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15761
15762         * docs/gst/gstreamer-sections.txt:
15763         * gst/gsterror.c:
15764         * gst/gstghostpad.c:
15765         * gst/gstobject.h:
15766         * gst/gstxml.c:
15767           more section docs
15768
15769 2005-11-14  Wim Taymans  <wim@fluendo.com>
15770
15771         * common/gst.supp:
15772           add suppressions from Wim's Debian machine
15773
15774 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15775
15776         * common/gst.supp:
15777           add suppressions from Andy's AMD64 Ubuntu machine
15778
15779 2005-11-14  Andy Wingo  <wingo@pobox.com>
15780
15781         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15782         STATE_LOCK not necessary. Fixes #311489.
15783
15784         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15785         #305291.
15786
15787         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15788         this function is not implemented.
15789
15790 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15791
15792         * gst/base/gstbasetransform.c:
15793         (gst_base_transform_prepare_output_buf):
15794         Ref the source pad caps while we need them.
15795         Fixes (#321386)
15796
15797 2005-11-11  Wim Taymans  <wim@fluendo.com>
15798
15799         * docs/gst/gstreamer-sections.txt:
15800         Added some docs for GstCollectData.
15801
15802         * gst/base/gstadapter.c:
15803         Some small code example fix.
15804
15805         * gst/base/gstcollectpads.c:
15806         * gst/base/gstcollectpads.h:
15807         Document some more.
15808
15809 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15810
15811         * configure.ac: back to HEAD
15812
15813 === release 0.9.5 ===
15814
15815 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15816
15817         * configure.ac:
15818           releasing 0.9.5, "Bike Lunch Day"
15819
15820 2005-11-11  Wim Taymans  <wim@fluendo.com>
15821
15822         * gst/gstbuffer.c: (_gst_buffer_copy):
15823         Copy more flags.
15824
15825         * gst/gstcaps.c: (gst_caps_is_equal):
15826         Fix some docs.
15827         Make _is_equal fast in the trivial cases.
15828
15829         * gst/gstminiobject.c:
15830         * gst/gstminiobject.h:
15831         More docs. Spifify .h file.
15832
15833         * gst/gstutils.c:
15834         Small doc update.
15835
15836 2005-11-11  Wim Taymans  <wim@fluendo.com>
15837
15838         * gst/base/gstbasetransform.c:
15839         (gst_base_transform_prepare_output_buf),
15840         (gst_base_transform_handle_buffer):
15841         Small cleanups.
15842         If we're processing a buffer and need to allocate an output
15843         buffer, we cannot accept a format change. If we did get a 
15844         format change, we have to alloc a buffer ourselves of the 
15845         right size.
15846
15847 2005-11-11  Wim Taymans  <wim@fluendo.com>
15848
15849         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15850         While checking the flag for reentrancy in the gstcaps function
15851         is nice to detect recursive invocations, it also makes it 
15852         impossible to call getcaps from multiple threads, which must be
15853         possible. So, checking for recursive calls has to go.
15854
15855 2005-11-11  Michael Smith <msmith@fluendo.com>
15856
15857         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15858           Don't sync on buffers that fall partially outside our current
15859           segment. Prevents an assertion failure/abort playing some files.
15860
15861 2005-11-10  Andy Wingo  <wingo@pobox.com>
15862
15863         * check/gst/gstbin.c (test_message_state_changed_children): Style
15864         fix..
15865
15866         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15867         gst_bus_poll with the signal watch. Ensures that poll and a signal
15868         watch see the same messages.
15869
15870         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15871         a poll and a watch at the same time get the same messages.
15872
15873 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15874
15875         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15876         * gst/gstcaps.c: (gst_caps_intersect):
15877           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15878           and it's not needed.
15879
15880 2005-11-10  Wim Taymans  <wim@fluendo.com>
15881
15882         * docs/design/part-TODO.txt:
15883         Updated todo.
15884
15885 2005-11-10  Wim Taymans  <wim@fluendo.com>
15886
15887         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15888         * gst/base/gstbasesrc.c: (gst_base_src_wait),
15889         (gst_base_src_do_sync), (gst_base_src_get_range):
15890         Implement clock sync in base class.
15891
15892 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15893
15894         patch by: Tim-Philipp Müller <tim at centricular dot net>
15895
15896         * gst/gststructure.c: (gst_structure_parse_field),
15897         (gst_structure_from_string):
15898           Forward-port a 0.8 patch to handle escaped spaces in structure string,
15899           so that gst_parse_launch() can deal with spaces in filtered link
15900           caps (fixes #164479)
15901         * check/gst/capslist.h:
15902         * check/gst/gststructure.c: (GST_START_TEST):
15903           add unit tests for this change
15904
15905 2005-11-10  Wim Taymans  <wim@fluendo.com>
15906
15907         * docs/gst/gstreamer-sections.txt:
15908         * gst/gstelement.c:
15909         * gst/gstelement.h:
15910         Fix docs, move some STATE macros to private.
15911
15912 2005-11-10  Wim Taymans  <wim@fluendo.com>
15913
15914         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15915         Added check for bug #317341
15916
15917         * gst/gstbuffer.c:
15918         * gst/gstbuffer.h:
15919         Some more spiffifying.
15920
15921         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15922         Call peer linkfunction if we are a source pad. Totally fixes
15923         #317341
15924
15925         * gst/gstpad.c:
15926         Update docs, source pads should call the peer linkfunction
15927         so they can atomically perform the pad link.
15928
15929 2005-11-09  Wim Taymans  <wim@fluendo.com>
15930
15931         * gst/gstbuffer.c:
15932         * gst/gstbuffer.h:
15933         Uber-spiffy-spiffify some more.
15934
15935 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
15936
15937         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15938         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15939         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15940         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15941         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15942         * gst/gstpad.c: (gst_pad_init):
15943           Use GST_DEBUG_FUNCPTR() more extensively.
15944
15945 2005-11-09  Wim Taymans  <wim@fluendo.com>
15946
15947         * gst/gstobject.c: (gst_object_class_init):
15948         * gst/gstobject.h:
15949         Documentation fixes.
15950
15951 2005-11-09  Edward Hervey  <edward@fluendo.com>
15952
15953         * gst/gsttypefindfactory.c:
15954         Fix docs.
15955         
15956 2005-11-09  Edward Hervey  <edward@fluendo.com>
15957
15958         * gst/base/gsttypefindhelper.c:
15959         * gst/gsttypefind.c:
15960         * gst/gsttypefind.h:
15961         Fix docs.
15962
15963 2005-11-09  Wim Taymans  <wim@fluendo.com>
15964
15965         * gst/gstiterator.c:
15966         Fix revision data.
15967
15968         * gst/gsttask.c:
15969         * gst/gsttask.h:
15970         Fix docs.
15971
15972 2005-11-09  Wim Taymans  <wim@fluendo.com>
15973
15974         * gst/gstevent.h:
15975         * gst/gsturi.h:
15976         Fix docs.
15977
15978 2005-11-09  Wim Taymans  <wim@fluendo.com>
15979
15980         * docs/gst/gstreamer-sections.txt:
15981         Moved the message async delivery private lock and cond
15982         to the private section.
15983
15984         * gst/gstmessage.c:
15985         * gst/gstmessage.h:
15986         Fixed docs.
15987
15988 2005-11-09  Edward Hervey  <edward@fluendo.com>
15989
15990         * docs/gst/gstreamer-sections.txt:
15991         * gst/gsturi.c:
15992         * gst/gsturi.h:
15993         Document GstURIHandler
15994
15995 2005-11-09  Wim Taymans  <wim@fluendo.com>
15996
15997         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15998         (gst_iterator_find_custom):
15999         * gst/gstiterator.h:
16000         Fix iterator docs.
16001
16002 2005-11-09  Wim Taymans  <wim@fluendo.com>
16003
16004         * gst/gstbin.h:
16005         Document another field.
16006
16007         * gst/gststructure.c:
16008         * gst/gststructure.h:
16009         Document.
16010
16011 2005-11-09  Wim Taymans  <wim@fluendo.com>
16012
16013         * gst/gstbin.h:
16014         Documented structs.
16015
16016 2005-11-09  Wim Taymans  <wim@fluendo.com>
16017
16018         * docs/gst/gstreamer-sections.txt:
16019         Added some new macros.
16020
16021         * gst/gstclock.c:
16022         * gst/gstclock.h:
16023         * gst/gstobject.h:
16024         Docs updates.
16025
16026 2005-11-09  Wim Taymans  <wim@fluendo.com>
16027
16028         * docs/design/part-TODO.txt:
16029         Some more items for the TODO
16030
16031         * gst/gstcaps.c:
16032         * gst/gstcaps.h:
16033         Document GstCaps.
16034
16035 2005-11-09  Andy Wingo  <wingo@pobox.com>
16036
16037         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16038         to work on something else now tho...
16039
16040         * gst/base/gstadapter.c: More adapter docs.
16041
16042         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16043         (gst_file_sink_stop): New functions, replace the state change
16044         handler.
16045         (gst_file_sink_class_init): Hook up the start and stop functions.
16046         (gst_file_sink_base_init): Don't set the state change handler any
16047         more. It was a bit ugly too, being set from here...
16048         (gst_file_sink_get_property, gst_file_sink_set_property):
16049         Cleanups...
16050         (gst_file_sink_set_location): More robust check that doesn't call
16051         GST_STATE. Ugggggg.
16052
16053 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16054
16055         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16056           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16057
16058 2005-11-08  Wim Taymans  <wim@fluendo.com>
16059
16060         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16061         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16062         (gst_base_sink_chain), (gst_base_sink_change_state):
16063         * gst/base/gstbasesink.h:
16064         * gst/base/gstbasesrc.h:
16065         * gst/gstelement.h:
16066         * gst/gstevent.h:
16067         Avoid excessive typechecking in macros.
16068
16069         * gst/gstminiobject.c: (gst_mini_object_get_type),
16070         (gst_mini_object_init), (gst_mini_object_new),
16071         (gst_mini_object_free):
16072         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16073         (gst_object_finalize):
16074         Remove cruft code, optimize alloc_trace.
16075
16076 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16077
16078         * docs/faq/gst-uninstalled:
16079           fix up PS1 for systems that try to reset it
16080
16081 2005-11-07  Wim Taymans  <wim@fluendo.com>
16082
16083         * gst/base/gstbasesrc.c: (gst_base_src_init),
16084         (gst_base_src_get_range):
16085         Set the segment_end to -1 initially. Fixed typefind.
16086
16087 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16088
16089         * gst/base/gstadapter.c:
16090           Debug category should be 'adapter', not 'GstAdapter'.
16091           
16092         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16093         (gst_collectpads_class_init), (gst_collectpads_init),
16094         (gst_collectpads_peek), (gst_collectpads_pop),
16095         (gst_collectpads_event), (gst_collectpads_chain):
16096           Add debug category and some debugging output. Use boilerplate
16097           macros. Remove some extraneous words from docs.
16098
16099 2005-11-05  Andy Wingo  <wingo@pobox.com>
16100
16101         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16102         macro.
16103
16104 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16105
16106         * docs/gst/gstreamer-sections.txt:
16107         * gst/gstcaps.h:
16108         * gst/gstinfo.c:
16109         * gst/gstminiobject.h:
16110         * gst/gstobject.h:
16111         * gst/gstutils.h:
16112           more docs added
16113
16114 2005-11-04  Wim Taymans  <wim@fluendo.com>
16115
16116         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16117         Small update to stop at the configured segment_end
16118         position.
16119
16120 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16121
16122         * gst/gstregistry.c:
16123         * gst/gstregistry.h:
16124           added missing docs
16125
16126 2005-11-04  Edward Hervey  <edward@fluendo.com>
16127
16128         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16129         Check if we are doing a segment seek and have arrived at the
16130         end of that segment.
16131
16132 2005-11-04  Wim Taymans  <wim@fluendo.com>
16133
16134         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16135         Don't leak a mutex unlock in case of an error.
16136
16137         * gst/gstbus.h:
16138         Doc fixes.
16139
16140 2005-11-04  Wim Taymans  <wim@fluendo.com>
16141
16142         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16143         (gst_bus_post):
16144         Get the context to wake up only once.
16145
16146 2005-11-03  Wim Taymans  <wim@fluendo.com>
16147
16148         * check/states/sinks.c: (GST_START_TEST):
16149         Uncomment fixed check.
16150
16151         * docs/design/part-TODO.txt:
16152         Updated TODO.
16153
16154         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16155         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16156         (gst_base_sink_get_position):
16157         If we are going to PLAYING, post the right pending state
16158         when we post the intermediate paused message.
16159
16160         * gst/gstelement.c: (gst_element_continue_state),
16161         (gst_element_set_state_func), (gst_element_change_state):
16162         Don't post state changes that were between the same state
16163         and were not ASYNC.
16164
16165 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16166
16167         * docs/gst/gstreamer-sections.txt:
16168         * gst/gstcaps.h:
16169         * gst/gstinfo.c:
16170         * gst/gstminiobject.h:
16171         * gst/gstobject.h:
16172         * gst/gstutils.h:
16173           more docs and doc style fixes
16174
16175 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16176
16177         * docs/gst/gstreamer-sections.txt:
16178         * gst/gstelement.c:
16179         * gst/gstminiobject.c:
16180         doc fixes
16181
16182 2005-11-03  Andy Wingo  <wingo@pobox.com>
16183
16184         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16185         state-changed messages actually have the right order and the right
16186         values.
16187
16188 2005-11-03  Wim Taymans  <wim@fluendo.com>
16189
16190         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16191         Added some more checks. Specifically the case where NO_PREROLL
16192         elements are in the pipeline.
16193
16194         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16195         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16196         (gst_base_sink_get_position):
16197         Post READY->PAUSED state change messages too.
16198         Fix bug where VOID was posted as pending state...
16199
16200         * gst/gstbin.c: (gst_bin_recalc_state):
16201         use _element_continue_state() to continue the state change.
16202
16203         * gst/gstelement.c: (gst_element_continue_state),
16204         (gst_element_commit_state), (gst_element_set_state_func),
16205         (gst_element_change_state), (gst_element_change_state_func):
16206         Lots of state change cleanups, assign the STATE_RETURN in
16207         a new continue_state() function that also propagates the
16208         last return value from a state change to the app.
16209         Update some debug statements with proper category.
16210
16211 2005-11-03  Wim Taymans  <wim@fluendo.com>
16212
16213         * docs/design/part-events.txt:
16214         * docs/design/part-gstpipeline.txt:
16215         * docs/design/part-messages.txt:
16216         * docs/design/part-overview.txt:
16217         * docs/design/part-seeking.txt:
16218         * docs/design/part-states.txt:
16219         * docs/design/part-trickmodes.txt:
16220         * docs/manual/advanced-position.xml:
16221         Small docs updates.
16222
16223         * gst/gstobject.h:
16224         People think !! is ugly, this looks better.
16225
16226         * gst/gstpad.c: (gst_pad_set_blocked_async):
16227         Remove !! since it's fixed elsewhere now.
16228
16229 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16230
16231         * gst/gstminiobject.h:
16232         * gst/gstobject.h:
16233           Add !! to _FLAG_IS_SET macros to make the result boolean.
16234
16235 2005-11-03  Edward Hervey  <edward@fluendo.com>
16236
16237         * gst/gstpad.c: (gst_pad_set_blocked_async):
16238         comparing a flag and a gboolean rarely returns coherent results...
16239         Added two characters (!!) to make that work correctly.
16240         
16241 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16242
16243         * gst/gstbus.c: (gst_bus_class_init):
16244           Fix some typos.
16245           
16246         * gst/gstqueue.c: (gst_queue_loop):
16247           Don't assume a miniobject that isn't a buffer is an
16248           event (it could be that there is a refcounting
16249           problem somewhere and the pointer is stale and
16250           refers to an already destroyed miniobject).
16251
16252 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16253
16254         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16255
16256 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16257
16258         * docs/manual/advanced-position.xml:
16259           Update seek example and explanations to current 0.9 API.
16260
16261         * gst/elements/gsttypefindelement.c:
16262         (gst_type_find_element_activate):
16263           Remove FIXME comment now that the found caps
16264           are unreffed.
16265
16266 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16267
16268         * gst/gstregistryxml.c: (load_feature):
16269           Add another GST_STR_NULL instance
16270
16271 2005-11-02  Edward Hervey  <edward@fluendo.com>
16272
16273         * gst/gstpad.c: (handle_pad_block):
16274         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16275         
16276 2005-11-02  Wim Taymans  <wim@fluendo.com>
16277
16278         * gst/gstbin.c:
16279         Fix typo in docs.
16280
16281         * gst/gstelement.c: (gst_element_commit_state):
16282         Remove unused value.
16283
16284         * gst/gstiterator.c:
16285         Mention that the returned element is reffed in the docs.
16286
16287 2005-11-02  Wim Taymans  <wim@fluendo.com>
16288
16289         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16290         (gst_pad_push), (gst_pad_push_event):
16291         Unlock blocked pads when they are flushed.
16292
16293 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16294
16295         * docs/README:
16296         * docs/gst/gstreamer-sections.txt:
16297         * gst/gstbin.c:
16298           doc updates
16299         * gst/gstregistry.c: (gst_registry_scan_path_level):
16300           fix for a nasty little missed situation where an installed plug-in
16301           which was in the cache did not get overridden by an uninstalled one
16302           which was earlier in the plugin path because the newly created plugin
16303           for the uninstalled one (not in the registry) didn't get its
16304           ->registered set to TRUE
16305
16306 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16307
16308         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16309         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16310         (gst_collectpads_is_active), (gst_collectpads_collect),
16311         (gst_collectpads_collect_range), (gst_collectpads_start),
16312         (gst_collectpads_stop), (gst_collectpads_peek),
16313         (gst_collectpads_pop), (gst_collectpads_available),
16314         (gst_collectpads_read), (gst_collectpads_flush):
16315           Guard public API with assertions.
16316         
16317         * gst/gstpad.c:
16318           Fix docs for gst_pad_set_link_function().
16319
16320 2005-11-02  Johan Dahlin  <johan@gnome.org>
16321
16322         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16323         Unref found_caps after we used it.
16324
16325 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16326
16327         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16328           Don't try to ref NULL.
16329
16330 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16331
16332         * win32/common/config.h.in:
16333           provide a GST_FUNCTION that just gives a string for now
16334
16335 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16336
16337         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16338         (gst_object_flags_get_type), (register_gst_bin_flags),
16339         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16340         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16341         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16342         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16343         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16344         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16345         (gst_clock_flags_get_type), (register_gst_state),
16346         (gst_state_get_type), (register_gst_state_change_return),
16347         (gst_state_change_return_get_type), (register_gst_state_change),
16348         (gst_state_change_get_type), (register_gst_element_flags),
16349         (gst_element_flags_get_type), (register_gst_core_error),
16350         (gst_core_error_get_type), (register_gst_library_error),
16351         (gst_library_error_get_type), (register_gst_resource_error),
16352         (gst_resource_error_get_type), (register_gst_stream_error),
16353         (gst_stream_error_get_type), (register_gst_event_type),
16354         (gst_event_type_get_type), (register_gst_seek_type),
16355         (gst_seek_type_get_type), (register_gst_seek_flags),
16356         (gst_seek_flags_get_type), (register_gst_format),
16357         (gst_format_get_type), (register_gst_index_certainty),
16358         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16359         (gst_index_entry_type_get_type),
16360         (register_gst_index_lookup_method),
16361         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16362         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16363         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16364         (gst_index_flags_get_type), (register_gst_debug_level),
16365         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16366         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16367         (gst_iterator_result_get_type), (register_gst_iterator_item),
16368         (gst_iterator_item_get_type), (register_gst_message_type),
16369         (gst_message_type_get_type), (register_gst_mini_object_flags),
16370         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16371         (gst_pad_link_return_get_type), (register_gst_flow_return),
16372         (gst_flow_return_get_type), (register_gst_activate_mode),
16373         (gst_activate_mode_get_type), (register_gst_pad_direction),
16374         (gst_pad_direction_get_type), (register_gst_pad_flags),
16375         (gst_pad_flags_get_type), (register_gst_pad_presence),
16376         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16377         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16378         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16379         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16380         (gst_plugin_flags_get_type), (register_gst_rank),
16381         (gst_rank_get_type), (register_gst_query_type),
16382         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16383         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16384         (gst_tag_flag_get_type), (register_gst_task_state),
16385         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16386         (gst_alloc_trace_flags_get_type),
16387         (register_gst_type_find_probability),
16388         (gst_type_find_probability_get_type), (register_gst_uri_type),
16389         (gst_uri_type_get_type), (register_gst_parse_error),
16390         (gst_parse_error_get_type):
16391         * win32/common/gstversion.h:
16392           update win32 copies
16393
16394 2005-11-01  Luca Ognibene  <luogni@tin.it>
16395
16396         * gst/gst.c:
16397           fix docs. popt is dead, long live GOption.
16398
16399 2005-10-31  Wim Taymans  <wim@fluendo.com>
16400
16401         * gst/gstbuffer.h:
16402         Small doc fix.
16403
16404 2005-10-31  Andy Wingo  <wingo@pobox.com>
16405
16406         * Boo!
16407
16408         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16409
16410         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16411         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16412         the possibility of deadlocks here if code calling notify() or
16413         set() has a lock that can be taken in another notify handler (ABBA
16414         with class lock and e.g. python GIL state lock).
16415
16416 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16417
16418         * gst/gstbus.c: Doc updates.
16419
16420 2005-10-28  Wim Taymans  <wim@fluendo.com>
16421
16422         * docs/design/part-TODO.txt:
16423         * gst/gstiterator.c:
16424         * gst/gstsystemclock.c:
16425         * gst/gstsystemclock.h:
16426         Doc updates.
16427
16428 2005-10-28  Edward Hervey  <edward@fluendo.com>
16429
16430         * docs/gst/gstreamer-docs.sgml:
16431         * docs/gst/gstreamer-sections.txt:
16432         the GstURIType documentation page is private, it only defines GstURIType
16433         which should be defined in the GstURIHandler page
16434         
16435 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16436
16437         * gst/gstbin.c: (gst_bin_class_init):
16438         * gst/gstbin.h:
16439         * gst/gstutils.c:
16440         Documentation updates.
16441
16442 2005-10-28  Wim Taymans  <wim@fluendo.com>
16443
16444         * docs/gst/gstreamer-sections.txt:
16445         * gst/gstclock.c:
16446         * gst/gstclock.h:
16447         Documented the clocks.
16448
16449 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16450
16451         * docs/gst/gstreamer-sections.txt:
16452           move some macros to private sections
16453         * gst/gstminiobject.c:
16454         * gst/gstminiobject.h:
16455           add descriptions provided by ds and some more
16456         * gst/gstpad.h:
16457           mark macro as to be removed
16458
16459 2005-10-28  Wim Taymans  <wim@fluendo.com>
16460
16461         * docs/design/part-TODO.txt:
16462         Add an item to TODO.
16463
16464         * gst/gstiterator.c: (gst_iterator_fold),
16465         (gst_iterator_find_custom):
16466         * gst/gstiterator.h:
16467         Add iterator docs.
16468
16469 2005-10-28  Wim Taymans  <wim@fluendo.com>
16470
16471         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16472         (gst_base_transform_init):
16473         Don't leak class.
16474
16475         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16476         An EOS event marks the queue as completely filled.
16477
16478 2005-10-27  Wim Taymans  <wim@fluendo.com>
16479
16480         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16481         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16482         Some more debugging.
16483
16484         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16485         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16486         (gst_base_transform_event), (gst_base_transform_getrange),
16487         (gst_base_transform_chain):
16488         * gst/base/gstbasetransform.h:
16489         Fix debugging,
16490         Protect transform and concurrent buffer alloc with a new lock.
16491         Try not to break ABI/API.
16492
16493 2005-10-27  Wim Taymans  <wim@fluendo.com>
16494
16495         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16496         (gst_base_src_init), (gst_base_src_query),
16497         (gst_base_src_default_newsegment),
16498         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16499         (gst_base_src_send_event), (gst_base_src_event_handler),
16500         (gst_base_src_pad_get_range), (gst_base_src_loop),
16501         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16502         (gst_base_src_start), (gst_base_src_deactivate),
16503         (gst_base_src_activate_push), (gst_base_src_change_state):
16504         Move some stuff around and cleanup things.
16505
16506 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16507
16508         * gst/base/gstbasesrc.c: (gst_base_src_query):
16509           Add missing break statements.
16510
16511 2005-10-27  Wim Taymans  <wim@fluendo.com>
16512
16513         * check/gst/gstbin.c: (GST_START_TEST):
16514         An extra refcount is taken in basesrc.
16515
16516         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16517         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16518         (gst_base_src_loop):
16519         Small cleanups, check for flushing after being unlocked from the 
16520         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16521         Don't send out EOS when going to READY.
16522
16523 2005-10-27  Wim Taymans  <wim@fluendo.com>
16524
16525         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16526         (gst_base_sink_get_position):
16527         Some more debug.
16528
16529         * gst/gstbin.c: (message_check), (bin_replace_message),
16530         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16531         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16532         (bin_query_duration_init), (bin_query_duration_fold),
16533         (bin_query_duration_done), (bin_query_generic_fold),
16534         (gst_bin_query):
16535         * tools/gst-launch.c: (main):
16536         Remove old option.
16537
16538 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16539
16540         * examples/controller/audio-example.c: (main):
16541         * examples/queue/queue.c: (event_loop):
16542         * gst/base/gstbasetransform.h:
16543         * gst/gstelement.c: (gst_element_send_event):
16544         * gst/gstevent.h:
16545         * gst/gstpad.c: (gst_pad_send_event):
16546           fixing examples
16547           fixing docs typos
16548           changing log priority in error situations
16549
16550 2005-10-25  Wim Taymans  <wim@fluendo.com>
16551
16552         * gst/gstbin.c: (message_check), (bin_replace_message),
16553         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16554         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16555         (bin_query_duration_init), (bin_query_duration_fold),
16556         (bin_query_duration_done), (bin_query_generic_fold),
16557         (gst_bin_query):
16558         Some doc and debug updates.
16559         Cache previously requested query DURATION for speed. invalidate
16560         cached duration if element posts a DURATION message.
16561
16562 2005-10-25  Wim Taymans  <wim@fluendo.com>
16563
16564         * docs/design/part-TODO.txt:
16565         Update TODO.
16566
16567         * gst/gstbin.c: (message_check), (bin_replace_message),
16568         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16569         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16570         (bin_query_duration_init), (bin_query_duration_fold),
16571         (bin_query_duration_done), (bin_query_generic_fold),
16572         (gst_bin_query):
16573         Handle SEGMENT_START/DONE messages correctly.
16574         More evolved query algorithm that handles duration queries
16575         correctly.
16576
16577         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16578         (gst_element_get_state_func), (gst_element_abort_state),
16579         (gst_element_commit_state), (gst_element_lost_state):
16580         Some more debugging.
16581
16582         * gst/gstmessage.h:
16583         Added doc.
16584
16585 2005-10-25  Wim Taymans  <wim@fluendo.com>
16586
16587         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16588         Don't use invalid stream_time.
16589
16590         * gst/gstevent.c: (gst_event_new_newsegment):
16591         stream_time in newsegment cannot be undefined.
16592
16593 2005-10-24  Wim Taymans  <wim@fluendo.com>
16594
16595         * gst/gstbus.c:
16596         Doc fix.
16597
16598         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16599         (gst_queue_loop):
16600         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16601
16602 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16603
16604         * docs/libs/tmpl/gstdparam.sgml:
16605         * docs/libs/tmpl/gstdplinint.sgml:
16606         * docs/libs/tmpl/gstdpman.sgml:
16607         * docs/libs/tmpl/gstdpsmooth.sgml:
16608         * docs/libs/tmpl/gstunitconvert.sgml:
16609           these are obsolete
16610
16611 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16612
16613         * configure.ac:
16614           back to HEAD
16615
16616 === release 0.9.4 ===
16617
16618 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16619
16620         * configure.ac:
16621           releasing 0.9.4, "Tyrannosaurus Rex"
16622
16623 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16624
16625         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16626         (gst_file_sink_get_current_offset):
16627           Use fseeko() and ftello() if available. When falling back on
16628           lseek() to get the current offset, fflush() first to make sure
16629           everything is up-to-date and we get the right offset.
16630
16631 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16632
16633         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16634         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16635         * gst/gsterror.c: (_gst_stream_errors_init):
16636         * gst/gsterror.h:
16637         * gst/gstqueue.c: (gst_queue_loop):
16638         * po/POTFILES.in:
16639           remove prematurely added error category and clean up the instances
16640
16641 2005-10-21  Wim Taymans  <wim@fluendo.com>
16642
16643         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16644         (gst_base_sink_get_position), (gst_base_sink_query),
16645         (gst_base_sink_change_state):
16646         Simply set the right flag when going to playing, that's all
16647         we need to do instead of calling a function inside the object
16648         lock (that could take the lock as well and deadlock)
16649
16650 2005-10-21  Wim Taymans  <wim@fluendo.com>
16651
16652         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16653         (gst_base_src_loop):
16654         Don't warn, the peer element knows what to do best when
16655         the seek failed, it might try something else.
16656
16657 2005-10-21  Wim Taymans  <wim@fluendo.com>
16658
16659         * gst/base/gstbasesrc.c: (gst_base_src_init),
16660         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16661         Fix seeking.
16662
16663 2005-10-21  Wim Taymans  <wim@fluendo.com>
16664
16665         * docs/design/part-segments.txt:
16666         More docs.
16667
16668         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16669         Correctly set caps, even on the subbufer.
16670
16671 2005-10-21  Wim Taymans  <wim@fluendo.com>
16672
16673         * docs/gst/gstreamer-docs.sgml:
16674         * docs/gst/gstreamer-sections.txt:
16675         * gst/gstelement.h:
16676         * gst/gstevent.c:
16677         * gst/gstevent.h:
16678         * gst/gstmessage.h:
16679         * gst/gstpad.h:
16680         * gst/gstparse.h:
16681         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16682         * gst/gsttask.h:
16683         * gst/gstutils.c:
16684         * gst/gstutils.h:
16685         And 2% more doc coverage.
16686
16687 2005-10-21  Andy Wingo  <wingo@pobox.com>
16688
16689         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16690         position reporting.
16691
16692 2005-10-20  Wim Taymans  <wim@fluendo.com>
16693
16694         * gst/gsterror.c: (gst_error_get_message):
16695         * gst/gstparse.h:
16696         * gst/gstquery.h:
16697         * gst/gststructure.c:
16698         * gst/gsttrace.c:
16699         * gst/gstutils.c:
16700         More docs.
16701
16702 2005-10-20  Wim Taymans  <wim@fluendo.com>
16703
16704         * gst/gstbuffer.h:
16705         * gst/gstpad.c:
16706         * gst/gstparse.c:
16707         Another 1% more coverage.
16708
16709 2005-10-20  Wim Taymans  <wim@fluendo.com>
16710
16711         * docs/gst/gstreamer-sections.txt:
16712         * gst/gstelement.c: (gst_element_get_state_func),
16713         (gst_element_abort_state), (gst_element_commit_state),
16714         (gst_element_lost_state):
16715         * gst/gstevent.h:
16716         * gst/gstquery.c: (gst_query_set_position),
16717         (gst_query_parse_position), (gst_query_set_duration),
16718         (gst_query_parse_duration), (gst_query_new_convert):
16719         * gst/gstutils.c:
16720         Yay! 1% more docs coverage.
16721
16722 2005-10-20  Wim Taymans  <wim@fluendo.com>
16723
16724         * gst/gstpad.h:
16725         * gst/gstquery.c: (gst_query_set_position),
16726         (gst_query_parse_position), (gst_query_set_duration),
16727         (gst_query_parse_duration), (gst_query_new_convert):
16728         * gst/gstquery.h:
16729         * gst/gstutils.c: (gst_element_query_convert):
16730         * gst/gstutils.h:
16731         Docs and consistency fixes.
16732
16733 2005-10-20  Wim Taymans  <wim@fluendo.com>
16734
16735         * gst/gsttask.c:
16736         * gst/gsttask.h:
16737         More docs.
16738
16739 2005-10-20  Wim Taymans  <wim@fluendo.com>
16740
16741         * gst/gstbin.c: (message_check), (bin_replace_message),
16742         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16743         (update_degree), (gst_bin_sort_iterator_next),
16744         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16745         Reworked the message handling a bit, cache the messages instead of
16746         only the senders. alows us to do more in the future.
16747
16748 2005-10-20  Wim Taymans  <wim@fluendo.com>
16749
16750         * docs/design/part-TODO.txt:
16751         Update TODO
16752
16753         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16754         (gst_base_sink_query):
16755         Don't use clock time to report position when in EOS.
16756
16757 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16758
16759         * tools/gst-inspect.c: (print_interfaces),
16760         (print_element_properties_info), (print_element_info):
16761           Fix interface output with gst-inspect -a; don't print
16762           newlines after double/float properties.
16763
16764 2005-10-20  Wim Taymans  <wim@fluendo.com>
16765
16766         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16767         (gst_base_sink_query):
16768         Speed up current position calculation.
16769
16770         * gst/base/gstbasesrc.c: (gst_base_src_query),
16771         (gst_base_src_default_newsegment):
16772         Correctly set stream position in newsegment.
16773
16774         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16775         (update_degree), (gst_bin_sort_iterator_next),
16776         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16777         * gst/gstmessage.c: (gst_message_new_custom):
16778         Clean up debugging info
16779
16780         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16781         (gst_queue_loop), (gst_queue_handle_src_query):
16782         Pause task faster.
16783
16784 2005-10-19  Wim Taymans  <wim@fluendo.com>
16785
16786         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16787         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16788         Fix query handling again.
16789
16790 2005-10-19  Wim Taymans  <wim@fluendo.com>
16791
16792         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16793         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16794         * gst/base/gstbasesrc.c: (gst_base_src_query):
16795         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16796         * gst/elements/gsttypefindelement.c:
16797         (gst_type_find_handle_src_query), (find_element_get_length),
16798         (gst_type_find_element_activate):
16799         API change fix.
16800
16801         * gst/gstquery.c: (gst_query_new_position),
16802         (gst_query_set_position), (gst_query_parse_position),
16803         (gst_query_new_duration), (gst_query_set_duration),
16804         (gst_query_parse_duration), (gst_query_set_segment),
16805         (gst_query_parse_segment):
16806         * gst/gstquery.h:
16807         Bundling query position/duration is not a good idea since duration
16808         does not change much and we don't want to recalculate it for every
16809         position query, so they are separated again..
16810         Base value in segment query is not needed.
16811
16812         * gst/gstqueue.c: (gst_queue_handle_src_query):
16813         * gst/gstutils.c: (gst_element_query_position),
16814         (gst_element_query_duration), (gst_pad_query_position),
16815         (gst_pad_query_duration):
16816         * gst/gstutils.h:
16817         Updates for query API change.
16818         Added some docs here and there.
16819
16820 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16821
16822         * check/gst/gstbin.c: (GST_START_TEST):
16823         * check/gst/gstghostpad.c: (GST_START_TEST):
16824         * check/pipelines/cleanup.c: (GST_START_TEST):
16825           wait on thread to die so we can check refcount correctly
16826
16827 2005-10-18  Wim Taymans  <wim@fluendo.com>
16828
16829         * check/pipelines/stress.c: (GST_START_TEST):
16830         Make check a little more time consuming.
16831
16832 2005-10-18  Wim Taymans  <wim@fluendo.com>
16833
16834         * check/Makefile.am:
16835         * check/pipelines/stress.c: (GST_START_TEST),
16836         (simple_launch_lines_suite), (main):
16837         Small state change torture test.
16838
16839         * docs/design/part-states.txt:
16840         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16841         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16842         (gst_base_sink_change_state):
16843         Never take state lock from streaming thread, clean up ugly
16844         hacks. Unfortunatly core does not yet support nice ways to
16845         async commit state.
16846         
16847         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16848         (bin_bus_handler):
16849         Start state recalc if a STATE_DIRTY message is posted, but only
16850         on the toplevel bin.
16851
16852         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16853         (gst_element_get_state_func), (gst_element_abort_state),
16854         (gst_element_commit_state), (gst_element_lost_state),
16855         (gst_element_set_state_func), (gst_element_change_state):
16856         * gst/gstelement.h:
16857         State variables are now protected with the LOCK, the state
16858         lock is only used to serialize _set_state().
16859
16860 2005-10-18  Wim Taymans  <wim@fluendo.com>
16861
16862         * check/gst/gstbin.c: (GST_START_TEST):
16863         * check/gst/gstmessage.c: (GST_START_TEST):
16864         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16865         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16866         (bin_bus_handler):
16867         * gst/gstelement.c: (gst_element_abort_state),
16868         (gst_element_commit_state), (gst_element_lost_state):
16869         * gst/gstmessage.c: (gst_message_new_state_changed),
16870         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16871         (gst_message_new_segment_done), (gst_message_new_duration),
16872         (gst_message_parse_state_changed),
16873         (gst_message_parse_segment_start),
16874         (gst_message_parse_segment_done), (gst_message_parse_duration):
16875         * gst/gstmessage.h:
16876         * tools/gst-launch.c: (event_loop):
16877         Seriously, this is better than a previous commit as we only need
16878         to notify the fact that an element changed state in a streaming
16879         thread, marking the state of the parents dirty, hence the 
16880         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16881         message.
16882
16883 2005-10-18  Wim Taymans  <wim@fluendo.com>
16884
16885         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16886         (gst_bin_recalc_func):
16887         * gst/gstelement.c: (gst_element_set_clock),
16888         (gst_element_abort_state), (gst_element_lost_state):
16889         Cleanups, prepare for state change fixes.
16890
16891 2005-10-18  Wim Taymans  <wim@fluendo.com>
16892
16893         * gst/gstbin.h:
16894         * gst/gstelement.c: (gst_element_class_init),
16895         (gst_element_set_state), (gst_element_set_state_func):
16896         * gst/gstelement.h:
16897         Pending ABI changes.
16898         GThreadPool in GstBinClass to monitor async state changes.
16899         state_cookie in GstElement to detect concurrent gst/set state.
16900         set_state is now virtual too in case a very complicated element
16901         has to be constructed.
16902
16903 2005-10-18  Wim Taymans  <wim@fluendo.com>
16904
16905         * check/gst/gstbin.c: (GST_START_TEST):
16906         * check/gst/gstmessage.c: (GST_START_TEST):
16907         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16908         * gst/gstbin.c: (bin_bus_handler):
16909         * gst/gstelement.c: (gst_element_commit_state),
16910         (gst_element_lost_state):
16911         * gst/gstmessage.c: (gst_message_new_state_changed),
16912         (gst_message_new_segment_start), (gst_message_new_segment_done),
16913         (gst_message_new_duration), (gst_message_parse_state_changed),
16914         (gst_message_parse_segment_start),
16915         (gst_message_parse_segment_done), (gst_message_parse_duration):
16916         * gst/gstmessage.h:
16917         * tools/gst-launch.c: (event_loop):
16918         Make messages future proof.
16919         state-change gets a flag if it was a message comming from the
16920         streaming thread.
16921         segment-start/stop can also be specified in other formats.
16922         A message to notify an app that a pipeline changed playback 
16923         duration.
16924         Also fix a GstMessage leak in -launch
16925
16926 2005-10-18  Andy Wingo  <wingo@pobox.com>
16927
16928         * gst/gstelement.c (gst_element_dispose): More helpful message.
16929
16930 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16931
16932         reviewed by: <delete if not using a buddy>
16933
16934         * common/gtk-doc.mak:
16935
16936 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16937
16938         * gst/gstregistry.c: (gst_registry_scan_path_level):
16939           unref a plug-in we get that was already initialized
16940
16941 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
16942
16943         * docs/gst/gstreamer-sections.txt:
16944         * docs/libs/gstreamer-libs-sections.txt:
16945         * gst/gstelement.h:
16946           add new api entries
16947           hide internal macro
16948
16949 2005-10-17  Andy Wingo  <wingo@pobox.com>
16950
16951         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16952         cleanup.
16953
16954         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16955
16956         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16957
16958         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16959         (gst_element_get_state_func): Better debug message.
16960         (gst_element_commit_state): s/INFO/DEBUG/.
16961         (gst_element_lost_state, gst_element_change_state): 
16962
16963         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16964         (gst_message_new_custom): s/INFO/LOG/.
16965
16966 2005-10-17  Michael Smith <msmith@fluendo.com>
16967
16968         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16969           Check if end time is valid using end time, not start time.
16970
16971 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
16972
16973         * check/gst-libs/controller.c: (GST_START_TEST),
16974         (gst_controller_suite):
16975         * libs/gst/controller/gstcontroller.c:
16976         (gst_controlled_property_set_interpolation_mode):
16977         * libs/gst/controller/gstcontroller.h:
16978         * libs/gst/controller/gstinterpolation.c:
16979         * testsuite/controller/.cvsignore:
16980         * testsuite/controller/Makefile.am:
16981         * testsuite/controller/interpolator.c:
16982           merge controller testsuites
16983           fix broken tests
16984           remove mem-chunk from docs
16985
16986 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16987
16988         * gst/gstmemchunk.c:
16989         * gst/gstmemchunk.h:
16990         * gst/gsttrashstack.c:
16991         * gst/gsttrashstack.h:
16992           out.  get out.  you're fired.  to the Attic !
16993
16994 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16995
16996         * gst/gstcaps.c: (gst_caps_intersect):
16997           fix signedness issues in a (hopefully) correct way
16998         * gst/gstelement.c: (gst_element_pads_activate):
16999           some debugging
17000         * gst/gstobject.c: (gst_object_set_parent):
17001           some debugging
17002
17003 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17004
17005         * gst/gstvalue.h: Fix prototypes.
17006
17007 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17008
17009         * docs/gst/gstreamer-sections.txt:
17010         * gst/gst.c: (gst_version_string):
17011         * gst/gst.h:
17012         * gst/gstversion.h.in:
17013         * win32/common/libgstreamer.def:
17014           add gst_version_string ()
17015
17016 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17017
17018         * configure.ac:
17019           clean up further
17020         * gst/gst.c: (init_post):
17021         * win32/common/config.h.in:
17022           it's PLUGINDIR now
17023         * gst/gstcaps.c: (gst_caps_intersect):
17024           use gint64, the range could be bigger than a guint
17025
17026 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17027
17028         * gst/gstclock.h:
17029           document potential problem in 2038
17030
17031 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17032
17033         * gst/gstcaps.c: (gst_caps_intersect):
17034           Fix guint j diving under 0
17035
17036 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17037
17038         * configure.ac:
17039         * win32/common/config.h:
17040         * win32/common/config.h.in:
17041           check for process.h, declares getpid() on Windows
17042         * gst/gstinfo.c:
17043           include process.h if we have it
17044         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17045         * gst/gstmemchunk.h:
17046           fix signedness issues
17047         * win32/common/libgstreamer.def:
17048           fix get_type's
17049
17050 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17051
17052         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17053         fix. Because of unsigned ints, caps intersection was going nuts and
17054         trying to access structures with G_MAXUINT index. That fixes
17055         videotestsrc ! ffmpegcolorspace ! fakesink
17056         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17057         consistency.
17058
17059 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17060
17061         * configure.ac:
17062           use the gettext macro
17063         * gst/elements/gstelements.c:
17064         * gst/gst.c:
17065         * gst/indexers/gstindexers.c:
17066           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17067         * win32/common/config.h:
17068           updated config.h
17069         * win32/common/config.h.in:
17070           add the template to generate config.h
17071         * win32/common/gstenumtypes.c:
17072         * win32/common/gstversion.h:
17073           updated copies
17074
17075 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17076
17077         * gst/gst.c: (gst_version):
17078         * gst/gstversion.h.in:
17079           add the nano
17080
17081 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17082
17083         * gst/gstevent.h:
17084           Oops, add missing closing bracket.
17085
17086 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17087
17088         * configure.ac:
17089           use common m4's for argument checking
17090
17091 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17092
17093         * docs/gst/gstreamer-sections.txt:
17094         * gst/gstevent.h:
17095           Add GST_EVENT_TYPE_NAME() macro.
17096
17097 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17098
17099         * gst/gstinfo.c:
17100         * gst/gstpluginfeature.c:
17101         * gst/gsttask.c:
17102           privatize more symbols
17103
17104 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17105
17106         * configure.ac:
17107           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17108           everything that uses GStreamer API should have the includes
17109
17110 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17111
17112         * docs/gst/gstreamer-sections.txt:
17113         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17114         * gst/gstvalue.h:
17115           give each value a _get_type, removes the DATA exports
17116
17117 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17118
17119         * gst/gst.c:
17120         * gst/gst.h:
17121           remove _gst_registry_auto_load, not used anymore
17122         * gst/gstbin.c: (gst_bin_get_type):
17123         * gst/gstbin.h:
17124         * gst/gstelement.c: (gst_element_get_type):
17125         * gst/gstelement.h:
17126         * gst/gstobject.c: (gst_object_get_type):
17127         * gst/gstobject.h:
17128         * gst/gstpad.c: (gst_pad_get_type):
17129         * gst/gstpad.h:
17130           make _get_type functions similar, fixes data export from library
17131
17132 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17133
17134         * configure.ac:
17135           correctly make conditionals
17136         * gst/elements/Makefile.am:
17137         * gst/elements/gstelements.c:
17138           fix typo causing fdsrc not to build
17139
17140 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17141
17142         * testsuite/Makefile.am:
17143         * testsuite/bytestream/.cvsignore:
17144         * testsuite/bytestream/Makefile.am:
17145         * testsuite/bytestream/filepadsink.c:
17146         * testsuite/bytestream/gstbstest.c:
17147         * testsuite/bytestream/test1.c:
17148         * testsuite/bytestream/testfile1:
17149         * testsuite/caps/normalisation.c:
17150         * testsuite/caps/random.c: (main):
17151         * testsuite/cleanup/.cvsignore:
17152         * testsuite/cleanup/Makefile.am:
17153         * testsuite/cleanup/cleanup1.c:
17154         * testsuite/cleanup/cleanup2.c:
17155         * testsuite/cleanup/cleanup3.c:
17156         * testsuite/cleanup/cleanup4.c:
17157         * testsuite/cleanup/cleanup5.c:
17158         * testsuite/controller/interpolator.c:
17159         * testsuite/debug/printf_extension.c: (main):
17160         * testsuite/elements/tee.c:
17161         * testsuite/negotiation/.cvsignore:
17162         * testsuite/negotiation/Makefile.am:
17163         * testsuite/negotiation/pad_link.c:
17164         * testsuite/pad/Makefile.am:
17165         * testsuite/pad/chainnopull.c:
17166         * testsuite/pad/getnopush.c:
17167         * testsuite/pad/link.c:
17168         * testsuite/refcounting/sched.c: (create_pipeline):
17169         * testsuite/registry/Makefile.am:
17170         * testsuite/registry/gst-print-formats.c:
17171         * testsuite/schedulers/.cvsignore:
17172         * testsuite/schedulers/142183-2.c:
17173         * testsuite/schedulers/142183.c:
17174         * testsuite/schedulers/143777-2.c:
17175         * testsuite/schedulers/143777.c:
17176         * testsuite/schedulers/147713.c:
17177         * testsuite/schedulers/147819.c:
17178         * testsuite/schedulers/147894-2.c:
17179         * testsuite/schedulers/147894.c:
17180         * testsuite/schedulers/Makefile.am:
17181         * testsuite/schedulers/group_link.c:
17182         * testsuite/schedulers/queue_link.c:
17183         * testsuite/schedulers/relink.c:
17184         * testsuite/schedulers/unlink.c:
17185         * testsuite/schedulers/unref.c:
17186         * testsuite/schedulers/useless_iteration.c:
17187         * testsuite/states/bin.c:
17188           clean out/remove some stuff from the testsuite directories
17189
17190 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17191
17192         * configure.ac:
17193           check for some headers
17194         * gst/elements/Makefile.am:
17195         * gst/elements/gstelements.c:
17196           don't compile fdsrc without sys/socket.h
17197         * gst/indexers/Makefile.am:
17198         * gst/indexers/gstindexers.c: (plugin_init):
17199           don't compile fileindex without mmap
17200
17201 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17202
17203         * configure.ac:
17204           reorganize
17205           clean up
17206           document more
17207           remove cruft
17208         * check/Makefile.am:
17209         * docs/gst/Makefile.am:
17210         * examples/helloworld/Makefile.am:
17211         * gst/Makefile.am:
17212         * gst/base/Makefile.am:
17213         * gst/check/Makefile.am:
17214         * gst/elements/Makefile.am:
17215         * gst/indexers/Makefile.am:
17216         * gst/parse/Makefile.am:
17217         * libs/gst/controller/Makefile.am:
17218         * libs/gst/dataprotocol/Makefile.am:
17219         * examples/helloworld/helloworld.c: (event_loop):
17220           compile fixes, though it's not being compiled currently
17221
17222 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17223
17224         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17225           Add some simple tests for the new taglist date API.
17226
17227 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17228
17229         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17230         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17231           Beautify 'last-message' output: print 'none' for buffer timestamps
17232           and durations if none is set; improve alignment with next messages.
17233
17234 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17235
17236         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17237         * gst/gstpluginfeature.h:
17238         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17239         * gst/gstregistry.h:
17240         * docs/gst/gstreamer-sections.txt:
17241           Add new API to check plugin feature version requirements.
17242
17243         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17244           Some basic tests for the above.         
17245
17246 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17247
17248         * gst/gststructure.c: (gst_structure_to_string):
17249           guard against NULL printf - happens when for example
17250           a message structure with GstClock gets serialized
17251
17252 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17253
17254         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17255           Fix presumable copy'n'pasto.
17256
17257 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17258
17259         * gst/elements/gstfakesrc.h:
17260         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17261         * gst/elements/gsttypefindelement.c:
17262           fix some signedness
17263         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17264           I wonder if this could actually write +2GB files before
17265
17266 2005-10-13  Andy Wingo  <wingo@pobox.com>
17267
17268         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17269         Fix Timmeke Waymans bug.
17270         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17271         string of the proper length to gst_caps_from_string. There's a
17272         potential for, before this fix, that this could cause someone
17273         connecting over the network to cause a segfault if the payload is
17274         not NUL-terminated.
17275
17276 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17277
17278         * docs/design/draft-push-pull.txt:
17279         * docs/design/part-overview.txt:
17280         * docs/random/TODO-pre-0.9:
17281         * docs/random/old/ChangeLog.gstreamer:
17282         * gst/base/gstpushsrc.c:
17283         * gst/gstclock.c:
17284           fixed typos
17285
17286 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17287
17288         * gst/glib-compat.c: (gst_flags_get_first_value):
17289         * gst/glib-compat.h:
17290         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17291         (gst_value_compare_double), (gst_value_serialize_flags):
17292           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17293           infinite loop
17294
17295 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17296
17297         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17298         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17299           fix up debugging
17300         * tools/gst-launch.c: (event_loop):
17301           print out clock nicely
17302
17303 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17304
17305         * docs/gst/gstreamer-sections.txt:
17306         * gst/gsttaglist.h:
17307         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17308         (gst_tag_list_get_date_index):
17309           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17310           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17311
17312 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17313
17314         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17315         (gst_collectpads_chain):
17316         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17317         in CollectData.
17318
17319 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17320
17321         * docs/gst/gstreamer-sections.txt:
17322         * gst/gst.c:
17323         * gst/gsterror.h:
17324         * tools/gst-inspect.c: (main):
17325         * tools/gst-launch.c: (main):
17326         * tools/gst-run.c: (main):
17327         * tools/gst-xmlinspect.c: (main):
17328           fix GOption context leaks
17329           doc fixes
17330
17331 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17332
17333         * gst/gstbus.c:
17334           use HAVE_UNISTD_H
17335         * win32/common/config.h:
17336           update config
17337         * win32/vs6/grammar.dsp:
17338         * win32/vs6/libgstelements.dsp:
17339         * win32/vs6/libgstreamer.dsp:
17340           update vs6 files
17341
17342 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17343
17344         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17345         * gst/base/gstbasesrc.c: (gst_base_src_query):
17346           fix more guint64<->gdouble conversions
17347
17348 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17349
17350         * Makefile.am:
17351           add win32-update target
17352         * win32/common/gstconfig.h:
17353         * win32/common/gstenumtypes.c:
17354         * win32/common/gstenumtypes.h:
17355         * win32/common/gstversion.h:
17356           add files that visual studio can't generate
17357
17358 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17359
17360         * Makefile.am:
17361           add a win32-update target
17362         * configure.ac:
17363
17364 2005-10-12  Wim Taymans  <wim@fluendo.com>
17365
17366         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17367         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17368         * gst/gstelement.c: (gst_element_commit_state),
17369         (gst_element_set_state):
17370         Protect flags with proper lock.
17371         unref provided cached clock in dispose.
17372
17373 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17374
17375         * gst/gst.c:
17376         * gst/gstminiobject.h:
17377         * gst/gstpad.h:
17378         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17379           removed unused flags from miniobject
17380           doc fixes
17381
17382 2005-10-12  Wim Taymans  <wim@fluendo.com>
17383
17384         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17385         (gst_file_sink_event), (gst_file_sink_render):
17386         Flush before seeking.
17387
17388 2005-10-12  Andy Wingo  <wingo@pobox.com>
17389
17390         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17391         always been the case.
17392
17393 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17394
17395         * check/gst/gstbin.c: (GST_START_TEST):
17396         * docs/gst/gstreamer-sections.txt:
17397         * gst/base/gstbasesink.c: (gst_base_sink_init):
17398         * gst/base/gstbasesrc.c: (gst_base_src_init),
17399         (gst_base_src_get_range), (gst_base_src_check_get_range),
17400         (gst_base_src_start), (gst_base_src_stop):
17401         * gst/base/gstbasesrc.h:
17402         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17403         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17404         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17405         (bin_bus_handler):
17406         * gst/gstbin.h:
17407         * gst/gstbuffer.h:
17408         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17409         * gst/gstbus.h:
17410         * gst/gstelement.c: (gst_element_is_locked_state),
17411         (gst_element_set_locked_state), (gst_element_commit_state),
17412         (gst_element_set_state):
17413         * gst/gstelement.h:
17414         * gst/gstindex.c: (gst_index_init):
17415         * gst/gstindex.h:
17416         * gst/gstminiobject.h:
17417         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17418         (gst_object_set_parent):
17419         * gst/gstobject.h:
17420         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17421         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17422         * gst/gstpad.h:
17423         * gst/gstpadtemplate.h:
17424         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17425         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17426         * gst/gstpipeline.h:
17427         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17428         (gst_file_index_commit):
17429         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17430         * testsuite/pad/link.c: (gst_test_src_init),
17431         (gst_test_filter_init), (gst_test_sink_init):
17432         * testsuite/states/locked.c: (main):
17433           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17434           moved bitshift from macro to enum definition
17435
17436 2005-10-12  Wim Taymans  <wim@fluendo.com>
17437
17438         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17439         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17440         (gst_file_sink_render):
17441         Some more debugging info.
17442
17443 2005-10-12  Wim Taymans  <wim@fluendo.com>
17444
17445         * docs/design/part-states.txt:
17446         * tools/gst-launch.c: (main):
17447         Some doc updates.
17448         Revert non-intentional change.
17449
17450 2005-10-12  Wim Taymans  <wim@fluendo.com>
17451
17452         * check/gst/gstbin.c: (GST_START_TEST):
17453         * check/gst/gstelement.c: (GST_START_TEST):
17454         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17455         * check/gst/gstghostpad.c: (GST_START_TEST):
17456         * check/gst/gstpipeline.c: (GST_START_TEST):
17457         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17458         * check/states/sinks.c: (GST_START_TEST):
17459         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17460         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17461         (gst_bin_remove_func), (gst_bin_get_state_func),
17462         (gst_bin_recalc_state), (gst_bin_change_state_func),
17463         (bin_bus_handler):
17464         * gst/gstelement.c: (gst_element_get_state_func),
17465         (gst_element_get_state), (gst_element_abort_state),
17466         (gst_element_commit_state), (gst_element_set_state),
17467         (gst_element_change_state), (gst_element_change_state_func):
17468         * gst/gstelement.h:
17469         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17470         (gst_pipeline_provide_clock_func):
17471         * gst/gstutils.c: (gst_element_link_pads_filtered):
17472         * tools/gst-launch.c: (main):
17473         * tools/gst-typefind.c: (main):
17474         Use GstClockTime in _get_state() instead of GTimeVal.
17475         Remove old code in gstutils.c
17476
17477 2005-10-12  Andy Wingo  <wingo@pobox.com>
17478
17479         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17480         removed.
17481
17482         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17483         there is no task. Shouldn't affect any code, as nothing in our
17484         plugins checks this return value.
17485         (gst_pad_stop_task): Also take the stream lock if the pad has no
17486         task. Docs updated.
17487
17488 2005-10-12  Wim Taymans  <wim@fluendo.com>
17489
17490         * gst/gstpad.c: (pre_activate), (post_activate),
17491         (gst_pad_activate_pull), (gst_pad_activate_push):
17492         Cleanup activation code. Reset old state if
17493         activation failed.
17494
17495 2005-10-12  Wim Taymans  <wim@fluendo.com>
17496
17497         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17498         (gst_base_sink_change_state):
17499         No need to prerol after receiving EOS.
17500
17501         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17502         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17503         * gst/elements/gstidentity.c: (gst_identity_event):
17504         Print events more verbosely.
17505
17506 2005-10-12  Wim Taymans  <wim@fluendo.com>
17507
17508         * check/Makefile.am:
17509         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17510         * check/states/sinks2.c:
17511         Moved sinks2 testcode in sinks check.
17512
17513         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17514         (gst_bin_remove_func), (gst_bin_recalc_state),
17515         (gst_bin_change_state_func), (bin_bus_handler):
17516         Fix potential race condition when _get_state() iterated over an
17517         ASYNC element right before it posted a state completion.
17518
17519         * gst/gstclock.h:
17520         Do proper cast here.
17521
17522         * gst/gstevent.c: (gst_event_new_newsegment),
17523         (gst_event_parse_newsegment):
17524         A playback rate of 0.0 is not allowed.
17525
17526 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17527
17528         * win32/common/config.h:
17529         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17530         (_trewinddir), (_ttelldir), (_tseekdir):
17531         * win32/common/dirent.h:
17532         * win32/common/gtchar.h:
17533         * win32/common/libgstbase.def:
17534         * win32/common/libgstreamer.def:
17535         * win32/vs6/grammar.dsp:
17536         * win32/vs6/gst_inspect.dsp:
17537         * win32/vs6/gst_launch.dsp:
17538         * win32/vs6/gstreamer.dsw:
17539         * win32/vs6/libgstbase.dsp:
17540         * win32/vs6/libgstelements.dsp:
17541         * win32/vs6/libgstreamer.dsp:
17542           Visual Studio 6 project files, and a new common directory.
17543           Phear.
17544
17545 2005-10-11  Wim Taymans  <wim@fluendo.com>
17546
17547         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17548         (gst_base_sink_do_sync), (gst_base_sink_query),
17549         (gst_base_sink_change_state):
17550         * gst/base/gstbasesink.h:
17551         Correctly parse newsegment info.
17552
17553 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17554
17555         * gst/gst.c: (init_post):
17556           split plugin paths correctly
17557
17558 2005-10-11  Wim Taymans  <wim@fluendo.com>
17559
17560         * check/gst/gstevent.c: (GST_START_TEST):
17561         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17562         (gst_base_sink_change_state):
17563         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17564         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17565         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17566         * gst/gstevent.c: (gst_event_new_newsegment),
17567         (gst_event_parse_newsegment):
17568         * gst/gstevent.h:
17569         Added extra flag to newsegment for future API freeze.
17570         Updated check and base elements.
17571
17572 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17573
17574         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17575         (gst_collectpads_add_pad), (gst_collectpads_pop),
17576         (gst_collectpads_event), (gst_collectpads_chain):
17577         * gst/base/gstcollectpads.h: Handle EOS correctly.
17578
17579 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17580
17581         * tools/gst-launch.c: (main):
17582           more null protecting
17583
17584 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17585
17586         * gst/gst-i18n-lib.h:
17587           check for ENABLE_NLS, not GETTEXT_PACKAGE
17588         * gst/gstregistry.c: (gst_registry_add_plugin),
17589         (gst_registry_scan_path_level),
17590         (_gst_registry_remove_cache_plugins):
17591           protect possibly NULL strings
17592         * gst/parse/types.h:
17593           config.h already included before
17594         * tools/gst-inspect.c: (main):
17595           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17596           check for ENABLE_NLS, not GETTEXT_PACKAGE
17597         * tools/gst-launch.c: (main):
17598           check for ENABLE_NLS, not GETTEXT_PACKAGE
17599
17600 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17601
17602         * configure.ac:
17603           if we don't have glib, fail before testing 2.8
17604         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17605           fix a leak, should fix plugins-base testsuite
17606
17607 2005-10-11  Andy Wingo  <wingo@pobox.com>
17608
17609         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17610         take the mode we're going to as an arg. Go head and set the mode
17611         and flushing flags now, so that if the activate function starts a
17612         thread all the flags will be in the right state.
17613         (post_activate): Renamed also. Just handle making sure streaming
17614         finishes for the deactivation case, and setting the deactivated
17615         mode.
17616         (gst_pad_set_active): Complain loudly if deactivation fails.
17617         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17618         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17619         remove the terrible hack.
17620
17621 2005-10-11  Wim Taymans  <wim@fluendo.com>
17622
17623         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17624         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17625         (gst_bin_recalc_state), (gst_bin_change_state_func),
17626         (gst_bin_dispose), (bin_bus_handler):
17627         * gst/gstbin.h:
17628         Prepare to make current EOS message queue more generic.
17629         Fix some typos.
17630
17631         * gst/gstevent.c: (gst_event_new_newsegment),
17632         (gst_event_parse_newsegment):
17633         * gst/gstevent.h:
17634         Rename base to stream_time.
17635
17636         * gst/gstmessage.h:
17637         Fix typo in docs.
17638
17639 2005-10-11  Wim Taymans  <wim@fluendo.com>
17640
17641         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17642         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17643         (gst_bin_change_state_func), (bin_bus_handler):
17644         * gst/gstbin.h:
17645         Work on proper clock selection.
17646
17647 2005-10-11  Edward Hervey  <edward@fluendo.com>
17648
17649         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17650         * libs/gst/controller/gstcontroller.h:
17651         Added GList* version of _remove_properties() in order to be able to wrap
17652         it in bindings.
17653
17654 2005-10-11  Wim Taymans  <wim@fluendo.com>
17655
17656         * docs/design/part-states.txt:
17657         Some more docs.
17658
17659         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17660         (gst_bin_change_state_func), (bin_bus_handler):
17661         Doc updates. Don't distribute the same clock over and over again.
17662
17663         * gst/gstclock.c:
17664         * gst/gstclock.h:
17665         Doc updates.
17666
17667         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17668         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17669         (gst_pad_send_event):
17670         * gst/gstpad.h:
17671         Make probe emission threadsafe again.
17672         Register quarks and move _get_name() from utils.
17673         Doc updates.
17674
17675         * gst/gstpipeline.c: (gst_pipeline_class_init),
17676         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17677         Only redistribute the clock of it changed.
17678
17679         * gst/gstsystemclock.h:
17680         Doc updates. 
17681
17682         * gst/gstutils.c:
17683         * gst/gstutils.h:
17684         Moved the _flow_get_name() to GstPad.
17685
17686 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17687
17688         * check/gst-libs/gdp.c: (GST_START_TEST):
17689         * check/gst/gstcaps.c: (GST_START_TEST):
17690         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17691         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17692         (gst_dp_packet_from_caps):
17693           fix more valgrind warnings before turning up the heat
17694
17695 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17696
17697         * gst/parse/grammar.y:
17698           some cleanup before the hacking
17699
17700 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17701
17702         * gst/base/gstbasesrc.c: (gst_base_src_query):
17703           use conversions
17704         * gst/gstutils.c: (gst_guint64_to_gdouble),
17705         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17706         * gst/gstutils.h:
17707           externalize, basesrc uses it
17708           obviously the implementation needs testing
17709
17710 2005-10-10  Wim Taymans  <wim@fluendo.com>
17711
17712         * tests/sched/Makefile.am:
17713         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17714         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17715
17716 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17717
17718         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17719           apparently converting from guint64 to double is not implemented
17720           on MSVC
17721
17722 2005-10-10  Wim Taymans  <wim@fluendo.com>
17723
17724         * check/Makefile.am:
17725         * check/generic/states.c: (GST_START_TEST):
17726         * check/gst/gstbin.c: (GST_START_TEST):
17727         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17728         * check/states/sinks.c: (GST_START_TEST):
17729         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17730         (main):
17731         Check fixes, use API as stated in design docs, remove hacks.
17732
17733         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17734         (gst_base_sink_change_state):
17735         Catch stopping our task while we're shutting down.
17736
17737         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17738         (gst_bin_remove_func), (gst_bin_get_state_func),
17739         (gst_bin_recalc_state), (gst_bin_change_state_func),
17740         (bin_bus_handler):
17741         * gst/gstbin.h:
17742         * gst/gstelement.c: (gst_element_init),
17743         (gst_element_get_state_func), (gst_element_abort_state),
17744         (gst_element_commit_state), (gst_element_lost_state),
17745         (gst_element_set_state), (gst_element_change_state),
17746         (gst_element_change_state_func):
17747         * gst/gstelement.h:
17748         New state change algorithm (see #318116)
17749
17750         * gst/gstpipeline.c: (gst_pipeline_class_init),
17751         (gst_pipeline_init), (gst_pipeline_set_property),
17752         (gst_pipeline_get_property), (do_pipeline_seek),
17753         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17754         * gst/gstpipeline.h:
17755         Remove crude state change hacks.
17756
17757         * gst/gstutils.h:
17758         Remove crude hacks.
17759
17760         * tools/gst-launch.c: (main):
17761         Fixes for state change. Needs some more work to fully use the
17762         new stuff.
17763
17764 2005-10-10  Andy Wingo  <wingo@pobox.com>
17765
17766         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17767
17768         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17769         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17770         issue.
17771
17772 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17773
17774         * gst/gstiterator.c: (gst_iterator_new):
17775           Fix my previous commit: GTypes passed to gst_iterator_new()
17776           can be fundamental types.
17777
17778 2005-10-10  Wim Taymans  <wim@fluendo.com>
17779
17780         * gst/gstelement.c: (gst_element_iterate_pad_list),
17781         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17782         (gst_element_iterate_sink_pads):
17783         Use src/sink pads lists for the respective iterators instead
17784         of filtering.
17785
17786 2005-10-10  Andy Wingo  <wingo@pobox.com>
17787
17788         Merged in popt removal + GOption addition patch from Ronald, bug
17789         #169772.
17790
17791         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17792         GstElement macros around, remove popt-related symbols, add goption
17793         stuff.
17794
17795         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17796         
17797         * docs/gst/Makefile.am:
17798         * docs/libs/Makefile.am: No POPT_CFLAGS.
17799         
17800         * examples/manual/Makefile.am:
17801         * docs/manual/basics-init.xml: Doc updates with an example.
17802         
17803         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17804         (gst_init), (parse_one_option), (parse_goption_arg):
17805         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17806         bit of hand merging and debugging to get the GOption stuff working
17807         tho.
17808         
17809         * tests/Makefile.am:
17810         * tools/Makefile.am:
17811         * tools/gst-inspect.c: (main):
17812         * tools/gst-launch.c: (main):
17813         * tools/gst-run.c: (main):
17814         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17815
17816 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17817
17818         * gst/gstiterator.c: (gst_iterator_new):
17819           Add assertions to make sure passed GType is likely to really
17820           be a GType (as the compiler won't catch it if the size and
17821           GType arguments get mixed up, see #318447).
17822
17823 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17824
17825         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17826
17827         * gst/gstbin.c: (gst_bin_iterate_sorted):
17828           Pass GType and size arguments to gst_iterator_new() in the right
17829           order (maybe we should make _new() take the GType as first argument
17830           just like _new_list()?) (#318447).
17831           
17832
17833 2005-10-10  Wim Taymans  <wim@fluendo.com>
17834
17835         * gst/gstelement.c: (gst_element_finalize):
17836         And free the GStaticRecMutex too
17837
17838 2005-10-10  Andy Wingo  <wingo@pobox.com>
17839
17840         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17841         Allocate and free the mutex properly.
17842
17843         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17844         New macros.
17845         (GstElement): The state_lock is now recursive. Rebuild your
17846         plugins, suckers. Old macros adapted.
17847
17848         * docs/gst/gstreamer-sections.txt: Doc updates.
17849
17850         * gst/gstutils.h:
17851         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17852         (g_static_rec_cond_wait): Ported from state changes patch, while
17853         we wait on bug #317802 to be solved in a well-distributed GLib.
17854
17855         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17856         gst_element_change_state, variable name changes.
17857         (gst_element_change_state): Split out of gst_element_set_state in
17858         preparation for the state change merge. Doesn't pay attention to
17859         the 'transition' argument.
17860         (gst_element_set_state): Updates, hopefully purely cosmetic.
17861         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17862         state change patch.
17863         (gst_element_get_state_func): Renamed from get_state, cosmetic
17864         changes.
17865
17866 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17867
17868         * gst/elements/gstelements.c:
17869         * win32/GStreamer.vcproj:
17870         * win32/config.h:
17871         * win32/dirent.c: (_tseekdir):
17872         * win32/gst-inspect.vcproj:
17873         * win32/gst-launch.vcproj:
17874         * win32/gstconfig.h:
17875         * win32/gstelements.vcproj:
17876         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17877         * win32/gstreamer.def:
17878         * win32/msvc71.sln:
17879           updates for the win32 build (patch from Sebastien Moutte)
17880
17881 2005-10-10  Andy Wingo  <wingo@pobox.com>
17882
17883         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17884         gst_bin_get_state, cleaned up (but no logic changes).
17885         (bin_element_is_sink): Comment updates.
17886         (sink_iterator_filter): Remove needless cast.
17887         (gst_bin_iterate_sinks): Doc update.
17888         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17889         cleaned up (but no logic changes).
17890
17891         * check/states/sinks.c (test_src_sink): Cleanups from the state
17892         change patch.
17893         (test_livesrc_sink): Sync on the state.
17894
17895         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17896         the state change patch.
17897
17898         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17899         change patch.
17900
17901         * check/gst/gstbin.c: Merge in some style fixes and additional
17902         checks from Wim's state change patch.
17903
17904 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17905
17906         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17907         (gst_type_find_helper):
17908           Check whether we have the requested data already in our list of
17909           cached buffers before pulling a new buffer; also make the buffer
17910           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17911
17912 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17913
17914         * gst/gstcaps.c:
17915         * gst/gstevent.c:
17916           doc updates
17917         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17918           don't use long long, it's not portable.  Replacing with
17919           gint64 seems to work; let's hope no skeletons fall out of the closet.
17920
17921 2005-10-10  Andy Wingo  <wingo@pobox.com>
17922
17923         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17924
17925 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
17926
17927         * docs/gst/gstreamer-sections.txt:
17928         * gst/gstevent.c:
17929         * gst/gstevent.h:
17930         * gst/gstinfo.c:
17931         * gst/gstinfo.h:
17932         * gst/gstmessage.c: (gst_message_parse_state_changed):
17933         * gst/gstpad.c:
17934         * gst/gstpad.h:
17935           more docs, fix compilation
17936
17937 2005-10-09  Philippe Khalaf <burger@speedy.org>
17938         * gst/gstmessage.c:
17939           Fixed a few forgotten variables on previous commit
17940
17941 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
17942
17943         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17944           Fix evil typefind crasher: getrange() might return a short
17945           buffer at the end of a file, but gst_type_find_peek() must
17946           either return the full data as requested or NULL, but
17947           never a short buffer.
17948
17949 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17950
17951         * gst/gstmessage.c: (gst_message_new_state_changed),
17952         (gst_message_parse_state_changed):
17953         * gst/gstmessage.h:
17954           don't use "new", it's a C++ keyword
17955
17956 2005-10-08  Wim Taymans  <wim@fluendo.com>
17957
17958         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17959         * gst/gstelement.c: (gst_element_post_message):
17960         * gst/gstpipeline.c: (gst_pipeline_change_state):
17961         Small docs and debug updates.
17962
17963 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17964
17965         * docs/gst/gstreamer-sections.txt:
17966         * gst/gstelementfactory.c:
17967         * gst/gstevent.c:
17968         * gst/gsttaglist.c:
17969           more docs
17970
17971 2005-10-08  Wim Taymans  <wim@fluendo.com>
17972
17973         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17974         (gst_bin_dispose), (bin_bus_handler):
17975         Fix typos, add comments.
17976         Clear EOS list when going to PAUSED from any direction and do it
17977         in a threadsafe way.
17978         Get base time in a threadsafe way too.
17979         Fix confusing debug in the change_state function.
17980         Various other small cleanups.
17981         
17982         * gst/gstelement.c: (gst_element_post_message):
17983         Fix very verbose bus posting code.
17984
17985         * gst/gstpipeline.c: (gst_pipeline_class_init),
17986         (gst_pipeline_set_property), (gst_pipeline_get_property),
17987         (gst_pipeline_change_state):
17988         Small ARG_ -> PROP_ cleanup
17989
17990 2005-10-08  Wim Taymans  <wim@fluendo.com>
17991
17992         * gst/gstbin.c: (is_eos), (bin_bus_handler):
17993         Do a less CPU demanding EOS check because we can.
17994
17995 2005-10-08  Wim Taymans  <wim@fluendo.com>
17996
17997         * libs/gst/dataprotocol/dataprotocol.c:
17998         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17999         (gst_dp_packet_from_event):
18000         * libs/gst/dataprotocol/dataprotocol.h:
18001         * libs/gst/dataprotocol/dp-private.h:
18002         It's about time we bump the version number.
18003         Since event types don't fit in the guint8 anymore describing
18004         the payload type, make payload type 16 bits wide.
18005
18006 2005-10-08  Wim Taymans  <wim@fluendo.com>
18007
18008         * docs/design/part-TODO.txt:
18009         * docs/design/part-clocks.txt:
18010         * docs/design/part-events.txt:
18011         * docs/design/part-gstbin.txt:
18012         * docs/design/part-gstelement.txt:
18013         * docs/design/part-gstpipeline.txt:
18014         * docs/design/part-live-source.txt:
18015         * docs/design/part-messages.txt:
18016         * docs/design/part-overview.txt:
18017         * docs/design/part-states.txt:
18018         Many doc updates.
18019
18020 2005-10-08  Wim Taymans  <wim@fluendo.com>
18021
18022         * gst/gstevent.c:
18023         * gst/gstevent.h:
18024         Fix event quark registration.
18025         Add some space between events so we can insert them in the
18026         right groups.
18027
18028 2005-10-08  Wim Taymans  <wim@fluendo.com>
18029
18030         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18031         (gst_base_sink_handle_buffer):
18032         Better log message.
18033
18034         * gst/gstbus.h:
18035         * gst/gstelement.h:
18036         More docs.
18037
18038         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18039         (gst_queue_set_property), (gst_queue_get_property):
18040         * gst/gstqueue.h:
18041         Remove old unused properties.
18042
18043 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18044         * docs/gst/gstreamer-sections.txt:
18045         * gst/gstmessage.c:
18046         * gst/gstmessage.h:
18047         * gst/gstminiobject.c:
18048         * gst/gstminiobject.h:
18049         * gst/gstobject.h:
18050         * gst/gstpad.h:
18051         * gst/gstutils.h:
18052           lots of new docs and doc fixes
18053
18054 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18055
18056         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18057         * gst/gstplugin.h:
18058         * gst/gstregistry.c: (gst_registry_lookup_locked),
18059         (gst_registry_scan_path_level):
18060         * gst/gstregistryxml.c: (load_plugin):
18061           Only ever load one plugin for a given plugin basename.
18062           This ensures correct overriding of GST_PLUGIN_PATH over
18063           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18064           system installed plugins.
18065
18066 2005-10-08  Wim Taymans  <wim@fluendo.com>
18067
18068         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18069         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18070         Prepare for doing QOS.
18071
18072 2005-10-08  Wim Taymans  <wim@fluendo.com>
18073
18074         * check/gst/gstbin.c: (GST_START_TEST):
18075         * check/pipelines/cleanup.c: (GST_START_TEST):
18076         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18077         Allow new clock message too.
18078
18079 2005-10-08  Wim Taymans  <wim@fluendo.com>
18080
18081         * gst/gstmessage.c: (gst_message_new_error),
18082         (gst_message_new_warning), (gst_message_new_tag),
18083         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18084         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18085         (gst_message_new_segment_start), (gst_message_new_segment_done),
18086         (gst_message_parse_state_changed),
18087         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18088         (gst_message_parse_new_clock):
18089         * gst/gstmessage.h:
18090         Also carry the clock in question.
18091
18092 2005-10-08  Wim Taymans  <wim@fluendo.com>
18093
18094         * gst/gstmessage.c: (gst_message_new_custom),
18095         (gst_message_new_eos), (gst_message_new_error),
18096         (gst_message_new_warning), (gst_message_new_tag),
18097         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18098         (gst_message_new_new_clock), (gst_message_new_segment_start),
18099         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18100         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18101         * gst/gstmessage.h:
18102         Clean up.
18103         Added clock related messages.
18104
18105         * gst/gstpipeline.c: (gst_pipeline_change_state):
18106         Post message when the clock changed.
18107
18108         * tools/gst-launch.c: (event_loop):
18109         Print new clock.
18110
18111 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18112
18113         * tools/gst-inspect.c: (print_element_properties_info):
18114           Can't pass NULL strings to g_print() on windows.
18115
18116 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18117
18118         * docs/Makefile.am:
18119         * docs/gst/Makefile.am:
18120         * docs/gst/gstreamer-docs.sgml:
18121         * docs/gst/running.xml:
18122         * docs/version.entities.in:
18123           add a chapter on running GStreamer.
18124           document GST_DEBUG and GST_PLUGIN* env vars
18125
18126 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18127
18128         * Makefile.am:
18129           remove include dir
18130         * configure.ac:
18131           remove PLUGINS_BUILDDIR stuff
18132         * gst/gst.c: (init_post):
18133           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18134         * idiottest.mak:
18135           remove, it was condescending and not needed
18136
18137 2005-10-08  Wim Taymans  <wim@fluendo.com>
18138
18139         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18140         (gst_base_sink_handle_object), (gst_base_sink_event),
18141         (gst_base_sink_wait), (gst_base_sink_handle_event),
18142         (gst_base_sink_change_state):
18143         * gst/base/gstbasesink.h:
18144         Repost EOS message while going to PLAYING if still EOS.
18145         Make sure that when receiving a FLUSH_START we don't attempt
18146         to sync on the clock anymore.
18147
18148 2005-10-08  Wim Taymans  <wim@fluendo.com>
18149
18150         * tools/gst-launch.c: (event_loop):
18151         Better message printout.
18152
18153 2005-10-08  Wim Taymans  <wim@fluendo.com>
18154
18155         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18156         (gst_bin_child_proxy_get_children_count):
18157         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18158         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18159         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18160         (gst_child_proxy_set_valist):
18161         * gst/parse/grammar.y:
18162         Make ChildProxy threadsafe and fix mem leaks.
18163
18164 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18165
18166         * gst/gst.c: (init_post):
18167           debug the GST_PLUGIN_ env vars
18168
18169 2005-10-08  Wim Taymans  <wim@fluendo.com>
18170
18171         * check/gst/gstbin.c: (GST_START_TEST):
18172         * check/gst/gstmessage.c: (GST_START_TEST):
18173         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18174         * gst/gstelement.c: (gst_element_commit_state),
18175         (gst_element_lost_state):
18176         * gst/gstmessage.c: (gst_message_new_state_changed),
18177         (gst_message_parse_state_changed):
18178         * gst/gstmessage.h:
18179         * tools/gst-launch.c: (event_loop):
18180         Added extra field to STATE_CHANGE message with the pending
18181         state, which will be different from the new state soon.
18182
18183 2005-10-08  Wim Taymans  <wim@fluendo.com>
18184
18185         * gst/gstbus.c: (gst_bus_pop):
18186         * gst/gstclock.c:
18187         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18188         Small cleanups and doc updates.
18189
18190 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18191
18192         * gst/gst.c: (init_pre):
18193         * gst/gstbin.c: (gst_bin_add_func):
18194           log distributing clocks and base time
18195         * gst/gstregistry.c: (gst_registry_add_plugin),
18196         (gst_registry_scan_path_level), (gst_registry_scan_path):
18197           clean up the debugging output a little
18198         * gst/gstutils.c: (gst_element_state_get_name):
18199           warn about a memleak (I've actually seen this be used, though
18200           it was probably a bug)
18201
18202 2005-10-07  Wim Taymans  <wim@fluendo.com>
18203
18204         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18205         (gst_base_src_init), (gst_base_src_default_newsegment),
18206         (gst_base_src_newsegment), (gst_base_src_do_seek),
18207         (gst_base_src_loop), (gst_base_src_start):
18208         * gst/base/gstbasesrc.h:
18209         Make the newsegment event customizable by subclasses.
18210
18211 2005-10-07  Wim Taymans  <wim@fluendo.com>
18212
18213         * gst/gstevent.c: (gst_event_new_buffersize),
18214         (gst_event_parse_buffersize):
18215         * gst/gstevent.h:
18216         New event for future idea.
18217
18218 2005-10-07  Andy Wingo  <wingo@pobox.com>
18219
18220         * gst/gstelement.c (gst_element_post_message): Doc update.
18221
18222         * docs/gst/gstreamer-sections.txt: Update.
18223
18224         * gst/gstmessage.c (gst_message_new_application): Made into a
18225         function like honest API calls.
18226         (gst_message_new_element): New message type.
18227
18228         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18229
18230         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18231         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18232         times.
18233
18234         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18235         NO_PREROLL from gst_element_change_state to fall through.
18236
18237 2005-10-07  Wim Taymans  <wim@fluendo.com>
18238
18239         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18240         (gst_ghost_pad_do_activate_push):
18241         Activating a ghostpad with no internal pad in push mode
18242         is ok.
18243
18244 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18245
18246         * gst/gstobject.h:
18247           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18248           Fixes compilation on Windows.
18249
18250 2005-10-07  Michael Smith <msmith@fluendo.com>
18251
18252         * tools/gst-inspect.c:
18253           Print out feature and plugin count at the end when printing out
18254           all features.
18255
18256 2005-10-04  Michael Smith <msmith@fluendo.com>
18257
18258         * gst/gsterror.c: (_gst_stream_errors_init):
18259           Add another error string used in a few existing plugins.
18260
18261         * gst/gstplugin.c:
18262         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18263         * tools/gst-inspect.c: (print_element_info):
18264           When a feature disappears from a plugin (and the feature exists in
18265           the cached registry file), things went horribly wrong. This isn't a
18266           complete fix, we should actually be removing the 'missing' features
18267           from the features list when we load the actual plugin. That's not
18268           yet implemented. 
18269
18270 2005-10-04  Johan Dahlin  <johan@gnome.org>
18271
18272         * check/gst/gstiterator.c: (GST_START_TEST):
18273         * gst/gstbin.c: (gst_bin_iterate_elements),
18274         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18275         * gst/gstelement.c: (gst_element_iterate_pads):
18276         * gst/gstformat.c: (gst_format_iterate_definitions):
18277         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18278         (gst_iterator_new_list), (gst_iterator_filter):
18279         * gst/gstiterator.h:
18280         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18281         Add a GType to GstIterator, update callsites and tests.
18282
18283 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18284
18285         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18286           give events a chance to be handled by event probes when the pad
18287           is not linked
18288
18289 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18290
18291         * gst/gstevent.c: (gst_event_type_get_name),
18292         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18293         * gst/gstevent.h:
18294           add string representations for event types
18295
18296 2005-10-06  Wim Taymans  <wim@fluendo.com>
18297
18298         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18299         Don't use NULL pointers.
18300
18301 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18302
18303         * gst/gst_private.h:
18304         * gst/gstbus.c:
18305         * gst/gstelement.c:
18306         * gst/gstinfo.c:
18307         * gst/gstpluginfeature.c:
18308           widen the debug category in output to fit the biggest one we have
18309           add a bus category and use it
18310           play with the colors
18311           fix up some categories
18312
18313 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18314
18315         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18316           add push activation of sink ghost pads.
18317           Andye, please verify
18318
18319 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18320
18321         * gst/gstutils.c: (gst_element_link_pads):
18322           fix a bug in the case where neither element has a pad
18323         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18324           add a test for that case
18325
18326 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18327
18328         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18329           emit have-data before checking for peers.  This allows
18330           for probe handlers to connect elements.  This helps autopluggers.
18331         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18332         (gst_pad_suite):
18333           add six checks, linked/unlinked with no/true/false probe
18334
18335 2005-10-04  Wim Taymans  <wim@fluendo.com>
18336
18337         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18338         (gst_fake_sink_event), (gst_fake_sink_preroll),
18339         (gst_fake_sink_render), (gst_fake_sink_change_state):
18340         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18341         (gst_fake_src_get_property), (gst_fake_src_create),
18342         (gst_fake_src_stop):
18343         * gst/elements/gstidentity.c: (gst_identity_stop):
18344         Protect last_message with lock.
18345
18346 2005-10-04  Edward Hervey  <edward@fluendo.com>
18347
18348         * gst/gstformat.h: 
18349         Added precision in the comments for GST_FORMAT_DEFAULT
18350
18351 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18352
18353         * tools/gst-launch.c: (main):
18354           Don't try to run erroneous pipelines.
18355
18356 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18357
18358         * gst/gstbus.c: We don't need this header.
18359
18360 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18361
18362         * configure.ac:
18363           back to development
18364
18365 === release 0.9.3 ===
18366
18367 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18368
18369         * README:
18370         * configure.ac:
18371           Releasing 0.9.3, "Unregistered"
18372
18373 2005-10-03  Andy Wingo  <wingo@pobox.com>
18374
18375         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18376         whereby calling a pad's activatepush() function can start a thread
18377         that starts to push or pull before the pad gets the FLUSHING flag
18378         unset. Hack around it by holding the stream lock until the flag is
18379         set. Need to replace this with a proper solution. Together with
18380         the ghost pad fixes, this fixes mp3 playing/tagreading.
18381
18382         * docs/design/part-gstghostpad.txt: Add a note about activation of
18383         proxy pads outside of ghost pads.
18384
18385         * gst/gstghostpad.c: Implement the ghost pad activation design.
18386
18387 2005-10-02  Andy Wingo  <wingo@pobox.com>
18388
18389         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18390         It is volatile, after all.
18391
18392         * docs/design/part-gstghostpad.txt: Flesh out activation with
18393         ghost pads.
18394
18395         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18396         GST_DEBUG_FUNCPTR.
18397
18398 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18399
18400         * configure.ac:
18401           Fix (unused) AM_CONDITIONAL tests.
18402
18403 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18404
18405         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18406
18407         * gst/gstutils.c: (gst_pad_query_convert):
18408           Add assertion that makes sure src_val is >=0, just like
18409           gst_query_new_convert() has. (#315895)
18410
18411 2005-09-30  Edward Hervey  <edward@fluendo.com>
18412
18413         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18414         Let's not iterate pads we're not interested in, it avoids getting 
18415         sky-high refcounts on sinkpad.
18416
18417 2005-09-30  Wim Taymans  <wim@fluendo.com>
18418
18419         * gst/gstelement.c: (gst_element_set_state),
18420         (gst_element_change_state):
18421         Small tweak, element in ASYNC remains ASYNC.
18422
18423 2005-09-30  Wim Taymans  <wim@fluendo.com>
18424
18425         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18426         Only error is an error.
18427
18428         * gst/gstbin.c: (gst_bin_change_state):
18429         Better debugging.
18430
18431         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18432         Also call pad_block in pad alloc.
18433
18434         * gst/gstutils.c: (gst_flow_get_name):
18435         Better debugging.
18436
18437 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18438
18439         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18440         (gst_base_src_get_range):
18441           Fix documentation typos. Add some more debug info.
18442
18443 2005-09-29  David Schleef  <ds@schleef.org>
18444
18445         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18446           more end-user friendly.
18447         * tools/gst-inspect.c: (main): Check if command-line argument is
18448           a file and attempt to load that file as a plugin.
18449
18450 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18451
18452         * check/gst/gstbin.c:
18453         * check/states/sinks.c:
18454           fix tests for the new warning
18455         * check/gst/gstpipeline.c:
18456           add a test for pipeline and bus interaction
18457         * gst/gstelement.c:
18458           elements should be NULL if they get disposed; add a warning if not
18459
18460 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18461
18462         * gst/gstobject.c:
18463           for 2.6 refcounting, make debug log more correct by printing
18464           the actual refcounts at the time of swap (Wim)
18465
18466 2005-09-29  Andy Wingo  <wingo@pobox.com>
18467
18468         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18469         removes signal watches previously added via
18470         gst_bus_add_signal_watch.
18471         (gst_bus_add_signal_watch): Don't return the source id, just store
18472         it on the bus if there wasn't an id already.
18473
18474         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18475         add_signal_watch and remove_signal_watch.
18476
18477 2005-09-29  Edward Hervey  <edward@fluendo.com>
18478
18479         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18480         Better if we actually iterate the list :)
18481
18482 2005-09-29  Wim Taymans  <wim@fluendo.com>
18483
18484         * check/gst/gstbin.c: (GST_START_TEST):
18485         Change for new bus API.
18486
18487         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18488         (send_messages), (GST_START_TEST), (gstbus_suite):
18489         Change for new bus signal API.
18490
18491         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18492         (gst_bus_source_prepare), (gst_bus_source_check),
18493         (gst_bus_create_watch), (gst_bus_add_watch_full),
18494         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18495         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18496         * gst/gstbus.h:
18497         Remove support for multiple GSources operating on different
18498         message types as it is too complex and unneeded when using
18499         signals.
18500         Added support for receiving signals from the bus.
18501
18502 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18503
18504         * docs/libs/tmpl/gstdataprotocol.sgml:
18505         * docs/manual/advanced-dataaccess.xml:
18506         * gst/elements/gstcapsfilter.c:
18507         * gst/gstutils.c:
18508           rename filter-caps to caps property
18509
18510 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18511
18512         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18513           More robust fraction string parsing.
18514
18515         * docs/pwg/appendix-porting.xml:
18516           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18517
18518 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18519
18520         * gst/gstcaps.c: (gst_caps_do_simplify):
18521           Thou shalt not free a structure and then continue using it
18522           in the next loop iteration.
18523
18524         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18525         (gst_caps_suite):
18526           Add test case for caps simplification.
18527
18528 2005-09-29  Wim Taymans  <wim@fluendo.com>
18529
18530         * check/gst/gstbin.c: (GST_START_TEST):
18531         Oops.
18532
18533 2005-09-29  Wim Taymans  <wim@fluendo.com>
18534
18535         * check/gst/gstbin.c: (GST_START_TEST):
18536         Add bus to bin.
18537
18538         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18539         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18540         (find_element), (gst_bin_sort_iterator_next),
18541         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18542         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18543         (gst_bin_change_state), (gst_bin_dispose):
18544         A bin does not have a bus, it gets the bus from the parent.
18545
18546         * gst/gstelement.c: (gst_element_requires_clock),
18547         (gst_element_provides_clock), (gst_element_is_indexable),
18548         (gst_element_is_locked_state), (gst_element_change_state),
18549         (gst_element_set_bus_func):
18550         Small cleanups.
18551
18552         * gst/gstpipeline.c: (gst_pipeline_class_init),
18553         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18554         The pipeline provides a bus.
18555
18556 2005-09-28  Johan Dahlin  <johan@gnome.org>
18557
18558         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18559         gst_structure_get_enum instead of gst_structure_get_int
18560
18561         * gst/gststructure.c (gst_structure_get_enum): Impl.
18562
18563         * gst/gststructure.h (gst_structure_get_enum): Add
18564
18565         * docs/gst/gstreamer-sections.txt: Ditto
18566
18567         * gst/gstmessage.c (gst_message_new_state_changed): Use
18568         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18569         which does introspection.
18570         Reviewed by Christian Schaller
18571
18572 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18573
18574         * gst/gstinfo.c: (gst_debug_log_default):
18575           don't do dummy g_strdup()s
18576         * libs/gst/controller/gstcontroller.c:
18577         (on_object_controlled_property_changed),
18578         (gst_controlled_property_new), (gst_controller_new_valist),
18579         (gst_controller_new_list),
18580         (gst_controller_remove_properties_valist), (gst_controller_set),
18581         (gst_controller_get), (gst_controller_sync_values),
18582         (gst_controller_get_value_array), (_gst_controller_class_init),
18583         (gst_controller_get_type):
18584         * libs/gst/controller/gstcontroller.h:
18585         * libs/gst/controller/gstinterpolation.c:
18586         (gst_controlled_property_find_timed_value_node):
18587           convert // to /**/ comments
18588
18589 2005-09-28  Wim Taymans  <wim@fluendo.com>
18590
18591         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18592         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18593         (gst_bus_sync_signal_handler):
18594         * gst/gstbus.h:
18595         Added async-message and sync-message signals to the bus.
18596         Added helper BusFunc to emit signals for all posted messages.
18597
18598         * gst/gstmessage.c: (gst_message_type_get_name),
18599         (gst_message_type_to_quark), (gst_message_get_type):
18600         * gst/gstmessage.h:
18601         Register quarks for message names.
18602
18603 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18604
18605         * docs/libs/gstreamer-libs-sections.txt:
18606         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18607         (gst_controller_new_list):
18608         * libs/gst/controller/gstcontroller.h:
18609           added another constructor for language bindings
18610
18611 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18612
18613         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18614           add another check
18615         * gst/gstbus.c:
18616           add some doc
18617         * gst/gstinfo.c: (_gst_debug_init):
18618           slightly more readable color for refcount debugging
18619
18620 2005-09-28  Wim Taymans  <wim@fluendo.com>
18621
18622         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18623         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18624         (find_element), (gst_bin_sort_iterator_next),
18625         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18626         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18627         (gst_bin_change_state), (gst_bin_dispose):
18628         Small doc fixes. get_clock -> provide_clock.
18629
18630         * gst/gstelement.c: (gst_element_class_init),
18631         (gst_element_provides_clock), (gst_element_provide_clock),
18632         (gst_element_get_clock), (gst_element_commit_state),
18633         (gst_element_lost_state):
18634         * gst/gstelement.h:
18635         Make get/set_clock() symetric. Add provide_clock vmethod since
18636         that is actually what this function does.
18637
18638         * gst/gstpipeline.c: (gst_pipeline_class_init),
18639         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18640         (gst_pipeline_get_clock):
18641         get_clock -> provide_clock.
18642
18643 2005-09-28  Andy Wingo  <wingo@pobox.com>
18644
18645         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18646         lieu of real docs...
18647
18648         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18649
18650 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18651
18652         * gst/elements/gstcapsfilter.c:
18653         * gst/elements/gstfakesink.c:
18654         * gst/elements/gstfakesrc.c:
18655         * gst/elements/gstfdsink.c:
18656         * gst/elements/gstfdsrc.c:
18657         * gst/elements/gstfilesink.c:
18658         * gst/elements/gstfilesrc.c:
18659         * gst/elements/gstidentity.c:
18660         * gst/elements/gsttee.c:
18661         * gst/elements/gsttypefindelement.c:
18662           Make element details static.
18663
18664 2005-09-28  Wim Taymans  <wim@fluendo.com>
18665
18666         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18667         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18668         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18669         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18670         (gst_bin_change_state), (gst_bin_dispose):
18671         Some documentation updates.
18672         Clean up dispose handlers.
18673
18674         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18675         * gst/gstpad.c: (gst_pad_dispose):
18676         Clean up dispose handler.
18677
18678         * gst/gstpipeline.c: (gst_pipeline_change_state):
18679         Removed spurious UNLOCK.
18680
18681 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18682
18683         * docs/gst/gstreamer-sections.txt:
18684         * gst/base/gstbasesrc.h:
18685         * gst/gstelement.h:
18686         * gst/gstevent.h:
18687         * gst/gstobject.h:
18688         * gst/gstpad.h:
18689         * gst/gstpipeline.c:
18690         * gst/gstpipeline.h:
18691         * gst/gstutils.h:
18692         * gst/gstxml.h:
18693           added two new functions to the docs
18694                 documents all undocumented GstXXXFlags
18695                 completed some incomplete docs 
18696
18697 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18698
18699         * gst/gstbin.c: (gst_bin_dispose):
18700         * gst/gstelement.c: (gst_element_dispose):
18701           remove now useless and leaky resurrection code in dispose
18702         * gst/base/gstbasesrc.c: (gst_base_src_init):
18703         * gst/gstelementfactory.c: (gst_element_factory_create):
18704         * gst/gstobject.c: (gst_object_set_parent):
18705           add some debugging
18706
18707 2005-09-27  Wim Taymans  <wim@fluendo.com>
18708
18709         * docs/design/part-TODO.txt:
18710         Update TODO.
18711
18712         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18713         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18714         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18715         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18716         (gst_bin_change_state):
18717         * gst/gstelement.h:
18718         Remove element variable, we keep element info in the iterator now.
18719
18720 2005-09-27  Andy Wingo  <wingo@pobox.com>
18721
18722         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18723         values.
18724
18725 2005-09-27  Wim Taymans  <wim@fluendo.com>
18726
18727         * check/gst/gstbin.c: (GST_START_TEST):
18728         Enable check that works now.
18729
18730         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18731         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18732         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18733         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18734         (gst_bin_change_state):
18735         * gst/gstbin.h:
18736         Redid the state change algorithm using a topological sort algo.
18737         Handles all cases correctly.
18738         Exposed iterator for state change order.
18739
18740         * gst/gstelement.h:
18741         Temp storage for state changes. Need to get rid of this soon.
18742
18743 2005-09-27  Wim Taymans  <wim@fluendo.com>
18744
18745         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18746         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18747         (link_fold_func), (gst_pad_proxy_setcaps):
18748         Leak fixes, the fold functions need to unref the passed object and
18749         _get_parent_*() returns ref to parent.
18750
18751 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18752
18753         * check/gst/gstbuffer.c: (test_make_writable):
18754           Plug leak in test case and fix 'make check-valgrind'
18755
18756 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18757
18758         * gst/gstbuffer.c: (gst_subbuffer_init):
18759           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18760           works correctly in all circumstances (we could have just copied
18761           the parent buffer's readonly flag, but conceptually it seems
18762           cleaner to mark all subbuffers as read-only). (based on patch
18763           by Alessandro Decina, #314710).
18764         
18765         * check/gst/gstbuffer.c: (create_read_only_buffer),
18766         (test_make_writable), (test_subbuffer_make_writable),
18767         (gst_test_suite):
18768           Add some tests for gst_buffer_make_writable().
18769
18770 2005-09-27  Wim Taymans  <wim@fluendo.com>
18771
18772         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18773         use gst_object_has_ancestor().
18774
18775         * gst/gstobject.c: (gst_object_has_ancestor):
18776         * gst/gstobject.h:
18777         gst_object_has_ancestor() copied from gstbin.c as it is a
18778         useful function.
18779
18780         * tests/instantiate/create.c: (create_all_elements):
18781         * tests/lat.c: (handoff_src), (handoff_sink):
18782         * tests/sched/runxml.c: (main):
18783         * tests/seeking/seeking1.c: (main):
18784         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18785         (main):
18786         Fix compilation of some tests.
18787
18788 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18789
18790         * gst/gsterror.h:
18791           Remove comment. GST_TYPE_G_ERROR is here to stay,
18792           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18793           (#316961, #300610).
18794
18795 2005-09-26  Wim Taymans  <wim@fluendo.com>
18796
18797         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18798         Added check that shows error in state change order.
18799
18800 2005-09-26  Wim Taymans  <wim@fluendo.com>
18801
18802         * gst/gstbin.c: (gst_bin_change_state):
18803         Make state change function use 3 queues again, we were
18804         adding elements in the wrong order.
18805
18806         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18807         Some debug info,
18808
18809         * gst/gstpad.c: (gst_pad_dispose):
18810         Added some debug info first.
18811
18812 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18813
18814         * docs/design/draft-push-pull.txt:
18815         * docs/design/part-events.txt:
18816         * docs/design/part-overview.txt:
18817         * docs/design/part-scheduling.txt:
18818           Replace all _pull_region() with _pull_range()
18819           
18820 2005-09-26  Andy Wingo  <wingo@pobox.com>
18821
18822         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18823
18824         * check/gst-libs/controller.c: Update for controller api change.
18825
18826         * configure.ac: 
18827         * tests/Makefile.am:
18828         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18829         over by GLib bug 118439.
18830         
18831         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18832         routines to a function.
18833
18834         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18835
18836         * libs/gst/controller/gsthelper.c:
18837         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18838         (gst_object_sync_values): Renamed from sink_values. Ugh.
18839
18840         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18841
18842         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18843         Renamed from controller_key, as it is exported.
18844
18845         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18846
18847 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18848
18849         * gst/Makefile.am:
18850         * gst/gst.h:
18851         * gst/gstpad.h:
18852         * gst/gstpadtemplate.h:
18853         * gst/gstquery.c:
18854         * gst/gstquery.h:
18855         * gst/gstqueryutils.c:
18856         * gst/gstqueryutils.h:
18857           remove queryutils headers after moving the two used functions
18858           to gstquery.  also fixes build problem for gstsiddec
18859
18860 2005-09-26  Michael Smith <msmith@fluendo.com>
18861
18862         * tools/gst-launch.1.in:
18863         Correct documentation in manpage of debug syntax
18864
18865 2005-09-26  Wim Taymans  <wim@fluendo.com>
18866
18867         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18868         (gst_base_src_is_seekable), (gst_base_src_change_state):
18869         Some more debugging info.
18870
18871 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18872
18873         * docs/gst/gstreamer-sections.txt:
18874         * gst/base/gstbasetransform.h:
18875         * gst/gstindex.h:
18876           added more docs
18877
18878 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18879
18880         * docs/gst/.cvsignore:
18881         * docs/gst/tmpl/.cvsignore:
18882         * docs/gst/tmpl/gstpipeline.sgml:
18883         * docs/gst/tmpl/gstplugin.sgml:
18884         * gst/gstpipeline.c:
18885         * gst/gstplugin.c:
18886         * gst/gstplugin.h:
18887           inlined the last two docs files
18888           removed the tmpl directory from cvs (no more conflicts here!)
18889
18890 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18891
18892         * docs/gst/gstreamer-sections.txt:
18893         * docs/gst/tmpl/.cvsignore:
18894         * docs/gst/tmpl/gstpad.sgml:
18895         * docs/gst/tmpl/gstpadtemplate.sgml:
18896         * gst/Makefile.am:
18897         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18898         (gst_pad_finalize), (gst_pad_set_pad_template):
18899         * gst/gstpad.h:
18900         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18901         (gst_pad_template_class_init), (gst_pad_template_init),
18902         (gst_pad_template_dispose), (name_is_valid),
18903         (gst_static_pad_template_get), (gst_pad_template_new),
18904         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18905         (gst_pad_template_pad_created):
18906         * gst/gstpadtemplate.h:
18907           inlined two more docs
18908           factored gstpadtemplate out of gstpad
18909
18910 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
18911
18912         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18913         (test_children_state_change_order_semi_sink):
18914           Fix test case: we can't rely on a fixed state change order when
18915           going from READY => PAUSED because the sink might commit its 
18916           new state first when the first buffer created by the source 
18917           reaches the sink before the source has finished its change state.
18918           (Test case still fails at times, see #316856, comment 5 onwards)
18919
18920 2005-09-24  Wim Taymans  <wim@fluendo.com>
18921
18922         * docs/design/part-events.txt:
18923         * docs/design/part-gstbus.txt:
18924         * docs/design/part-gstpipeline.txt:
18925         * docs/design/part-messages.txt:
18926         * docs/design/part-overview.txt:
18927         * docs/design/part-segments.txt:
18928         * gst/gstbin.c:
18929         * gst/gstbuffer.c:
18930         * gst/gstclock.c:
18931         * gst/gstelement.c:
18932         * gst/gstevent.c:
18933         * gst/gstfilter.c:
18934         * gst/gstiterator.c:
18935         Various documentation updates.
18936
18937 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18938
18939         * gst/gstclock.h:
18940           Well, that's embarassing.  Luckily we weren't using
18941           GST_CLOCK_DIFF anywhere.
18942
18943 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18944
18945         * common/gtk-doc.mak:
18946           don't fail on building XML, FC4 slave shows a bunch of doc
18947           missing bits that I don't get
18948         * gst/gstpad.c:
18949         * gst/gstpipeline.c:
18950         * gst/gststructure.c:
18951           some doc updates
18952
18953 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18954
18955         * docs/design/part-gstbin.txt:
18956         * docs/design/part-gstbus.txt:
18957         * gst/gstbus.c:
18958           Add blurb about how the bus goes into flushing mode and
18959           drops all messages when its bin goes from READY into NULL 
18960           state.
18961
18962 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18963
18964         * docs/gst/gstreamer-sections.txt:
18965         * gst/gststructure.c: (gst_structure_get_clock_time):
18966         * gst/gststructure.h:
18967           add a method to get a GstClockTime out of a structure
18968
18969 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18970
18971         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18972         (test_children_state_change_order_semi_sink), (gst_bin_suite):
18973           Added test to check state change order in bins (can still be made
18974           to fail here under heavy disk load; bails out with 'Push on pad
18975           fakesink:sink0, but it was not activated in push mode').
18976
18977         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18978           Fix state change order when there is only a semi sink (#316856)
18979
18980         * gst/gstbus.c: (gst_bus_class_init):
18981           Use _class_peek_parent(), not _class_ref(); fix docs to say
18982           'default main context' instead of 'mainloop' where that is
18983           what's meant.
18984
18985         * gst/gstelement.c: (gst_element_commit_state),
18986         (gst_element_set_state):
18987           Fix typos in debug messages
18988
18989 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18990
18991         * docs/README:
18992         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18993         * gst/gstpluginfeature.c:
18994         * gst/gstutils.c:
18995           various doc updates
18996         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18997           change an assert into an error until it gets fixed properly
18998
18999 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19000
19001         * docs/gst/gstreamer-sections.txt:
19002         * docs/gst/tmpl/.cvsignore:
19003         * docs/gst/tmpl/gstelement.sgml:
19004         * docs/gst/tmpl/gstinfo.sgml:
19005         * docs/gst/tmpl/gstobject.sgml:
19006         * gst/gstelement.c:
19007         * gst/gstelement.h:
19008         * gst/gstinfo.c:
19009         * gst/gstinfo.h:
19010         * gst/gstobject.c: (gst_object_class_init):
19011         * gst/gstobject.h:
19012           inlined 3 more biiiig doc files and added some missing docs on the fly
19013
19014 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19015
19016         * check/gst/.cvsignore:
19017         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19018         * gst/gstregistryxml.c: (load_plugin),
19019         (gst_registry_xml_save_plugin):
19020           put back source in registry.  add checks for find_plugin.
19021         * testsuite/states/bin.c: (assert_state), (empty_bin),
19022         (test_adding_one_element), (main):
19023         * testsuite/states/locked.c: (main):
19024           some compile/run fixes
19025
19026 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19027
19028         * check/gst/gstvalue.c: (GST_START_TEST):
19029           fix leaks in the test itself
19030
19031 2005-09-22  Wim Taymans  <wim@fluendo.com>
19032
19033         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19034         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19035         (gst_base_sink_query):
19036         Prepare for more accurate position reporting and query
19037         handling.
19038
19039         * gst/gstelement.c: (gst_element_send_event),
19040         (gst_element_set_state):
19041         Add some comment.
19042
19043 2005-09-22  Wim Taymans  <wim@fluendo.com>
19044
19045         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19046         (gst_query_parse_segment):
19047         * gst/gstquery.h:
19048         More documentation.
19049         Add segment query for future use.
19050
19051 2005-09-22  Wim Taymans  <wim@fluendo.com>
19052
19053         * gst/gstbin.c: (gst_bin_add_func):
19054         Some more debug info.
19055
19056         * gst/gstelement.c: (gst_element_send_event):
19057         Simplify send_event
19058
19059         * gst/gstelement.h:
19060         Don't know how flags got broken.
19061
19062         * gst/gstquery.h:
19063         Added new query.
19064
19065 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19066
19067         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19068           Add simplistic test suite for GST_TYPE_DATE serialisation and
19069           deserialisation.
19070
19071 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19072
19073         * docs/gst/gstreamer-sections.txt:
19074         * gst/gststructure.c: (gst_structure_set_valist),
19075         (gst_structure_get_date):
19076         * gst/gststructure.h:
19077         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19078         (gst_date_copy), (gst_value_compare_date),
19079         (gst_value_serialize_date), (gst_value_deserialize_date),
19080         (gst_value_transform_date_string),
19081         (gst_value_transform_string_date), (_gst_value_initialize):
19082         * gst/gstvalue.h:
19083           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19084           bunch of utility functions along with a hack that checks that
19085           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19086           is required. Part of the grand scheme in #170777.
19087
19088 2005-09-22  Andy Wingo  <wingo@pobox.com>
19089
19090         * gst/gstconfig.h.in: Psych out gtk-doc.
19091
19092         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19093
19094         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19095
19096         * tools/gst-inspect.c (print_element_list): Plug some
19097         inconsequential leaks.
19098
19099         * gst/gstregistry.c (gst_registry_get_default): Doc.
19100
19101         * check/gst/gstplugin.c: 
19102         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19103         * gst/gstelementfactory.c (gst_element_factory_create): 
19104         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19105         refcount changes.
19106
19107         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19108         (gst_plugin_feature_load): Doc, don't eat refs.
19109
19110         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19111         (gst_plugin_list_free): Doc.
19112         (gst_plugin_load_file): Doc updates.
19113
19114         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19115         accessors returning refcounted objects, return a ref.
19116
19117         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19118         accessor for caps. IDEMPOTENCE. Oh yes.
19119
19120 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19121
19122         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19123
19124         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19125         (_gst_debug_register_funcptr):
19126           Add mutex to serialise access to the hash table with
19127           the function pointer => function name string mapping;
19128           make that hash table static scope (#316809).
19129
19130         * gst/registries/.cvsignore:
19131           Remove left-over file.
19132
19133 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19134
19135         * docs/pwg/appendix-porting.xml:
19136           And something about newsegment events and caps-on-buffers to
19137           the porting guide (feel free to improve).
19138
19139 2005-09-21  Andy Wingo  <wingo@pobox.com>
19140
19141         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19142         data and event probes on the same pad.
19143         (test_buffer_probe_once): Test that removing probes from within
19144         the probe functions works.
19145
19146 2005-09-21  Andy Wingo  <wingo@pobox.com>
19147
19148         * check/gst/gstutils.c: New file.
19149         (test_buffer_probe_n_times): A simple buffer probe test. More to
19150         come, foolios.
19151
19152         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19153         have-data::buffer, not have-data.
19154         (gst_pad_add_event_probe): Likewise for have-data::event.
19155         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19156         peer' isn't quite right yet though.
19157         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19158         (gst_pad_remove_data_probe): Change to take the guint handler_id
19159         as their arg, not the function+data, which is more glib-like.
19160
19161         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19162         the signal emission to indicate if the data is a buffer or an
19163         event.
19164         (gst_pad_get_type): Initialize buffer and event quarks.
19165         (gst_pad_class_init): have-data is now a detailed signal, yes it
19166         is.
19167
19168 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19169
19170         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19171         * gst/gstutils.c: (gst_util_set_value_from_string),
19172         (gst_util_set_object_arg):
19173           Don't put functional code in g_return_if_fail() or
19174           g_return_val_if_fail() statements, otherwise things will 
19175           break when G_DISABLE_CHECKS is defined during compilation.
19176
19177 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19178
19179         * docs/gst/tmpl/.cvsignore:
19180         * docs/gst/tmpl/gstvalue.sgml:
19181         * gst/gstvalue.c:
19182         * gst/gstvalue.h:
19183           inlied another one and added  some obvious docs
19184
19185 2005-09-21  Wim Taymans  <wim@fluendo.com>
19186
19187         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19188         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19189         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19190         (gst_fdsrc_get_property), (gst_fdsrc_create):
19191         * gst/elements/gstfdsrc.h:
19192         Properly implement fdsrc. Removed signal and timeout,
19193         better implemented somewhere else.
19194
19195 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19196
19197         * docs/gst/tmpl/.cvsignore:
19198         * docs/gst/tmpl/gstimplementsinterface.sgml:
19199         * gst/gstinterface.c:
19200           inlined more docs
19201
19202 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19203
19204         * docs/gst/gstreamer-sections.txt:
19205         * docs/gst/tmpl/.cvsignore:
19206         * docs/gst/tmpl/gstenumtypes.sgml:
19207           remove obsolete doc file
19208
19209 2005-09-21  David Schleef  <ds@schleef.org>
19210
19211         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19212         little beer, fix a little leak.
19213
19214 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19215
19216         * docs/gst/gstreamer-docs.sgml:
19217         * docs/gst/gstreamer-sections.txt:
19218         * docs/gst/tmpl/.cvsignore:
19219         * gst/Makefile.am:
19220         * gst/gst.h:
19221         * gst/gstbin.c:
19222         * gst/gstelement.h:
19223         * gst/gstindex.c: (gst_index_class_init):
19224         * gst/gstindex.h:
19225         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19226         (gst_index_factory_class_init), (gst_index_factory_init),
19227         (gst_index_factory_finalize), (gst_index_factory_new),
19228         (gst_index_factory_destroy), (gst_index_factory_find),
19229         (gst_index_factory_create), (gst_index_factory_make):
19230         * gst/gstindexfactory.h:
19231         * gst/gstpluginfeature.c:
19232         * gst/gstpluginfeature.h:
19233         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19234           more docs inlined, splitted gstindex.{c,h}
19235
19236 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19237
19238         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19239           fix a leak
19240
19241 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19242
19243         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19244           Set sync to FALSE by default.
19245
19246 2005-09-20  Wim Taymans  <wim@fluendo.com>
19247
19248         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19249         (gst_base_sink_init):
19250         Make sync property settable from subclass.
19251
19252         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19253         (gst_fake_sink_change_state):
19254         Set sync to FALSE by default.
19255
19256 2005-09-20  Wim Taymans  <wim@fluendo.com>
19257
19258         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19259         * tools/gst-launch.c: (main):
19260         The timeout handler should have lower priority than the source
19261         so we don't timeout before popping a message with 0 timeout.
19262         Dump error messages after failed state change.
19263
19264 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19265
19266         * tools/gst-inspect.c: (print_element_properties_info):
19267           Fix two typos.
19268
19269 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19270
19271         * check/gst/gstevent.c:
19272         * gst/elements/gstfakesink.c:
19273         * gst/elements/gstfakesink.h:
19274           remove the sync property from fakesink.
19275           has the side effect of setting sync TRUE
19276           for fakesink, which is a change.  Anyone who knows how
19277           to fix this nicely in a GObject-y way, feel free.
19278
19279 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19280
19281         * docs/gst/gstreamer-docs.sgml:
19282           remove probe refsection
19283
19284 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19285
19286         * check/Makefile.am:
19287           disable valgrinding the controller test again
19288         * docs/gst/gstreamer-sections.txt:
19289           update for api-changes
19290
19291 2005-09-20  Wim Taymans  <wim@fluendo.com>
19292
19293         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19294         (gst_base_sink_set_property), (gst_base_sink_get_property),
19295         (gst_base_sink_do_sync):
19296         * gst/base/gstbasesink.h:
19297         Added sync property to basesink to disable clock sync.
19298
19299 2005-09-20  Andy Wingo  <wingo@pobox.com>
19300
19301         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19302         eating the caller's refcount.
19303
19304         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19305         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19306         refcount.
19307
19308         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19309         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19310         of GLib 2.8 public, so we can know which refcount to check in
19311         tests.
19312
19313         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19314         (gst_object_init): Only set the gst refcount if we're going ahead
19315         with the refcount hack.
19316
19317 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19318
19319         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19320         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19321           more leaks plumbed, added more debug-logging
19322         * gst/gstmacros.h:
19323           whitespace fix
19324
19325 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19326
19327         * gst/gstmessage.c:
19328           remove include of gstmemchunk.h
19329
19330 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19331
19332         * gst/gstclock.c: (_gst_clock_id_free):
19333           Commit from the Political Party For More Atomic CVS Commits,
19334           so that people don't waste too much of their day fishing
19335           out obvious leaks out of massive commits.
19336           Oh, and fix a pretty damn obvious leak in the memchunk
19337           removal code.
19338
19339 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19340
19341         * check/Makefile.am:
19342         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19343           plug mem-leak, re-add to valgrindable tests
19344
19345 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19346
19347         * gst/gstplugin.h:
19348           unbreak the build for those who have chronic arthritis
19349           and typing "make check" is just too taxing on the hands
19350
19351 2005-09-20  Andy Wingo  <wingo@pobox.com>
19352
19353         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19354         really want it out, you should fix plugins at the same time.
19355
19356 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19357
19358         * configure.ac:
19359         * docs/gst/gstreamer-sections.txt:
19360         * gst/gstobject.c:
19361           added missing symbols to api docs
19362           disable ref-count hack if we have glib >= 2.8
19363
19364 2005-09-19  David Schleef  <ds@schleef.org>
19365
19366         * docs/gst/Makefile.am: Ignore a few more internal headers
19367         * docs/gst/gstreamer-docs.sgml: Remove old sections
19368         * docs/gst/gstreamer-sections.txt: Remove old sections
19369         * docs/gst/tmpl/gstobject.sgml: update
19370         * docs/gst/tmpl/gstplugin.sgml: update
19371         * docs/gst/tmpl/gstpluginfeature.sgml: update
19372         * docs/random/ds/0.9-suggested-changes: update.
19373         * gst/Makefile.am: remove memchunk and trashstack, since they're
19374           not used.
19375         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19376         * gst/gst.h: don't include some headers
19377         * gst/gstchildproxy.c: add gstmarshal.h
19378         * gst/gstclock.c: Don't use memchunks
19379         * gst/gstminiobject.c: Add some docs
19380         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19381         * gst/gstobject.h: same
19382         * gst/gstplugin.c: include gstmacros.h
19383         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19384         * gst/gstquery.c: don't use memchunks
19385         * gst/gstregistry.c: rename gst_registry_deinit()
19386         * gst/gstregistry.h: same
19387
19388 2005-09-19  David Schleef  <ds@schleef.org>
19389
19390         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19391         * docs/libs/gstreamer-libs-sections.txt:
19392         * docs/libs/tmpl/gstgetbits.sgml:
19393         * docs/libs/tmpl/gstputbits.sgml:
19394
19395 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19396
19397         * win32/gstenumtypes.c:
19398         * win32/gstenumtypes.h:
19399           Update.
19400
19401 2005-09-19  Wim Taymans  <wim@fluendo.com>
19402
19403         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19404         Automatically PAUSE and RESUME a pipeline when a flushing seek
19405         is performed.
19406
19407 2005-09-19  Andy Wingo  <wingo@pobox.com>
19408
19409         * gst/gstregistry.h: Spacing fixen.
19410
19411 2005-09-19  Wim Taymans  <wim@fluendo.com>
19412
19413         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19414         Handle state change failure more correctly.
19415
19416 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19417
19418         * check/Makefile.am:
19419         * check/pipelines/cleanup.c: (run_pipeline):
19420         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19421         (GST_START_TEST):
19422           enable cleanup again after fixing the leak
19423         * docs/README:
19424           some more info on docs
19425
19426 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19427
19428         * check/Makefile.am:
19429           re-enable tests now that leaks are plugged
19430         * check/gst/gst.c:
19431         * check/gst/gstbin.c:
19432         * check/gst/gstpipeline.c:
19433           add some more tests while fixing leaks
19434         * common/check.mak:
19435           make sure binaries are uptodate when valgrinding/gdbing
19436         * gst/gst.c:
19437         * gst/gstelementfactory.c:
19438           remove a ref too many, and add a FIXME for when we get
19439           round to disposing of classes
19440         * gst/gstplugin.c:
19441           fix the refcounting when loading a plugin from a file and
19442           the code pretends that the pointer is the same even though
19443           of course it can change
19444         * gst/gstpluginfeature.c:
19445           unref plugins marked cached (a bit confusing as a name)
19446           as the docs state should be done
19447           various doc additions to explain refcounting
19448         * gst/gstregistry.c:
19449         * gst/gstregistryxml.c:
19450           debugging
19451
19452 2005-09-19  Wim Taymans  <wim@fluendo.com>
19453
19454         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19455         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19456         (send_messages), (GST_START_TEST), (gstbus_suite):
19457         * check/gst/gstpipeline.c: (GST_START_TEST):
19458         * check/pipelines/cleanup.c: (run_pipeline):
19459         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19460         (GST_START_TEST):
19461         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19462         (gst_bus_source_check), (gst_bus_source_dispatch),
19463         (gst_bus_create_watch), (gst_bus_add_watch_full),
19464         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19465         * gst/gstbus.h:
19466         * tools/gst-launch.c: (event_loop):
19467         * tools/gst-md5sum.c: (event_loop):
19468         GstBusHandler -> GstBusFunc, return value has the same meaning as
19469         any other GSource (FALSE == remove source).
19470         _add_watch() and _add_watch_full() now take a MessageType mask to
19471         only handle specific types of messages.
19472         _poll() returns the GstMessage instead of the message type to avoid
19473         race conditions.
19474         _have_pending() takes a MessageType mask now too.
19475         Added testsuite for multiple bus watches.
19476         Fix testsuites and applications for new bus API.
19477
19478 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19479
19480         * check/Makefile.am:
19481           mark a bunch of the tests as to fix until we fix them
19482
19483 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19484
19485         * common/check.mak:
19486           use GST_PLUGIN settings for valgrind tests as well, so we're
19487           valgrinding the correct thing
19488         * gst/gst.c: (init_post):
19489           plug another leak
19490
19491 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19492
19493         * gst/gst.c: (init_post), (gst_deinit):
19494         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19495         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19496         * gst/gstindex.c: (gst_index_factory_class_init),
19497         (gst_index_factory_finalize):
19498         * gst/gstobject.c: (gst_object_dispose):
19499         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19500         (gst_plugin_load_file), (gst_plugin_desc_free):
19501         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19502         (gst_plugin_feature_finalize):
19503         * gst/gstregistry.c: (gst_registry_class_init),
19504         (gst_registry_init), (gst_registry_finalize),
19505         (gst_registry_get_default), (gst_registry_deinit):
19506         * gst/gstregistry.h:
19507         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19508           various cleanups and memleak plugging.  make valgrind is happy now.
19509
19510 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19511
19512         * common/check.mak:
19513           add a check-valgrind target
19514
19515 2005-09-18  David Schleef  <ds@schleef.org>
19516
19517         * tools/gst-inspect.c: Revert the GOption code.
19518
19519 2005-09-17  David Schleef  <ds@schleef.org>
19520
19521         * check/Makefile.am: Fix environment variables.
19522         * check/gst/gstplugin.c: Fix for API changes.
19523         * tools/gst-inspect.c: Fix for API changes.
19524         * tools/gst-xmlinspect.c: Fix for API changes.
19525         * gst/gstelementfactory.c:
19526         * gst/gstplugin.c:
19527         * gst/gstplugin.h:
19528         * gst/gstpluginfeature.c:
19529         * gst/gstpluginfeature.h:
19530         * gst/gstregistry.c:
19531         * gst/gstregistry.h:
19532         * gst/gstregistryxml.c:
19533         * gst/gsttypefind.c:
19534         * gst/gsttypefindfactory.c:
19535         * gst/indexers/gstfileindex.c:
19536         * gst/indexers/gstmemindex.c:
19537         * gst/schedulers/Makefile.am:
19538           Change registry to keep track of both plugins and features,
19539           removing the feature tracking from plugins themselves.
19540
19541 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19542
19543         * check/Makefile.am:
19544         * tools/gst-register.1.in:
19545           remove gst-register
19546
19547 2005-09-15  David Schleef  <ds@schleef.org>
19548
19549         * check/gst/gstplugin.c:
19550         * gst/gstelementfactory.c:
19551         * gst/gstplugin.c:
19552         * gst/gstpluginfeature.c:
19553         * gst/gstregistry.c:
19554           Getting tired of debugging.  Disabled all the unreffing of
19555           plugins and features, which fixes the segfaults, but of
19556           course leaks like crazy.  At least playbin works.
19557
19558 2005-09-15  David Schleef  <ds@schleef.org>
19559
19560         * check/gst/gstplugin.c: (register_check_elements),
19561         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19562         More testing
19563         * gst/elements/gsttypefindelement.c: Fix refcounting.
19564         * gst/gsttypefind.c:
19565         * gst/gsttypefindfactory.c:
19566         * gst/gsttypefindfactory.h:
19567
19568 2005-09-15  David Schleef  <ds@schleef.org>
19569
19570         * gst/gstindex.c: get refcounting correct.
19571         * gst/gstregistry.c: Handle the case where a feature/plugin is
19572           not found.
19573
19574 2005-09-15  David Schleef  <ds@schleef.org>
19575
19576         * check/Makefile.am:
19577         * check/gst/gstplugin.c: Add test
19578         * gst/gstplugin.c: Fix problems noticed by testsuite
19579         * gst/gstplugin.h:
19580         * gst/gstregistry.c: 
19581         * gst/gstregistry.h:
19582
19583 2005-09-15  David Schleef  <ds@schleef.org>
19584
19585         * gst/gstplugin.c: Implement semi-decent recounting and locking
19586           in plugins and plugin features.
19587         * gst/gstplugin.h:
19588         * gst/gstpluginfeature.c:
19589         * gst/gstpluginfeature.h:
19590         * gst/gstregistry.c:
19591
19592 2005-09-15  Michael Smith <msmith@fluendo.com>
19593
19594         * gst/gstregistry.c: (gst_registry_get_feature_list):
19595           Implement this. Makes oggdemux work; decodebin still broken.
19596
19597 2005-09-14  David Schleef  <ds@schleef.org>
19598
19599         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19600           #316076)
19601         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19602         * gst/check/Makefile.am:
19603         * libs/gst/controller/Makefile.am:
19604         * libs/gst/dataprotocol/Makefile.am:
19605
19606 2005-09-14  David Schleef  <ds@schleef.org>
19607
19608         * configure.ac: Remove getbits library.  Nothing uses it, and
19609           it should be in something like liboil if someone did want
19610           to use it.
19611         * libs/gst/Makefile.am:
19612         * libs/gst/getbits/Makefile.am:
19613         * libs/gst/getbits/gbtest.c:
19614         * libs/gst/getbits/getbits.c:
19615         * libs/gst/getbits/getbits.h:
19616         * libs/gst/getbits/gstgetbits_generic.c:
19617         * libs/gst/getbits/gstgetbits_i386.s:
19618         * libs/gst/getbits/gstgetbits_inl.h:
19619
19620 2005-09-14  David Schleef  <ds@schleef.org>
19621
19622         * gst/Makefile.am: Dist glib-compat.h
19623
19624 2005-09-14  David Schleef  <ds@schleef.org>
19625
19626         * configure.ac: Remove gst/registries, since it's no longer used.
19627         * gst/registries/Makefile.am:
19628         * gst/registries/gstlibxmlregistry.c:
19629         * gst/registries/gstlibxmlregistry.h:
19630         * gst/registries/gstxmlregistry.c:
19631         * gst/registries/gstxmlregistry.h:
19632         * gst/registries/registrytest.c:
19633
19634 2005-09-14  David Schleef  <ds@schleef.org>
19635
19636         * gst/glib-compat.h:
19637         * gst/gstregistryxml.c:
19638           Convergence is near.  Seriously.
19639
19640 2005-09-14  David Schleef  <ds@schleef.org>
19641
19642         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19643         * gst/glib-compat.h:
19644           Attempt #4 to appease the buildbots.
19645
19646 2005-09-14  David Schleef  <ds@schleef.org>
19647
19648         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19649           Attempt #3.
19650
19651 2005-09-14  David Schleef  <ds@schleef.org>
19652
19653         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19654         Attempt #2.
19655
19656 2005-09-14  David Schleef  <ds@schleef.org>
19657
19658         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19659           the new functions.
19660
19661 2005-09-14  David Schleef  <ds@schleef.org>
19662
19663         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19664         * gst/glib-compat.h: Add some functions that are in newer versions
19665           of glib than we care to require.
19666         * gst/gstregistryxml.c: Use them.
19667
19668 2005-09-14  David Schleef  <ds@schleef.org>
19669
19670         * po/POTFILES.in: remove gst-register.c
19671
19672 2005-09-14  David Schleef  <ds@schleef.org>
19673
19674         * docs/gst/gstreamer-docs.sgml:
19675         * docs/gst/gstreamer-sections.txt:
19676         * docs/gst/gstreamer.types:
19677         * docs/gst/tmpl/gstelement.sgml:
19678         * docs/gst/tmpl/gstplugin.sgml:
19679         * docs/gst/tmpl/gstpluginfeature.sgml:
19680           Documentation updates for registry changes.
19681
19682 2005-09-14  David Schleef  <ds@schleef.org>
19683
19684         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19685           because we don't require glib-2.8.
19686
19687 2005-09-14  David Schleef  <ds@schleef.org>
19688
19689         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19690           registries directory.
19691
19692 2005-09-14  David Schleef  <ds@schleef.org>
19693
19694         * check/Makefile.am:
19695         * check/generic/states.c:
19696         * gst/Makefile.am:
19697         * gst/gst.c:
19698         * gst/gst.h:
19699         * gst/gst_private.h:
19700         * gst/gstelementfactory.c:
19701         * gst/gstindex.c:
19702         * gst/gstinfo.c:
19703         * gst/gstplugin.c:
19704         * gst/gstplugin.h:
19705         * gst/gstpluginfeature.c:
19706         * gst/gstpluginfeature.h:
19707         * gst/gstregistry.c:
19708         * gst/gstregistry.h:
19709         * gst/gstregistrypool.c: remove
19710         * gst/gstregistrypool.h: remove
19711         * gst/gsttypefind.c:
19712         * gst/gsttypefindfactory.c:
19713         * gst/gsturi.c:
19714         * tools/Makefile.am:
19715         * tools/gst-compprep.c:
19716         * tools/gst-inspect.c:
19717         * tools/gst-register.c: remove
19718         * tools/gst-xmlinspect.c:
19719           Registry rewrite.  Changes registry from being a file created
19720           by a tool into a simple cache file created automatically by 
19721           libgstreamer.  Removed gst-register (because it's no longer
19722           needed).  Remove registry pools, because we only have one
19723           registry implementation (XML).  Fix up other subsystems as
19724           necessary.
19725
19726 2005-09-13  Michael Smith <msmith@fluendo.com>
19727
19728         * gst/gstconfig.h.in:
19729           Don't Use windows linking attributes for MinGW. Fixes #316157
19730
19731 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19732
19733         * gst/gstutils.c: (set_state_async_thread_func),
19734         (gst_element_set_state_async):
19735           Apparently people think it's better if this function doesn't
19736           try to set the state to whatever state was asked for on the first
19737           call to this function for any object.  Seriously.
19738
19739 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19740
19741         * check/gst/gstpipeline.c: (GST_START_TEST):
19742         * docs/gst/gstreamer-sections.txt:
19743         * gst/gstutils.c: (set_state_async_thread_func),
19744         (gst_element_set_state_async):
19745         * gst/gstutils.h:
19746           add a "gst_element_set_state_async" method that
19747           sets the state and starts a thread to make sure the state
19748           change completes as best as it can
19749
19750 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19751
19752         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19753           codify design+behaviour in testsuite after discussion
19754
19755 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19756
19757         * docs/gst/tmpl/gstelement.sgml:
19758         * docs/manual/appendix-quotes.xml:
19759           add a quote
19760         * gst/gstelement.c: (gst_element_set_state):
19761           add some debug
19762
19763 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19764
19765         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19766         (gst_base_transform_prepare_output_buf),
19767         (gst_base_transform_handle_buffer):
19768         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19769         (gst_capsfilter_prepare_buf):
19770           Remove the requirement for sub-classes to call the parent
19771           implementation of prepare_output_buffer with a wrapper function.
19772           
19773         * gst/gsttaglist.h:
19774         * gst/gsttagsetter.h:
19775           Fix #define wrapper
19776
19777 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19778
19779         * docs/gst/gstreamer-sections.txt:
19780           more doc cleanups
19781
19782 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19783
19784         * docs/gst/gstreamer-sections.txt:
19785         * docs/gst/tmpl/gstelement.sgml:
19786         * docs/gst/tmpl/gstplugin.sgml:
19787         * gst/gstminiobject.c:
19788         * gst/gstvalue.h:
19789           docs now stop throwing warnings
19790
19791 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19792
19793         * docs/gst/gstreamer-sections.txt:
19794         * docs/gst/gstreamer.types:
19795         * docs/gst/tmpl/gstpad.sgml:
19796         * docs/gst/tmpl/gsttypes.sgml:
19797         * gst/base/gstadapter.h:
19798         * gst/base/gstbasesink.h:
19799         * gst/base/gstbasesrc.h:
19800         * gst/gstbin.h:
19801         * gst/gstbuffer.h:
19802         * gst/gstbus.h:
19803         * gst/gstcaps.h:
19804         * gst/gstclock.h:
19805         * gst/gstelement.h:
19806         * gst/gstevent.h:
19807         * gst/gstmessage.h:
19808         * gst/gstpad.h:
19809         * gst/gststructure.c:
19810         * gst/registries/gstlibxmlregistry.h:
19811           various documentation fixes
19812
19813 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19814
19815         * docs/gst/gstreamer-sections.txt:
19816         * docs/gst/tmpl/gstvalue.sgml:
19817           rearrange gstvalue section
19818         * gst/gstutils.c: (gst_element_state_get_name):
19819           NONE -> VOID
19820         * gst/gstvalue.c: (_gst_value_initialize):
19821         * gst/gstvalue.h:
19822           doc updates
19823
19824 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19825
19826         * check/gst-libs/controller.c:
19827           Header include fix.
19828         * gst/base/gstbasetransform.c:
19829         (gst_base_transform_default_prepare_buf),
19830         (gst_base_transform_handle_buffer):
19831         * gst/base/gstbasetransform.h:
19832           Some more basetransform changes and fixes to enable sub-classes
19833           that modify buffer metadata only.
19834         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19835         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19836         (gst_capsfilter_prepare_buf):
19837           If the output pad has fixed allowed caps and input buffers 
19838           don't have any, set the fixed caps on outgoing buffers.
19839
19840 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19841         * check/elements/identity.c: (GST_START_TEST):
19842           Make the error a little clearer when the test fails because
19843           identity made a copy of the buffer.
19844         * docs/gst/gstreamer-sections.txt:
19845           New symbols in gstbasetransform.h
19846         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19847         (gst_base_transform_init), (gst_base_transform_transform_size),
19848         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19849         (gst_base_transform_default_prepare_buf),
19850         (gst_base_transform_get_unit_size),
19851         (gst_base_transform_buffer_alloc),
19852         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19853         (gst_base_transform_change_state),
19854         (gst_base_transform_set_passthrough),
19855         (gst_base_transform_set_in_place),
19856         (gst_base_transform_is_in_place):
19857         * gst/base/gstbasetransform.h:
19858           Change BaseTransform to separate in_place operate from same_caps
19859           output. in_place implies that the element can perform the transform
19860           on incoming buffers in-place, even if the caps on the output are
19861           different.
19862           Sub-class elements can now implement special buffer allocation
19863           methods for outgoing buffers if they wish to.
19864           Big documentation addition.
19865         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19866         * gst/elements/gstelements.c:
19867           Changes for basetransform modifications.
19868         * gst/elements/Makefile.am:
19869         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19870           Compile fix. Extra debug output.
19871
19872 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19873
19874         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19875         (gst_pad_suite):
19876           add tests for valid pad naming
19877         * gst/check/gstcheck.c: (gst_check_log_message_func),
19878         (gst_check_log_critical_func):
19879           add ASSERT_WARNING
19880           remove printing of code, it is fragile when the code contains
19881           % and the line number is enough info
19882         * gst/check/gstcheck.h:
19883         * gst/gstpad.c: (gst_pad_template_new):
19884           fix memleaks
19885
19886 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19887
19888         * configure.ac:
19889           say what CHECK flags we use
19890         * docs/libs/gstreamer-libs.types:
19891         * libs/gst/controller/Makefile.am:
19892         * libs/gst/controller/gst-controller.c:
19893         * libs/gst/controller/gst-controller.h:
19894         * libs/gst/controller/gst-helper.c:
19895         * libs/gst/controller/gst-interpolation.c:
19896         * libs/gst/controller/gstcontroller.c:
19897         * libs/gst/controller/gsthelper.c:
19898         * libs/gst/controller/gstinterpolation.c:
19899         * tools/gst-inspect.c: (print_plugin_info):
19900           we don't use dashes in header names
19901
19902 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19903
19904         * check/Makefile.am:
19905         * check/gst/.cvsignore:
19906         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19907         (gst_pipeline_suite), (main):
19908           adding a test for pipelines and state changes
19909         * gst/gstutils.c: (get_state_func):
19910           add some debugging
19911         * gstreamer.spec.in:
19912           fix up spec file
19913
19914 2005-09-08  Michael Smith <msmith@fluendo.com>
19915
19916         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19917         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19918         (gst_file_src_is_seekable), (gst_file_src_get_size),
19919         (gst_file_src_start):
19920         * gst/elements/gstfilesrc.h:
19921           Various fixes for unseekable, unmmapable, and non-normal files, so
19922           that fallback to read() rather than mmap() works.
19923         * gst/gstevent.c: (gst_event_new_newsegment):
19924           Allow newsegment events with segment_start == segment_end, as will
19925           correctly happen if you use filesrc on a zero-size file, for
19926           example.
19927
19928 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19929
19930         * gst/gstplugin.c: (gst_plugin_load_file):
19931           Call g_module_close when we don't load the module
19932
19933         * gst/registries/gstlibxmlregistry.c:
19934         (gst_xml_registry_get_property):
19935           Port leak fix from 0.8
19936
19937 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19938
19939         * docs/gst/gstreamer-docs.sgml:
19940         * docs/gst/tmpl/.cvsignore:
19941         * docs/gst/tmpl/gsttrace.sgml:
19942         * docs/gst/tmpl/gsttrashstack.sgml:
19943         * gst/Makefile.am:
19944         * gst/gst.h:
19945         * gst/gstelement.h:
19946         * gst/gstevent.h:
19947         * gst/gstmessage.c:
19948         * gst/gstmessage.h:
19949         * gst/gsttag.c:
19950         * gst/gsttag.h:
19951         * gst/gsttaginterface.c:
19952         * gst/gsttaginterface.h:
19953         * gst/gsttaglist.c:
19954         * gst/gsttaglist.h:
19955         * gst/gsttagsetter.c:
19956         * gst/gsttagsetter.h:
19957         * gst/gsttrace.c:
19958         * gst/gsttrace.h:
19959         * gst/gsttrashstack.c:
19960           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19961           inlined docs for gsttrace, gsttrashstack
19962
19963 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19964
19965         * gst/Makefile.am:
19966         * gst/elements/gstbufferstore.h:
19967         * gst/elements/gsttypefindelement.c:
19968         * gst/elements/gsttypefindelement.h:
19969         * gst/gst.h:
19970         * gst/gsttypefind.c:
19971         * gst/gsttypefind.h:
19972         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19973         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19974         (gst_type_find_factory_dispose),
19975         (gst_type_find_factory_unload_thyself),
19976         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19977         (gst_type_find_factory_get_caps),
19978         (gst_type_find_factory_get_extensions),
19979         (gst_type_find_factory_call_function):
19980         * gst/gsttypefindfactory.h:
19981         * gst/registries/gstlibxmlregistry.c:
19982         * gst/registries/gstxmlregistry.c:
19983           splitted gsttypefind into gsttypefind, gsttypefindfactory
19984
19985 2005-09-07  Andy Wingo  <wingo@pobox.com>
19986
19987         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19988         condition whereby the pad's task function is entered before the
19989         pad_mode variable was set.
19990
19991 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19992
19993         * gst/gstpad.c: (gst_pad_alloc_buffer):
19994           Catch misbehaving pad_alloc functions that don't
19995           set up caps and do it for them.
19996
19997 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19998
19999         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20000           test for pipe!=NULL
20001         * docs/gst/tmpl/.cvsignore:
20002         * docs/gst/tmpl/gstmemchunk.sgml:
20003         * docs/gst/tmpl/gstparse.sgml:
20004         * docs/gst/tmpl/gsttaglist.sgml:
20005         * docs/gst/tmpl/gsttagsetter.sgml:
20006         * docs/gst/tmpl/gsttypefind.sgml:
20007         * docs/gst/tmpl/gsttypefindfactory.sgml:
20008         * gst/gstmemchunk.c:
20009         * gst/gstparse.c:
20010         * gst/gsttag.c:
20011         * gst/gsttaginterface.c:
20012         * gst/gsttypefind.c:
20013         * gst/gsttypefind.h:
20014           inlined more docs
20015
20016 === release 0.9.2 ===
20017
20018 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20019
20020         * NEWS:
20021         * RELEASE:
20022         * configure.ac:
20023           releasing 0.9.2, "South"
20024
20025 2005-09-05  Andy Wingo  <wingo@pobox.com>
20026
20027         * gst/registries/gstxmlregistry.h:
20028         * gst/registries/gstxmlregistry.c: Um... resurrect...
20029         
20030         * gst/registries/gstxmlregistry.h:
20031         * gst/registries/gstxmlregistry.c: and update to newer API.
20032         Incidentally they should be a bit faster now that they don't have
20033         to parse the caps.
20034         
20035 2005-09-05  Andy Wingo  <wingo@pobox.com>
20036
20037         * gst/registries/gstxmlregistry.h:
20038         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20039         replaced by the libxml registry a while back
20040
20041 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20042
20043         * docs/gst/tmpl/gstplugin.sgml:
20044         * gst/elements/gstelements.c:
20045         * gst/gst.c:
20046         * gst/gstplugin.c: (gst_plugin_register_func),
20047         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20048         (gst_plugin_get_source):
20049         * gst/gstplugin.h:
20050         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20051         (gst_xml_registry_save_plugin):
20052         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20053         (gst_xml_registry_save_plugin):
20054         * tools/gst-inspect.c: (print_plugin_info):
20055           add a "source" plugin description field, to represent the source
20056           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20057           will set it to PACKAGE, which is automake's idea of the name of
20058           the source project.
20059
20060 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20061
20062         * Makefile.am:
20063         * autogen.sh:
20064         * configure.ac:
20065         * docs/Makefile.am:
20066         * docs/faq/Makefile.am:
20067         * docs/gst/tmpl/gstelement.sgml:
20068         * docs/gst/tmpl/gsttypes.sgml:
20069         * docs/htmlinstall.mak:
20070         * docs/manual/Makefile.am:
20071         * docs/pwg/Makefile.am:
20072           reorganize doc build a little
20073           split out docbook and gtk-doc stuff
20074           have two separate --enable's and enable them through autogen
20075           but disable by default in configure (to be similar to other
20076           projects)
20077         * gstreamer.spec.in:
20078           clean up docs install
20079         * po/af.po:
20080         * po/az.po:
20081         * po/ca.po:
20082         * po/cs.po:
20083         * po/de.po:
20084         * po/en_GB.po:
20085         * po/fr.po:
20086         * po/it.po:
20087         * po/nb.po:
20088         * po/nl.po:
20089         * po/ru.po:
20090         * po/sq.po:
20091         * po/sr.po:
20092         * po/sv.po:
20093         * po/tr.po:
20094         * po/uk.po:
20095         * po/vi.po:
20096           translation updates
20097
20098 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20099
20100         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20101           Add comment.
20102           
20103         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20104         (gst_fake_sink_change_state):
20105           Make state change function thread-safe.
20106           
20107         * gst/gstpad.c: (gst_pad_alloc_buffer):
20108           Set offset on generic buffer allocated by fallback.
20109
20110 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20111
20112         * docs/gst/gstreamer-sections.txt:
20113         * docs/gst/tmpl/gstelement.sgml:
20114         * gst/gstpad.c:
20115         * libs/gst/controller/gst-controller.c:
20116         (gst_controlled_property_set_interpolation_mode),
20117         (gst_controlled_property_new),
20118         (gst_controller_find_controlled_property):
20119          run the wingo-magic script against the docs
20120
20121 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20122
20123         * docs/gst/gstreamer-docs.sgml:
20124         * docs/gst/gstreamer-sections.txt:
20125         * docs/gst/tmpl/.cvsignore:
20126         * docs/gst/tmpl/gstelementdetails.sgml:
20127         * docs/gst/tmpl/gstelementfactory.sgml:
20128         * gst/gst.c:
20129         * gst/gstbus.c:
20130         * gst/gstelementfactory.c:
20131         * gst/gstelementfactory.h:
20132           merged elementdetails docs into elementfactory docs
20133           inlined both
20134
20135 2005-09-02  Andy Wingo  <wingo@pobox.com>
20136
20137         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20138         consider this enum an enum and not a flags.
20139
20140 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20141
20142         * docs/gst/gstreamer-docs.sgml:
20143         * docs/gst/tmpl/.cvsignore:
20144         * docs/gst/tmpl/gstghostpad.sgml:
20145         * docs/gst/tmpl/gstiterator.sgml:
20146         * docs/gst/tmpl/gstmacros.sgml:
20147         * docs/gst/tmpl/gstrealpad.sgml:
20148         * docs/gst/tmpl/gstregistry.sgml:
20149         * docs/gst/tmpl/gstregistrypool.sgml:
20150         * docs/gst/tmpl/gststructure.sgml:
20151         * docs/gst/tmpl/gstsystemclock.sgml:
20152         * docs/gst/tmpl/gsttrace.sgml:
20153         * gst/gstghostpad.c:
20154         * gst/gstmacros.h:
20155         * gst/gstmemchunk.c:
20156         * gst/gstmemchunk.h:
20157         * gst/gstqueue.c:
20158         * gst/gstregistry.c:
20159         * gst/gstregistrypool.c:
20160         * gst/gststructure.c:
20161         * gst/gstsystemclock.c:
20162           more docs inlined
20163
20164 2005-09-02  Andy Wingo  <wingo@pobox.com>
20165
20166         * gst/gstelement.h (GstState): Renamed from GstElementState,
20167         changed to be a normal enum instead of flags.
20168         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20169         munged to be GST_STATE_CHANGE_*.
20170         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20171         work with the new state representation.
20172         (GstStateChange): New enumeration of possible state transitions.
20173         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20174         (GstElementClass::change_state): Pass the GstStateChange along as
20175         an argument. Helps language bindings, so they don't have to use
20176         tricky lock-needing macros like GST_STATE_CHANGE ().
20177
20178         * scripts/update-states (file): New script. Run it on a file to
20179         update it for state naming and API changes. Updates files in
20180         place.
20181
20182         * All files updated for the new API.
20183
20184 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20185
20186         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20187         * gst/gstutils.c: (gst_util_set_value_from_string),
20188         (gst_util_set_object_arg):
20189           fix a bunch of unchecked return values
20190         * tools/gst-complete.c: (main):
20191         * gstreamer.spec.in:
20192           clean up a little
20193
20194 2005-09-01  Wim Taymans  <wim@fluendo.com>
20195
20196         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20197         (gst_base_sink_event), (gst_base_sink_do_sync),
20198         (gst_base_sink_handle_event):
20199         * gst/base/gstbasesink.h:
20200         Handle newsegments more correctly.
20201
20202         * gst/gstbus.c:
20203         Fix docs.
20204
20205         * gst/gstevent.c: (gst_event_new_newsegment):
20206         A newsegment cannot have a start_time of -1
20207
20208 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20209
20210         * win32/gstenumtypes.c:
20211         * win32/gstenumtypes.h:
20212           Update
20213
20214 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20215
20216         * libs/gst/controller/gst-controller.c:
20217         (gst_controlled_property_set_interpolation_mode),
20218         (gst_controlled_property_new):
20219          fixed boolean again
20220
20221 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20222
20223         * docs/faq/gst-uninstalled:
20224           add -good
20225         * gst/gstevent.c:
20226         * gst/gstevent.h:
20227           remove wrong docs
20228         * gst/gstutils.c: (gst_element_link_filtered):
20229         * gst/gstutils.h:
20230           add gst_element_link_filtered
20231
20232 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20233
20234         * docs/gst/gstreamer-docs.sgml:
20235         * docs/gst/gstreamer-sections.txt:
20236         * docs/gst/tmpl/.cvsignore:
20237         * docs/gst/tmpl/gsterror.sgml:
20238         * docs/gst/tmpl/gstfilter.sgml:
20239         * docs/gst/tmpl/gsturihandler.sgml:
20240         * docs/gst/tmpl/gsturitype.sgml:
20241         * docs/gst/tmpl/gstutils.sgml:
20242         * docs/gst/tmpl/gstxml.sgml:
20243         * gst/gsterror.c:
20244         * gst/gsterror.h:
20245         * gst/gstfilter.c:
20246         * gst/gsturi.c:
20247         * gst/gsturitype.c:
20248         * gst/gstutils.c:
20249         * gst/gstxml.c:
20250           inlined more docs, fixed double id-ref
20251
20252 2005-08-31  Wim Taymans  <wim@fluendo.com>
20253
20254         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20255         (gst_base_transform_handle_buffer):
20256         Passthrough elements don't need the caps as they don't care.
20257
20258 2005-08-31  Wim Taymans  <wim@fluendo.com>
20259
20260         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20261         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20262         Don't leak refcounts on buffers.
20263
20264 2005-08-31  Wim Taymans  <wim@fluendo.com>
20265
20266         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20267         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20268         (gst_base_transform_chain), (gst_base_transform_change_state):
20269         * gst/base/gstbasetransform.h:
20270         Handle the case where we are not negotiated more gracefully.
20271
20272 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20273
20274         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20275         (gst_file_src_map_region):
20276           Set READONLY flag on mmap'ed buffers, otherwise
20277           gst_buffer_make_writable() won't work properly (#314708).
20278
20279 2005-08-31  Wim Taymans  <wim@fluendo.com>
20280
20281         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20282         passthrough elements can even do inplace on non writable
20283         buffers (as they don't touch them).
20284
20285 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20286
20287         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20288         (gst_test_mono_source_set_property),
20289         (gst_test_mono_source_class_init), (GST_START_TEST),
20290         (gst_controller_suite):
20291           more tests (hehe I have the most)
20292         * gst/gstbus.c:
20293           describe popping messages whenusing mulltiple sources
20294         * libs/gst/controller/gst-controller.c:
20295         (gst_controlled_property_set_interpolation_mode),
20296         (gst_controlled_property_new):
20297         * libs/gst/controller/gst-controller.h:
20298         * libs/gst/controller/gst-interpolation.c:
20299           implement boolean properties
20300
20301 2005-08-31  Wim Taymans  <wim@fluendo.com>
20302
20303         * gst/gstminiobject.c: (gst_mini_object_ref):
20304         Cannot assert that the refcount has to be positive
20305         since a disposed object can be resurrected.
20306
20307 2005-08-31  Wim Taymans  <wim@fluendo.com>
20308
20309         * gst/gstpad.c: (gst_pad_init):
20310         Revert change, need to first fix badly behaving 
20311         apps.
20312
20313 2005-08-30  Wim Taymans  <wim@fluendo.com>
20314
20315         * check/elements/fakesrc.c: (setup_fakesrc):
20316         * check/elements/identity.c: (setup_identity):
20317         Activate pads before using them.
20318
20319 2005-08-30  Wim Taymans  <wim@fluendo.com>
20320
20321         * gst/base/gstadapter.c: (gst_adapter_flush):
20322         Flushing out 0 bytes is ok for this function.
20323
20324         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20325         no newsegment gives a warning and sets the start/stop to 
20326         invalid.
20327
20328         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20329         (gst_base_transform_set_passthrough):
20330         Some debug info.
20331
20332         * gst/gstminiobject.c: (gst_mini_object_ref):
20333         Check refcount here too.
20334
20335         * gst/gstpad.c: (gst_pad_init):
20336         Pads are initially flushing and refusing data.
20337
20338         * gst/gstutils.c: (gst_element_link_pads_filtered):
20339         When adding a capsfilter element make sure it has the
20340         same state as the parent bin.
20341
20342 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20343
20344         * docs/gst/tmpl/.cvsignore:
20345         * docs/gst/tmpl/gstformat.sgml:
20346         * docs/gst/tmpl/gstversion.sgml:
20347         * gst/gstbus.h:
20348         * gst/gstformat.c:
20349         * gst/gstformat.h:
20350         * gst/gstversion.h.in:
20351           more docs and two more inlined
20352
20353 2005-08-30  Wim Taymans  <wim@fluendo.com>
20354
20355         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20356         Don't sync to clock.
20357
20358 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20359
20360         * docs/gst/gstreamer-sections.txt:
20361           ultral33t func10ns deserve to appear in the docs actually
20362         * docs/gst/tmpl/.cvsignore:
20363         * docs/gst/tmpl/gstcompat.sgml:
20364         * docs/gst/tmpl/gstconfig.sgml:
20365         * gst/check/gstcheck.c:
20366         * gst/gstcompat.h:
20367         * gst/gstconfig.h.in:
20368           inlined more docs
20369
20370 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20371
20372         * docs/gst/tmpl/.cvsignore:
20373         * docs/gst/tmpl/gstquery.sgml:
20374         * docs/gst/tmpl/gstutils.sgml:
20375         * gst/gstquery.c:
20376         * gst/gstquery.h:
20377           inlined and extended docs
20378
20379 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20380
20381         * check/gst-libs/controller.c: (GST_START_TEST),
20382         (gst_controller_suite):
20383           more tests
20384         * docs/gst/tmpl/gstutils.sgml:
20385         * docs/libs/gstreamer-libs-sections.txt:
20386         * docs/libs/tmpl/gstdataprotocol.sgml:
20387           include path fixes
20388         * examples/controller/audio-example.c: (main):
20389           controller example works now
20390         * gst/gstclock.h:
20391           doc fixes
20392         * tools/gst-inspect.c: (print_element_properties_info):
20393           show param spec flags
20394
20395 2005-08-29  Andy Wingo  <wingo@pobox.com>
20396
20397         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20398
20399 2005-08-28  Andy Wingo  <wingo@pobox.com>
20400
20401         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20402         as having two arguments instead of just one. Allows superclasses
20403         to access information on subclasses -- see the terrible for() loop
20404         in gtype.c:g_type_create_instance for the reason why. All callers
20405         changed.
20406
20407 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20408
20409         * docs/design/part-messages.txt:
20410           update info
20411         * docs/gst/tmpl/.cvsignore:
20412         * docs/gst/tmpl/gstcaps.sgml:
20413         * docs/gst/tmpl/gstclock.sgml:
20414         * gst/gstbus.c:
20415         * gst/gstcaps.c:
20416         * gst/gstcaps.h:
20417         * gst/gstclock.c:
20418         * gst/gstclock.h:
20419         * gst/gstmessage.c:
20420           added descriptions for bus and message
20421           inline caps and clock docs
20422
20423 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20424
20425         * gst/gstmessage.c:
20426         * gst/gstmessage.h:
20427           doc fixes
20428
20429 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20430
20431         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20432           fix div-by-zero
20433
20434 2005-08-26  Andy Wingo  <wingo@pobox.com>
20435
20436         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20437         element_set_state's return val.
20438         (test_2_elements): Add test that's been disabled for months.
20439
20440         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20441         can-activate-pull properties.
20442
20443         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20444         can-activate-pull properties. Implement is_seekable so fakesrc can
20445         operate in pull mode.
20446
20447         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20448         properties.
20449         (gst_base_sink_activate, gst_base_sink_activate_pull)
20450         (gst_base_sink_activate_push): Make activation mode choosing work.
20451         Cleanups.
20452         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20453         is right. Make pull mode work. Post an eos before pausing in pull
20454         mode.
20455         (gst_base_sink_change_state): Pay attention to the core's
20456         change_state() return val.
20457         
20458         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20459         has-getrange properties. Cleanups.
20460         
20461         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20462         has_getrange and replace with can_activate_pull and
20463         can_activate_push.
20464
20465         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20466         locking comments. Remove has_loop, has_chain and replace with
20467         can_activate_pull and can_activate_push.
20468
20469 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20470
20471         * configure.ac:
20472         * examples/Makefile.am:
20473         * examples/metadata/Makefile.am:
20474         * examples/metadata/read-metadata.c: (message_loop),
20475         (have_pad_handler), (make_pipeline), (print_tag), (main):
20476           Add metadata reading example that loops over a list of filenames,
20477           dumping any tags found.
20478
20479         * gst/gstbus.c: (gst_bus_dispose):
20480         * gst/gstelement.c: (gst_element_dispose):
20481           Release a few potentially-held references in dispose.
20482
20483 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20484
20485         * docs/gst/tmpl/gstminiobject.sgml:
20486           do *not* add tmpl/*.sgml files to CVS!
20487
20488 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20489
20490         * libs/gst/bytestream/.cvsignore:
20491         * libs/gst/bytestream/Makefile.am:
20492         * libs/gst/bytestream/adapter.c:
20493         * libs/gst/bytestream/adapter.h:
20494         * libs/gst/bytestream/bytestream.c:
20495         * libs/gst/bytestream/bytestream.h:
20496         * libs/gst/bytestream/filepad.c:
20497         * libs/gst/bytestream/filepad.h:
20498           removing obsolete files
20499
20500 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20501
20502         * docs/gst/gstreamer-docs.sgml:
20503         * docs/libs/gstreamer-libs-docs.sgml:
20504           disabed additional index entries again, as this makes docs-gen just
20505           slow and they aren't useful yet
20506         * docs/libs/gstreamer-libs-sections.txt:
20507           little -section.txt cleanup for libs
20508
20509 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20510
20511         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20512         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20513           fix up some debugging
20514         (gst_base_transform_get_unit_size),
20515         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20516         (gst_base_transform_handle_buffer):
20517         * gst/base/gstbasetransform.h:
20518           handle and store timed NEWSEGMENT events so that subclasses that
20519           calculate time by counting samples have a segment_start time they
20520           need to add to their timestamps - see audioresample
20521
20522 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20523
20524         * gst/gstbin.h:
20525           removed ';' from the end of macro defs
20526         * docs/gst/gstreamer-docs.sgml:
20527         * docs/gst/gstreamer-sections.txt:
20528         * docs/gst/tmpl/.cvsignore:
20529         * gst/gstbus.h:
20530         * gst/gstelement.c: (gst_element_class_init),
20531         (gst_element_set_state), (activate_pads),
20532         (gst_element_save_thyself):
20533         * gst/gstevent.c: (gst_event_new_newsegment):
20534         * gst/gstevent.h:
20535         * gst/gstiterator.c:
20536         * gst/gstiterator.h:
20537         * gst/gstpad.c:
20538         * gst/gstprobe.h:
20539         * gst/gstutils.c: (gst_pad_query_convert):
20540         * gst/gstutils.h:
20541           fixed parameter name mismatches between source, header and docs
20542           added some more docs, resolved the last batch of unused elements in
20543           docs (now someone needs to doc them)
20544
20545 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20546
20547         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20548         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20549           don't walk through the plugins backwards.  Where is all this
20550           reversed logic coming from ?
20551
20552 2005-08-25  Wim Taymans  <wim@fluendo.com>
20553
20554         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20555         (gst_base_transform_transform_size),
20556         (gst_base_transform_configure_caps),
20557         (gst_base_transform_get_unit_size),
20558         (gst_base_transform_buffer_alloc),
20559         (gst_base_transform_change_state):
20560         * gst/base/gstbasetransform.h:
20561         Cache caps unit_size.
20562         Make sure we cannot negotiate up and downstream at the
20563         same time.
20564
20565 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20566
20567         * gst/gst.c: (init_pre), (init_post):
20568           register the installed plugin path after the env var
20569         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20570         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20571           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20572           directories, so the tests can prefer uninstalled over installed
20573
20574 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20575
20576         * gst/base/gstbasetransform.h:
20577           comment
20578         * gst/gstpad.c:
20579           add to docs
20580
20581 2005-08-25  Wim Taymans  <wim@fluendo.com>
20582
20583         * gst/gstbin.c: (bin_bus_handler):
20584         Be a bit more conservative about the posted message.
20585         
20586         * gst/gstbus.c: (gst_bus_post):
20587         Some cleanups, warn wrong return values.
20588
20589 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20590
20591         * check/gst/gstbin.c: (GST_START_TEST):
20592         * gst/gstbin.c: (bin_bus_handler):
20593         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20594         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20595         (gst_message_new_warning), (gst_message_new_tag),
20596         (gst_message_new_state_changed), (gst_message_new_segment_start),
20597         (gst_message_new_segment_done), (gst_message_new_custom):
20598         * gst/gstmessage.h:
20599         * tools/gst-launch.c: (event_loop):
20600         * tools/gst-md5sum.c: (event_loop):
20601           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20602
20603 2005-08-25  Wim Taymans  <wim@fluendo.com>
20604
20605         * check/generic/states.c: (GST_START_TEST):
20606         Cleanup can be done at the end.
20607
20608         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20609         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20610         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20611         Oh boy.. Thanks for finding this, Thomas. 
20612
20613 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20614
20615         * docs/gst/gstreamer.types:
20616           added missing types
20617
20618 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20619
20620         * docs/gst/gstreamer-docs.sgml:
20621         * docs/gst/gstreamer-sections.txt:
20622         * docs/gst/tmpl/.cvsignore:
20623         * gst/gstbin.c:
20624         * gst/gstiterator.c:
20625         * gst/gstutils.c:
20626         * gst/registries/gstxmlregistry.h:
20627           added missing classes and symbols (123 more to go)
20628           removed removed symbols from section file
20629           fixed many doc-comments
20630
20631 2005-08-24  Wim Taymans  <wim@fluendo.com>
20632
20633         * check/generic/states.c: (GST_START_TEST):
20634         Make sure all tasks are stopped.
20635
20636         * check/gst/gstbin.c: (GST_START_TEST):
20637         Unref after usage for proper valgrinding.
20638
20639         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20640         Really wait for the task to stop before destroying the
20641         mutex.
20642
20643         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20644         (gst_queue_src_activate_push):
20645         Small cleanups. Don't stop the task when we did not start
20646         it.
20647
20648         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20649         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20650         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20651         (gst_task_join):
20652         * gst/gsttask.h:
20653         Protect the stream lock with the object lock.
20654         Disallow setting the stream lock when running.
20655         Add cleanup_all to wait for the threadpool to finish.
20656         Remove code to autoallocate a mutex if none was provided.
20657         Add _join() to wait for a task to stop.
20658         Protect the thread pool with a global lock.
20659
20660 2005-08-24  Wim Taymans  <wim@fluendo.com>
20661
20662         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20663         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20664         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20665         * gst/base/gstbasesink.h:
20666         Handle newsegment events correctly.
20667         Drop buffers out of the segment range.
20668
20669 2005-08-22  Andy Wingo  <wingo@pobox.com>
20670
20671         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20672         macro, implements an interface and gstimplementsinterface for a
20673         new type.
20674
20675 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20676
20677         * check/Makefile.am:
20678         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20679           add a test that does a bunch of state changes on elements
20680           needs some fixing for valgrind
20681         * check/states/sinks.c: (gst_object_suite):
20682           whitespace
20683         * gst/gstcaps.h:
20684           add prototype for gst_caps_is_equal_fixed
20685         * gst/gstplugin.c:
20686         * gst/gstregistrypool.c:
20687           doc fixes
20688
20689 2005-08-24  Andy Wingo  <wingo@pobox.com>
20690
20691         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20692         convert a negative value. Doesn't make much sense. Mostly this is
20693         here to force callers to ensure -1 maps to -1.
20694
20695 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20696
20697         * docs/pwg/advanced-types.xml:
20698           Well done to Michael for catching my deliberate introduction
20699           of this spelling mistake. 
20700         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20701         * gst/gstelement.h:
20702           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20703           unlink pads before removing the element from the bin.
20704
20705 2005-08-24  Andy Wingo  <wingo@pobox.com>
20706
20707         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20708         the same thing as GST_DEBUG=*:4.
20709         (parse_debug_level, parse_debug_category): New helper parsers.
20710
20711 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20712
20713         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20714         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20715         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20716         (gst_base_transform_buffer_alloc),
20717         (gst_base_transform_handle_buffer):
20718           use gboolean return values and pointers to size so we can use the
20719           full GST_BUFFER_SIZE range (guint) for buffer sizes
20720           use GstPadDirection for transform_caps
20721         * gst/base/gstbasetransform.h:
20722           rename get_size to get_unit_size since that's what it is
20723         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20724           use GstPadDirection for transform_caps
20725         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20726         * gst/gstutils.h:
20727           cleanup and debugging
20728
20729 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20730
20731         * gst/gstelement.c: (gst_element_class_init),
20732         (gst_element_set_state), (activate_pads),
20733         (gst_element_save_thyself):
20734         * tools/gst-compprep.c: (main):
20735         * tools/gst-inspect.c: (print_element_properties_info):
20736         * tools/gst-xmlinspect.c: (print_element_properties):
20737           Fixed long standing mem-leak
20738
20739 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20740
20741         * check/gst/gstbin.c: (GST_START_TEST):
20742         * gst/gstbin.c: (bin_bus_handler):
20743         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20744         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20745         (gst_message_new_warning), (gst_message_new_tag),
20746         (gst_message_new_state_changed), (gst_message_new_segment_start),
20747         (gst_message_new_segment_done), (gst_message_new_custom):
20748         * gst/gstmessage.h:
20749         * tools/gst-launch.c: (event_loop):
20750         * tools/gst-md5sum.c: (event_loop):
20751           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20752           that applications can sensibly post custom messages with references
20753           to their own objects.
20754
20755 2005-08-24  Andy Wingo  <wingo@pobox.com>
20756
20757         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20758         already.
20759
20760 2005-08-24  Wim Taymans  <wim@fluendo.com>
20761
20762         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20763         (gst_base_transform_transform_caps),
20764         (gst_base_transform_transform_size),
20765         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20766         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20767         (gst_base_transform_handle_buffer):
20768         * gst/base/gstbasetransform.h:
20769         Many fixes and new features added by Thomas. Can now also do
20770         transforms with variable sizes and a custom fixate_caps function.
20771
20772 2005-08-24  Wim Taymans  <wim@fluendo.com>
20773
20774         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20775         Some debugging.
20776
20777         * gst/gstclock.h:
20778         Cast to ClockTime before formatting to time.
20779
20780         * gst/gstutils.h:
20781         Cleanups.
20782
20783 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20784
20785         * check/gst-libs/controller.c: (GST_START_TEST),
20786         (gst_controller_suite):
20787         * docs/gst/tmpl/gstcaps.sgml:
20788         * docs/gst/tmpl/gstghostpad.sgml:
20789         * docs/gst/tmpl/gstquery.sgml:
20790         * docs/gst/tmpl/gstutils.sgml:
20791         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20792         (gst_object_sink_values), (gst_object_get_value_arrays),
20793         (gst_object_get_value_array):
20794           gracefully handle helper method calls to objects that are not beeing
20795           controlled, added test case for that          
20796
20797 2005-08-23  Wim Taymans  <wim@fluendo.com>
20798
20799         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20800         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20801         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20802         (gst_event_parse_qos), (gst_event_new_seek),
20803         (gst_event_parse_seek):
20804         * gst/gstevent.h:
20805         Some more debugging output and doc cleanups.
20806
20807         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20808         Fix possible deadlock.
20809
20810 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20811
20812         * docs/gst/gstreamer-docs.sgml:
20813         * docs/gst/gstreamer-sections.txt:
20814         * docs/gst/gstreamer.types:
20815         * docs/gst/tmpl/.cvsignore:
20816         * gst/gstbin.h:
20817         * gst/gstbus.c:
20818         * gst/gstelement.c:
20819         * gst/gstevent.h:
20820           added 100 symbols from gstreamer-unused.txt to the right sections
20821           fixed more broken comments
20822           added GstBus to docs
20823
20824 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20825
20826         * docs/gst/gstreamer-sections.txt:
20827         * docs/gst/tmpl/.cvsignore:
20828         * docs/gst/tmpl/gstbin.sgml:
20829         * docs/gst/tmpl/gstbuffer.sgml:
20830         * gst/base/gstbasesrc.c:
20831         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20832         * gst/gstbuffer.c:
20833         * gst/gstbuffer.h:
20834         * tools/gst-launch.1.in:
20835           inlined more doc comments, added missing comments and fixed comments
20836           fixed typos
20837
20838 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20839
20840         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20841           some debugging
20842         * gst/gstcaps.h:
20843           whitespace fixes
20844         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20845           more debugging
20846         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20847         * gst/gststructure.h:
20848           add a fixate function for booleans; add a FIXME that these func
20849           names should probably be gst_structure_fixate_*
20850
20851 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20852
20853         * docs/gst/gstreamer-docs.sgml:
20854         * docs/gst/gstreamer-sections.txt:
20855         * gst/Makefile.am:
20856         * gst/gstbin.c: (gst_bin_get_type),
20857         (gst_bin_child_proxy_get_child_by_index),
20858         (gst_bin_child_proxy_get_children_count),
20859         (gst_bin_child_proxy_init):
20860         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20861         (gst_child_proxy_get_child_by_index),
20862         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20863         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20864         (gst_child_proxy_get), (gst_child_proxy_set_property),
20865         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20866         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20867         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20868         * gst/gstchildproxy.h:
20869         * gst/parse/grammar.y:
20870         * tools/gst-inspect.c: (print_interfaces),
20871         (print_element_properties_info), (print_element_info):
20872           ported gstchildproxy over from 0.8
20873           ported gst-inspect fixes and enhancements over from 0.8
20874
20875 2005-08-22  Wim Taymans  <wim@fluendo.com>
20876
20877         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20878         (gst_base_transform_handle_buffer):
20879         Also call the transform function if we have ANY caps.
20880
20881         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20882         Fix debug info.
20883
20884 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20885
20886         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20887           Don't pretend to handle seek events if the source is not seekable
20888
20889 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20890
20891         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20892           Remove extra parameter to debug output
20893
20894         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20895         (gst_base_src_do_seek), (gst_base_src_activate_push):
20896           Fix seek event handling.
20897
20898         * gst/gstpipeline.c: (gst_pipeline_change_state):
20899         * gst/gstqueue.c: (gst_queue_handle_sink_event),
20900         (gst_queue_src_activate_push):
20901           Don't start the src pad task on FLUSH_STOP if the pad
20902           isn't linked.
20903           Debug changes.
20904
20905 2005-08-22  Wim Taymans  <wim@fluendo.com>
20906
20907         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20908         Added check for gst_static_caps_get() refcounting.
20909
20910 2005-08-22  Wim Taymans  <wim@fluendo.com>
20911
20912         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20913         Make _static_caps_get() refcounting sane.
20914         
20915         * gst/gstelement.c: (gst_element_set_state):
20916         Add g_return_val_if_fail() to protect against segfaults.
20917
20918 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
20919
20920         * docs/gst/tmpl/gstevent.sgml:
20921         * gst/gstevent.c:
20922         * gst/gstevent.h:
20923           inlined remaining docs, added missing doc comments
20924
20925 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20926
20927         * check/gst/gstbin.c: (GST_START_TEST):
20928           since we don't know when preroll is done, use refcount range
20929           check for the sink
20930         * gst/check/gstcheck.h:
20931           add macro for checking refcount range
20932
20933 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20934
20935         * check/Makefile.am:
20936           clean up environment for when registry gets built versus
20937           when actual tests are run; valgrind seems to not report
20938           leaks if GST_PLUGIN_PATH is set to some specific values
20939         * check/gst/gstbin.c: (GST_START_TEST):
20940           add more refcounting checks; maybe this exposes a
20941           preroll lock bug ?
20942         * common/check.mak:
20943         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20944         * gst/check/gstcheck.h:
20945         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20946         (gst_bin_change_state):
20947         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20948           add/fix debugging/whitespace
20949
20950 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20951
20952         * check/gst/gstevent.c: (event_probe), (test_event),
20953         (GST_START_TEST):
20954          Er, don't call gst_bin_watch_for_state_change you idiot.
20955
20956 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20957
20958         * check/Makefile.am:
20959           Use CHECK_CFLAGS and CHECK_LIBS
20960         * check/gst/gstevent.c: (event_probe), (test_event),
20961         (GST_START_TEST):
20962           Don't leak events.
20963         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20964         (gst_base_src_start), (gst_base_src_stop),
20965         (gst_base_src_activate_push), (gst_base_src_activate_pull),
20966         (gst_base_src_change_state):
20967           Sprinkle gst_base_src_stop liberally around error paths to fix
20968           problems reusing a source after failed state changes.
20969         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20970         (helper_find_suggest), (gst_type_find_helper):
20971           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20972         * gst/gstevent.h:
20973         * docs/gst/tmpl/gstevent.sgml:
20974           Migrate part of the docs from the SGML file. Wait for ensonic to
20975           tell me how I did it wrong ;)
20976         * tools/gst-typefind.c: (main):
20977           Extra robustness to state changes between files.
20978
20979 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20980
20981         * check/Makefile.am:
20982           don't valgrind the controller test - it's leaking - Stefan, HELP
20983         * gst/check/gstcheck.c: (gst_check_message_error),
20984         (gst_check_chain_func), (gst_check_setup_element),
20985         (gst_check_teardown_element), (gst_check_setup_src_pad),
20986         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20987         (gst_check_teardown_sink_pad):
20988         * gst/check/gstcheck.h:
20989           add a bunch of methods to set up elements, and src and sink pads
20990         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20991         * check/elements/identity.c: (setup_identity), (cleanup_identity),
20992         (GST_START_TEST):
20993           use them
20994         * gst/gstmessage.c:
20995         * gst/gsttag.h:
20996           whitespace/doc fixes
20997
20998 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20999
21000         * gst/gstelement.h:
21001           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21002           be handled by the application and not always printed as well
21003
21004 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21005
21006         * check/Makefile.am:
21007           set GST_TOOLS_DIR
21008         * gst/check/gstcheck.c: (gst_check_message_error):
21009         * gst/check/gstcheck.h:
21010           add a fail_unless_equals_int
21011           add fail_unless for error messages
21012
21013 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21014
21015         * check/Makefile.am:
21016         * check/gst.supp:
21017         * common/Makefile.am:
21018         * common/check.mak:
21019         * common/gst.supp:
21020           factor out some of the common stuff so we can use it
21021
21022 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21023
21024         * check/Makefile.am:
21025         * check/gst/gstiterator.c: (GST_START_TEST):
21026         * check/gst/gstsystemclock.c: (GST_START_TEST),
21027         (gst_systemclock_suite):
21028         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21029         * gst/gstclock.c:
21030           valgrind more tests
21031
21032 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21033
21034         * check/elements/.cvsignore:
21035         * check/elements/gstfakesrc.c:
21036           rename to name of element
21037         * check/elements/identity.c: (chain_func), (event_func),
21038         (setup_identity), (cleanup_identity), (GST_START_TEST),
21039         (identity_suite), (main):
21040           add a test for identity
21041         * check/Makefile.am:
21042         * pkgconfig/Makefile.am:
21043         * pkgconfig/gstreamer-check.pc.in:
21044         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21045         * gst/check:
21046         * gst/Makefile.am:
21047         * configure.ac:
21048           move the check stuff to a library that gets installed
21049         * check/gst-libs/controller.c: (GST_START_TEST):
21050         * check/gst-libs/gdp.c:
21051         * check/gst/gst.c: (GST_START_TEST):
21052         * check/gst/gstbin.c:
21053         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21054         * check/gst/gstbus.c:
21055         * check/gst/gstcaps.c: (GST_START_TEST):
21056         * check/gst/gstelement.c:
21057         * check/gst/gstghostpad.c:
21058         * check/gst/gstiterator.c:
21059         * check/gst/gstmessage.c:
21060         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21061         * check/gst/gstobject.c:
21062         * check/gst/gstpad.c: (GST_START_TEST):
21063         * check/gst/gststructure.c: (GST_START_TEST):
21064         * check/gst/gstsystemclock.c: (GST_START_TEST),
21065         (gst_systemclock_suite):
21066         * check/gst/gsttag.c: (gst_tag_suite):
21067         * check/gst/gstvalue.c:
21068         * check/pipelines/cleanup.c:
21069         * check/pipelines/simple_launch_lines.c:
21070         * check/states/sinks.c:
21071           change include statement
21072
21073         * docs/gst/gstreamer-sections.txt:
21074         * docs/gst/tmpl/gstpad.sgml:
21075           document more pad stuff
21076         * gst/gstminiobject.c: (gst_mini_object_ref),
21077         (gst_mini_object_unref):
21078           debug refcounting
21079
21080 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21081
21082         * docs/gst/tmpl/gst.sgml:
21083         * gst/gst.c:
21084           eliminate another tmpl file, fix spelling in the long-description
21085
21086 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21087
21088         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21089         (test_event), (timediff), (gstevents_suite):
21090           Should fix build on 64-bit arch's
21091
21092 2005-08-18  Andy Wingo  <wingo@pobox.com>
21093
21094         Make sure that when a pipeline goes to PLAYING, that data has
21095         actually hit the sink.
21096
21097         * check/states/sinks.c (test_sink): A sink that doesn't get any
21098         data shouldn't return SUCCESS for going to either PLAYING or
21099         PAUSED. Test also the return values on the way back down.
21100
21101         * gst/gstelement.c (gst_element_set_state): When changing the
21102         state of an element currently changing state asynchronously, go to
21103         lost-state after commiting the pending state. Makes future calls
21104         to get_state continue to return ASYNC.
21105
21106         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21107         ASYNC when going to PLAYING if we still don't have preroll, as can
21108         happen with live sources.
21109
21110 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21111
21112         * docs/pwg/advanced-types.xml:
21113           Hack long paragraph into 2 chunks as a workaround for buggy
21114           jadetex version in sid and breezy that loops infinitely and
21115           eats all RAM.
21116
21117 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21118
21119         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21120         (test_event), (timediff), (gstevents_suite):
21121           Provide more error margin in clock measurements to allow for 
21122           g_get_current_time inaccuracies.
21123
21124 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21125
21126         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21127         (test_event), (timediff), (gstevents_suite):
21128            Fix error message output so I might be able to tell why the
21129            test works here but fails on the build farm.
21130
21131 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21132
21133         * check/Makefile.am:
21134         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21135         (test_event), (timediff), (gstevents_suite), (main):
21136           I wrote a test!
21137
21138         * docs/design/part-seeking.txt:
21139           Spelling correction
21140
21141         * docs/gst/tmpl/gstevent.sgml:
21142         * docs/gst/tmpl/gstfakesrc.sgml:
21143           Docs updates.
21144
21145         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21146           Treat a buffer-without-newsegment the same as a receiving 
21147           a newsegment not in time format, and disable syncing to the clock
21148           with a warning.
21149
21150         * gst/gstbus.c: (gst_bus_set_sync_handler):
21151           Assert if anyone tries to replace the existing sync_handler for bus, 
21152           as only the owner should be setting it.
21153
21154         * gst/gstevent.h:
21155           Have a fixed set of custom event enums with events identified by
21156           their structure name (as in 0.8), rather than a free-for-all
21157           allowing collisions between enum values from different plugins.
21158
21159         * gst/gstpad.c: (gst_pad_class_init):
21160           Docs change.
21161           
21162         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21163           Handle out-of-band downstream events from the sending thread.
21164
21165 2005-08-17  Andy Wingo  <wingo@pobox.com>
21166
21167         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21168         play-timeout==0 to mean no timeout at all. In that case, don't
21169         bother with a get_state or a warning, just return directly, even
21170         if it's ASYNC.
21171
21172         * gst/base/gstbasetransform.c: Debug changes.
21173
21174         * gst/gstutils.h:
21175         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21176         ensure bins post state change messages. A bit of a hack but I can't
21177         think of a way to avoid it.
21178
21179         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21180
21181 2005-08-16  Andy Wingo  <wingo@pobox.com>
21182
21183         * gst/base/gstadapter.h:
21184         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21185         peek() but you own the data. Not terribly efficient atm.
21186
21187 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21188
21189         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21190         (gst_element_found_tags):
21191         * gst/gstutils.h:
21192           Add two utility functions for tag handling.
21193
21194 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21195
21196         * docs/manual/advanced-dataaccess.xml:
21197         * docs/manual/basics-helloworld.xml:
21198           Fix docs to use _bin_add() before _link(), which fixes the examples
21199           with recent core versions (reported by Madhan Raj M
21200           <raj_madan@rediffmail.com>, #313199).
21201
21202 2005-08-16  Wim Taymans  <wim@fluendo.com>
21203
21204         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21205         Added subtract checks.
21206
21207         * docs/design/part-events.txt:
21208         Some more docs about newsegment
21209
21210         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21211         Fix FIXME
21212
21213         * gst/gstcaps.c: (gst_caps_to_string):
21214         Add comments, cleanups.
21215         
21216         * gst/gstelement.c: (gst_element_save_thyself):
21217         cleanups
21218         
21219         * gst/gstvalue.c: (gst_value_collect_int_range),
21220         (gst_string_unwrap), (gst_value_union_int_int_range),
21221         (gst_value_union_int_range_int_range),
21222         (gst_value_intersect_int_int_range),
21223         (gst_value_intersect_int_range_int_range),
21224         (gst_value_intersect_double_double_range),
21225         (gst_value_intersect_double_range_double_range),
21226         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21227         (gst_value_subtract_int_range_int),
21228         (gst_value_subtract_double_range_double),
21229         (gst_value_subtract_double_range_double_range),
21230         (gst_value_subtract_from_list), (gst_value_subtract_list),
21231         (gst_value_can_compare), (gst_value_compare_fraction):
21232         Cleanups, add comments, remove unneeded asserts.
21233
21234 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21235
21236         * tools/gst-launch.c: (event_loop):
21237           don't convert NULL structures to strings
21238
21239 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21240
21241         * docs/gst/gstreamer-sections.txt:
21242           made some defines private
21243         * docs/gst/tmpl/gstconfig.sgml:
21244         * docs/gst/tmpl/gstqueue.sgml:
21245         * docs/gst/tmpl/gsttaglist.sgml:
21246         * docs/gst/tmpl/gsttypes.sgml:
21247         * docs/gst/tmpl/gstutils.sgml:
21248         * docs/pwg/appendix-porting.xml:
21249         * gst/base/gstbasesink.h:
21250         * gst/base/gstbasesrc.c:
21251         * gst/base/gstbasesrc.h:
21252         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21253         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21254         * gst/gstelement.c: (gst_element_class_init):
21255         * gst/gstpad.c: (gst_pad_class_init):
21256         * gst/gstqueue.c: (gst_queue_class_init):
21257         * gst/gstxml.c: (gst_xml_class_init):
21258           documented all undocumented signal inline
21259         * libs/gst/controller/gst-controller.h:
21260           added padding
21261
21262 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21263
21264         * docs/pwg/appendix-porting.xml:
21265           Document _set_link_function -> _set_setcaps_function.
21266
21267 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21268
21269         * check/Makefile.am:
21270           add a .check target for running the check
21271         * check/gst-libs/controller.c: (GST_START_TEST):
21272           cosmetic fixups
21273         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21274           complete checks for gstbuffer; would be nice if I could get the
21275           gcov stuff to work so I can see if I actually completed gstbuffer.c
21276         * check/gstcheck.h:
21277           add ASSERT_BUFFER_REFCOUNT
21278
21279 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21280
21281         * docs/gst/gstreamer-sections.txt:
21282         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21283         * gst/gsttag.h:
21284           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21285           spew out a warning if a tag that is already registered
21286           is re-registered, unless it is re-registered with a 
21287           different type (#308438).
21288
21289 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21290
21291         * docs/pwg/appendix-porting.xml:
21292         * docs/pwg/building-state.xml:
21293           Add some paragraphs about state changes in 0.9 to the PWG
21294           and the porting guide, in particular about the new meaning
21295           of GST_STATE_PAUSED and how to write state change functions
21296           with concurrent access by multiple threads in mind.
21297
21298 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21299
21300         * docs/gst/gstreamer-docs.sgml:
21301         * docs/libs/gstreamer-libs-docs.sgml:
21302           added deprecation and since indexes
21303         * libs/gst/controller/gst-controller.c:
21304         * libs/gst/controller/gst-helper.c:
21305           added since tags
21306
21307
21308 2005-08-11  Wim Taymans  <wim@fluendo.com>
21309
21310         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21311         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21312         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21313         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21314         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21315         (gst_ghost_pad_set_target):
21316         Actually implement (re)setting the target on a ghostpad
21317         as described in the docs.
21318
21319 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21320
21321         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21322           Check whether GST_DEBUG_NO_COLOR environment variable is
21323           set and disable coloured debug output if that is the case.
21324
21325 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21326
21327         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21328         (gst_type_find_helper):
21329           The memory returned by gst_type_find_peek() needs to
21330           stay valid until the end of a typefind function, and
21331           typefind functions may keep results from different 
21332           offsets around, so we can't just unref the buffer from
21333           the previous _peek(), but have to save all buffers 
21334           returned by _peek() until typefinding is done and only
21335           free them then.
21336
21337 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21338
21339         * docs/gst/gstreamer-sections.txt:
21340         * gst/gstutils.h:
21341           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21342
21343 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21344
21345         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21346           Fix a pretty good memleak.
21347
21348 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21349
21350         * gst/gstiterator.h:
21351           Fix wrong include and 'make distcheck'.
21352
21353 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21354
21355         * gst/gstbin.c: (bin_bus_handler):
21356           Use gst_element_post_message() instead.
21357
21358 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21359
21360         * gst/base/gstadapter.h:
21361         * gst/base/gstbasesink.h:
21362         * gst/base/gstbasesrc.h:
21363         * gst/base/gstbasetransform.h:
21364         * gst/base/gstcollectpads.h:
21365         * gst/base/gstpushsrc.h:
21366         * gst/gstiterator.h:
21367           Add padding to our base elements' class and instance structs and
21368           to GstIterator (you will need to rebuild all plugins and apps!)
21369
21370 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21371
21372         * gst/gstbin.c: (bin_bus_handler):
21373           Make default message forwarding from child->bus to bin->bus
21374           threadsafe and make it not emit warnings if the parent has no bus.
21375
21376 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21377
21378         * gst/gstelement.c: (activate_pads):
21379           On paused->ready, set pad->caps to NULL, as is the documented
21380           behaviour in this state change. Fixes playback of series of
21381           media files when visualization is enabled in Totem.
21382
21383 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21384
21385         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21386           Allow NULL as filter-caps (which means "any").
21387
21388 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21389
21390         * docs/libs/gstreamer-libs-sections.txt:
21391         * libs/gst/controller/gst-controller.c:
21392         * libs/gst/controller/gst-controller.h:
21393         * libs/gst/controller/gst-helper.c:
21394           adding more entries to the docs and fix small doc-bugs
21395
21396 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21397
21398         * docs/gst/gstreamer-docs.sgml:
21399         * docs/gst/gstreamer-sections.txt:
21400         * docs/gst/gstreamer.types:
21401         * docs/gst/tmpl/gstbasesink.sgml:
21402         * docs/gst/tmpl/gstbasesrc.sgml:
21403         * docs/gst/tmpl/gstbasetransform.sgml:
21404         * docs/gst/tmpl/gstfakesrc.sgml:
21405         * gst/base/gstcollectpads.c:
21406         * gst/base/gstcollectpads.h:
21407         * libs/gst/controller/gst-controller.c:
21408         * libs/gst/controller/gst-controller.h:
21409         * libs/gst/controller/gst-helper.c:
21410         * libs/gst/controller/gst-interpolation.c:
21411         * libs/gst/controller/lib.c:
21412           added long/short desc for controller docs
21413           added collectpads base class docs
21414           added correct includes to base-class docs
21415
21416 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21417
21418         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21419         (gst_test_mono_source_set_property),
21420         (gst_test_mono_source_class_init), (GST_START_TEST),
21421         (gst_controller_suite):
21422         * docs/gst/gstreamer-docs.sgml:
21423         * docs/gst/gstreamer-sections.txt:
21424         * docs/gst/gstreamer.types:
21425         * docs/libs/gstreamer-libs-docs.sgml:
21426         * docs/libs/gstreamer-libs-sections.txt:
21427         * gst/base/gstadapter.c:
21428         * libs/gst/controller/gst-controller.c:
21429         (gst_controlled_property_new), (gst_controlled_property_free),
21430         (gst_controller_new_valist),
21431         (gst_controller_remove_properties_valist),
21432         (gst_controller_sink_values), (_gst_controller_finalize):
21433         * libs/gst/controller/gst-controller.h:
21434         * libs/gst/controller/gst-helper.c:
21435         (gst_object_control_properties), (gst_object_uncontrol_properties),
21436         (gst_object_get_controller), (gst_object_set_controller),
21437         (gst_object_sink_values), (gst_object_get_value_arrays),
21438         (gst_object_get_value_array):
21439           more tests (and fixes) for the controller
21440           more docs for the controller
21441           integrated companies docs for the adapter 
21442
21443 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21444
21445         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21446         (GST_START_TEST), (fakesrc_suite):
21447           add tests for sizetype
21448
21449 2005-08-04  Andy Wingo  <wingo@pobox.com>
21450
21451         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21452         fixes buffer_alloc proxying among other things.
21453
21454         * gst/base/gstbasetransform.c:
21455         * gst/base/gstbasetransform.h:
21456         Revert patch to gstbasetransform from 7-28 removing
21457         delay_configure.
21458
21459         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21460         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21461         Semantics changed, should return not the size of the output buffer
21462         but the byte size of a buffer with a given caps.
21463
21464         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21465         debug object.
21466         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21467         out) are not the pad caps until setcaps finishes.
21468         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21469         not-in-place case as well. Deal with changing from in-place to
21470         not-in-place within calling pad_alloc_buffer. Still a bit
21471         concerned about the overhead here...
21472
21473 2005-08-03  Andy Wingo  <wingo@pobox.com>
21474
21475         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21476         fixating is an error.
21477
21478 2005-08-04  Edward Hervey  <edward@fluendo.com>
21479
21480         * gst/base/gstadapter.h: 
21481         Added gst_adapter_get_type() to the header
21482
21483 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21484
21485         * check/Makefile.am:
21486         * check/gst-libs/controller.c:
21487         * libs/gst/controller/gst-controller.c:
21488         (gst_controller_new_valist):
21489           added check test suite for the controller
21490         * gst/base/gstpushsrc.c:
21491           fixed a doc typo
21492
21493 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21494
21495         * docs/gst/Makefile.am:
21496         * docs/gst/gstreamer-docs.sgml:
21497         * docs/gst/gstreamer-sections.txt:
21498         * docs/gst/gstreamer.types:
21499         * docs/gst/tmpl/gstfakesrc.sgml:
21500         * gst/base/README:
21501         * gst/base/gstbasesink.c:
21502         * gst/base/gstbasesink.h:
21503         * gst/base/gstbasesrc.c:
21504         * gst/base/gstbasesrc.h:
21505         * gst/base/gstbasetransform.c:
21506         * gst/base/gstpushsrc.c:
21507         * gst/base/gstpushsrc.h:
21508           add short/long description docs to base classes
21509           add pushsrc to the docs
21510           remove consolidated doc fragments
21511
21512 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21513
21514         * configure.ac:
21515         * docs/libs/Makefile.am:
21516         * docs/libs/gstreamer-libs-docs.sgml:
21517         * docs/libs/gstreamer-libs-sections.txt:
21518         * docs/libs/gstreamer-libs.types:
21519         * examples/Makefile.am:
21520         * examples/controller/.cvsignore:
21521         * examples/controller/Makefile.am:
21522         * examples/controller/audio-example.c: (main):
21523         * libs/gst/Makefile.am:
21524         * libs/gst/controller/.cvsignore:
21525         * libs/gst/controller/Makefile.am:
21526         * libs/gst/controller/gst-controller.c:
21527         (on_object_controlled_property_changed), (gst_timed_value_compare),
21528         (gst_timed_value_find),
21529         (gst_controlled_property_set_interpolation_mode),
21530         (gst_controlled_property_new), (gst_controlled_property_free),
21531         (gst_controller_find_controlled_property),
21532         (gst_controller_new_valist), (gst_controller_new),
21533         (gst_controller_remove_properties_valist),
21534         (gst_controller_remove_properties), (gst_controller_set),
21535         (gst_controller_set_from_list), (gst_controller_unset),
21536         (gst_controller_get), (gst_controller_get_all),
21537         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21538         (gst_controller_get_value_array),
21539         (gst_controller_set_interpolation_mode),
21540         (_gst_controller_finalize), (_gst_controller_init),
21541         (_gst_controller_class_init), (gst_controller_get_type):
21542         * libs/gst/controller/gst-controller.h:
21543         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21544         (g_object_uncontrol_properties), (g_object_get_controller),
21545         (g_object_set_controller), (g_object_sink_values),
21546         (g_object_get_value_arrays), (g_object_get_value_array):
21547         * libs/gst/controller/gst-interpolation.c:
21548         (gst_controlled_property_find_timed_value_node),
21549         (interpolate_none_get), (interpolate_trigger_get),
21550         (interpolate_trigger_get_value_array):
21551         * libs/gst/controller/lib.c: (gst_controller_init):
21552         * pkgconfig/Makefile.am:
21553         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21554         * pkgconfig/gstreamer-control.pc.in:
21555         * testsuite/Makefile.am:
21556         * testsuite/controller/.cvsignore:
21557         * testsuite/controller/Makefile.am:
21558         * testsuite/controller/interpolator.c: (main):
21559           added controller code
21560           removed dparam pc files
21561
21562 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21563         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21564         (gst_collectpads_stop):
21565           Broadcast the condition when shutting down, to make sure we wake all
21566           threads up. Shut down pads on finalize, for safety.
21567
21568 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21569         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21570         (gst_base_transform_handle_buffer),
21571         (gst_base_transform_change_state):
21572           Handle PAUSED->READY->PAUSED transition after negotiation
21573           occurred already.
21574         * gst/gstmessage.c: (gst_message_init):
21575           Extra piece of debug for new messages.
21576
21577 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21578
21579         * configure.ac:
21580         * docs/gst/tmpl/gstbasesrc.sgml:
21581         * docs/gst/tmpl/gstelement.sgml:
21582         * docs/gst/tmpl/gstevent.sgml:
21583         * docs/gst/tmpl/gstfakesrc.sgml:
21584         * docs/gst/tmpl/gstformat.sgml:
21585         * docs/gst/tmpl/gstghostpad.sgml:
21586         * docs/gst/tmpl/gstpad.sgml:
21587         * docs/gst/tmpl/gstquery.sgml:
21588         * docs/gst/tmpl/gststructure.sgml:
21589         * docs/gst/tmpl/gsttaglist.sgml:
21590         * docs/gst/tmpl/gstvalue.sgml:
21591         * docs/libs/gstreamer-libs-docs.sgml:
21592         * docs/libs/gstreamer-libs-sections.txt:
21593         * docs/libs/gstreamer-libs.types:
21594         * libs/gst/Makefile.am:
21595         * libs/gst/control/.cvsignore:
21596         * libs/gst/control/Makefile.am:
21597         * libs/gst/control/control.c:
21598         * libs/gst/control/control.h:
21599         * libs/gst/control/dparam.c:
21600         * libs/gst/control/dparam.h:
21601         * libs/gst/control/dparam_smooth.c:
21602         * libs/gst/control/dparam_smooth.h:
21603         * libs/gst/control/dparamcommon.h:
21604         * libs/gst/control/dparammanager.c:
21605         * libs/gst/control/dparammanager.h:
21606         * libs/gst/control/dplinearinterp.c:
21607         * libs/gst/control/dplinearinterp.h:
21608         * libs/gst/control/unitconvert.c:
21609         * libs/gst/control/unitconvert.h:
21610         * testsuite/Makefile.am:
21611         * testsuite/dynparams/.cvsignore:
21612         * testsuite/dynparams/Makefile.am:
21613         * testsuite/dynparams/dparamstest.c:
21614         * tools/Makefile.am:
21615         * tools/gst-inspect.c: (print_element_info), (main):
21616         * tools/gst-xmlinspect.c: (print_element_info), (main):
21617           deactivate and remove dparams (libgstcontrol)
21618
21619 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21620
21621         * gst/elements/gsttypefindelement.c:
21622         (gst_type_find_element_have_type), (gst_type_find_element_init),
21623         (stop_typefinding), (gst_type_find_element_handle_event),
21624         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21625         * gst/elements/gsttypefindelement.h:
21626           Set caps on all outgoing buffers, not just the first one.
21627
21628 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21629
21630         * gst/elements/gsttypefindelement.c:
21631         (gst_type_find_element_have_type),
21632         (gst_type_find_element_check_set_buffer_caps),
21633         (gst_type_find_element_init), (stop_typefinding),
21634         (gst_type_find_element_handle_event),
21635         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21636         * gst/elements/gsttypefindelement.h:
21637           Set caps on first outgoing buffer when we've found the type.
21638
21639 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21640
21641         * docs/gst/gstreamer-docs.sgml:
21642         * docs/gst/gstreamer-sections.txt:
21643         * docs/gst/tmpl/gstscheduler.sgml:
21644         * docs/gst/tmpl/gstschedulerfactory.sgml:
21645           Remove some old cruft from docs.
21646
21647 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21648
21649         * gst/gstpad.h:
21650           Fix inline docs for GstPadLinkReturn.
21651           
21652         * gst/gststructure.c: (gst_structure_has_name):
21653         * gst/gststructure.h:
21654         * docs/gst/gstreamer-sections.txt:
21655           New API: gst_structure_has_name().
21656
21657 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21658
21659         * configure.ac:
21660           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21661           and _LARGEFILE_SOURCE in config.h as required. Do not 
21662           export those flags in our .pc files any longer (#142209).
21663
21664           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21665
21666         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21667         (gst_file_sink_do_seek), (gst_file_sink_event),
21668         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21669           Redo seek/tell calls with large file support in mind; add some
21670           debugging messages; add log message that tells us when large
21671           file support is unavailable or not enabled for some reason.
21672
21673         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21674           Add log message that tells us when large file support 
21675           is unavailable or not enabled for some reason.
21676
21677 2005-07-29  Wim Taymans  <wim@fluendo.com>
21678
21679         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21680         Added test for removing an element with ghostpad from a bin.
21681         Fixed test as current implementation does the right thing.
21682
21683         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21684         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21685         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21686         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21687         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21688         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21689         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21690         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21691         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21692         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21693         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21694         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21695         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21696         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21697         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21698         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21699         * gst/gstghostpad.h:
21700         Clean up ghostpads, remove properties for internal stuff.
21701         Make threadsafe.
21702         Fix refcounting.
21703         Prepare for switching targets, not all use cases work yet.
21704
21705 2005-07-29  Wim Taymans  <wim@fluendo.com>
21706
21707         * docs/design/part-gstghostpad.txt:
21708         Small update.
21709
21710         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21711         (gst_bin_remove_func):
21712         Unlinking pads while holding the bin LOCK is not a good
21713         idea.
21714
21715         * gst/gstpad.c: (gst_pad_class_init),
21716         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21717         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21718         No prob setting template after creating the pad.
21719
21720 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21721
21722         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21723         (gst_bus_peek), (gst_bus_source_dispatch),
21724         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21725         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21726           gst_bus_poll may be called from other threads. Handle
21727           this nicely by not making poll_data disappear off the
21728           stack once gst_bus_poll returns.
21729           gst_bus_peek now increments the refcount on the returned
21730           message.
21731
21732 2005-07-29  Wim Taymans  <wim@fluendo.com>
21733
21734         * docs/design/part-gstghostpad.txt:
21735         Overview of current GhostPad datastructures and use
21736         cases for changing the target.
21737
21738 2005-07-28  Wim Taymans  <wim@fluendo.com>
21739
21740         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21741         Added checks for hierarchy consistency whan adding linked
21742         elements to bins.
21743
21744         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21745         Added check to test element scheduling without bin/pipeline.
21746
21747         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21748         First add elements to bin, then link.
21749         
21750         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21751         (gst_bin_remove_func):
21752         Unlink pads from elements added/removed from bin to maintain
21753         hierarchy consistency.
21754
21755 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21756
21757         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21758         (gst_base_transform_handle_buffer):
21759         * gst/base/gstbasetransform.h:
21760           Remove broken delay_configure (fixes renegotiation of software
21761           scaling pipelines); remove some leftover printf()s.
21762
21763 2005-07-28  Wim Taymans  <wim@fluendo.com>
21764
21765         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21766         Added some more tests for wrong hierarchy
21767
21768         * docs/design/part-overview.txt:
21769         Some updates.
21770
21771         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21772         Cleanups.
21773
21774         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21775         (gst_element_dispose):
21776         Some more cleanups.
21777
21778         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21779         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21780         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21781         (gst_pad_set_caps), (gst_pad_send_event):
21782         Check for correct hierarchy when linking pads. Moving to
21783         strict requirement for ghostpads when linking elements in
21784         different bins.
21785
21786         * gst/gstpad.h:
21787         Clean ups. Added WRONG_HIERARCHY return value.
21788
21789 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21790
21791         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21792           Better debug if no transform is possible.
21793
21794 2005-07-27  Wim Taymans  <wim@fluendo.com>
21795
21796         * docs/random/wtay/network-transp:
21797         Some old doc I had.
21798
21799 2005-07-27  Wim Taymans  <wim@fluendo.com>
21800
21801         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21802         (gst_dp_event_from_packet):
21803         Fix serialization of seek events.
21804
21805 2005-07-27  Wim Taymans  <wim@fluendo.com>
21806
21807         * check/gst-libs/gdp.c: (GST_START_TEST):
21808         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21809         Fix compilation and fix event serialization.
21810
21811 2005-07-27  Wim Taymans  <wim@fluendo.com>
21812
21813         * CHANGES-0.9:
21814         * docs/design/part-TODO.txt:
21815         * docs/design/part-events.txt:
21816         Some docs updates
21817
21818         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21819         (gst_base_sink_event), (gst_base_sink_do_sync),
21820         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21821         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21822         (gst_base_src_do_seek), (gst_base_src_event_handler),
21823         (gst_base_src_loop):
21824         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21825         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21826         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21827         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21828         (gst_base_transform_set_passthrough),
21829         (gst_base_transform_is_passthrough):
21830         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21831         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21832         Event updates.
21833
21834         * gst/gstbuffer.h:
21835         Use faster casts.
21836
21837         * gst/gstelement.c: (gst_element_seek):
21838         * gst/gstelement.h:
21839         Update gst_element_seek.
21840
21841         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21842         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21843         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21844         (gst_event_new_eos), (gst_event_new_newsegment),
21845         (gst_event_parse_newsegment), (gst_event_new_tag),
21846         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21847         (gst_event_parse_qos), (gst_event_new_seek),
21848         (gst_event_parse_seek), (gst_event_new_navigation):
21849         * gst/gstevent.h:
21850         Make GstEvent use GstStructure. Add parsing code, make sure the
21851         API is sufficiently generic.
21852         Mark possible directions of events and serialization.
21853
21854         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21855         (_gst_message_copy), (gst_message_new_segment_start),
21856         (gst_message_new_segment_done), (gst_message_new_custom),
21857         (gst_message_parse_segment_start),
21858         (gst_message_parse_segment_done):
21859         Small cleanups.
21860
21861         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21862         (gst_pad_set_caps), (gst_pad_send_event):
21863         Update for new events. 
21864         Catch events sent in wrong directions.
21865
21866         * gst/gstqueue.c: (gst_queue_link_src),
21867         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21868         (gst_queue_handle_src_query):
21869         Event updates.
21870
21871         * gst/gsttag.c:
21872         * gst/gsttag.h:
21873         Remove event code from this file.
21874
21875         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21876         (gst_dp_event_from_packet):
21877         Event updates.
21878
21879 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21880
21881         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21882         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21883         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21884           Make debugging actually useful.
21885
21886 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21887
21888         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21889         (gst_pad_fixate_caps):
21890           Implement default fixation once again, so that gst_pad_fixate()
21891           actually does anything at all. This probably needs to be some
21892           sort of a last resort, and use profile-based fixation first, but
21893           since that doesn't exist yet, this is the best we have. Fixes
21894           visualization in Totem.
21895
21896 2005-07-22  Wim Taymans  <wim@fluendo.com>
21897
21898         * docs/design/part-events.txt:
21899         Small update.
21900
21901         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21902         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21903         (gst_base_sink_activate_pull):
21904         Some more comments.
21905
21906         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21907         (gst_fake_src_create):
21908         Fix handoff marshall.
21909
21910         * gst/elements/gstidentity.c: (gst_identity_class_init),
21911         (gst_identity_transform_ip):
21912         We're a real inplace element.
21913
21914         * gst/gstbus.c: (gst_bus_post):
21915         Added some comments.
21916
21917         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21918         * tests/muxing/case1.c: (main):
21919         * tests/sched/dynamic-pipeline.c: (main):
21920         * tests/sched/interrupt1.c: (main):
21921         * tests/sched/interrupt2.c: (main):
21922         * tests/sched/interrupt3.c: (main):
21923         * tests/sched/runxml.c: (main):
21924         * tests/sched/sched-stress.c: (main):
21925         * tests/seeking/seeking1.c: (event_received), (main):
21926         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21927         (main):
21928         * tests/threadstate/threadstate3.c: (main):
21929         * tests/threadstate/threadstate4.c: (main):
21930         * tests/threadstate/threadstate5.c: (main):
21931         Fix the tests.
21932
21933 2005-07-21  Wim Taymans  <wim@fluendo.com>
21934
21935         * docs/design/part-seeking.txt:
21936         Some small additions.
21937
21938         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21939         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21940         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21941         * gst/base/gstbasesink.h:
21942         discont values are gint64, handle the math correctly.
21943
21944         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21945         Make the basesrc report error if the source pad is not linked.
21946
21947         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21948         (gst_queue_loop), (gst_queue_handle_src_query),
21949         (gst_queue_src_activate_push):
21950         Make queue collect data even if the srcpad is not linked.
21951         Start pushing out data as soon as it is linked.
21952
21953         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21954         * gst/gstutils.h:
21955         Added gst_flow_get_name() to ease error reporting.
21956
21957 2005-07-20  Wim Taymans  <wim@fluendo.com>
21958
21959         * gst/gstmessage.c: (gst_message_new_segment_start),
21960         (gst_message_new_segment_done), (gst_message_parse_segment_start),
21961         (gst_message_parse_segment_done):
21962         * gst/gstmessage.h:
21963         Added a bunch of messages for advanced seeking.
21964
21965         * gst/parse/grammar.y:
21966         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21967         (gst_dpman_state_changed):
21968         Fix some new-pad -> pad-added signals
21969
21970 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21971
21972         * docs/manual/appendix-porting.xml:
21973         * docs/pwg/appendix-porting.xml:
21974           Document new-pad/state-change signal renames and the FixedList
21975           type rename.
21976
21977 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21978
21979         * docs/manual/advanced-autoplugging.xml:
21980         * docs/manual/basics-helloworld.xml:
21981         * docs/manual/basics-pads.xml:
21982         * docs/random/ds/0.9-suggested-changes:
21983         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21984         * gst/gstelement.h:
21985         * gst/gstevent.h:
21986         * gst/gstformat.h:
21987         * gst/gstquery.h:
21988         * gst/gststructure.c: (gst_structure_value_get_generic_type),
21989         (gst_structure_parse_array), (gst_structure_parse_value):
21990         * gst/gstvalue.c: (gst_type_is_fixed),
21991         (gst_value_list_prepend_value), (gst_value_list_append_value),
21992         (gst_value_list_get_size), (gst_value_list_get_value),
21993         (gst_value_transform_array_string), (gst_value_serialize_array),
21994         (gst_value_deserialize_array), (gst_value_intersect_array),
21995         (gst_value_is_fixed), (_gst_value_initialize):
21996         * gst/gstvalue.h:
21997           GstElement::new-pad -> pad-added, GstElement::state-change ->
21998           state-changed, GstValueFixedList -> GstValueArray, add format and
21999           flags as their own arguments in gst_element_seek() (should improve
22000           "bindeability"), remove function generators since they don't work
22001           under a whole bunch of compilers (they were deprecated already
22002           anyway).
22003
22004 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22005
22006         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22007         (_gst_debug_register_funcptr):
22008         * gst/gstinfo.h:
22009           Fix illegal cast on some platforms (#309253).
22010
22011 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22012
22013         * gst/gstmessage.c: (gst_message_new_custom):
22014         * gst/gstmessage.h:
22015           Add _new_custom, make _new_application a macro to _new_custom.
22016
22017 2005-07-20  Wim Taymans  <wim@fluendo.com>
22018
22019         * gst/base/gstbasesrc.c: (gst_base_src_init),
22020         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22021         * gst/base/gstbasesrc.h:
22022         Add a gboolean to decide when to push out a discont.
22023
22024         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22025         (gst_queue_loop), (gst_queue_handle_src_query),
22026         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22027         (gst_queue_set_property), (gst_queue_get_property):
22028         Some cleanups.
22029
22030         * tests/threadstate/threadstate1.c: (main):
22031         Make a thread test compile and run... very silly..
22032
22033
22034 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22035
22036         * docs/manual/appendix-porting.xml:
22037           Mention removal of libgstgconf-0.9.la and existence of gconf
22038           elements.
22039
22040 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22041
22042         * docs/pwg/advanced-clock.xml:
22043         * docs/pwg/appendix-porting.xml:
22044         * docs/pwg/intro-preface.xml:
22045         * docs/pwg/other-base.xml:
22046         * docs/pwg/other-manager.xml:
22047         * docs/pwg/other-nton.xml:
22048         * docs/pwg/other-ntoone.xml:
22049         * docs/pwg/other-oneton.xml:
22050         * docs/pwg/pwg.xml:
22051           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22052           demuxer), remove n-to-n (was never written), fix some code examples
22053           and links and update the porting section to include all this.
22054
22055 2005-07-19  Wim Taymans  <wim@fluendo.com>
22056
22057         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22058         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22059         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22060         (gst_queue_src_activate_push), (gst_queue_change_state),
22061         (gst_queue_get_property):
22062         * gst/gstqueue.h:
22063         Propagate GstFlowReturn more intelligently upstream and output
22064         an ERROR/EOS when streaming stopped due to fatal error.
22065
22066 2005-07-19  Wim Taymans  <wim@fluendo.com>
22067
22068         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22069         Don't block forever for the state change to complete, the
22070         pipeline already did with a sensible timeout.
22071
22072 2005-07-19  Wim Taymans  <wim@fluendo.com>
22073
22074         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22075         Make sure we never call the create function is we
22076         got deactivated.
22077
22078 2005-07-19  Andy Wingo  <wingo@pobox.com>
22079
22080         * gst/parse/parse.l: Attempt to solve bug #172815.
22081
22082 2005-07-19  Wim Taymans  <wim@fluendo.com>
22083
22084         * docs/design/part-clocks.txt:
22085         * docs/design/part-events.txt:
22086         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22087         Small docs updates.
22088         Only update the seeking values when we are not
22089         busy streaming.
22090
22091 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22092
22093         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22094           Oops, ignore the result of gst_pad_push_event here.
22095
22096 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22097
22098         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22099         (gst_base_src_activate_push):
22100           Send discont event from the loop function, as pads
22101           aren't activated yet in the activate_push handler.
22102
22103         * gst/gstbin.c: (bin_bus_handler):
22104           Don't leak element name.
22105
22106 2005-07-18  Andy Wingo  <wingo@pobox.com>
22107
22108         * configure.ac: Use AS_LIBTOOL_TAGS.
22109
22110 2005-07-18  Wim Taymans  <wim@fluendo.com>
22111
22112         * docs/gst/gstreamer.types:
22113         Remove deleted types.
22114
22115 2005-07-18  Wim Taymans  <wim@fluendo.com>
22116
22117         * check/elements/gstfakesrc.c: (GST_START_TEST):
22118         * configure.ac:
22119         * gst/Makefile.am:
22120         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22121         (init_popt_callback):
22122         * gst/gst.h:
22123         * gst/gst_private.h:
22124         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22125         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22126         * gst/gstbin.h:
22127         * gst/gstbus.h:
22128         * gst/gstconfig.h.in:
22129         * gst/gstelement.c: (gst_element_class_init),
22130         (gst_element_set_base_time), (gst_element_get_base_time),
22131         (iterator_fold_with_resync), (gst_element_change_state),
22132         (gst_element_dispose), (gst_element_get_bus):
22133         * gst/gstelement.h:
22134         * gst/gstelementfactory.h:
22135         * gst/gsterror.c: (_gst_core_errors_init):
22136         * gst/gsterror.h:
22137         * gst/gstevent.h:
22138         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22139         * gst/gstindex.c:
22140         * gst/gstinfo.c: (_gst_debug_init):
22141         * gst/gstmessage.c: (_gst_message_copy):
22142         * gst/gstmessage.h:
22143         * gst/gstminiobject.h:
22144         * gst/gstobject.c:
22145         * gst/gstobject.h:
22146         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22147         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22148         * gst/gstpad.h:
22149         * gst/gstparse.h:
22150         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22151         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22152         (gst_pipeline_get_last_stream_time):
22153         * gst/gstpipeline.h:
22154         * gst/gstpluginfeature.h:
22155         * gst/gstquery.h:
22156         * gst/gstscheduler.c:
22157         * gst/gstscheduler.h:
22158         * gst/gststructure.h:
22159         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22160         (gst_task_finalize), (gst_task_func), (gst_task_create),
22161         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22162         (gst_task_stop), (gst_task_pause):
22163         * gst/gsttask.h:
22164         * gst/gsttypefind.h:
22165         * gst/gsttypes.h:
22166         * gst/registries/gstlibxmlregistry.c: (load_feature),
22167         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22168         * gst/registries/gstxmlregistry.c:
22169         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22170         * gst/schedulers/threadscheduler.c:
22171         * libs/gst/control/dparammanager.h:
22172         * tools/gst-inspect.c: (print_element_list),
22173         (print_plugin_features), (print_element_features):
22174         * tools/gst-xmlinspect.c: (print_element_list),
22175         (print_plugin_info), (main):
22176         Removed plugable schedulers.
22177         Removed Scheduler/Manager from elements.
22178         Removed gsttypes.h, rearranged includes.
22179         Removed dependency pad<->element, element<>pipeline, and
22180         various others,  fix includes.
22181         implement gst_pad_get_parent() with gst_object_get_parent()
22182         Make GstTask sefcontained.
22183         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22184         timeout.
22185         Fix endless loop in iterator_fold_with_resync.
22186
22187
22188 2005-07-18  Wim Taymans  <wim@fluendo.com>
22189
22190         * gst/Makefile.am:
22191         * gst/gstarch.h:
22192         Remove old file.
22193
22194 2005-07-18  Wim Taymans  <wim@fluendo.com>
22195
22196         * gst/Makefile.am:
22197         No more cothreads.h
22198
22199 2005-07-18  Wim Taymans  <wim@fluendo.com>
22200
22201         * gst/cothreads.c:
22202         * gst/cothreads.h:
22203         Let's remove these.
22204
22205 2005-07-18  Wim Taymans  <wim@fluendo.com>
22206
22207         * docs/design/part-dynamic.txt:
22208         * docs/design/part-events.txt:
22209         * docs/design/part-seeking.txt:
22210         Some more docs in the works.
22211
22212         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22213         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22214         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22215         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22216         (gst_base_transform_handle_buffer),
22217         (gst_base_transform_sink_activate_push),
22218         (gst_base_transform_src_activate_pull),
22219         (gst_base_transform_set_passthrough),
22220         (gst_base_transform_is_passthrough):
22221         Refcounting fixes.
22222
22223         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22224         Cleanups.
22225
22226         * gst/gstevent.c: (gst_event_finalize):
22227         Set SRC to NULL.
22228
22229         * gst/gstutils.c: (gst_element_unlink),
22230         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22231         (gst_pad_proxy_setcaps):
22232         * gst/gstutils.h:
22233         Add _get_parent_element() to get a pads parent as an element.
22234
22235 2005-07-18  Wim Taymans  <wim@fluendo.com>
22236
22237         * check/gst/gstbin.c: (GST_START_TEST):
22238         Remove bogus test.
22239
22240 2005-07-18  Wim Taymans  <wim@fluendo.com>
22241
22242         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22243         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22244         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22245         (gst_base_sink_event), (gst_base_sink_do_sync),
22246         (gst_base_sink_chain), (gst_base_sink_loop),
22247         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22248         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22249         Refcounting fixes.
22250         Fix logic for returning ASYNC when not prerolled.
22251
22252 2005-07-18  Wim Taymans  <wim@fluendo.com>
22253
22254         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22255         Fix nasty refcount bug.
22256
22257 2005-07-16 Philippe Khalaf <burger@speedy.org>
22258
22259         * gst/elements/gstfdsrc.c:
22260         * gst/elements/gstfdsrc.h:
22261         * gst/elements/gstelements.c:
22262         * gst/elements/Makefile.am:
22263         Ported fdsrc to 0.9.
22264
22265 2005-07-16  Wim Taymans  <wim@fluendo.com>
22266
22267         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22268         (gst_base_sink_do_sync):
22269         Fix compile error.
22270
22271 2005-07-16  Wim Taymans  <wim@fluendo.com>
22272
22273         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22274         (gst_base_sink_event), (gst_base_sink_get_times),
22275         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22276         * gst/base/gstbasesink.h:
22277         Store and use discont values when syncing buffers as described
22278         in design docs.
22279         
22280         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22281         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22282         (gst_base_src_activate_push):
22283         Push discont event when starting.
22284
22285         * gst/elements/gstidentity.c: (gst_identity_transform):
22286         Small cleanups.
22287
22288         * gst/gstbin.c: (gst_bin_change_state):
22289         Small cleanups in base_time  distribution.
22290
22291         * gst/gstelement.c: (gst_element_set_base_time),
22292         (gst_element_get_base_time), (gst_element_change_state):
22293         * gst/gstelement.h:
22294         Added methods for the base_time of the element.
22295         Some MT fixes.
22296
22297         * gst/gstpipeline.c: (gst_pipeline_send_event),
22298         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22299         (gst_pipeline_get_last_stream_time):
22300         * gst/gstpipeline.h:
22301         MT fixes.
22302         Handle seeking as described in design doc, remove stream_time
22303         hack.
22304         Cleanups clock and stream_time selection code. Added accessors
22305         for the stream_time.
22306         
22307
22308 2005-07-16  Andy Wingo  <wingo@pobox.com>
22309
22310         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22311         (#305291).
22312
22313 2005-07-16  Wim Taymans  <wim@fluendo.com>
22314
22315         * check/gst/gstbin.c: (GST_START_TEST):
22316         Make elements silent as the deep_notify refs the
22317         parent, which might make the test fail.
22318
22319         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22320         Don't hold the lock for too long.
22321
22322 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22323
22324         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22325           Don't unref the caps we passed to gst_caps_make_writable() after
22326           passing them. gst_caps_make_writable() will do that for us.
22327
22328 2005-07-15  Andy Wingo  <wingo@pobox.com>
22329
22330         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22331         (#157311).
22332
22333         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22334         own marshalling function for the handoff signal. Properly type the
22335         buffer as a buffer. Fixes some warnings. Should do a more general
22336         solution.
22337         (gst_identity_class_init): Plug into the right marshaller.
22338
22339 2005-07-15  Wim Taymans  <wim@fluendo.com>
22340
22341         * docs/design/part-TODO.txt:
22342         * docs/design/part-clocks.txt:
22343         * docs/design/part-element-sink.txt:
22344         * docs/design/part-events.txt:
22345         * docs/design/part-gstpipeline.txt:
22346         Updated docs, mostly DISCONT related.
22347
22348 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22349
22350         * docs/pwg/building-pads.xml:
22351           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22352
22353 2005-07-15  Andy Wingo  <wingo@pobox.com>
22354
22355         * tools/gst-typefind.c: Update, add copyright block.
22356
22357         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22358         Normalize and truncate caps before fixation.
22359
22360         * gst/gstcaps.h:
22361         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22362         discards all but the first structure from its argument.
22363
22364 2005-07-15  Wim Taymans  <wim@fluendo.com>
22365
22366         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22367         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22368         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22369         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22370         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22371         (gst_base_transform_chain), (gst_base_transform_change_state),
22372         (gst_base_transform_set_passthrough),
22373         (gst_base_transform_is_passthrough):
22374         * gst/base/gstbasetransform.h:
22375         Make passthrough work using the bufferpools.
22376         Changed API a bit, subclasses have to write into a buffer
22377         provided by the base class.
22378         More debug info in nego functions.
22379         
22380         * gst/elements/gstidentity.c: (gst_identity_init),
22381         (gst_identity_transform):
22382         Port to new base class.
22383
22384 2005-07-15  Wim Taymans  <wim@fluendo.com>
22385
22386         * gst/gstmessage.c: (gst_message_new_state_changed):
22387         * tools/gst-launch.c: (event_loop), (main):
22388         Totally dump messages in -launch with the -m option.
22389         Fix message name for State messages,
22390
22391 2005-07-14  Wim Taymans  <wim@fluendo.com>
22392
22393         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22394         Post error messages on errors.
22395
22396 2005-07-14  Wim Taymans  <wim@fluendo.com>
22397
22398         * gst/gstcaps.c: (gst_caps_do_simplify):
22399         Remove debug info.
22400
22401         * gst/gsterror.h:
22402         Define error for stream stopped.
22403
22404         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22405         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22406         Do proper return values.
22407
22408         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22409         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22410         (gst_pad_get_range):
22411         Better return values.
22412
22413         * gst/gstpad.h:
22414         Reorganise return values, add macro to check for fatal errors.
22415
22416         * gst/gstqueue.c: (gst_queue_chain):
22417         Return proper GstFlowReturn values,
22418
22419 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22420
22421         * docs/gst/gstreamer-sections.txt:
22422         * docs/gst/gstreamer.types:
22423         * docs/gst/tmpl/gst.sgml:
22424         * docs/gst/tmpl/gstbasesink.sgml:
22425         * docs/gst/tmpl/gstbasesrc.sgml:
22426         * docs/gst/tmpl/gstbasetransform.sgml:
22427         * docs/gst/tmpl/gstbin.sgml:
22428         * docs/gst/tmpl/gstbuffer.sgml:
22429         * docs/gst/tmpl/gstcaps.sgml:
22430         * docs/gst/tmpl/gstclock.sgml:
22431         * docs/gst/tmpl/gstcompat.sgml:
22432         * docs/gst/tmpl/gstconfig.sgml:
22433         * docs/gst/tmpl/gstelement.sgml:
22434         * docs/gst/tmpl/gstelementdetails.sgml:
22435         * docs/gst/tmpl/gstelementfactory.sgml:
22436         * docs/gst/tmpl/gstenumtypes.sgml:
22437         * docs/gst/tmpl/gsterror.sgml:
22438         * docs/gst/tmpl/gstevent.sgml:
22439         * docs/gst/tmpl/gstfakesink.sgml:
22440         * docs/gst/tmpl/gstfakesrc.sgml:
22441         * docs/gst/tmpl/gstfilesink.sgml:
22442         * docs/gst/tmpl/gstfilesrc.sgml:
22443         * docs/gst/tmpl/gstfilter.sgml:
22444         * docs/gst/tmpl/gstformat.sgml:
22445         * docs/gst/tmpl/gstghostpad.sgml:
22446         * docs/gst/tmpl/gstimplementsinterface.sgml:
22447         * docs/gst/tmpl/gstindex.sgml:
22448         * docs/gst/tmpl/gstindexfactory.sgml:
22449         * docs/gst/tmpl/gstinfo.sgml:
22450         * docs/gst/tmpl/gstiterator.sgml:
22451         * docs/gst/tmpl/gstmacros.sgml:
22452         * docs/gst/tmpl/gstmemchunk.sgml:
22453         * docs/gst/tmpl/gstminiobject.sgml:
22454         * docs/gst/tmpl/gstobject.sgml:
22455         * docs/gst/tmpl/gstpad.sgml:
22456         * docs/gst/tmpl/gstpadtemplate.sgml:
22457         * docs/gst/tmpl/gstparse.sgml:
22458         * docs/gst/tmpl/gstpipeline.sgml:
22459         * docs/gst/tmpl/gstplugin.sgml:
22460         * docs/gst/tmpl/gstpluginfeature.sgml:
22461         * docs/gst/tmpl/gstquery.sgml:
22462         * docs/gst/tmpl/gstqueue.sgml:
22463         * docs/gst/tmpl/gstregistry.sgml:
22464         * docs/gst/tmpl/gstregistrypool.sgml:
22465         * docs/gst/tmpl/gstscheduler.sgml:
22466         * docs/gst/tmpl/gstschedulerfactory.sgml:
22467         * docs/gst/tmpl/gststructure.sgml:
22468         * docs/gst/tmpl/gstsystemclock.sgml:
22469         * docs/gst/tmpl/gsttaglist.sgml:
22470         * docs/gst/tmpl/gsttagsetter.sgml:
22471         * docs/gst/tmpl/gsttrace.sgml:
22472         * docs/gst/tmpl/gsttrashstack.sgml:
22473         * docs/gst/tmpl/gsttypefind.sgml:
22474         * docs/gst/tmpl/gsttypefindfactory.sgml:
22475         * docs/gst/tmpl/gsttypes.sgml:
22476         * docs/gst/tmpl/gsturihandler.sgml:
22477         * docs/gst/tmpl/gsturitype.sgml:
22478         * docs/gst/tmpl/gstutils.sgml:
22479         * docs/gst/tmpl/gstvalue.sgml:
22480         * docs/gst/tmpl/gstversion.sgml:
22481         * docs/gst/tmpl/gstxml.sgml:
22482         * docs/libs/tmpl/gstcontrol.sgml:
22483         * docs/libs/tmpl/gstdataprotocol.sgml:
22484         * docs/libs/tmpl/gstdparam.sgml:
22485         * docs/libs/tmpl/gstdplinint.sgml:
22486         * docs/libs/tmpl/gstdpman.sgml:
22487         * docs/libs/tmpl/gstdpsmooth.sgml:
22488         * docs/libs/tmpl/gstgetbits.sgml:
22489         * docs/libs/tmpl/gstunitconvert.sgml:
22490         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22491         (gst_push_src_base_init), (gst_push_src_class_init),
22492         (gst_push_src_init), (gst_push_src_create):
22493         * gst/base/gstpushsrc.h:
22494         * gst/elements/gstelements.c:
22495         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22496         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22497         (gst_fake_sink_init), (gst_fake_sink_set_property),
22498         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22499         (gst_fake_sink_event), (gst_fake_sink_preroll),
22500         (gst_fake_sink_render), (gst_fake_sink_change_state):
22501         * gst/elements/gstfakesink.h:
22502         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22503         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22504         (gst_fake_src_base_init), (gst_fake_src_class_init),
22505         (gst_fake_src_init), (gst_fake_src_event_handler),
22506         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22507         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22508         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22509         (gst_fake_src_create_buffer), (gst_fake_src_create),
22510         (gst_fake_src_start), (gst_fake_src_stop):
22511         * gst/elements/gstfakesrc.h:
22512         * gst/elements/gstfilesink.c: (_do_init),
22513         (gst_file_sink_base_init), (gst_file_sink_class_init),
22514         (gst_file_sink_init), (gst_file_sink_dispose),
22515         (gst_file_sink_set_location), (gst_file_sink_set_property),
22516         (gst_file_sink_get_property), (gst_file_sink_open_file),
22517         (gst_file_sink_close_file), (gst_file_sink_query),
22518         (gst_file_sink_event), (gst_file_sink_render),
22519         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22520         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22521         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22522         * gst/elements/gstfilesink.h:
22523         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22524         (gst_file_src_class_init), (gst_file_src_init),
22525         (gst_file_src_finalize), (gst_file_src_set_location),
22526         (gst_file_src_set_property), (gst_file_src_get_property),
22527         (gst_file_src_map_region), (gst_file_src_map_small_region),
22528         (gst_file_src_create_mmap), (gst_file_src_create_read),
22529         (gst_file_src_create), (gst_file_src_is_seekable),
22530         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22531         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22532         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22533         (gst_file_src_uri_handler_init):
22534         * gst/elements/gstfilesrc.h:
22535           more autistic cleanliness in functions/names/defines
22536
22537 2005-07-13  Andy Wingo  <wingo@pobox.com>
22538
22539         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22540         source couldn't negotiate.
22541
22542         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22543         connections again.
22544
22545         * gst/gstutils.h:
22546         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22547         function. I am channeling Hades. Put your boots on suckers!!!
22548
22549 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22550
22551         * testsuite/caps/Makefile.am:
22552         * testsuite/caps/value_compare.c:
22553         * testsuite/caps/value_intersect.c:
22554         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22555           move two testsuite apps over to the check dir
22556
22557 2005-07-12  Wim Taymans  <wim@fluendo.com>
22558
22559         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22560         Added more debug info in the negotiate process.
22561
22562         * gst/gstmessage.h:
22563         Prepare for segment playback.
22564
22565         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22566         Better debugging.
22567
22568         * gst/gstutils.c:
22569         Some more docs.
22570
22571         * tools/gst-launch.c: (main):
22572         NULL pipeline on errors.
22573
22574 2005-07-12  Andy Wingo  <wingo@pobox.com>
22575
22576         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22577         not it comes from a malloc region. Make sure our copy gets freed.
22578
22579 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22580
22581         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22582         * check/gst/gstmessage.c: (GST_START_TEST):
22583         * check/gst/gststructure.c: (GST_START_TEST),
22584         (gst_structure_suite), (main):
22585           more testing
22586         * gst/gstelement.c: (gst_element_message_full):
22587           clean up GError and debug string now that they get copied
22588         * gst/gstmessage.c: (gst_message_new_error),
22589         (gst_message_new_warning), (gst_message_parse_error),
22590         (gst_message_parse_warning):
22591           use GST_TYPE_G_ERROR for structure_new, and take copies of
22592           arguments, so that we don't mess up refcounting
22593
22594 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22595
22596         * check/Makefile.am:
22597           add per-test valgrind targets
22598         * check/gst-libs/gdp.c: (GST_START_TEST),
22599         (gst_data_protocol_suite), (main):
22600           clean up
22601
22602 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22603
22604         * check/Makefile.am:
22605           instate more valgrindable tests
22606         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22607         (GST_START_TEST), (fakesrc_suite):
22608         * check/gst/gstpad.c: (GST_START_TEST):
22609         * check/gst/gststructure.c: (GST_START_TEST):
22610           fix test leaks
22611         * docs/gst/tmpl/gstminiobject.sgml:
22612         * gst/gstpad.c: (gst_pad_finalize):
22613           fix the static mutex leak
22614
22615 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22616
22617         * check/Makefile.am:
22618           add two more tests for valgrinding
22619         * check/gst/gstvalue.c: (GST_START_TEST):
22620           test refcount of deserialized buffer, found a leak
22621         * docs/gst/gstreamer-docs.sgml:
22622         * docs/gst/gstreamer-sections.txt:
22623         * docs/gst/gstreamer.types:
22624         * docs/gst/tmpl/gstminiobject.sgml:
22625           add miniobject to docs
22626         * gst/gstminiobject.c:
22627           add some docs
22628         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22629         (gst_string_unwrap):
22630           fix a hard-to-find invalid write for one of the tests
22631           fix a leak for deserialized buffers
22632
22633 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22634
22635         * docs/pwg/advanced-events.xml:
22636         * docs/pwg/advanced-request.xml:
22637         * docs/pwg/advanced-scheduling.xml:
22638         * docs/pwg/appendix-porting.xml:
22639         * docs/pwg/building-boiler.xml:
22640         * docs/pwg/intro-preface.xml:
22641         * docs/pwg/other-ntoone.xml:
22642           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22643           of example code and explanation for pad activation, loop() and
22644           getrange() functions and a bit more. Remove old comments pointing
22645           to loop-functions.
22646         * examples/pwg/Makefile.am:
22647           Add loop/getrange examples.
22648
22649 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22650
22651         * configure.ac:
22652           check for valgrind binary + some fixes
22653         * check/gst.supp:
22654           valgrind suppressions for the tests
22655         * check/Makefile.am:
22656           add a valgrind: target that valgrinds the unit tests
22657         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22658         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22659         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22660         * check/gst/gstghostpad.c:
22661           added some cleanup
22662         * check/gst/gstdata.c:
22663           removed
22664         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22665         (thread_unref), (gst_mini_object_suite), (main):
22666           added
22667         * gst/gst.c: (gst_deinit):
22668         * gst/gst.h:
22669           add a method to clean up.
22670         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22671         (gst_system_clock_obtain):
22672           allow for disposing the system clock.
22673         * tools/gst-launch.c: (main):
22674           deinit
22675
22676 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22677
22678         * docs/gst/tmpl/gstbasesrc.sgml:
22679         * docs/gst/tmpl/gstfakesrc.sgml:
22680         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22681         (gst_base_src_init), (gst_base_src_set_property),
22682         (gst_base_src_get_property), (gst_base_src_get_range),
22683         (gst_base_src_start):
22684         * gst/base/gstbasesrc.h:
22685           add num-buffers property
22686         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22687         (gst_fakesrc_init), (gst_fakesrc_set_property),
22688         (gst_fakesrc_get_property), (gst_fakesrc_create),
22689         (gst_fakesrc_start):
22690           remove num-buffers property
22691
22692 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22693
22694         * docs/gst/gstreamer-sections.txt:
22695         * docs/gst/tmpl/gstbasesink.sgml:
22696         * docs/gst/tmpl/gstbasesrc.sgml:
22697         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22698         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22699         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22700         (gst_base_sink_set_property), (gst_base_sink_get_property),
22701         (gst_base_sink_handle_object), (gst_base_sink_event),
22702         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22703         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22704         (gst_base_sink_loop), (gst_base_sink_deactivate),
22705         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22706         (gst_base_sink_change_state):
22707         * gst/base/gstbasesink.h:
22708         * gst/base/gstbasesrc.h:
22709         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22710         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22711         (gst_filesink_init):
22712           more macro splitting
22713
22714 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22715
22716         * gst/gstelement.c: (gst_element_get_bus):
22717           add debug
22718         * tools/gst-launch.c: (check_intr), (event_loop):
22719           fix bus leaks
22720
22721 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22722
22723         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22724           fix a caps leak
22725
22726 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22727
22728         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22729         (gst_base_src_finalize):
22730           add finalize method and clean up properly
22731         * gst/gstpipeline.c: (gst_pipeline_dispose):
22732           add debug
22733
22734 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22735
22736         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22737         (gst_bin_suite):
22738           add more things to check
22739         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22740         * gst/gstelement.c:
22741           more debug
22742
22743 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22744
22745         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22746         (GST_START_TEST), (fakesrc_suite):
22747         * check/gst-libs/gdp.c: (GST_START_TEST):
22748         * check/gst/gst.c: (GST_START_TEST):
22749         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22750         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22751         * check/gst/gstbus.c: (GST_START_TEST):
22752         * check/gst/gstcaps.c: (GST_START_TEST):
22753         * check/gst/gstdata.c: (GST_START_TEST):
22754         * check/gst/gstelement.c: (GST_START_TEST):
22755         * check/gst/gstghostpad.c: (GST_START_TEST):
22756         * check/gst/gstiterator.c: (GST_START_TEST):
22757         * check/gst/gstmessage.c: (GST_START_TEST):
22758         * check/gst/gstobject.c: (GST_START_TEST):
22759         * check/gst/gstpad.c: (GST_START_TEST):
22760         * check/gst/gststructure.c: (GST_START_TEST):
22761         * check/gst/gstsystemclock.c: (GST_START_TEST),
22762         (gst_systemclock_suite):
22763         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22764         * check/gst/gstvalue.c: (GST_START_TEST):
22765         * check/pipelines/cleanup.c: (GST_START_TEST):
22766         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22767         * check/states/sinks.c: (GST_START_TEST):
22768         * check/gstcheck.c: (gst_check_init):
22769         * check/gstcheck.h:
22770           add debugging category
22771           use GST_START_TEST now, so we add a debug line
22772
22773 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22774
22775         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22776           add test for state change message on a bin
22777         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22778           add another test
22779         * gst/gstbin.c: (gst_bin_init):
22780         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22781         * gst/gstelement.c: (gst_element_post_message),
22782         (gst_element_set_state):
22783         * gst/gstelementfactory.c: (gst_element_factory_create):
22784         * gst/gstmessage.c: (gst_message_new):
22785         * gst/gstscheduler.c:
22786           various debugging additions and cleanups
22787
22788 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22789
22790         * check/Makefile.am:
22791         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22792         (main):
22793           adding tests for elements
22794         * gst/gstelement.c: (gst_element_dispose):
22795
22796 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22797
22798         * gst/registries/gstlibxmlregistry.c: (load_feature):
22799           plug more leaks.  A simple gst_init() now is leakfree, yay.
22800
22801 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22802
22803         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22804         (gst_xml_registry_load):
22805           plug another memleak
22806
22807 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22808
22809         * configure.ac:
22810           use GST_SET_ERROR_CFLAGS
22811         * docs/faq/cvs.xml:
22812           change to ERROR_CFLAGS
22813
22814 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22815
22816         * configure.ac:
22817           make GST_ERROR_CFLAGS overridable and re-enable Werror
22818         * docs/faq/cvs.xml:
22819           add a note about error CFLAGS
22820         * docs/gst/tmpl/gstfakesrc.sgml:
22821         * gst/elements/gstfakesrc.c:
22822           comment out some unused code
22823         * gst/gst.c: (split_and_iterate):
22824         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22825         (load_feature):
22826           plug some memleaks
22827
22828 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22829
22830         * common/Makefile.am:
22831         * common/gtk-doc.mak:
22832         * docs/gst/Makefile.am:
22833           factor out gtk-doc.mak
22834
22835 2005-07-07  Wim Taymans  <wim@fluendo.com>
22836
22837         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22838         (gst_thread_scheduler_dispose):
22839         Unlock the STREAM_LOCK completely.
22840
22841 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22842
22843         * check/Makefile.am:
22844         * check/elements/.cvsignore:
22845         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22846         (START_TEST), (fakesrc_suite), (main):
22847         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22848         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22849         (gst_fakesrc_create), (gst_fakesrc_start):
22850         * gst/elements/gstfakesrc.h:
22851           adding a first element test
22852
22853 2005-07-07  Andy Wingo  <wingo@pobox.com>
22854
22855         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22856         debug message.
22857
22858 2005-07-07  Wim Taymans  <wim@fluendo.com>
22859
22860         * gst/gstquery.c:
22861         * gst/gstquery.h:
22862         Remove old types
22863
22864 2005-07-07  Wim Taymans  <wim@fluendo.com>
22865
22866         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22867         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22868         Allow subclasses to implement their own negotiation.
22869
22870 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22871
22872         * docs/design/part-gstbin.txt:
22873         * docs/design/part-gstpipeline.txt:
22874           Update design notes to reflect the movement of
22875           responsibility for bus handling from GstPipeline to
22876           GstBin
22877
22878 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22879
22880         * configure.ac:
22881           Remove unnecessary queue2/3/4 examples.
22882
22883 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22884
22885         * examples/Makefile.am:
22886         * examples/helloworld/helloworld.c: (event_loop), (main):
22887         * examples/queue/queue.c: (event_loop), (main):
22888         * examples/queue2/queue2.c: (main):
22889           Update a couple of the examples to work again.
22890
22891         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22892         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22893          Spelling corrections and extra debug.
22894         
22895         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22896         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22897         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22898         * gst/gstbin.h:
22899         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22900         (gst_pipeline_change_state):
22901         * gst/gstpipeline.h:
22902           Move the bus handler for children to the GstBin, and create a
22903           separate bus for receiving messages from children to the one the
22904           bus sends 'upwards' on.
22905
22906 2005-07-06  Wim Taymans  <wim@fluendo.com>
22907
22908         * gst/base/README:
22909         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22910         (gst_base_sink_handle_object), (gst_base_sink_loop),
22911         (gst_base_sink_change_state):
22912         * gst/base/gstbasesink.h:
22913         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22914         (gst_base_src_init), (gst_base_src_setcaps),
22915         (gst_base_src_getcaps), (gst_base_src_loop),
22916         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22917         (gst_base_src_start), (gst_base_src_change_state):
22918         * gst/base/gstbasesrc.h:
22919         Make basesrc negotiate.
22920         Handle the case where preroll fails in basesink.
22921         Update README.
22922
22923 2005-07-06  Wim Taymans  <wim@fluendo.com>
22924
22925         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22926         Implement the fixate function.
22927         Clean up acceptcaps.
22928
22929 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22930
22931         * docs/pwg/building-filterfactory.xml:
22932         * docs/pwg/pwg.xml:
22933           Remove never-written filter-factory chapter; I'll add the various
22934           base classes to part 4 ("other element types") later on.
22935
22936 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22937
22938         * docs/pwg/advanced-negotiation.xml:
22939         * docs/pwg/building-boiler.xml:
22940         * docs/pwg/building-pads.xml:
22941         * docs/pwg/pwg.xml:
22942         * examples/pwg/Makefile.am:
22943           Add a chapter on caps negotiation, simplify the original code
22944           samples a bit w.r.t. caps negotiation, add link to the advanced
22945           section. Add a bunch of examples showing different use cases of
22946           different types of caps negotiation. Upstream renegotiation isn't
22947           fully documented yet since nobody knows how that works.
22948
22949 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22950
22951         * check/gst/gstpad.c:
22952         * check/gstcheck.c:
22953         * gst/gstpad.c: (gst_pad_get_internal_links_default):
22954           if pad has no parent, return NULL as list of internal links
22955
22956 2005-07-05  Andy Wingo  <wingo@pobox.com>
22957
22958         * gst/elements/gstfilesrc.c:
22959         * gst/elements/gstfakesrc.c: 
22960         * gst/base/gstpushsrc.c:
22961         * gst/base/gstbasesrc.h: 
22962         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22963         
22964 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
22965
22966         * Makefile.am:
22967           better report generation target (lcov needs a patch)
22968
22969 2005-07-05  Andy Wingo  <wingo@pobox.com>
22970
22971         * gst/elements, testsuite: Null if we got it...
22972
22973 2005-07-05  Wim Taymans  <wim@fluendo.com>
22974
22975         * configure.ac:
22976         * libs/gst/dataprotocol/Makefile.am:
22977         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22978         * libs/gst/dataprotocol/dataprotocol.h:
22979         * pkgconfig/Makefile.am:
22980         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22981         * pkgconfig/gstreamer-dataprotocol.pc.in:
22982         Ported dataprotol to 0.9. 
22983         Added pkgconfig files.
22984
22985 2005-07-05  Andy Wingo  <wingo@pobox.com>
22986
22987         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22988         Default to returning TRUE for the case when tranform_caps returns
22989         a fixed caps, like for identity or volume.
22990
22991         * check/gst/gstbus.c (pound_bus_with_messages): 
22992         * check/gst/gstmessage.c (START_TEST): 
22993         * check/pipelines/simple_launch_lines.c (got_handoff): Application
22994         message API change.
22995
22996         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22997         logic weaks here: always run transform_caps, trying passthrough
22998         operation only if the original caps intersects with the transform.
22999
23000         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23001         source and sink caps.
23002
23003         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23004         Intersect the peer caps with the pad template before going into
23005         transform_caps.
23006         (gst_base_transform_transform_caps): More debugging.
23007
23008         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23009         src argument.
23010
23011 2005-07-04  Edward Hervey  <edward@fluendo.com>
23012
23013         * gst/gstutils.c:
23014         * gst/gstutils.h:
23015         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23016         in bindings.
23017
23018 2005-07-04  Andy Wingo  <wingo@pobox.com>
23019
23020         * check/gst/gstpad.c: Only set explicit caps on pads.
23021
23022 2005-07-01  Andy Wingo  <wingo@pobox.com>
23023
23024         * tests/network-clock.scm: Commentary update.
23025
23026         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23027         Didn't really make sense, not implementable with basetransform,
23028         etc.
23029         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23030         attempt at implementing the sync property, needs an unlock method.
23031
23032         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23033         New func, by default returns the same caps (the identity
23034         transformation).
23035         (gst_base_transform_getcaps): Uses transform_caps to return
23036         something sensible.
23037         (gst_base_transform_setcaps): Complicated logic to get caps on
23038         both pads, even if they are different, and to call set_caps once
23039         for every time both pads get their caps set.
23040         (gst_base_transform_handle_buffer): Give the ref to the transform
23041         function. Allows in-place modification of the buffer.
23042
23043         * gst/base/gstbasetransform.h (transform_caps): New class method.
23044         Given caps on one side, what can I do on the other.
23045         (set_caps): Take two caps, one for each side of the element.
23046
23047         * gst/gstpad.h:
23048         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23049         caps in place. This is safe because we can check the mutability of
23050         the caps, and a good idea because fixate functions are just called
23051         as a matter of last resort. (Not actually implemented.)
23052         (gst_pad_set_caps): If the caps we're setting is actually the same
23053         as the existing pad caps, just update the pointer without calling
23054         setcaps. Assert that caps is either NULL or fixed, as per the
23055         docs.
23056
23057         * gst/gstghostpad.c: Update for fixate changes.
23058
23059 2005-07-02  Andy Wingo  <wingo@pobox.com>
23060
23061         * gst/gstcaps.c:
23062         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23063         two refcounts makes it immutable, which is enough. Doc more.
23064
23065 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23066
23067         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23068           Put the mini_object into GValue as a mini_object,
23069           not a gpointer, since that's how we declared
23070           the signal.
23071
23072 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23073
23074         * examples/pwg/Makefile.am:
23075           Fix buildbot again.
23076
23077 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23078
23079         * docs/pwg/building-testapp.xml:
23080           Add extra check.
23081         * examples/pwg/Makefile.am:
23082           Fix buildbot.
23083
23084 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23085
23086         * configure.ac:
23087         * examples/Makefile.am:
23088         * examples/pwg/Makefile.am:
23089         * examples/pwg/extract.pl:
23090           Enable building the PWG examples.
23091         * docs/pwg/advanced-interfaces.xml:
23092           Add URI interface stub.
23093         * docs/pwg/advanced-types.xml:
23094         * docs/pwg/other-autoplugger.xml:
23095         * docs/pwg/appendix-porting.xml:
23096         * docs/pwg/pwg.xml:
23097           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23098         * docs/pwg/building-boiler.xml:
23099         * docs/pwg/building-chainfn.xml:
23100         * docs/pwg/building-pads.xml:
23101         * docs/pwg/building-props.xml:
23102         * docs/pwg/building-state.xml:
23103         * docs/pwg/building-testapp.xml:
23104           Update the building-*.xml parts for 0.9 changes. All examples
23105           code blocks compile in examples/pwg/*.
23106
23107 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23108
23109         * docs/manual/advanced-autoplugging.xml:
23110         * docs/manual/appendix-checklist.xml:
23111         * docs/manual/appendix-integration.xml:
23112         * docs/manual/highlevel-components.xml:
23113           Fix playbin/decodebin examples, update docs a bit, mention bus
23114           instead of signals in various places, mention kmplayer and
23115           kaffeine since they have a working GStreamer backend in the KDE
23116           section.
23117
23118 2005-06-30  Wim Taymans  <wim@fluendo.com>
23119
23120         * CHANGES-0.9:
23121         * docs/design/draft-ghostpads.txt:
23122         * docs/design/draft-push-pull.txt:
23123         * docs/design/draft-query.txt:
23124         * docs/design/part-TODO.txt:
23125         * docs/design/part-query.txt:
23126         Added CHANGES-0.9 doc, updated status of other docs.
23127         
23128         * gst/gstquery.h:
23129         Remove "hmm" macro
23130
23131 2005-06-30  Wim Taymans  <wim@fluendo.com>
23132
23133         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23134         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23135         (gst_base_sink_change_state):
23136         * gst/base/gstbasesink.h:
23137         Some tweaks, only EOS and a buffer complete a preroll.
23138
23139 2005-06-30  Andy Wingo  <wingo@pobox.com>
23140
23141         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23142         activate_push down to the internal pad as well.
23143
23144 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23145
23146         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23147
23148         * gst/gsttaginterface.c:
23149           Some documentation fixes (#307394 and #307397).
23150
23151 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23152
23153         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23154
23155         * gst/gstvalue.c: (gst_value_intersect_list):
23156           Fix memleak (#309125).
23157
23158 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23159
23160         * docs/manual/advanced-dataaccess.xml:
23161           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23162         * docs/manual/basics-pads.xml:
23163           Add reference for filtered caps to above chapter.
23164
23165 2005-06-30  Wim Taymans  <wim@fluendo.com>
23166
23167         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23168         (gst_bin_change_state):
23169         Probes are gone.
23170         Lame attempt at making the state change function a bit
23171         more readable.
23172
23173 2005-06-30  Wim Taymans  <wim@fluendo.com>
23174
23175         * docs/design/part-clocks.txt:
23176         * docs/design/part-element-sink.txt:
23177         * docs/design/part-events.txt:
23178         * docs/design/part-preroll.txt:
23179         * docs/design/part-states.txt:
23180         Some more tweeks and additions to the docs.
23181
23182 2005-06-30  Wim Taymans  <wim@fluendo.com>
23183
23184         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23185         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23186         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23187         (gst_pad_check_pull_range), (gst_pad_get_range),
23188         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23189         * gst/gstpad.h:
23190         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23191         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23192         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23193         (gst_pad_remove_buffer_probe):
23194         Removed atomic operations, use existing LOCK.
23195         Move exception handling out of main code path.
23196
23197 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23198
23199         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23200         (silly_return_true_function), (gst_pad_class_init),
23201         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23202         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23203         (gst_pad_send_event):
23204           Fix accumulator, add default value by using _emitv() instead
23205           of _emit() for signal emission.
23206
23207 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23208
23209         * docs/manual/advanced-dataaccess.xml:
23210         * examples/manual/Makefile.am:
23211           Add probe example.
23212         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23213           Make work (??).
23214
23215 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23216
23217         * gst/elements/gstfilesink.c: (gst_filesink_render):
23218           Simplify code so that we don't have to handle short
23219           writes and return GST_FLOW_ERROR if an error occured.
23220
23221 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23222
23223         * docs/gst/gstreamer-docs.sgml:
23224           Remove probes more.
23225
23226 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23227
23228         * docs/gst/gstreamer-sections.txt:
23229         * docs/gst/tmpl/gstpad.sgml:
23230         * docs/gst/tmpl/gstprobe.sgml:
23231         * gst/Makefile.am:
23232         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23233         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23234         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23235         (gst_pad_push_event), (gst_pad_send_event):
23236         * gst/gstpad.h:
23237         * gst/gstutils.c: (gst_pad_add_data_probe),
23238         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23239         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23240         (gst_pad_remove_buffer_probe):
23241         * gst/gstutils.h:
23242           Remove old probes, add new g-signal-based probes and some utility
23243           functions.
23244
23245 2005-06-29  Edward Hervey  <edward@fluendo.com>
23246
23247         * gst/gstelementfactory.c:
23248         * gst/gstutils.h:
23249         * gst/gstutils.c:
23250         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23251         the definition to the header file.
23252
23253 2005-06-29  Andy Wingo  <wingo@pobox.com>
23254
23255         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23256         plugins from the source directory.
23257
23258 2005-06-29  Wim Taymans  <wim@fluendo.com>
23259
23260         * docs/gst/tmpl/gstbuffer.sgml:
23261         * docs/gst/tmpl/gstclock.sgml:
23262         Some fixings for blantently wrong text.
23263
23264 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23265
23266         * check/Makefile.am:
23267         * gst/gst.c: (add_path_func), (init_pre):
23268         * gst/gstregistry.c: (gst_registry_add_path):
23269           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23270           only scan the GST_PLUGIN_PATH locations, and not add
23271           system locations
23272
23273 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23274
23275         * docs/gst/gstreamer-sections.txt:
23276         * docs/gst/tmpl/gstbasesrc.sgml:
23277         * gst/gstelement.c:
23278         * gst/gstelement.h:
23279         * gst/gstevent.c:
23280         * gst/gstutils.c:
23281           doc fixes
23282
23283 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23284
23285         * docs/manual/advanced-autoplugging.xml:
23286           Fix autoplugging example.
23287
23288 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23289
23290         * docs/manual/advanced-autoplugging.xml:
23291         * docs/manual/mime-world.fig:
23292           Try to get autoplugging working, fix type detection. Fix text
23293           in hello-world image.
23294
23295 2005-06-29  Wim Taymans  <wim@fluendo.com>
23296
23297         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23298         (gst_base_sink_change_state):
23299         Small debug line.
23300
23301         * gst/gstclock.h:
23302         map SIGNAL and BROADCAST to the right function.
23303
23304         * gst/gstobject.h:
23305         Remove redundant braces.
23306
23307         * gst/gstpad.c: (gst_pad_set_caps):
23308         Don't call setcaps function when reseting caps to NULL.
23309
23310         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23311         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23312         (gst_system_clock_id_unschedule):
23313         Use BROADCAST as this is what we do.
23314
23315 2005-06-29  Wim Taymans  <wim@fluendo.com>
23316
23317         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23318         We are actually prerolling before commiting the state
23319         change. 
23320
23321 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23322
23323         * docs/manual/advanced-clocks.xml:
23324         * docs/manual/advanced-interfaces.xml:
23325         * docs/manual/advanced-metadata.xml:
23326         * docs/manual/advanced-position.xml:
23327         * docs/manual/advanced-schedulers.xml:
23328         * docs/manual/advanced-threads.xml:
23329         * docs/manual/appendix-porting.xml:
23330         * docs/manual/basics-bins.xml:
23331         * docs/manual/basics-bus.xml:
23332         * docs/manual/basics-elements.xml:
23333         * docs/manual/basics-helloworld.xml:
23334         * docs/manual/basics-pads.xml:
23335         * docs/manual/highlevel-components.xml:
23336         * docs/manual/manual.xml:
23337         * docs/manual/thread.fig:
23338           Update (until threads/scheduling) Application Development Manual;
23339           remove GstThread, add GstBus, add simple porting checklist, add
23340           documentation for tag writing, clocks, make all examples until this
23341           part compile and run.
23342         * examples/manual/Makefile.am:
23343           Update from changes to Application Development Manual; add bus
23344           example, remove thread example.
23345
23346 2005-06-28  Wim Taymans  <wim@fluendo.com>
23347
23348         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23349         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23350         (gst_bus_source_dispatch):
23351         Add debugging messages.
23352         Make internal methods static.
23353         Handle the case where the bus is flushed in the handler.
23354         
23355         * gst/gstelement.c: (gst_element_get_bus):
23356         Fix refcount in _get_bus();
23357
23358         * gst/gstpipeline.c: (gst_pipeline_change_state),
23359         (gst_pipeline_get_clock_func):
23360         Clock refcounting fixes.
23361         Handle the case where preroll timed out more gracefully.
23362         
23363         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23364         Clean up the internal thread in dispose. This is needed
23365         for subclasses that actually get disposed.
23366         
23367         * gst/schedulers/threadscheduler.c:
23368         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23369         (gst_thread_scheduler_dispose):
23370         Free thread pool in dispose.
23371
23372 2005-06-28  Andy Wingo  <wingo@pobox.com>
23373
23374         * tests/network-clock-utils.scm (debug, print-event): New utils.
23375
23376         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23377         (*packet-loss*): Unified loss probability.
23378         (network-time): Report out-of-band events.
23379
23380         * tests/plot-data: Add support for out-of-band events. Hack it
23381         into this script instead of passing it down the pipe; should fix
23382         this later.
23383
23384 2005-06-28  Wim Taymans  <wim@fluendo.com>
23385
23386         * docs/gst/gstreamer.types:
23387         * docs/gst/tmpl/gstbasesrc.sgml:
23388         * docs/gst/tmpl/gstpad.sgml:
23389         Docs fixes.
23390
23391 2005-06-28  Wim Taymans  <wim@fluendo.com>
23392
23393         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23394         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23395         (gst_proxy_pad_do_fixatecaps):
23396         Correctly proxy the check_pull_range function.
23397
23398 2005-06-28  Andy Wingo  <wingo@pobox.com>
23399
23400         * tests/network-clock.scm: Removed need for slib.
23401         
23402 2005-06-28  Wim Taymans  <wim@fluendo.com>
23403
23404         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23405         (gst_basesink_preroll_queue_flush):
23406         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23407         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23408         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23409         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23410         (gst_proxy_pad_set_property):
23411         * gst/gstpad.c:
23412         * gst/gstpad.h:
23413         * gst/gstqueue.c: (gst_queue_init):
23414         The deprecated pad loop function is removed now.
23415
23416 2005-06-28  Andy Wingo  <wingo@pobox.com>
23417
23418         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23419         New parameters, simulate network packet loss.
23420
23421         * tests/network-clock-utils.scm: Initialize the RNG.
23422
23423 2005-06-28  Wim Taymans  <wim@fluendo.com>
23424
23425         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23426         (gst_basesink_event), (gst_basesink_deactivate):
23427         Flushing the preroll queue always needs to unlock the waiters.
23428
23429 2005-06-28  Edward Hervey  <edward@fluendo.com>
23430
23431         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23432         Wheen a seek was successful on a pipeline, set the stream_time to the
23433         seek offset in order to have a synchronized stream_time.
23434
23435 2005-06-28  Wim Taymans  <wim@fluendo.com>
23436
23437         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23438         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23439         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23440         (gst_proxy_pad_do_fixatecaps):
23441         Call wrapper function instead of just calling the function
23442         pointers. This takes care of any locking and whatmore.
23443
23444 2005-06-28  Wim Taymans  <wim@fluendo.com>
23445
23446         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23447         (gst_pad_pull_range):
23448         * gst/gstpad.h:
23449         CONNECTED -> LINKED.
23450
23451 2005-06-28  Andy Wingo  <wingo@pobox.com>
23452
23453         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23454         source-munging commit!!!
23455
23456         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23457         (gst_object_sink): Take gpointer arguments, not GstObject --
23458         avoids casts. Like GLib.
23459
23460         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23461         activate.
23462
23463 2005-06-27  Andy Wingo  <wingo@pobox.com>
23464
23465         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23466         remaining buffer.
23467
23468         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23469         returns a sorted copy of the trace list.
23470         (gst_alloc_trace_print_live): New API, only prints traces with
23471         live objects. Sort the list.
23472         (gst_alloc_trace_print_all): Sort the list.
23473         (gst_alloc_trace_print): Align columns.
23474
23475         * gst/elements/gstttypefindelement.c:
23476         * gst/elements/gsttee.c:
23477         * gst/base/gstbasesrc.c:
23478         * gst/base/gstbasesink.c:
23479         * gst/base/gstbasetransform.c:
23480         * gst/gstqueue.c: Adapt for pad activation changes.
23481
23482         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23483         sched.
23484         (gst_pipeline_dispose): Drop ref on sched.
23485
23486         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23487         (gst_pad_activate_default): Push mode by default.
23488         (pre_activate_switch, post_activate_switch): New stubs, things to
23489         do before and after switching activation modes on pads.
23490         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23491         the pad's activate function to choose which mode to activate.
23492         Shortcut on deactivation and call the right function directly.
23493         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23494         mode.
23495         (gst_pad_activate_push): New API, same for push mode.
23496         (gst_pad_set_activate_function) 
23497         (gst_pad_set_activatepull_function) 
23498         (gst_pad_set_activatepush_function): Setters for new API.
23499
23500         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23501         Trace all miniobjects.
23502         (gst_mini_object_make_writable): Unref the arg if we copy, like
23503         gst_caps_make_writable.
23504
23505         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23506
23507         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23508         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23509         Adapt for new pad API.
23510
23511         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23512
23513         * gst/gstelement.h:
23514         * gst/gstelement.c (gst_element_iterate_src_pads) 
23515         (gst_element_iterate_sink_pads): New API functions.
23516         
23517         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23518         should fold into gstiterator.c in some form.
23519         (gst_element_pads_activate): Simplified via use of fold and
23520         delegation of decisions to gstpad->activate.
23521
23522         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23523         help in debugging.
23524
23525         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23526         class once in init, like gstmessage. Didn't run into this issue
23527         but it seems correct. Don't initialize a trace, gstminiobject does
23528         that.
23529
23530         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23531         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23532         to the bus.
23533         (assert_live_count): New util function, uses alloc traces to check
23534         cleanup.
23535
23536         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23537         To be modified when unlink drops the internal pad.
23538
23539 2005-06-27  Wim Taymans  <wim@fluendo.com>
23540
23541         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23542         (gst_bin_change_state):
23543         Cleanup the get_state() function a little, make sure it
23544         iterates the same set of elements.
23545         Added stub iterate_state_order().
23546
23547 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23548
23549         * docs/gst/gstreamer-docs.sgml:
23550         * docs/gst/gstreamer-sections.txt:
23551         * docs/gst/gstreamer.types:
23552         * docs/gst/tmpl/gstbasesink.sgml:
23553         * docs/gst/tmpl/gstbasesrc.sgml:
23554         * docs/gst/tmpl/gstbasetransform.sgml:
23555         * docs/gst/tmpl/gstelement.sgml:
23556         * docs/gst/tmpl/gstiterator.sgml:
23557         * gst/base/gstbasesrc.c:
23558         * gst/base/gstbasesrc.h:
23559         * gst/base/gstbasetransform.h:
23560         * gst/gstelement.c:
23561         * gst/gstiterator.h:
23562           adding basetransform and iterator docs
23563
23564 2005-06-27  Andy Wingo  <wingo@pobox.com>
23565
23566         * docs/design/part-activation.txt: Notes on how activation should
23567         work -- not quite implemented yet.
23568
23569 2005-06-25  Wim Taymans  <wim@fluendo.com>
23570
23571         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23572         At least get the chain function correct, needs more
23573         fixing.
23574
23575 2005-06-25  Wim Taymans  <wim@fluendo.com>
23576
23577         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23578         (gst_basesink_handle_object), (gst_basesink_event),
23579         (gst_basesink_do_sync), (gst_basesink_handle_event),
23580         (gst_basesink_change_state):
23581         * gst/gsttask.h:
23582         Right, two problems here: ghostpads don't take locks and
23583         glib _rec_mutex_lock_full() with depth==0 still locks.
23584         Catch illegal locking and g_warn them.
23585
23586 2005-06-25  Wim Taymans  <wim@fluendo.com>
23587
23588         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23589         Have to check for completion now...
23590
23591 2005-06-25  Wim Taymans  <wim@fluendo.com>
23592
23593         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23594         (gst_basesink_handle_object), (gst_basesink_event),
23595         (gst_basesink_do_sync), (gst_basesink_handle_event),
23596         (gst_basesink_change_state):
23597         * gst/gstpad.h:
23598         Unlock STREAM_LOCK whatever the recursion was.
23599
23600 2005-06-25  Wim Taymans  <wim@fluendo.com>
23601
23602         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23603         (gst_basesink_preroll_queue_empty),
23604         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23605         (gst_basesink_event), (gst_basesink_do_sync),
23606         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23607         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23608         (gst_basesink_change_state):
23609         Reworked the base sink, handle event and buffer serialisation
23610         correctly and removed possible deadlock.
23611         Handle EOS correctly.
23612
23613 2005-06-25  Wim Taymans  <wim@fluendo.com>
23614
23615         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23616         (gst_pipeline_change_state):
23617         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23618         Allow elements to post EOS in the state change function.
23619         Fix up -launch, make it exit the poll loop when the
23620         pipeline actually changed state.
23621         Fix up warning parsing in -launch.
23622
23623 2005-06-25  Wim Taymans  <wim@fluendo.com>
23624
23625         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23626         (gst_tee_sink_activate):
23627         Core takes STREAM_LOCK for us now.
23628
23629 2005-06-25  Wim Taymans  <wim@fluendo.com>
23630
23631         * gst/gstelement.c: (gst_element_get_state_func),
23632         (gst_element_set_state):
23633         * gst/gstelement.h:
23634         * gst/gstmessage.c: (gst_message_parse_error),
23635         (gst_message_parse_warning):
23636         Keep track of current target state while performing a state
23637         change so that subclasses can do something interesting.
23638         Fix parsing of warning/error messages when GError is NULL.
23639
23640 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23641
23642         * docs/gst/Makefile.am:
23643         * docs/gst/gstreamer-docs.sgml:
23644         * docs/gst/gstreamer-sections.txt:
23645         * docs/gst/gstreamer.types:
23646         * docs/gst/tmpl/gstbasesink.sgml:
23647         * docs/gst/tmpl/gstbasesrc.sgml:
23648         * docs/gst/tmpl/gstbin.sgml:
23649         * docs/gst/tmpl/gstcompat.sgml:
23650         * docs/gst/tmpl/gstfakesink.sgml:
23651         * docs/gst/tmpl/gstfakesrc.sgml:
23652         * docs/gst/tmpl/gstfilesink.sgml:
23653         * docs/gst/tmpl/gstfilesrc.sgml:
23654         * docs/gst/tmpl/gstindex.sgml:
23655         * docs/manual/appendix-quotes.xml:
23656         * gst/base/gstbasesrc.h:
23657         * gst/elements/gstfakesrc.h:
23658         * gst/gstmessage.h:
23659           start pulling in base classes and elements in our docs
23660
23661 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23662
23663         * docs/gst/Makefile.am:
23664         * docs/libs/Makefile.am:
23665           fixed make distcheck with gtk-doc 1.3
23666
23667 2005-06-23  Wim Taymans  <wim@fluendo.com>
23668
23669         * gst/gstelement.c: (gst_element_get_state_func),
23670         (gst_element_set_state), (gst_element_change_state):
23671         When the state did not change, also report NO_PREROLL
23672         when it matters.
23673
23674 2005-06-23  Wim Taymans  <wim@fluendo.com>
23675
23676         * gst/gstpad.c: (gst_pad_event_default):
23677         * gst/gstqueue.c: (gst_queue_loop):
23678         No unsafe task pausing please.
23679
23680 2005-06-23  Wim Taymans  <wim@fluendo.com>
23681
23682         * gst/schedulers/threadscheduler.c:
23683         (gst_thread_scheduler_task_start),
23684         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23685         Ref the task before pushing it on the threadpool. This
23686         makes sure that we have a ref when the threadfunction is
23687         actually called.
23688
23689 2005-06-23  Andy Wingo  <wingo@pobox.com>
23690
23691         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23692         offset is greater than the file's size.
23693
23694         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23695         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23696         * gst/gstobject.c (gst_object_class_init): Make the class lock
23697         recursive. Wim won't let me drop deep_notify. Decodebin works
23698         again, whoopdy doo.
23699
23700         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23701         internal pad, and hacks accordingly. Doesn't do it on the target
23702         pad because we change its caps. Probably catches all cases of
23703         interest tho.
23704         (gst_ghost_pad_set_property): Connect to notify::caps as
23705         appropritate.
23706
23707         * tests/network-clock.scm (plot-simulation): Pipe data to the
23708         elite python skript.
23709
23710         * tests/network-clock-utils.scm (define-parameter): New macro,
23711         defines a parameter that can be set via the command line.
23712         (set-parameter!, parse-parameter-arguments): Command line args
23713         parser.
23714
23715         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23716         stdin.
23717
23718 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23719
23720         * gst/elements/gsttypefindelement.c:
23721         (gst_type_find_element_handle_event):
23722           Don't restart typefinding on a discont.
23723         * gst/gstelement.c: (gst_element_set_state):
23724           Debug spelling fix.
23725         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23726           Allow changing mode of an active pad.
23727           Debug output fixes.
23728         * gst/registries/gstlibxmlregistry.c: (load_feature):
23729           Don't cast a static pad template to a normal pad template.
23730
23731 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23732
23733         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23734         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23735           remove gst_strtoll completely, since it didn't actually do
23736           anything more than what g_ascii_strtoull already does.
23737           check for range errors when deserializing
23738           do a cast for the unsigned cases; but further fixing needs
23739           a decision on what the interpretation of "(int)" and
23740           deserialization should be for values that fall outside the
23741           type's boundaries (ie, refuse, or interpret as casting)
23742
23743 2005-06-23  Wim Taymans  <wim@fluendo.com>
23744
23745         * check/Makefile.am:
23746         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23747         * docs/design/part-live-source.txt:
23748         * docs/design/part-states.txt:
23749         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23750         (gst_basesrc_set_live), (gst_basesrc_is_live),
23751         (gst_basesrc_get_range), (gst_basesrc_activate),
23752         (gst_basesrc_change_state):
23753         * gst/base/gstbasesrc.h:
23754         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23755         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23756         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23757         * gst/gstelement.c: (gst_element_get_state_func),
23758         (gst_element_set_state):
23759         * gst/gstelement.h:
23760         * gst/gsttypes.h:
23761         * tools/gst-launch.c: (event_loop), (main):
23762         Added support for live sources and other elements that
23763         cannot do preroll.
23764         Updated design docs, added live-source design doc.
23765         Implemented live source functionality in basesrc
23766         Fix error condition in _bin_get_state()
23767         Implement live source handling in -launch.
23768         Added check for live sources.
23769         Fixed case in GstBin where elements were changed state
23770         multiple times.
23771
23772
23773 2005-06-23  Andy Wingo  <wingo@pobox.com>
23774
23775         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23776         borken refcounting.
23777
23778         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23779         gst_caps_replace takes care of this for us.
23780
23781         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23782         gst_pad_set_caps on the target, not just its setcaps() function.
23783
23784         * tests/network-clock.scm: 
23785         * tests/network-clock-utils.scm: A network clock simulator.
23786         Something of an algorithmic testbed before doing something in C.
23787
23788 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23789
23790         * check/Makefile.am:
23791         * check/gst/capslist.h:
23792           copy over from 0.8, and add two with bitmasks specified with
23793           (int) 0xFF...
23794         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23795           add test to parse everything from capslist.h
23796         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23797         (main):
23798           add test for structure deserialization
23799         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23800           add tests for deserialization of strings to int types
23801         * gst/gststructure.c: (gst_structure_nth_field_name):
23802         * gst/gststructure.h:
23803           add a way to get the name of a field referenced by index
23804         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23805           instead of checking if the resulting long long lies between
23806           min and max, we check if the long long would fit into
23807           a number of bytes for the final type.
23808           This fixes cases where a string represents 2^32 - 1, which
23809           when cast to int would be the (valid) -1, but is bigger than
23810           G_MAXINT
23811
23812 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23813
23814         * gst/parse/grammar.y:
23815           add a log line for type deserialization
23816
23817 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23818
23819         * check/gst/gstvalue.c: (START_TEST):
23820         * gst/gstvalue.c: (gst_value_deserialize):
23821           return long long, not int, so gint64 deserialization actually
23822           works.  Is there any flag that makes the compiler check this ?
23823           Fixes #308559
23824
23825 2005-06-22  Wim Taymans  <wim@fluendo.com>
23826
23827         * gst/gstbuffer.h:
23828         Added convenience macros for setting buffers in GValue.
23829
23830 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23831
23832         * check/gst/.cvsignore:
23833         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23834           add a test deserializing int64, and comment part out because
23835           it fails, yay !
23836
23837 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23838
23839         * check/Makefile.am:
23840         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23841         * testsuite/Makefile.am:
23842         * testsuite/caps/Makefile.am:
23843         * testsuite/caps/value_serialize.c:
23844         * testsuite/test_gst_init.c:
23845           move a value_serialize test over
23846
23847 2005-06-20  Wim Taymans  <wim@fluendo.com>
23848
23849         * gst/gstpad.c:
23850         Small doc updates.
23851         
23852         * gst/gstvalue.c: (gst_value_compare_buffer),
23853         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23854         (gst_value_compare_flags), (gst_value_serialize_flags),
23855         (gst_value_deserialize_flags), (_gst_value_initialize):
23856         Fix serialisation of buffers, they are not boxed types anymore
23857
23858 2005-06-20  Wim Taymans  <wim@fluendo.com>
23859
23860         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23861         Testcase to show error in buffer-on-caps serialisation.
23862
23863 2005-06-20  Andy Wingo  <wingo@pobox.com>
23864
23865         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23866         will be adding to later.
23867
23868         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23869         if its socks fill with rocks.
23870         (gst_system_clock_obtain): Set the name on object construction.
23871         Avoid double-checked locking.
23872
23873 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23874
23875         * gst/gsturi.c: (gst_element_make_from_uri):
23876           Fix potential endless loop.
23877
23878 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23879
23880         * check/Makefile.am:
23881           add gsttag
23882         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23883         (main):
23884           move over from testsuite dir and clean up
23885         * configure.ac:
23886         * gst/gsttag.c:
23887         * testsuite/Makefile.am:
23888         * testsuite/tags/.cvsignore:
23889         * testsuite/tags/Makefile.am:
23890         * testsuite/tags/merge.c:
23891           remove testsuite/tags
23892
23893 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23894
23895         * docs/gst/gstreamer-sections.txt:
23896         * docs/gst/tmpl/gstenumtypes.sgml:
23897         * win32/gstenumtypes.c:
23898           clean up documentation build a little
23899
23900 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23901
23902         * check/gstcheck.h:
23903           add macros for checking refcounts on objects and caps
23904         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23905           add some more unit tests
23906         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23907         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23908           fix leaked refcounts (I hope :)) so unittest works
23909         * gst/gstpad.h:
23910           whitespace removal
23911
23912 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23913
23914         * configure.ac: back to HEAD
23915
23916 === release 0.9.1 ===
23917
23918 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23919
23920         * NEWS:
23921         * RELEASE:
23922           updated
23923
23924 2005-06-17  Andy Wingo  <wingo@pobox.com>
23925
23926         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23927         assert; it's always possible that the pad gets deactivated in
23928         between the checks in gstpad.c and the implementation. Rely on
23929         finish_preroll() to return a FLUSHING or similar instead of on the
23930         assert.
23931         
23932         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23933         clock and post an EOS message if we come out of finish_preroll in
23934         the playing state.
23935
23936 2005-06-16  David Schleef  <ds@schleef.org>
23937
23938         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23939         (gst_capsfilter_set_property): Allow NULL as possible value
23940         for filter_caps property, indicating GST_CAPS_ANY.
23941
23942 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23943
23944         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23945           fix debug output
23946         * gst/schedulers/Makefile.am:
23947           use libgst prefix
23948         * gstreamer.spec.in:
23949           fix spec for it
23950
23951 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23952
23953         * gstreamer.spec.in:
23954           clean up
23955
23956 2005-06-08  Andy Wingo  <wingo@pobox.com>
23957
23958         * gst/gstutils.c: RPAD fixes all around.
23959         (gst_element_link_pads): Refcounting fixes.
23960
23961         * tools/gst-inspect.c:
23962         * tools/gst-xmlinspect.c:
23963         * parse/grammar.y:
23964         * gst/base/gsttypefindhelper.c:
23965         * gst/base/gstbasesink.c:
23966         * gst/gstqueue.c: RPAD fixes.
23967
23968         * gst/gstghostpad.h:
23969         * gst/gstghostpad.c: New ghost pad implementation as full proxy
23970         pads. The tricky thing is they provide both source and sink
23971         interfaces, since they proxy the internal pad for the external
23972         pad, and vice versa. Implement with lower-level ProxyPad objects,
23973         with the interior proxy pad as a child of the exterior ghost pad.
23974         Should write a doc on this.
23975         
23976         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23977         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23978         gst_object API.
23979         
23980         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23981         pads are real pads. No ghost pads in this file. Not documenting
23982         the myriad s/RPAD/PAD/ and REALIZE fixes.
23983         (gst_pad_class_init): Add properties for "direction" and
23984         "template". Both are construct-only, so they can't change during
23985         the life of the pad. Fixes properly deriving from GstPad.
23986         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23987         derived objects, just set properties when creating the objects via
23988         g_object_new.
23989         (gst_pad_get_parent): Implement as a function, return NULL if the
23990         parent is not an element.
23991         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23992         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23993         
23994         * gst/gstobject.c (gst_object_class_init): Make name a construct
23995         property. Don't set it in the object init.
23996
23997         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23998         with UNKNOWN direction.
23999         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24000         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24001         (gst_element_remove_pad): Remove ghost-pad special cases.
24002         (gst_element_pads_activate): Remove rpad cruft.
24003
24004         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24005         catch the pad's-parent-not-an-element case.
24006
24007         * gst/gst.h: Include gstghostpad.h.
24008
24009         * gst/gst.c (init_post): No more real, ghost pads.
24010
24011         * gst/Makefile.am: Add gstghostpad.[ch].
24012
24013         * check/Makefile.am:
24014         * check/gst/gstbin.c:
24015         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24016         into a bin creates ghost pads, and that the refcounts are right.
24017         Partly moved from gstbin.c.
24018
24019 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24020
24021         * check/gst-libs/.cvsignore:
24022         * check/gst/.cvsignore:
24023         * check/pipelines/.cvsignore:
24024           ignore more
24025         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24026         (START_TEST), (cleanup_suite), (main):
24027           add some tests related to cleanup after running pipelines
24028
24029 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24030
24031         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24032           add a testsuite for GstBuffer
24033
24034 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24035
24036         * gst/gstminiobject.h:
24037           add defines for accessing the refcount
24038
24039 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24040
24041         * Makefile.am: added support for html unit test coverage reports
24042
24043 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24044
24045         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24046           Free existing caps if the capsfilter changes. Add a FIXME about
24047           setting those caps on the pads.
24048
24049         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24050           Before adding a ghost pad to a parent bin, check that there isn't
24051           already one for the element on the bin. Prevents infinite recursion
24052           when using decodebin in parse pipelines. Andy says he'll rewrite the
24053           way this works anyway, so ignore the hack.
24054
24055 2005-06-02  Andy Wingo  <wingo@pobox.com>
24056
24057         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24058         file size, pass it on to the type find helper.
24059
24060         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24061         segment_start and segment_end properly according to the seek
24062         method. Segment_end is still a bit flaky because offset can be
24063         negative for CUR and END cases, but it takes -1 as an "unset"
24064         value.
24065
24066 2005-06-02  Wim Taymans  <wim@fluendo.com>
24067
24068         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24069         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24070         (gst_basesink_activate):
24071         * gst/base/gstbasesink.h:
24072         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24073         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24074         (gst_pad_query), (gst_pad_start_task):
24075         * gst/gstpad.h:
24076         * gst/gstqueue.c: (gst_queue_bufferalloc),
24077         (gst_queue_handle_sink_event), (gst_queue_chain):
24078         Bufferalloc: return GstFlowReturn to more accuratly report
24079         why allocation failed.
24080
24081 2005-06-02  Wim Taymans  <wim@fluendo.com>
24082
24083         * gst/gstpipeline.c: (gst_pipeline_send_event):
24084         Take snapshot of state without blocking.
24085
24086 2005-06-02  Wim Taymans  <wim@fluendo.com>
24087
24088         * docs/design/part-TODO.txt:
24089         * docs/design/part-caps.txt:
24090         * docs/design/part-clocks.txt:
24091         * docs/design/part-negotiation.txt:
24092         * docs/design/part-preroll.txt:
24093         Small doc updates 
24094
24095 2005-05-30  Wim Taymans  <wim@fluendo.com>
24096
24097         * gst/elements/gstidentity.c: (gst_identity_event),
24098         (gst_identity_transform), (gst_identity_get_property):
24099         Protect last_message property as it is accessed from
24100         multiple threads.
24101
24102 2005-05-30  Wim Taymans  <wim@fluendo.com>
24103
24104         * gst/gstelement.c: (gst_element_init),
24105         (gst_element_pads_activate), (gst_element_change_state):
24106         Slicker pad activation code.
24107
24108 2005-05-30  Wim Taymans  <wim@fluendo.com>
24109
24110         * gst/Makefile.am:
24111         * gst/gstelement.h:
24112         * gst/gstelementfactory.h:
24113         * gst/gsttypes.h:
24114         Move elementfactory methods to separate .h file.
24115
24116 2005-05-30  Wim Taymans  <wim@fluendo.com>
24117
24118         * docs/design/part-overview.txt:
24119         * gst/gstsystemclock.h:
24120         Small typo fixes, doc updates.
24121
24122 2005-05-30  Wim Taymans  <wim@fluendo.com>
24123
24124         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24125         (init_popt_callback):
24126         Remove cpu-opt flag.
24127
24128 2005-05-30  Wim Taymans  <wim@fluendo.com>
24129
24130         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24131         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24132         * gst/gstbuffer.h:
24133         Avoid typechecking in places where not needed.
24134         Added accessor for malloc_data.
24135
24136 2005-05-30  Wim Taymans  <wim@fluendo.com>
24137
24138         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24139         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24140         (gst_pad_configure_sink), (gst_pad_configure_src),
24141         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24142         (gst_pad_start_task):
24143         Propagate errors from _set_caps() in configure_src/sink
24144         functions instead of returning TRUE.
24145         FLUSH events can travel up and downstream
24146
24147
24148 2005-05-30  Wim Taymans  <wim@fluendo.com>
24149
24150         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24151         (gst_basesink_activate):
24152         Handle EOS in preroll.
24153
24154 2005-05-30  Wim Taymans  <wim@fluendo.com>
24155
24156         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24157         (gst_queue_loop), (gst_queue_handle_src_event):
24158         Remove old pieces of code
24159         Flushing the queue in an upstream event is a very bad idea.
24160
24161 2005-05-26  Andy Wingo  <wingo@pobox.com>
24162
24163         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24164         gst_value_set_mini_object so as to add a ref on the object (which
24165         will be removed when the value is unset).
24166
24167         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24168         arg type in ::handoff.
24169
24170         * gst/gstelement.c (gst_element_change_state): Also deactivate
24171         pads in READY->NULL, just in case the element didn't make it to
24172         PAUSED. Wingo tested, Wim approved.
24173
24174 2005-05-26  Wim Taymans  <wim@fluendo.com>
24175
24176         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24177         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24178         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24179         A flushing pad cannot be used to alloc_buffer from.
24180
24181 2005-05-26  Wim Taymans  <wim@fluendo.com>
24182
24183         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24184         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24185         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24186         (gst_bus_create_watch), (gst_bus_add_watch_full):
24187         * gst/gstbus.h:
24188         Implement a real GSource and use g_main_context_wakeup() to
24189         signal new messages instead of the socketpair.
24190
24191 2005-05-25  Wim Taymans  <wim@fluendo.com>
24192
24193         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24194         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24195         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24196         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24197         (gst_pad_send_event), (gst_pad_start_task):
24198         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24199         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24200         (gst_queue_sink_activate), (gst_queue_src_activate),
24201         (gst_queue_change_state):
24202         * gst/gstqueue.h:
24203         Fix state changes for non sinks. We now change sinks, then elements
24204         with unconnected srcpads, then the rest.
24205         More efficient queue unlocking in flush and state changes.
24206         Set the pad activate mode even if it does not have an activate
24207         function.
24208
24209 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24210
24211         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24212           Don't go in pull mode for non-seekable sources.
24213         * gst/elements/gsttypefindelement.h:
24214         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24215         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24216         (free_entry), (stop_typefinding),
24217         (gst_type_find_element_handle_event), (find_peek),
24218         (gst_type_find_element_chain), (do_pull_typefind),
24219         (gst_type_find_element_change_state):
24220           Allow typefinding (w/o seeking) in push-mode, simplified version
24221           of what was in 0.8.
24222         * gst/gstutils.c: (gst_buffer_join):
24223         * gst/gstutils.h:
24224           gst_buffer_join() from 0.8.
24225
24226 2005-05-25  Wim Taymans  <wim@fluendo.com>
24227
24228         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24229         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24230         (gst_pad_send_event), (gst_pad_start_task):
24231         Disable attempt at mode switching until it is figured out.
24232
24233 2005-05-25  Wim Taymans  <wim@fluendo.com>
24234
24235         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24236         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24237         (gst_basesink_finish_preroll), (gst_basesink_chain),
24238         (gst_basesink_loop), (gst_basesink_activate),
24239         (gst_basesink_change_state):
24240         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24241         (gst_basesrc_get_range), (gst_basesrc_loop),
24242         (gst_basesrc_activate):
24243         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24244         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24245         (gst_real_pad_init), (gst_real_pad_set_property),
24246         (gst_real_pad_get_property), (gst_pad_set_active),
24247         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24248         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24249         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24250         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24251         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24252         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24253         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24254         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24255         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24256         (gst_pad_stop_task):
24257         * gst/gstpad.h:
24258         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24259         (gst_queue_loop), (gst_queue_src_activate):
24260         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24261         (gst_task_get_state):
24262         * gst/gsttask.h:
24263         * gst/schedulers/threadscheduler.c:
24264         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24265         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24266         in task function.
24267         Remove ACTIVE pad flag, use FLUSHING everywhere
24268         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24269         functions.
24270         Add locks around IS_FLUSHING when reading.
24271         Take STREAM lock in chain(), get_range() functions so plugins
24272         don't need to take it anymore.
24273         
24274
24275
24276 2005-05-25  Wim Taymans  <wim@fluendo.com>
24277
24278         * tools/gst-launch.c: (event_loop):
24279         Unref message after using its contents instead of
24280         before.
24281
24282 2005-05-24  Wim Taymans  <wim@fluendo.com>
24283
24284         * docs/design/draft-ghostpads.txt:
24285         * docs/design/draft-push-pull.txt:
24286         * docs/design/draft-query.txt:
24287         * docs/design/part-overview.txt:
24288         Docs updates, added general overview doc.
24289
24290 2005-05-21  David Schleef  <ds@schleef.org>
24291
24292         * docs/gst/tmpl/old/GstBin.sgml:
24293         * docs/gst/tmpl/old/GstBuffer.sgml:
24294         * docs/gst/tmpl/old/GstCaps.sgml:
24295         * docs/gst/tmpl/old/GstClock.sgml:
24296         * docs/gst/tmpl/old/GstCompat.sgml:
24297         * docs/gst/tmpl/old/GstData.sgml:
24298         * docs/gst/tmpl/old/GstElement.sgml:
24299         * docs/gst/tmpl/old/GstEvent.sgml:
24300         * docs/gst/tmpl/old/GstIndex.sgml:
24301         * docs/gst/tmpl/old/GstStructure.sgml:
24302         * docs/gst/tmpl/old/GstTag.sgml:
24303         * docs/gst/tmpl/old/cothreads.sgml:
24304         * docs/gst/tmpl/old/cothreads_compat.sgml:
24305         * docs/gst/tmpl/old/gettext.sgml:
24306         * docs/gst/tmpl/old/gobject2gtk.sgml:
24307         * docs/gst/tmpl/old/grammar.tab.sgml:
24308         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24309         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24310         * docs/gst/tmpl/old/gst_private.sgml:
24311         * docs/gst/tmpl/old/gstaggregator.sgml:
24312         * docs/gst/tmpl/old/gstarch.sgml:
24313         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24314         * docs/gst/tmpl/old/gstbufferstore.sgml:
24315         * docs/gst/tmpl/old/gstdata_private.sgml:
24316         * docs/gst/tmpl/old/gstdisksink.sgml:
24317         * docs/gst/tmpl/old/gstdisksrc.sgml:
24318         * docs/gst/tmpl/old/gstelementfactory.sgml:
24319         * docs/gst/tmpl/old/gstextratypes.sgml:
24320         * docs/gst/tmpl/old/gstfakesink.sgml:
24321         * docs/gst/tmpl/old/gstfakesrc.sgml:
24322         * docs/gst/tmpl/old/gstfdsink.sgml:
24323         * docs/gst/tmpl/old/gstfdsrc.sgml:
24324         * docs/gst/tmpl/old/gstfilesink.sgml:
24325         * docs/gst/tmpl/old/gstfilesrc.sgml:
24326         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24327         * docs/gst/tmpl/old/gstidentity.sgml:
24328         * docs/gst/tmpl/old/gstindexfactory.sgml:
24329         * docs/gst/tmpl/old/gstmarshal.sgml:
24330         * docs/gst/tmpl/old/gstmd5sink.sgml:
24331         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24332         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24333         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24334         * docs/gst/tmpl/old/gstpipefilter.sgml:
24335         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24336         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24337         * docs/gst/tmpl/old/gstshaper.sgml:
24338         * docs/gst/tmpl/old/gstspider.sgml:
24339         * docs/gst/tmpl/old/gstspideridentity.sgml:
24340         * docs/gst/tmpl/old/gststatistics.sgml:
24341         * docs/gst/tmpl/old/gsttee.sgml:
24342         * docs/gst/tmpl/old/gsttimecache.sgml:
24343         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24344         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24345         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24346         * docs/gst/tmpl/old/types.sgml:
24347           I didn't intend to add these or check them in.
24348
24349 2005-05-19  David Schleef  <ds@schleef.org>
24350
24351         * configure.ac: Use -no-common everywhere.  In a sane world, it
24352           would be the default in libtool, because without it, you can't
24353           build DLLs on Windows.
24354         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24355         * docs/gst/gstreamer-sections.txt:
24356         * docs/gst/tmpl/gstcpu.sgml:
24357         * docs/gst/tmpl/gstdata.sgml:
24358         * docs/gst/tmpl/gstthread.sgml:
24359
24360 2005-05-19  David Schleef  <ds@schleef.org>
24361
24362         * gst/gstminiobject.c: (gst_value_set_mini_object),
24363         (gst_value_take_mini_object), (gst_value_get_mini_object):
24364         * gst/gstminiobject.h: Add GValue set/get functions.
24365
24366 2005-05-19  Wim Taymans  <wim@fluendo.com>
24367
24368         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24369         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24370         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24371         * gst/gstbuffer.h:
24372         * gst/gstbus.c: (gst_bus_post):
24373         * gst/gstelement.c: (gst_element_get_random_pad):
24374         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24375         Make subbufer unref the parent in finalize.
24376         some more debugging info.
24377
24378
24379 2005-05-19  Wim Taymans  <wim@fluendo.com>
24380
24381         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24382         (gst_basesink_init), (gst_basesink_finalize),
24383         (gst_basesink_activate), (gst_basesink_change_state):
24384         Don't free preroll queue too early.
24385
24386 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24387
24388         * gst/Makefile.am:
24389         * gst/ROADMAP:
24390           Hi, I'm outdated. Please shoot me.
24391
24392 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24393
24394         * gst/gstpipeline.c: (gst_pipeline_send_event):
24395           Do not access variables after they have been deleted.
24396
24397 2005-05-19  Wim Taymans  <wim@fluendo.com>
24398
24399         * tools/gst-inspect.c: (print_plugin_features):
24400         A plugin feature does unfortunatly not use the
24401         object name yet...
24402
24403 2005-05-18  Wim Taymans  <wim@fluendo.com>
24404
24405         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24406         Port _span() functions to new subbuffers.
24407
24408 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24409
24410         * gst/gstbin.c: (gst_bin_add_func):
24411           Fix clock settery in bins when adding kids after the clock has
24412           been selected.
24413
24414 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24415
24416         * gst/elements/gstidentity.c: (gst_identity_class_init):
24417           Workaround until signals support GstMiniObject.
24418
24419 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24420
24421         * gst/gstbuffer.c:
24422         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24423
24424 2005-05-18  Wim Taymans  <wim@fluendo.com>
24425
24426         * gst/base/Makefile.am:
24427         * gst/base/gstadapter.c: (gst_adapter_base_init),
24428         (gst_adapter_class_init), (gst_adapter_init),
24429         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24430         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24431         (gst_adapter_flush), (gst_adapter_available),
24432         (gst_adapter_available_fast):
24433         * gst/base/gstadapter.h:
24434         Ported and added adapter to the base classes.
24435
24436 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24437
24438         * gst/gst.c:
24439         * gst/gstmessage.c:
24440           Make sure the class is reffed/unreffed once before threads can be
24441           used.  Fixes #304551.
24442
24443 2005-05-17  Wim Taymans  <wim@fluendo.com>
24444
24445         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24446         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24447         * gst/gstminiobject.c: (gst_mini_object_get_type),
24448         (gst_mini_object_free):
24449         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24450         (gst_pad_push), (gst_pad_push_event):
24451         * gst/gstqueue.c: (gst_queue_change_state):
24452         Don't queue buffers in basesink when we are flushing.
24453         Unref buffer when flushing in basesink.
24454         Flush queue when going to READY
24455         Unref buffer when _push() returns an error.
24456         Don't free MiniObject instance when refcount is incremented
24457         in _finalize() so that we can recover objects.
24458
24459 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24460
24461         * docs/manual/advanced-schedulers.xml:
24462         * docs/manual/appendix-checklist.xml:
24463         * docs/pwg/advanced-clock.xml:
24464         * docs/pwg/advanced-interfaces.xml:
24465         * docs/pwg/advanced-request.xml:
24466         * docs/pwg/advanced-types.xml:
24467         * docs/pwg/intro-preface.xml:
24468         * examples/plugins/example.c: (gst_example_get_type),
24469         (gst_example_class_init), (gst_example_chain),
24470         (gst_example_set_property), (gst_example_get_property),
24471         (gst_example_change_state), (plugin_init):
24472         * examples/plugins/example.h:
24473           small doc fixes
24474
24475 2005-05-17  Wim Taymans  <wim@fluendo.com>
24476
24477         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24478         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24479         * gst/gstqueue.c: (gst_queue_change_state):
24480         Clear queue when going to READY.
24481         Remove IN_SETCAPS flag too.
24482
24483 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24484
24485         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24486           Remove implicit cast from gboolean to GstElementStateReturn;
24487           make sure we still return failure in paused => ready case if
24488           the parent class fails to change state and our own stop 
24489           vfunc succeeds.
24490
24491 2005-05-17  Wim Taymans  <wim@fluendo.com>
24492
24493         * tools/gst-launch.c: (event_loop):
24494         Message was unreffed too soon.
24495
24496 2005-05-16  Andy Wingo  <wingo@pobox.com>
24497
24498         * gst/gstbin.c (sink_iterator_filter): Err... um...
24499
24500         * check/gst/gstbin.c (test_ghost_pads): New test for the
24501         ghosting-if-elements-not-in-same-bin behavior.
24502
24503 2005-05-16  David Schleef  <ds@schleef.org>
24504
24505         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24506         accessing refcount directly.
24507
24508 2005-05-15  David Schleef  <ds@schleef.org>
24509
24510         * check/Makefile.am: remove GstData checks
24511         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24512         * gst/Makefile.am: add miniobject, remove data
24513         * gst/gst.h: add miniobject, remove data
24514         * gst/gstdata.c: remove
24515         * gst/gstdata.h: remove
24516         * gst/gstdata_private.h: remove
24517         * gst/gsttypes.h: remove GstEvent and GstMessage
24518         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24519         * gst/gstmarshal.list: change BOXED -> OBJECT
24520
24521         Implement GstMiniObject.
24522         * gst/gstminiobject.c:
24523         * gst/gstminiobject.h:
24524
24525         Modify to be subclasses of GstMiniObject.
24526         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24527         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24528         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24529         (gst_subbuffer_get_type), (gst_subbuffer_init),
24530         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24531         (gst_buffer_span):
24532         * gst/gstbuffer.h:
24533         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24534         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24535         (_gst_event_copy), (gst_event_new):
24536         * gst/gstevent.h:
24537         * gst/gstmessage.c: (_gst_message_initialize),
24538         (gst_message_get_type), (gst_message_class_init),
24539         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24540         (gst_message_new), (gst_message_new_error),
24541         (gst_message_new_warning), (gst_message_new_tag),
24542         (gst_message_new_state_changed), (gst_message_new_application):
24543         * gst/gstmessage.h:
24544         * gst/gstprobe.c: (gst_probe_perform),
24545         (gst_probe_dispatcher_dispatch):
24546         * gst/gstprobe.h:
24547         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24548         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24549         (_gst_query_copy), (gst_query_new):
24550
24551         Update elements for GstData -> GstMiniObject changes
24552         * gst/gstquery.h:
24553         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24554         (gst_queue_chain), (gst_queue_loop):
24555         * gst/elements/gstbufferstore.c:
24556         (gst_buffer_store_add_buffer_func),
24557         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24558         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24559         (gst_fakesink_render):
24560         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24561         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24562         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24563         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24564         (gst_filesrc_create_read):
24565         * gst/elements/gstidentity.c: (gst_identity_class_init):
24566         * gst/elements/gsttypefindelement.c:
24567         (gst_type_find_element_src_event), (free_entry_buffers),
24568         (gst_type_find_element_handle_event):
24569         * libs/gst/dataprotocol/dataprotocol.c:
24570         (gst_dp_header_from_buffer):
24571         * libs/gst/dataprotocol/dataprotocol.h:
24572         * libs/gst/dataprotocol/dp-private.h:
24573
24574 2005-05-15  David Schleef  <ds@schleef.org>
24575
24576         * gst/elements/gstelements.c: Don't include headers that were
24577         just removed.
24578
24579 2005-05-15  David Schleef  <ds@schleef.org>
24580
24581         * gst/elements/Makefile.am: Remove some elements that don't
24582         need to be in the core (or even exist at all).
24583         * gst/elements/gstaggregator.c:
24584         * gst/elements/gstaggregator.h:
24585         * gst/elements/gstmd5sink.c:
24586         * gst/elements/gstmd5sink.h:
24587         * gst/elements/gstmultifilesrc.c:
24588         * gst/elements/gstmultifilesrc.h:
24589         * gst/elements/gstpipefilter.c:
24590         * gst/elements/gstpipefilter.h:
24591         * gst/elements/gstshaper.c:
24592         * gst/elements/gstshaper.h:
24593         * gst/elements/gststatistics.c:
24594         * gst/elements/gststatistics.h:
24595         * po/POTFILES.in: Remove above files.
24596
24597 2005-05-14  Andy Wingo  <wingo@pobox.com>
24598
24599         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24600         so as to get the refs right.
24601         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24602         unreffing objects that don't pass the filter.
24603
24604         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24605         gst_element_set_bus.
24606         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24607         normal cases, this will destroy the bus.
24608
24609         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24610         object.
24611
24612         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24613         has no sinks.
24614
24615 2005-05-13  Andy Wingo  <wingo@pobox.com>
24616
24617         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24618         gst_pad_link, call pad_link_maybe_ghosting,
24619         (pad_link_maybe_ghosting): Links pads, making sure that the
24620         elements being linked are in the same bin.
24621         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24622         Helpers for pad_link_maybe_ghosting.
24623
24624 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24625
24626         * configure.ac:
24627           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24628
24629 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24630
24631         * docs/design/part-element-source.txt:
24632           Mention GstPushSrc
24633
24634 2005-05-12  Wim Taymans  <wim@fluendo.com>
24635
24636         * gst/base/gstbasesink.c: (gst_basesink_init),
24637         (gst_basesink_activate):
24638         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24639         (gst_basesrc_is_seekable):
24640         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24641         (bin_element_is_sink), (gst_bin_change_state):
24642         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24643         * gst/gstelement.h:
24644         Identify sinks by their flag to avoid overly complicated
24645         checks (fow now).
24646         Do state changes even for elements not reachable from the
24647         sinks.
24648         BaseSink is a sink now :)
24649         Some more debugging info in the basesrc.
24650
24651
24652 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24653
24654         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24655           Implement _query on a bin, similar to _send_event.
24656
24657 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24658
24659         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24660           Discont event offset format should be GST_FORMAT_BYTES,
24661           not GST_FORMAT_TIME.
24662
24663 2005-05-12  Wim Taymans  <wim@fluendo.com>
24664
24665         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24666         Same fix as Ronald's but without the signal. 
24667
24668 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24669
24670         * gst/gstutils.c: (gst_element_query_position):
24671           No, an element is not a pad.
24672
24673 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24674
24675         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24676         (gst_bin_get_state):
24677           If a child is removed from a bin while we remove the child from
24678           the bin and while we're retrieving its state, signal this to the
24679           get_state function so we abort the wait (instead of waiting for
24680           a timeout) and can immediately re-iterate over all other elements.
24681
24682 2005-05-12  Wim Taymans  <wim@fluendo.com>
24683
24684         * gst/base/Makefile.am:
24685         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24686         (gst_basesrc_start):
24687         * gst/base/gstbasesrc.h:
24688         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24689         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24690         (gst_pushsrc_init), (gst_pushsrc_create):
24691         * gst/base/gstpushsrc.h:
24692         Added is_seekable to BaseSrc
24693         Added simple PushSrc.
24694
24695 2005-05-11  Wim Taymans  <wim@fluendo.com>
24696
24697         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24698         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24699         (gst_element_link_pads), (gst_element_query_position),
24700         (gst_element_query_convert), (intersect_caps_func),
24701         (gst_pad_query_position), (gst_pad_query_convert):
24702         Fix refcounting in utils function.
24703         No point in trying to activate a pad when it's added, it could
24704         be added from the state change function and then we deadlock, the
24705         element has to decide what to do.
24706
24707 2005-05-10  Andy Wingo  <wingo@pobox.com>
24708
24709         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24710         *all* the arguments.
24711
24712         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24713         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24714         lock (according to the docs -- if this is wrong change the docs).
24715
24716         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24717         flush messages in the NULL state.
24718
24719         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24720         message immediately and return.
24721         (gst_bus_set_flushing): New function. If a bus is flushing, it
24722         flushes out any queued messages and immediately unrefs new
24723         messages. This is so when an element goes to NULL, all of the
24724         unhandled messages coming from it can be freed, and their
24725         references to the element dropped. In other words: message source
24726         ref considered harmful :P
24727
24728         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24729         we're finished with it.
24730
24731         * gst/gstmessage.c (gst_message_new_state_changed): 
24732
24733 2005-05-10  Wim Taymans  <wim@fluendo.com>
24734
24735         * gst/gstvalue.c: (gst_value_compare_flags),
24736         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24737         (_gst_value_initialize):
24738         Added flags serialize/deserialize/compare code.
24739
24740 2005-05-09  Andy Wingo  <wingo@pobox.com>
24741
24742         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24743         Intersect the peer's caps with our caps.
24744
24745 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24746
24747         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24748         * gst/elements/gsttypefindelement.c: (find_peek):
24749           Handle negative offsets better. Fixes decodebin.
24750
24751 2005-05-09  Wim Taymans  <wim@fluendo.com>
24752
24753         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24754         (gst_base_transform_event):
24755         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24756         Implement accept_caps.
24757         Fix silly lock/unlock mismatch in base class.
24758
24759 2005-05-09  Wim Taymans  <wim@fluendo.com>
24760
24761         * docs/design/draft-push-pull.txt:
24762         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24763         * gst/elements/gstfilesink.c: (gst_filesink_init),
24764         (gst_filesink_query):
24765         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24766         (gst_type_find_handle_src_query), (find_element_get_length):
24767         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24768         * gst/gstelement.h:
24769         * gst/gstmessage.c:
24770         * gst/gstmessage.h:
24771         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24772         (gst_real_pad_get_caps_unlocked),
24773         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24774         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24775         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24776         (gst_real_pad_dispose), (gst_real_pad_finalize),
24777         (gst_pad_load_and_link), (gst_pad_save_thyself),
24778         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24779         (gst_pad_check_pull_range), (gst_pad_pull_range),
24780         (gst_pad_template_get_type), (gst_pad_template_class_init),
24781         (gst_pad_template_init), (gst_pad_template_dispose),
24782         (name_is_valid), (gst_static_pad_template_get),
24783         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24784         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24785         (gst_pad_get_element_private), (gst_pad_start_task),
24786         (gst_pad_pause_task), (gst_pad_stop_task),
24787         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24788         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24789         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24790         (gst_ghost_pad_new):
24791         * gst/gstpad.h:
24792         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24793         (gst_query_new_position), (gst_query_set_position),
24794         (gst_query_parse_position), (gst_query_new_convert),
24795         (gst_query_set_convert), (gst_query_parse_convert):
24796         * gst/gstquery.h:
24797         * gst/gstqueryutils.c:
24798         * gst/gstqueryutils.h:
24799         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24800         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24801         (gst_queue_handle_src_query):
24802         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24803         (gst_element_query_position), (gst_element_query_convert),
24804         (intersect_caps_func), (gst_pad_query_position),
24805         (gst_pad_query_convert):
24806         * gst/gstutils.h:
24807         * tools/gst-inspect.c: (print_pad_info):
24808         * tools/gst-xmlinspect.c: (print_element_info):
24809         Remove old query functions. Ported old code.
24810         Added position/convert helper functions to gstutils.
24811         Reordered gstpad.c code, grouping relevant things.
24812         Remove gst_message_new(), always need to speficy a specific
24813         message.
24814
24815
24816 2005-05-09  Andy Wingo  <wingo@pobox.com>
24817
24818         * gst/gstiterator.h: Add some includes.
24819
24820         * gst/gstqueryutils.h: Include more headers.
24821
24822         * gst/gstpad.h:
24823         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24824         some uses of gst_pad_query.
24825
24826         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24827         NULL out parameters.
24828         (gst_query_new_position): New proc, allocates a new position
24829         query.
24830
24831         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24832         gstqueryutils.c to the build.
24833
24834         * gst/gststructure.c (gst_structure_set_valist): Implement with
24835         the generic G_VALUE_COLLECT.
24836         
24837 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24838
24839         * gst/Makefile.am: (gst_headers):
24840         Added gstqueryutils.h to the list of headers to install, that was
24841         a 'nachty' move wingo :)
24842
24843 2005-05-06  Andy Wingo  <wingo@pobox.com>
24844
24845         * gst/gstquery.h
24846         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24847         GstData, init a memchunk.
24848         (standard_definitions): Add a few query types, deprecate a few.
24849         (gst_query_get_type): New proc.
24850         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24851         implementation.
24852         (gst_query_new_application, gst_query_get_structure): New public
24853         procs.
24854
24855         * docs/design/draft-query.txt: Removed LINKS from the query types,
24856         because all the rest can be dispatched to other pads -- seemed
24857         ugly to have a query that couldn't be dispatched. internal_links
24858         is fine as a pad method.
24859
24860         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24861         in gstpad.c, but maintain binary compatibility for the moment.
24862         Will fix before 0.9 is out.
24863
24864         * gst/gstqueryutils.c: 
24865         * gst/gstqueryutils.h: New files, implement 3 methods for each
24866         query type: parse_query, parse_response, and set. Probably need an
24867         allocator as well.
24868
24869         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24870
24871         * gst/elements/gstfilesink.c (gst_filesink_query2):
24872         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24873         query_types, and formats methods.
24874
24875         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24876         (gst_pad_set_query2_function): New functions.
24877         (gst_real_pad_init): Set query2_default as the default query2
24878         function. Basically just dispatches to internally linked pads.
24879
24880         Needs review!
24881         
24882         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24883         without using the atomic operations. Only one thread can possibly
24884         be accessing the data at this point. Changed so as to avoid
24885         gst_atomic operations.
24886
24887 2005-05-06  Wim Taymans  <wim@fluendo.com>
24888
24889         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24890         Also set caps if we use the fallback buffer alloc.
24891
24892 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
24893
24894         * docs/gst/Makefile.am:
24895         * docs/gst/gstreamer-docs.sgml:
24896         * docs/gst/gstreamer-sections.txt:
24897         * docs/gst/tmpl/gstatomic.sgml:
24898         * docs/gst/tmpl/gstmemchunk.sgml:
24899         * testsuite/elements/struct_i386.h:
24900         * win32/GStreamer.vcproj:
24901         * win32/Makefile:
24902           Purge GstAtomic stuff from docs and win32 makefiles as well
24903
24904 2005-05-06  Wim Taymans  <wim@fluendo.com>
24905
24906         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24907         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24908         * gst/gstpad.c: (gst_pad_peer_get_caps):
24909         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24910         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24911         (gst_queue_src_activate), (gst_queue_change_state):
24912         * gst/gstqueue.h:
24913         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24914         (intersect_caps_func):
24915         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24916         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24917         Some fixes for the peer_get_caps() change.
24918
24919 2005-05-06  Wim Taymans  <wim@fluendo.com>
24920
24921         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24922         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24923         (gst_basesink_activate):
24924         Actually do something with error codes returned from the push
24925         functions.
24926
24927 2005-05-06  Wim Taymans  <wim@fluendo.com>
24928
24929         * docs/design/part-element-sink.txt:
24930         * docs/design/part-element-source.txt:
24931         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24932         (gst_basesink_event), (gst_basesink_activate):
24933         * gst/base/gstbasesink.h:
24934         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24935         (gst_basesrc_activate):
24936         * gst/base/gstbasesrc.h:
24937         * gst/gstelement.c: (gst_element_pads_activate):
24938         Some more documentation.
24939         Fixed scheduling decision in _pads_activate().
24940
24941 2005-05-05  Andy Wingo  <wingo@pobox.com>
24942
24943         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24944         the test suite.
24945
24946 2005-05-05  Wim Taymans  <wim@fluendo.com>
24947
24948         * gst/base/Makefile.am:
24949         * gst/base/gstbasesink.h:
24950         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24951         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24952         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24953         (gst_collectpads_class_init), (gst_collectpads_init),
24954         (gst_collectpads_finalize), (gst_collectpads_new),
24955         (gst_collectpads_set_function), (gst_collectpads_add_pad),
24956         (find_pad), (gst_collectpads_remove_pad),
24957         (gst_collectpads_is_active), (gst_collectpads_collect),
24958         (gst_collectpads_collect_range), (gst_collectpads_start),
24959         (gst_collectpads_stop), (gst_collectpads_peek),
24960         (gst_collectpads_pop), (gst_collectpads_available),
24961         (gst_collectpads_read), (gst_collectpads_flush),
24962         (gst_collectpads_chain):
24963         * gst/base/gstcollectpads.h:
24964         * gst/elements/Makefile.am:
24965         * gst/elements/gstelements.c:
24966         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24967         (gst_fakesink_get_times), (gst_fakesink_event),
24968         (gst_fakesink_preroll), (gst_fakesink_render):
24969         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24970         (gst_filesink_init), (gst_filesink_set_location),
24971         (gst_filesink_open_file), (gst_filesink_close_file),
24972         (gst_filesink_pad_query), (gst_filesink_event),
24973         (gst_filesink_render), (gst_filesink_change_state):
24974         * gst/elements/gstfilesink.h:
24975         Added object to help in making collect pad based elements.
24976         Ported filesink.
24977         Make event function in sink baseclass return gboolean.
24978
24979 2005-05-05  Wim Taymans  <wim@fluendo.com>
24980
24981         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24982         (gst_bin_get_by_name):
24983         * gst/gstbuffer.h:
24984         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24985         (gst_clock_finalize):
24986         * gst/gstdata.c: (gst_data_replace):
24987         * gst/gstdata.h:
24988         * gst/gstelement.c: (gst_element_request_pad),
24989         (gst_element_pads_activate):
24990         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24991         (gst_object_unref):
24992         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24993         (gst_pad_set_checkgetrange_function),
24994         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24995         (gst_pad_check_pull_range), (gst_pad_pull_range),
24996         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24997         (gst_pad_pause_task), (gst_pad_stop_task):
24998         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24999         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25000         Fix name lookup in GstBin.
25001         Added _data_replace() function and _buffer_replace()
25002         Use finalize method to clean up clock.
25003         Fix refcounting on request pads.
25004         Fix pad schedule mode error.
25005         Some more object refcounting debug info,
25006
25007
25008 2005-05-04  Andy Wingo <wingo@pobox.com>
25009
25010         * check/Makefile.am:
25011         * docs/gst/tmpl/gstatomic.sgml:
25012         * docs/gst/tmpl/gstplugin.sgml:
25013         * gst/base/gstbasesink.c: (gst_basesink_activate):
25014         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25015         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25016         (gst_basesrc_query), (gst_basesrc_set_property),
25017         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25018         (gst_basesrc_activate):
25019         * gst/base/gstbasesrc.h:
25020         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25021         (gst_base_transform_src_activate):
25022         * gst/elements/gstelements.c:
25023         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25024         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25025         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25026         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25027         (gst_type_find_element_checkgetrange),
25028         (gst_type_find_element_activate):
25029         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25030         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25031         (gst_caps_load_thyself):
25032         * gst/gstelement.c: (gst_element_pads_activate),
25033         (gst_element_save_thyself), (gst_element_restore_thyself):
25034         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25035         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25036         * gst/gstpad.h:
25037         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25038         (gst_xml_parse_file), (gst_xml_parse_memory),
25039         (gst_xml_get_element), (gst_xml_make_element):
25040         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25041         (_file_index_id_save_xml), (gst_file_index_commit):
25042         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25043         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25044         (load_paths):
25045         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25046         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25047         * tools/gst-complete.c: (main):
25048         * tools/gst-compprep.c: (main):
25049         * tools/gst-inspect.c: (print_element_properties_info):
25050         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25051         * tools/gst-xmlinspect.c: (print_element_properties):
25052         GCC 4 fixen.
25053         
25054 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25055
25056         * gst/gstplugin.c: (gst_plugin_check_module),
25057         (gst_plugin_check_file), (gst_plugin_load_file):
25058             apply patch from #172526 to make register work on MacOSX
25059
25060 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25061
25062         * docs/gst/tmpl/gstconfig.sgml:
25063         * gst/gstconfig.h.in:
25064           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25065         * testsuite/debug/printf_extension.c: (main):
25066           Do not use GST_PTR_FORMAT on pointers to types with
25067           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25068         * testsuite/elements/property.h:
25069           use correct printf format
25070
25071 2005-05-02  Wim Taymans  <wim@fluendo.com>
25072
25073         * docs/design/draft-push-pull.txt:
25074         * docs/design/draft-query.txt:
25075         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25076         (gst_basesrc_start):
25077         Added draft for new query API.
25078         Added draft for better selecting scheduling methods.
25079         Make basesrc ignore length if the subclass does not support
25080         it.
25081
25082 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25083
25084         * gst/Makefile.am:
25085           possible fixes for automake-1.5 - _LIBADD is reserved
25086
25087 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25088
25089         * docs/faq/Makefile.am:
25090         * docs/manual/Makefile.am:
25091         * docs/manuals.mak:
25092         * docs/pwg/Makefile.am:
25093         * gst/Makefile.am:
25094           possible fixes for automake-1.5
25095
25096 2005-04-28  Wim Taymans  <wim@fluendo.com>
25097
25098         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25099         (gst_basesink_pad_getcaps), (gst_basesink_init),
25100         (gst_basesink_do_sync):
25101         * gst/gstclock.c: (gst_clock_entry_new):
25102         * gst/gstevent.c: (gst_event_discont_get_value):
25103         * gst/gstpipeline.c: (pipeline_bus_handler),
25104         (gst_pipeline_change_state):
25105         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25106         Better debugging of clocking info.
25107         Allow NULL values when getting discont values.
25108
25109 2005-04-27  Wim Taymans  <wim@fluendo.com>
25110
25111         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25112         * check/gst/gstpad.c: (gst_pad_suite):
25113         Increase timeout for checks.
25114
25115 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25116
25117         * check/Makefile.am:
25118           fix the broken rule for cleanup.  Apparently this rule is
25119           only needed on FC2, so maybe this warrants further autotool
25120           inspection.
25121
25122 2005-04-26  Wim Taymans  <wim@fluendo.com>
25123
25124         * gst/gsttrashstack.h:
25125         Ooohh. a nasty one! After having a failed pop() from the stack,
25126         it's possible that the stack is empty. In that case, don't
25127         follow the NULL pointer.
25128
25129 2005-04-25  Wim Taymans  <wim@fluendo.com>
25130
25131         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25132         (gst_pad_set_checkgetrange_function),
25133         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25134         (gst_pad_check_pull_range), (gst_pad_pull_range),
25135         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25136         (gst_pad_pause_task), (gst_pad_stop_task):
25137         * gst/gstplugin.c: (gst_plugin_load):
25138         * gst/gstplugin.h:
25139         Remove gst_library_load as it does more harm than good with
25140         the new g_module flags.
25141         Revert bogus caps template check in pad linking, pad caps
25142         are important when linking not the template, which is more
25143         general than the current caps.
25144
25145 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25146
25147         * gst/autoplug/.cvsignore:
25148         * gst/autoplug/Makefile.am:
25149         * gst/autoplug/gstsearchfuncs.c:
25150         * gst/autoplug/gstsearchfuncs.h:
25151         * gst/autoplug/gstspider.c:
25152         * gst/autoplug/gstspider.h:
25153         * gst/autoplug/gstspideridentity.c:
25154         * gst/autoplug/gstspideridentity.h:
25155         * gst/autoplug/spidertest.c:
25156           Die, spider, die.
25157
25158 2005-04-25  Wim Taymans  <wim@fluendo.com>
25159
25160         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25161         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25162         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25163         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25164         * gst/gstpad.h:
25165         Added stubs for unimplemented functions. 
25166
25167 2005-04-24  David Schleef  <ds@schleef.org>
25168
25169         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25170         please fix.
25171
25172 2005-04-24  David Schleef  <ds@schleef.org>
25173
25174         Convert everything from GstAtomicInt to g_atomic_int_*, and
25175         remove gstatomic.
25176         * gst/Makefile.am:
25177         * gst/gstatomic.c:
25178         * gst/gstatomic.h:
25179         * gst/gstatomic_impl.h:
25180         * gst/gstbuffer.c:
25181         * gst/gstcaps.c:
25182         * gst/gstcaps.h:
25183         * gst/gstclock.c:
25184         * gst/gstclock.h:
25185         * gst/gstdata.c:
25186         * gst/gstdata.h:
25187         * gst/gstdata_private.h:
25188         * gst/gstevent.c:
25189         * gst/gstinfo.c:
25190         * gst/gstinfo.h:
25191         * gst/gstmessage.c:
25192         * gst/gstobject.c:
25193         * gst/gstobject.h:
25194         * gst/gststructure.c:
25195         * gst/gststructure.h:
25196         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25197         * gst/gstutils.h:
25198
25199 2005-04-24  David Schleef  <ds@schleef.org>
25200
25201         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25202         make the regressions tests work.  Remove some code that is no
25203         longer true.
25204         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25205         Disable warning for pads without templates.
25206
25207 2005-04-24  David Schleef  <ds@schleef.org>
25208
25209         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25210         functions that handle filtered links.
25211         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25212         removed functions.
25213         * gst/gstutils.c: Fix/remove utility functions that handle
25214         filtered caps.
25215         * gst/gstutils.h:
25216         * gst/gstvalue.c: Add serialization/deserialization of caps
25217         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25218         requires fixing so that the filter caps notation creates
25219         a capsfilter element and sets the filter_caps property.  I
25220         think everyone probably wants to keep the shorthand notation.
25221         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25222         * docs/gst/tmpl/gstpad.sgml:
25223
25224         * gst/elements/gstelements.c: Register capsfilter element.
25225         * gst/Makefile.am: fix spacing
25226         * docs/random/ds/0.9-suggested-changes: random
25227
25228 2005-04-23  David Schleef  <ds@schleef.org>
25229
25230         * gst/elements/Makefile.am:
25231         * gst/elements/gstcapsfilter.c: New element that acts like an
25232         identity, but filters caps.  Will eventually replace filtered
25233         caps in pad linking.
25234         * gst/gstutils.c: (gst_element_create_all_pads): New function
25235         to create all the ALWAYS pads that are registered with an
25236         element class.  This functionality should eventually be
25237         merged in with GstElement initialization.
25238         * gst/gstutils.h:
25239         * testsuite/trigger/README: part of trigger test code that should
25240         have been checked in a long time ago.
25241
25242 2005-04-23  David Schleef  <ds@schleef.org>
25243
25244         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25245         needed with new versions of libtool (nobody will confirm this),
25246         and hard to carry around.
25247         * gst/autoplug/Makefile.am:
25248         * gst/base/Makefile.am:
25249         * gst/elements/Makefile.am:
25250         * gst/indexers/Makefile.am:
25251         * gst/schedulers/Makefile.am:
25252         * libs/gst/bytestream/Makefile.am:
25253         * libs/gst/control/Makefile.am:
25254         * libs/gst/dataprotocol/Makefile.am:
25255         * libs/gst/getbits/Makefile.am:
25256
25257 2005-04-21  Wim Taymans  <wim@fluendo.com>
25258
25259         * docs/design/draft-push-pull.txt:
25260         * docs/design/part-MT-refcounting.txt:
25261         * docs/design/part-TODO.txt:
25262         * docs/design/part-caps.txt:
25263         * docs/design/part-events.txt:
25264         * docs/design/part-gstbus.txt:
25265         * docs/design/part-gstpipeline.txt:
25266         * docs/design/part-messages.txt:
25267         * docs/design/part-push-pull.txt:
25268         * docs/design/part-query.txt:
25269         Some more docs.
25270
25271 2005-04-21  Wim Taymans  <wim@fluendo.com>
25272
25273         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25274         (gst_message_new), (gst_message_new_error),
25275         (gst_message_new_warning), (gst_message_new_tag),
25276         (gst_message_new_state_changed), (gst_message_new_application),
25277         (gst_message_get_structure):
25278         * gst/gstmessage.h:
25279         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25280         (gst_structure_copy_conditional):
25281         Use parent refcount in GstMessage to ensure GstStructure
25282         consistency.
25283         Cleaned up headers a bit.
25284         
25285
25286 2005-04-20  Wim Taymans  <wim@fluendo.com>
25287
25288         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25289         (gst_basesink_pad_getcaps), (gst_basesink_init),
25290         (gst_basesink_chain_unlocked):
25291         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25292         (gst_type_find_helper):
25293         * gst/elements/gsttypefindelement.c:
25294         (gst_type_find_element_have_type), (gst_type_find_element_init),
25295         (stop_typefinding), (gst_type_find_element_handle_event),
25296         (find_suggest), (gst_type_find_element_chain),
25297         (gst_type_find_element_checkgetrange),
25298         (gst_type_find_element_getrange), (do_typefind),
25299         (gst_type_find_element_activate):
25300         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25301         (gst_buffer_default_free), (gst_buffer_default_copy),
25302         (gst_buffer_set_caps):
25303         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25304         (gst_caps_replace):
25305         * gst/gstmessage.c: (gst_message_new),
25306         (gst_message_new_state_changed):
25307         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25308         (gst_pad_set_checkgetrange_function),
25309         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25310         (gst_pad_set_caps), (gst_pad_check_pull_range),
25311         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25312         * gst/gstpad.h:
25313         * gst/gsttypefind.c: (gst_type_find_register):
25314         Make gst_caps_replace() work like other _replace() functions.
25315         Use _caps_replace() where possible.
25316         Make sure _message_new() initialises its field.
25317         Add gst_static_pad_template_get_caps()
25318
25319
25320 2005-04-18  Andy Wingo  <wingo@pobox.com>
25321
25322         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25323         on the peer, not the pad. I think that was a typo. Pass an extra
25324         arg to see if random access is possible. Activate the pads as
25325         PULL_RANGE if possible.
25326
25327         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25328
25329         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25330         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25331         to PROP_....
25332
25333 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25334
25335         * docs/faq/using.xml:
25336           Add note on gstreamer-properties (#154996).
25337
25338 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25339
25340         * docs/random/bbb/optional-properties:
25341           Some analysis on optional properties.
25342
25343 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25344
25345         * docs/gst/tmpl/gstelementfactory.sgml:
25346         * gst/gstelement.h:
25347         * gst/gstelementfactory.c: (gst_element_factory_init),
25348         (gst_element_factory_cleanup), (gst_element_register),
25349         (__gst_element_factory_add_static_pad_template),
25350         (gst_element_factory_get_static_pad_templates),
25351         (gst_element_factory_can_src_caps),
25352         (gst_element_factory_can_sink_caps):
25353         * gst/registries/Makefile.am:
25354         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25355         (gst_xml_registry_class_init), (gst_xml_registry_init),
25356         (gst_xml_registry_new), (gst_xml_registry_set_property),
25357         (gst_xml_registry_get_property), (get_time), (make_dir),
25358         (gst_xml_registry_get_perms_func),
25359         (plugin_times_older_than_recurse), (plugin_times_older_than),
25360         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25361         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25362         (add_to_char_array), (read_string), (read_uint), (read_enum),
25363         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25364         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25365         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25366         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25367         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25368         (gst_xml_registry_rebuild):
25369         * gst/registries/gstlibxmlregistry.h:
25370         * tools/gst-compprep.c: (main):
25371         * tools/gst-inspect.c: (print_pad_templates_info):
25372         * tools/gst-xmlinspect.c: (print_element_info):
25373           Use libxml2 for registry parsing, use staticpadtemplates in
25374           elementfactories. Makes gst_init() +/- 10x faster.
25375
25376 2005-04-12  Wim Taymans  <wim@fluendo.com>
25377
25378         * gst/base/Makefile.am:
25379         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25380         (gst_basesink_pad_getcaps), (gst_basesink_init),
25381         (gst_basesink_event), (gst_basesink_change_state):
25382         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25383         (gst_basesrc_init), (gst_basesrc_query),
25384         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25385         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25386         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25387         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25388         (gst_basesrc_stop), (gst_basesrc_activate),
25389         (gst_basesrc_change_state):
25390         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25391         (helper_find_suggest), (gst_type_find_helper):
25392         * gst/base/gsttypefindhelper.h:
25393         * gst/elements/Makefile.am:
25394         * gst/elements/gstelements.c:
25395         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25396         (gst_fakesink_get_times), (gst_fakesink_event),
25397         (gst_fakesink_preroll), (gst_fakesink_render):
25398         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25399         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25400         (gst_fakesrc_get_property), (gst_fakesrc_create),
25401         (gst_fakesrc_start), (gst_fakesrc_stop):
25402         * gst/elements/gstfakesrc.h:
25403         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25404         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25405         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25406         (gst_filesrc_create_read), (gst_filesrc_create),
25407         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25408         (gst_filesrc_start):
25409         * gst/elements/gsttypefindelement.c:
25410         (gst_type_find_element_have_type), (gst_type_find_element_init),
25411         (start_typefinding), (stop_typefinding), (push_buffer_store),
25412         (gst_type_find_element_handle_event),
25413         (gst_type_find_element_chain),
25414         (gst_type_find_element_checkgetrange),
25415         (gst_type_find_element_getrange), (do_typefind),
25416         (gst_type_find_element_activate),
25417         (gst_type_find_element_change_state):
25418         * gst/elements/gsttypefindelement.h:
25419         * gst/gstpipeline.c: (pipeline_bus_handler):
25420         Added typefind helper.
25421         Small preroll fix in the base sink.
25422         Disable typefind code in basesrc.
25423         Crude port of typefindelement.
25424         Fakesrc cleanups.
25425
25426
25427 2005-04-11  Wim Taymans  <wim@fluendo.com>
25428
25429         * check/gst/gstbus.c: (gstbus_suite):
25430         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25431         * check/gstcheck.h:
25432           Fix up the timeout so that the test does not fail.
25433
25434 2005-04-06  Wim Taymans  <wim@fluendo.com>
25435
25436         * gst/base/README:
25437         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25438         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25439         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25440         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25441         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25442         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25443         (gst_basesrc_stop), (gst_basesrc_activate),
25444         (gst_basesrc_change_state), (basesrc_find_peek),
25445         (basesrc_find_suggest), (gst_basesrc_type_find):
25446         * gst/base/gstbasesrc.h:
25447         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25448         (gst_filesrc_class_init), (gst_filesrc_init),
25449         (gst_filesrc_finalize), (gst_filesrc_set_location),
25450         (gst_filesrc_set_property), (gst_filesrc_get_property),
25451         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25452         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25453         (gst_filesrc_create_read), (gst_filesrc_create),
25454         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25455         * gst/elements/gstfilesrc.h:
25456         * gst/gstelement.c: (gst_element_get_state_func),
25457         (gst_element_lost_state), (gst_element_pads_activate):
25458         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25459         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25460         (gst_pad_pull_range):
25461         * gst/gstpad.h:
25462         More work on the generic source base class, implement seeking,
25463         query.
25464         Make filesrc extend the base source class.
25465         Added gst_pad_set_checkgetrange_function to GstPad.
25466
25467 2005-04-06  Andy Wingo  <wingo@pobox.com>
25468
25469         * pkgconfig/gstreamer-base.pc.in:
25470         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25471
25472         * pkgconfig/Makefile.am:
25473         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25474
25475 2005-04-04  Wim Taymans  <wim@fluendo.com>
25476
25477         * gst/base/Makefile.am:
25478         * gst/base/README:
25479         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25480         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25481         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25482         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25483         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25484         (gst_basesrc_base_init), (gst_basesrc_class_init),
25485         (gst_basesrc_init), (gst_basesrc_get_formats),
25486         (gst_basesrc_get_query_types), (gst_basesrc_query),
25487         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25488         (gst_basesrc_set_property), (gst_basesrc_get_property),
25489         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25490         (gst_basesrc_loop), (gst_basesrc_activate),
25491         (gst_basesrc_change_state):
25492         * gst/base/gstbasesrc.h:
25493         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25494         (gst_fakesrc_class_init), (gst_fakesrc_init),
25495         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25496         (gst_fakesrc_get_property), (gst_fakesrc_create):
25497         * gst/elements/gstfakesrc.h:
25498         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25499         (gst_filesrc_open_file), (gst_filesrc_loop),
25500         (gst_filesrc_activate), (filesrc_find_peek),
25501         (gst_filesrc_type_find):
25502         Made base source class, make fakesrc extend it.
25503         Add comments to basesink class.
25504         Some filesrc cleanup.
25505
25506 2005-03-31  David Schleef  <ds@schleef.org>
25507
25508         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25509         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25510         expected to link against libgstreamer.
25511         * gst/base/Makefile.am: link against libgstreamer
25512         * gst/elements/Makefile.am: same
25513
25514 2005-03-31  Andy Wingo  <wingo@pobox.com>
25515
25516         * tests/instantiate/Makefile.am:
25517         * tests/instantiate/caps.c: Add test to test speed of caps copy
25518         and free.
25519
25520         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25521         GMemChunk to be fair.
25522
25523         * gst/gsttrashstack.h: Remove warning about using the fallback
25524         trash stack implementation, it's still faster than malloc.
25525
25526 2005-03-30  Andy Wingo  <wingo@pobox.com>
25527
25528         * tests/complexity.c: Add a copyright.
25529
25530 2005-03-31  Wim Taymans  <wim@fluendo.com>
25531
25532         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25533         (gst_base_transform_class_init), (gst_base_transform_init),
25534         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25535         (gst_base_transform_get_property),
25536         (gst_base_transform_sink_activate),
25537         (gst_base_transform_src_activate),
25538         (gst_base_transform_change_state):
25539         * gst/base/gstbasetransform.h:
25540         * gst/elements/gstidentity.c: (gst_identity_class_init),
25541         (gst_identity_event), (gst_identity_check_perfect),
25542         (gst_identity_transform), (gst_identity_start),
25543         (gst_identity_stop):
25544         Added start/stop methods to transform base class so subclasses 
25545         don't need to deal with state changes even.
25546
25547 2005-03-31  Wim Taymans  <wim@fluendo.com>
25548
25549         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25550         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25551         * gst/gstevent.h:
25552         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25553         (gst_pad_pull_range):
25554         Added rate to the discont event to prepare for variable speed
25555         and reverse playback.
25556
25557 2005-03-29  David Schleef  <ds@schleef.org>
25558
25559         * configure.ac:
25560         * testsuite/trigger/Makefile.am:
25561         * testsuite/trigger/trigger.c: A little example program to show
25562         how trigger-based elements can work.
25563
25564 2005-03-29  Wim Taymans  <wim@fluendo.com>
25565
25566         * gst/base/Makefile.am:
25567         * gst/base/README:
25568         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25569         (gst_basesink_base_init), (gst_basesink_class_init),
25570         (gst_basesink_pad_getcaps), (gst_basesink_init),
25571         (gst_basesink_activate), (gst_basesink_change_state):
25572         * gst/base/gstbasesink.h:
25573         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25574         (gst_base_transform_base_init), (gst_base_transform_finalize),
25575         (gst_base_transform_class_init), (gst_base_transform_init),
25576         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25577         (gst_base_transform_event), (gst_base_transform_getrange),
25578         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25579         (gst_base_transform_set_property),
25580         (gst_base_transform_get_property),
25581         (gst_base_transform_sink_activate),
25582         (gst_base_transform_src_activate),
25583         (gst_base_transform_change_state):
25584         * gst/base/gstbasetransform.h:
25585         * gst/elements/gstidentity.c: (gst_identity_finalize),
25586         (gst_identity_class_init), (gst_identity_init),
25587         (gst_identity_event), (gst_identity_check_perfect),
25588         (gst_identity_transform), (gst_identity_set_property),
25589         (gst_identity_get_property), (gst_identity_change_state):
25590         * gst/elements/gstidentity.h:
25591         * gst/gstelement.c: (gst_element_get_state_func),
25592         (gst_element_lost_state), (gst_element_pads_activate):
25593         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25594         (gst_pad_check_pull_range), (gst_pad_pull_range):
25595         * gst/gstpad.h:
25596         Simplify pad activation.
25597         Added function to check if pull_range can be performed.
25598         Error out when pulling inactive or flushing pads.
25599         Removed const from refcounted types as it does not make sense.
25600         Simplify pad templates in basesink
25601         Added base class for simple 1-to-1 transforms.
25602         Make identity subclass the base transform.
25603
25604 2005-03-29  Andy Wingo  <wingo@pobox.com>
25605
25606         * docs/libs/gstreamer-libs-overrides.txt: 
25607         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25608         really don't understand what's going on, but like whatever. I want
25609         green buildbot!
25610
25611         * docs/gst/Makefile.am:
25612         * docs/libs/Makefile.am: Dist the overrides files.
25613
25614         * check/Makefile.am (clean-local): Remove .libs directories.
25615
25616         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25617         elements to EXTRA_DIST, so po/ files are happy.
25618
25619         * po/POTFILES.in: Er, remove it here.
25620
25621         * po/POTFILES: Remove gstspider.c.
25622
25623         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25624
25625         * docs/libs/gstreamer-libs-docs.sgml: 
25626         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25627         bytestream.
25628
25629         * tests/complexity.c (main): Set the length of the preroll queue
25630         on the sinks to prevent a lockup.
25631
25632         * libs/gst/dataprotocol/Makefile.am: 
25633         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25634         the same as the one in check/gst-libs/gdp.c.
25635
25636         * po/, docs/gst/: Commit automatic changes to docs and po files.
25637
25638         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25639         the versioned libgstbase.
25640
25641         * check/Makefile.am: Depend on an unversioned gst-register, seems
25642         to make autoconf happier.
25643
25644         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25645
25646 2005-03-28  Wim Taymans  <wim@fluendo.com>
25647
25648         * configure.ac:
25649         * docs/design/part-gstelement.txt:
25650         * docs/design/part-negotiation.txt:
25651         * docs/design/part-preroll.txt:
25652         * docs/design/part-scheduling.txt:
25653         * docs/design/part-states.txt:
25654         * gst/Makefile.am:
25655         * gst/base/Makefile.am:
25656         * gst/base/README:
25657         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25658         (gst_basesink_base_init), (gst_basesink_class_init),
25659         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25660         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25661         (gst_basesink_set_pad_functions),
25662         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25663         (gst_basesink_set_property), (gst_basesink_get_property),
25664         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25665         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25666         (gst_basesink_preroll_queue_push),
25667         (gst_basesink_preroll_queue_empty),
25668         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25669         (gst_basesink_event), (gst_basesink_get_times),
25670         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25671         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25672         (gst_basesink_loop), (gst_basesink_activate),
25673         (gst_basesink_change_state):
25674         * gst/base/gstbasesink.h:
25675         * gst/elements/Makefile.am:
25676         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25677         (gst_fakesink_class_init), (gst_fakesink_init),
25678         (gst_fakesink_set_property), (gst_fakesink_get_property),
25679         (gst_fakesink_get_times), (gst_fakesink_event),
25680         (gst_fakesink_preroll), (gst_fakesink_render),
25681         (gst_fakesink_change_state):
25682         * gst/elements/gstfakesink.h:
25683         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25684         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25685         * gst/gstelement.c: (gst_element_add_pad),
25686         (gst_element_get_state_func), (gst_element_abort_state),
25687         (gst_element_commit_state), (gst_element_lost_state),
25688         (gst_element_set_state), (gst_element_pads_activate):
25689         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25690         * gst/gstpipeline.c: (gst_pipeline_send_event),
25691         (gst_pipeline_change_state):
25692         Added state change code.
25693         Added/updated docs.
25694         Added sink base class, make fakesink extend the base class.
25695         Small cleanups in GstPipeline.
25696
25697 2005-03-26  David Schleef  <ds@schleef.org>
25698
25699         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25700         is broken and should be implemented in a different library.
25701         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25702         * gst/gst.h: remove gstcpu.h
25703         * gst/gstcpu.c: remove
25704         * gst/gstcpu.h: remove
25705         * gst/Makefile.am.future: Remove this file.  It's ancient.
25706
25707 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25708
25709         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25710         (gst_bin_send_event):
25711           Add default event/set_manager handlers. The set_manager handler
25712           takes care that the manager is distributed over kids that were
25713           already in the bin before the manager was set. The event handler
25714           is a utility virtual function that sends the event over all sinks,
25715           so that gst_element_send_event (bin, event); has the expected
25716           behaviour.
25717         * gst/gstpad.c: (gst_pad_event_default):
25718           Re-install default event handling for discontinuities, so that
25719           seeking works without requiring hacks in applications or extra
25720           code in sinks.
25721         * gst/gstpipeline.c: (gst_pipeline_class_init),
25722         (gst_pipeline_send_event):
25723           Half hack, half utility: set a pipeline to PAUSED for seek events,
25724           since that is the only way we can guarantee a/v sync. Means that
25725           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25726           and it "just works".
25727
25728 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25729
25730         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25731           Lock/unlock mismatch.
25732
25733 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25734
25735         * docs/faq/gst-uninstalled:
25736           add gst-plugins-base
25737         * docs/gst/Makefile.am:
25738           don't error out until docs are fixed
25739         * docs/gst/gstreamer.types:
25740           remove thread
25741
25742 2005-03-22  Wim Taymans  <wim@fluendo.com>
25743
25744         * check/Makefile.am:
25745         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25746         * gst/gststructure.c: (gst_structure_set_valist),
25747         (gst_structure_copy_conditional):
25748         Activated more tests.
25749         Added message test.
25750         Added G_TYPE_POINTER to GstStructure.
25751         
25752
25753 2005-03-22  Wim Taymans  <wim@fluendo.com>
25754
25755         * docs/design/part-TODO.txt:
25756         * docs/design/part-events.txt:
25757         * docs/design/part-gstbin.txt:
25758         * docs/design/part-gstbus.txt:
25759         * docs/design/part-gstpipeline.txt:
25760         * docs/design/part-messages.txt:
25761         * gst/gstbus.c:
25762         * gst/gstmessage.c:
25763         Docs updates
25764
25765 2005-03-21  Wim Taymans  <wim@fluendo.com>
25766
25767         * gst/gstbus.c: (gst_bus_post):
25768         Fix copy-and-paste error.
25769
25770 2005-03-21  Wim Taymans  <wim@fluendo.com>
25771
25772         * check/Makefile.am:
25773         * gst/Makefile.am:
25774         * gst/elements/Makefile.am:
25775         * gst/elements/gstelements.c:
25776         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25777         (gst_fakesink_event), (gst_fakesink_chain):
25778         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25779         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25780         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25781         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25782         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25783         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25784         (gst_fakesrc_loop), (gst_fakesrc_activate),
25785         (gst_fakesrc_change_state):
25786         * gst/elements/gstfakesrc.h:
25787         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25788         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25789         (gst_filesrc_open_file), (gst_filesrc_loop),
25790         (gst_filesrc_activate), (gst_filesrc_change_state),
25791         (filesrc_find_peek), (filesrc_find_suggest),
25792         (gst_filesrc_type_find):
25793         * gst/elements/gstidentity.c: (gst_identity_finalize),
25794         (gst_identity_class_init), (gst_identity_init),
25795         (gst_identity_proxy_getcaps), (identity_queue_push),
25796         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25797         (gst_identity_getrange), (gst_identity_chain),
25798         (gst_identity_sink_loop), (gst_identity_src_loop),
25799         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25800         (gst_identity_set_property), (gst_identity_get_property),
25801         (gst_identity_change_state):
25802         * gst/elements/gstidentity.h:
25803         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25804         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25805         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25806         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25807         (gst_tee_sink_activate):
25808         * gst/elements/gsttee.h:
25809         * gst/gst.c: (gst_register_core_elements), (init_post):
25810         * gst/gst.h:
25811         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25812         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25813         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25814         (gst_bin_change_state):
25815         * gst/gstbin.h:
25816         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25817         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25818         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25819         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25820         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25821         (bus_watch_callback), (bus_watch_destroy),
25822         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25823         (poll_timeout), (gst_bus_poll):
25824         * gst/gstbus.h:
25825         * gst/gstcaps.h:
25826         * gst/gstdata.h:
25827         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25828         (gst_element_post_message), (gst_element_message_full),
25829         (gst_element_get_state_func), (gst_element_get_state),
25830         (gst_element_abort_state), (gst_element_commit_state),
25831         (gst_element_lost_state), (gst_element_set_state),
25832         (gst_element_pads_activate), (gst_element_change_state),
25833         (gst_element_dispose), (gst_element_set_manager_func),
25834         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25835         (gst_element_set_manager), (gst_element_get_manager),
25836         (gst_element_set_bus), (gst_element_get_bus),
25837         (gst_element_set_scheduler), (gst_element_get_scheduler):
25838         * gst/gstelement.h:
25839         * gst/gstevent.c: (gst_event_new_segment_seek),
25840         (gst_event_new_flush):
25841         * gst/gstevent.h:
25842         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25843         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25844         (gst_message_new_eos), (gst_message_new_error),
25845         (gst_message_new_warning), (gst_message_new_tag),
25846         (gst_message_new_state_changed), (gst_message_new_application),
25847         (gst_message_get_structure), (gst_message_parse_tag),
25848         (gst_message_parse_state_changed), (gst_message_parse_error),
25849         (gst_message_parse_warning):
25850         * gst/gstmessage.h:
25851         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25852         (gst_real_pad_set_property), (gst_pad_set_active),
25853         (gst_pad_is_active), (gst_pad_set_blocked_async),
25854         (gst_pad_set_blocked), (gst_pad_is_blocked),
25855         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25856         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25857         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25858         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25859         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25860         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25861         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25862         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25863         (gst_pad_set_caps), (gst_pad_configure_sink),
25864         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25865         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25866         (gst_real_pad_dispose), (gst_real_pad_finalize),
25867         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25868         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25869         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25870         * gst/gstpad.h:
25871         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25872         (pipeline_bus_handler), (gst_pipeline_change_state),
25873         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25874         * gst/gstpipeline.h:
25875         * gst/gstprobe.h:
25876         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25877         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25878         (gst_queue_link_src), (gst_queue_bufferalloc),
25879         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25880         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25881         (gst_queue_loop), (gst_queue_handle_src_event),
25882         (gst_queue_handle_src_query), (gst_queue_src_activate),
25883         (gst_queue_change_state):
25884         * gst/gstqueue.h:
25885         * gst/gstscheduler.c: (gst_scheduler_init),
25886         (gst_scheduler_dispose), (gst_scheduler_create_task),
25887         (gst_scheduler_factory_create):
25888         * gst/gstscheduler.h:
25889         * gst/gststructure.c: (gst_structure_get_type),
25890         (gst_structure_copy_conditional):
25891         * gst/gststructure.h:
25892         * gst/gsttaginterface.h:
25893         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25894         (gst_task_init), (gst_task_dispose), (gst_task_create),
25895         (gst_task_get_state), (gst_task_start), (gst_task_stop),
25896         (gst_task_pause):
25897         * gst/gsttask.h:
25898         * gst/gstthread.c:
25899         * gst/gstthread.h:
25900         * gst/gsttypes.h:
25901         * gst/schedulers/Makefile.am:
25902         * gst/schedulers/cothreads_compat.h:
25903         * gst/schedulers/entryscheduler.c:
25904         * gst/schedulers/faircothreads.c:
25905         * gst/schedulers/faircothreads.h:
25906         * gst/schedulers/fairscheduler.c:
25907         * gst/schedulers/gstbasicscheduler.c:
25908         * gst/schedulers/gstoptimalscheduler.c:
25909         * gst/schedulers/gthread-cothreads.h:
25910         * gst/schedulers/threadscheduler.c:
25911         (gst_thread_scheduler_task_get_type),
25912         (gst_thread_scheduler_task_class_init),
25913         (gst_thread_scheduler_task_init),
25914         (gst_thread_scheduler_task_start),
25915         (gst_thread_scheduler_task_stop),
25916         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25917         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25918         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25919         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25920         (plugin_init):
25921         * libs/gst/Makefile.am:
25922         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25923         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25924         (gst_file_pad_parent_set):
25925         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25926         (gst_dp_event_from_packet):
25927         * tests/complexity.c: (main):
25928         * tests/mass_elements.c: (main):
25929         * testsuite/states/locked.c: (message_received), (main):
25930         * testsuite/states/parent.c: (main):
25931         * tools/gst-inspect.c: (print_element_flag_info),
25932         (print_implementation_info), (print_pad_info):
25933         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25934         (main):
25935         * tools/gst-md5sum.c: (event_loop), (main):
25936         * tools/gst-typefind.c: (main):
25937         * tools/gst-xmlinspect.c: (print_element_info):
25938         Next big merge.
25939         Added GstBus for mainloop integration.
25940         Added GstMessage for sending notifications on the bus.
25941         Added GstTask as an abstraction for pipeline entry points.
25942         Removed GstThread.
25943         Removed Schedulers.
25944         Simplified GstQueue for multithreaded core.
25945         Made _link threadsafe, removed old capsnego.
25946         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25947         Added pad blocking functions.
25948         Reworked scheduling functions in GstPad to prepare for
25949         scheduling updates soon.
25950         Moved events out of data stream.
25951         Simplified GstEvent types.
25952         Added return values to push/pull.
25953         Removed clocking from GstElement.
25954         Added prototypes for state change function for next merge.
25955         Removed iterate from bins and state change management.
25956         Fixed some elements, disabled others for now.
25957         Fixed -inspect and -launch.
25958         Added check for GstBus.
25959
25960 2005-03-10  Wim Taymans  <wim@fluendo.com>
25961
25962         * docs/design/part-MT-refcounting.txt:
25963         * docs/design/part-clocks.txt:
25964         * docs/design/part-gstelement.txt:
25965         * docs/design/part-gstobject.txt:
25966         * docs/design/part-standards.txt:
25967         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25968         (gst_bin_remove_func), (gst_bin_remove):
25969         * gst/gstbin.h:
25970         * gst/gstbuffer.c:
25971         * gst/gstcaps.h:
25972         * testsuite/clock/clock1.c: (main):
25973         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25974         (main):
25975         * testsuite/dlopen/loadgst.c: (do_test):
25976         * testsuite/refcounting/bin.c: (add_remove_test1),
25977         (add_remove_test2), (main):
25978         * testsuite/refcounting/element.c: (main):
25979         * testsuite/refcounting/element_pad.c: (main):
25980         * testsuite/refcounting/pad.c: (main):
25981         * tools/gst-launch.c: (sigint_handler_sighandler):
25982         * tools/gst-typefind.c: (main):
25983         Doc updates.
25984         Added doc about clock.
25985         removed gst_bin_iterate_recurse_up(), marked methods
25986         for removal.
25987         Fix more testsuites.
25988
25989 2005-03-09  Wim Taymans  <wim@fluendo.com>
25990
25991         * gst/gstpad.c: (gst_pad_get_direction),
25992         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25993         (gst_pad_collect_valist):
25994         * testsuite/bins/interface.c: (main):
25995         * testsuite/caps/audioscale.c: (test_caps):
25996         * testsuite/caps/caps.c: (test1), (test2), (test3):
25997         * testsuite/caps/deserialize.c: (main):
25998         * testsuite/caps/enumcaps.c: (main):
25999         * testsuite/caps/filtercaps.c: (main):
26000         * testsuite/caps/intersect2.c: (main):
26001         * testsuite/caps/random.c: (main):
26002         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26003         * testsuite/caps/sets.c: (check_caps):
26004         * testsuite/caps/simplify.c: (check_caps), (main):
26005         * testsuite/caps/subtract.c: (check_caps):
26006         Fix _pad_get_direction wrt ghostpads.
26007         Fix caps testsuite.
26008
26009 2005-03-09  Wim Taymans  <wim@fluendo.com>
26010
26011         * check/Makefile.am:
26012         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26013         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26014         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26015         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26016         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26017         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26018         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26019         (bin_element_is_sink), (gst_bin_iterate_sinks),
26020         (gst_bin_iterate_all_by_interface):
26021         * gst/gstbin.h:
26022         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26023         (gst_element_change_state), (gst_element_dispose),
26024         (gst_element_finalize), (gst_element_set_loop_function):
26025         * gst/gstelement.h:
26026         * gst/gstiterator.c: (find_custom_fold_func):
26027         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26028         (gst_pad_collectv), (gst_pad_collect_valist),
26029         (gst_pad_template_new):
26030         * gst/gstpipeline.c: (gst_pipeline_class_init),
26031         (gst_pipeline_dispose), (gst_pipeline_set_property),
26032         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26033         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26034         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26035         * gst/gstutils.h:
26036         * gst/schedulers/entryscheduler.c:
26037         * gst/schedulers/gstbasicscheduler.c:
26038         (gst_basic_scheduler_cothreaded_chain),
26039         (gst_basic_scheduler_chain_add_element):
26040         * testsuite/bins/interface.c: (main):
26041         Added GstBin test.
26042         Added GstSystemClock test.
26043         Implemented clock distribution code in GstBin.
26044         Implemented iterate sinks method for future use.
26045         Rearranged gstelement.h
26046         Fix GstIterator comparison bug.
26047         Moved some code to GstPipeline, mostly clocking related.
26048
26049 2005-03-09  Wim Taymans  <wim@fluendo.com>
26050
26051         * configure.ac:
26052         * gst/gst_private.h:
26053         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26054         (gst_bin_remove_func), (gst_bin_remove),
26055         (gst_bin_get_by_name_recurse_up):
26056         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26057         (gst_clock_id_compare_func), (gst_clock_id_wait),
26058         (gst_clock_id_wait_async), (gst_clock_init),
26059         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26060         * gst/gstelement.h:
26061         * gst/gstinfo.c: (_gst_debug_init):
26062         * gst/gstobject.h:
26063         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26064         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26065         * gst/gstpad.h:
26066         Bump version number, we're now 0.9.0
26067         Add future debugging category.
26068         Fix NULL _unref() in _get_by_name_recurse_up
26069         Rearrange gstpad.h.
26070         Update some docs.
26071
26072 2005-03-08  Wim Taymans  <wim@fluendo.com>
26073
26074         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26075         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26076         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26077         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26078         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26079         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26080         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26081         * gst/elements/gstidentity.c: (gst_identity_class_init):
26082         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26083         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26084         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26085         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26086         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26087         (gst_tee_link):
26088         * gst/gstelement.c: (gst_element_class_init),
26089         (gst_element_base_class_init), (gst_element_init),
26090         (gst_element_get_random_pad), (gst_element_wait_state_change),
26091         (gst_element_change_state), (gst_element_dispose),
26092         (gst_element_finalize), (gst_element_set_loop_function):
26093         * gst/gstelement.h:
26094         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26095         * gst/gstthread.c: (gst_thread_class_init),
26096         (gst_thread_release_children_locks), (gst_thread_change_state):
26097         * gst/schedulers/gstbasicscheduler.c:
26098         (gst_basic_scheduler_loopfunc_wrapper),
26099         (gst_basic_scheduler_chain_wrapper),
26100         (gst_basic_scheduler_src_wrapper),
26101         (gst_basic_scheduler_remove_element):
26102         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26103         Remove threadsafe properties. Fix elements because GObject
26104         complains when installing a property before declaring a
26105         set/get_property handler.
26106         Rearrange gstelement.h file, use STATE macros for state locks.
26107         Free mutexes in the finalize method instead of dispose.
26108
26109 2005-03-08  Wim Taymans  <wim@fluendo.com>
26110
26111         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26112         * gst/gstthread.c: (gst_thread_release_children_locks):
26113         Added parentage check.
26114         Fix build og GstThread again.
26115
26116 2005-03-08  Wim Taymans  <wim@fluendo.com>
26117
26118         * docs/design/part-MT-refcounting.txt:
26119         * docs/design/part-conventions.txt:
26120         * docs/design/part-gstobject.txt:
26121         * docs/design/part-relations.txt:
26122         * docs/design/part-standards.txt:
26123         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26124         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26125         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26126         (gst_bin_iterate_all_by_interface):
26127         * gst/gstbuffer.h:
26128         * gst/gstclock.h:
26129         * gst/gstelement.c: (gst_element_class_init),
26130         (gst_element_change_state), (gst_element_set_loop_function):
26131         * gst/gstelement.h:
26132         * gst/gstiterator.c:
26133         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26134         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26135         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26136         (gst_object_set_parent), (gst_object_unparent),
26137         (gst_object_check_uniqueness):
26138         * gst/gstobject.h:
26139         Docs updates, clean up some headers.
26140
26141 2005-03-07  Wim Taymans  <wim@fluendo.com>
26142
26143         * check/.cvsignore:
26144         * check/Makefile.am:
26145         * check/gst-libs/.cvsignore:
26146         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26147         * check/gst/.cvsignore:
26148         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26149         (START_TEST), (gstbus_suite), (main):
26150         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26151         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26152         (gst_data_suite), (main):
26153         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26154         (add_fold_func), (gstiterator_suite), (main):
26155         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26156         (thread_name_object), (thread_name_object_default),
26157         (gst_object_name_compare), (gst_object_suite), (main):
26158         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26159         (gst_pad_suite), (main):
26160         * check/gstcheck.c: (gst_check_log_message_func),
26161         (gst_check_log_critical_func), (gst_check_init):
26162         * check/gstcheck.h:
26163         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26164         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26165         Added checks.
26166
26167 2005-03-07  Wim Taymans  <wim@fluendo.com>
26168
26169         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26170         (gst_list_iterator_next), (gst_list_iterator_resync),
26171         (gst_list_iterator_free), (gst_iterator_new_list),
26172         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26173         (gst_iterator_free), (gst_iterator_push), (filter_next),
26174         (filter_resync), (filter_uninit), (filter_free),
26175         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26176         (gst_iterator_foreach), (find_custom_fold_func),
26177         (gst_iterator_find_custom):
26178         * gst/gstiterator.h:
26179         Added missing files.
26180
26181 2005-03-07  Wim Taymans  <wim@fluendo.com>
26182
26183         * Makefile.am:
26184         * configure.ac:
26185         * docs/design/part-MT-refcounting.txt:
26186         * docs/design/part-conventions.txt:
26187         * docs/design/part-gstobject.txt:
26188         * docs/design/part-relations.txt:
26189         * examples/mixer/mixer.c: (main):
26190         * examples/thread/thread.c: (eos), (main):
26191         * gst/Makefile.am:
26192         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26193         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26194         (gst_spider_plug_from_srcpad):
26195         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26196         (gst_spider_identity_change_state),
26197         (gst_spider_identity_sink_loop_type_finding):
26198         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26199         * gst/elements/gstidentity.c: (gst_identity_init):
26200         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26201         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26202         * gst/elements/gsttypefindelement.c: (free_entry):
26203         * gst/gst.c:
26204         * gst/gst.h:
26205         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26206         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26207         (gst_bin_set_index), (gst_bin_set_element_sched),
26208         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26209         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26210         (gst_bin_iterate_elements), (iterate_child_recurse),
26211         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26212         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26213         (compare_interface), (gst_bin_get_by_interface),
26214         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26215         * gst/gstbin.h:
26216         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26217         (gst_buffer_default_free), (gst_buffer_default_copy),
26218         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26219         (gst_buffer_create_sub):
26220         * gst/gstbuffer.h:
26221         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26222         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26223         (gst_caps_unref), (gst_static_caps_get),
26224         (gst_caps_remove_and_get_structure), (gst_caps_append),
26225         (gst_caps_append_structure), (gst_caps_remove_structure),
26226         (gst_caps_copy_nth), (gst_caps_set_simple),
26227         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26228         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26229         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26230         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26231         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26232         (gst_caps_structure_figure_out_union),
26233         (gst_caps_switch_structures), (gst_caps_do_simplify),
26234         (gst_caps_replace), (gst_caps_from_string),
26235         (gst_caps_copy_conditional):
26236         * gst/gstcaps.h:
26237         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26238         (_gst_clock_id_free), (gst_clock_id_unref),
26239         (gst_clock_id_compare_func), (gst_clock_id_wait),
26240         (gst_clock_id_wait_async), (gst_clock_class_init),
26241         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26242         (gst_clock_get_time), (gst_clock_set_time_adjust),
26243         (gst_clock_set_property), (gst_clock_get_property):
26244         * gst/gstclock.h:
26245         * gst/gstcompat.h:
26246         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26247         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26248         * gst/gstdata.h:
26249         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26250         (gst_element_requires_clock), (gst_element_provides_clock),
26251         (gst_element_set_clock), (gst_element_clock_wait),
26252         (gst_element_wait), (gst_element_set_time_delay),
26253         (gst_element_is_indexable), (gst_element_add_pad),
26254         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26255         (pad_compare_name), (gst_element_get_static_pad),
26256         (gst_element_request_pad), (gst_element_get_request_pad),
26257         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26258         (gst_element_class_get_pad_template_list),
26259         (gst_element_class_get_pad_template), (gst_element_error_func),
26260         (gst_element_get_random_pad), (gst_element_get_event_masks),
26261         (gst_element_send_event), (gst_element_seek),
26262         (gst_element_get_query_types), (gst_element_query),
26263         (gst_element_get_formats), (gst_element_convert),
26264         (gst_element_is_locked_state), (gst_element_set_locked_state),
26265         (gst_element_sync_state_with_parent), (gst_element_change_state),
26266         (gst_element_finalize), (gst_element_yield),
26267         (gst_element_interrupt), (gst_element_set_scheduler),
26268         (gst_element_get_scheduler), (gst_element_set_loop_function):
26269         * gst/gstelement.h:
26270         * gst/gstevent.h:
26271         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26272         (gst_format_get_by_nick), (gst_format_get_details),
26273         (gst_format_iterate_definitions):
26274         * gst/gstformat.h:
26275         * gst/gstindex.c: (gst_index_gtype_resolver):
26276         * gst/gstinfo.c:
26277         * gst/gstinfo.h:
26278         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26279         (gst_mem_chunk_free):
26280         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26281         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26282         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26283         (gst_object_dispatch_properties_changed),
26284         (gst_object_set_name_default), (gst_object_set_name),
26285         (gst_object_get_name), (gst_object_set_name_prefix),
26286         (gst_object_get_name_prefix), (gst_object_set_parent),
26287         (gst_object_get_parent), (gst_object_unparent),
26288         (gst_object_check_uniqueness), (gst_object_save_thyself),
26289         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26290         (gst_object_set_property), (gst_object_get_property),
26291         (gst_object_get_path_string):
26292         * gst/gstobject.h:
26293         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26294         (gst_real_pad_init), (gst_real_pad_get_property),
26295         (gst_pad_custom_new), (gst_pad_get_direction),
26296         (gst_pad_set_active), (gst_pad_is_active),
26297         (gst_pad_set_event_function), (gst_pad_is_linked),
26298         (gst_pad_link_free), (gst_pad_link_intersect),
26299         (gst_pad_link_fixate), (gst_pad_set_caps),
26300         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26301         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26302         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26303         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26304         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26305         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26306         (gst_pad_realize), (gst_pad_get_allowed_caps),
26307         (gst_real_pad_dispose), (gst_real_pad_finalize),
26308         (gst_pad_collectv), (gst_pad_collect_valist),
26309         (gst_pad_template_dispose), (gst_pad_template_new),
26310         (gst_pad_get_internal_links):
26311         * gst/gstpad.h:
26312         * gst/gstpipeline.c: (gst_pipeline_dispose),
26313         (gst_pipeline_change_state):
26314         * gst/gstpipeline.h:
26315         * gst/gstplugin.c:
26316         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26317         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26318         * gst/gstpluginfeature.h:
26319         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26320         * gst/gstquery.c: (_gst_query_type_initialize),
26321         (gst_query_type_register), (gst_query_type_get_by_nick),
26322         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26323         * gst/gstquery.h:
26324         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26325         * gst/gstscheduler.c: (gst_scheduler_add_element),
26326         (gst_scheduler_factory_create):
26327         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26328         (gst_structure_free), (gst_structure_set_name),
26329         (gst_structure_id_set_value), (gst_structure_set_value),
26330         (gst_structure_set_valist), (gst_structure_remove_field),
26331         (gst_structure_remove_fields),
26332         (gst_structure_remove_fields_valist),
26333         (gst_structure_remove_all_fields), (gst_structure_foreach),
26334         (gst_structure_map_in_place),
26335         (gst_caps_structure_fixate_field_nearest_int),
26336         (gst_caps_structure_fixate_field_nearest_double):
26337         * gst/gststructure.h:
26338         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26339         (gst_system_clock_init), (gst_system_clock_dispose),
26340         (gst_system_clock_async_thread),
26341         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26342         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26343         * gst/gstsystemclock.h:
26344         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26345         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26346         * gst/gsttaginterface.c:
26347         * gst/gstthread.c: (gst_thread_dispose),
26348         (gst_thread_release_children_locks), (gst_thread_change_state),
26349         (gst_thread_main_loop):
26350         * gst/gsttrashstack.h:
26351         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26352         * gst/gsttypes.h:
26353         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26354         (gst_element_request_pad), (gst_element_get_pad_from_template),
26355         (gst_element_request_compatible_pad),
26356         (gst_element_get_compatible_pad_filtered),
26357         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26358         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26359         (gst_element_link_many), (gst_element_link),
26360         (gst_element_link_pads), (gst_element_unlink_pads),
26361         (gst_element_unlink_many), (gst_element_unlink),
26362         (gst_pad_can_link_filtered), (gst_pad_can_link),
26363         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26364         (gst_object_default_error), (gst_bin_add_many),
26365         (gst_bin_remove_many), (gst_element_populate_std_props),
26366         (gst_element_class_install_std_props), (gst_buffer_merge),
26367         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26368         (link_fold_func), (gst_pad_proxy_setcaps):
26369         * gst/gstutils.h:
26370         * gst/gstvalue.c: (gst_value_deserialize_string):
26371         * gst/parse/grammar.y:
26372         * gst/schedulers/gstbasicscheduler.c:
26373         (gst_basic_scheduler_cothreaded_chain),
26374         (gst_basic_scheduler_chain_recursive_add),
26375         (gst_basic_scheduler_pad_link):
26376         * gst/schedulers/gstoptimalscheduler.c:
26377         (get_group_schedule_function),
26378         (gst_opt_scheduler_state_transition),
26379         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26380         * libs/gst/bytestream/bytestream.c:
26381         * libs/gst/dataprotocol/dataprotocol.c:
26382         (gst_dp_header_from_buffer):
26383         * po/nb.po:
26384         * po/ru.po:
26385         * tests/threadstate/threadstate2.c: (eos):
26386         * tools/gst-compprep.c: (main):
26387         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26388         (print_pad_info), (print_children_info):
26389         * tools/gst-launch.c: (idle_func), (main):
26390         * tools/gst-md5sum.c: (idle_func), (main):
26391         * tools/gst-xmlinspect.c: (print_element_info):
26392         First THREADED backport attempt, focusing on adding locks and
26393         making sure the API is threadsafe. Needs more work. More docs
26394         follow this week.
26395
26396 2005-02-24  Andy Wingo  <wingo@pobox.com>
26397
26398         * tests/bench-complexity.scm:
26399         * tests/complexity.gnuplot: New files, good for running complexity
26400         benchmarks.
26401
26402         * tests/Makefile.am:
26403         * tests/complexity.c: New test, sets up N elements, at each level
26404         teeing into M streams per element. Eeeenteresting.
26405
26406         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26407         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26408         running bench-mass_elements.scm.
26409
26410         * tests/bench-mass_elements.scm: New script, runs mass_elements
26411         for various numbers of identities, outputting the results to a
26412         file. Requires guile 1.6. Just for testing.
26413
26414 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26415
26416         * gst/schedulers/fairscheduler.c:
26417           compile with debug disabled
26418
26419 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26420
26421         * configure.ac:
26422           hunting season on 0.9 is now OPEN