configure.ac: Back to CVS
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
2
3         * configure.ac:
4
5         Back to CVS
6
7 === release 0.10.15 ===
8
9 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
10
11         * configure.ac:
12           releasing 0.10.15, "October"
13
14 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
15
16         * win32/vs6/libgstreamer.dsp:
17         Convert line endings back to DOS.
18
19 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
20
21         * docs/design/draft-tagreading.txt:
22         * docs/random/ensonic/profiling.txt:
23         Update fast tagreading draft and performance profiling ideas.
24
25 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
26
27         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
28         Don't hold the object lock when unreffing a buffer because it could
29         cause a deadlock when the finalize function wants to grab the object
30         lock too. Fixes #495133.
31
32 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
33
34         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
35         (gst_segment_to_stream_time), (gst_segment_to_running_time):
36         Also accumulate time correctly when doing reverse playback. Fixes
37         #488201,
38         When converting to running and stream time, use default values for
39         start/stop/time/accum when comparing different formats. Fixes #494245.
40
41         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
42         Do running/stream time in TIME format.
43
44         * tests/check/gst/gstsegment.c: (GST_START_TEST),
45         (gst_segment_suite):
46         2 new unit tests for segment accumulation.
47
48 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
49
50         * gst/gst.c: (init_pre):
51         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
52           (_gst_debug_bin_to_dot_file):
53           Move getenv() back into gst_init, so everyone can live happily
54           ever after. Make sure the symbol isn't exported though.
55
56 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
57
58         Patch by: Sebastien Moutte  <sebastien moutte net>
59
60         * win32/common/gstenumtypes.c:
61         * win32/common/gstenumtypes.h:
62           Update enum types.
63
64         * win32/vs6/libgstreamer.dsp:
65           Update vs6 project files (#494343).
66
67 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
68
69         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
70         (gst_base_src_perform_seek), (gst_base_src_default_event),
71         (gst_base_src_set_flushing), (gst_base_src_activate_push),
72         (gst_base_src_activate_pull):
73         Unify flushing code, remove some old unlock code that is no longer used.
74         Take the streaming lock when seeking to avoid races. Fixes #492729.
75         Added some more comments.
76
77 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
78
79         * gst/gst.c: (_gst_disable_segtrap):
80           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
81           we can use gst_segtrap_is_enabled() there now that we have that API.
82           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
83           to do the getenv here (and export the variable).
84
85         * gst/gstdebugutils.c: (debug_dump_element),
86           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
87           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
88
89         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
90           (gst_debug_log_default):
91           Rename _gst_info_start_time to priv_gst_info_start_time so it
92           doesn't get exported (was never in any header).
93
94         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
95           (gst_plugin_loading_mutex):
96           Make static mutex gst_plugin_loading_mutex really static (was never
97           in any header), and use gst_segtrap_is_enabled() instead of
98           _gst_disable_segtrap.
99
100         * gst/gsttrace.c: (_gst_trace_default):
101           Make local _gst_trace_default static (was never in any header).
102
103 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
104
105         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
106
107         * win32/common/libgstbase.def:
108         * win32/common/libgstcontroller.def:
109         * win32/common/libgstdataprotocol.def:
110         * win32/common/libgstnet.def:
111         * win32/common/libgstreamer.def:
112           Add more missing symbols, remove some duplicates, and sort
113           as the 'sort' command sorts it (partially fixes #493983).
114
115 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
116
117         * gst/gstelement.c: (gst_element_set_state_func):
118         Only change the state cookie if a different state was set on the
119         element. See #492729.
120
121 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
122
123         * gst/gstvalue.c:
124           Remove unused and uninitialised type variables that were still
125           exported for some reason (they were never in any header files
126           though).
127
128 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
129
130         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
131         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
132         (gst_base_sink_event), (gst_base_sink_get_position_last),
133         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
134         (gst_base_sink_change_state):
135         Don't try to report a 0 position when we don't know, return -1 and FALSE
136         instead. This mostly happens when we are prerolling.
137         Make sure we can report the right position before we post the ASYNC_DONE
138         message so that a message handler can query position without races.
139
140         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
141         (async_done_handoff), (async_done_func), (send_buffer),
142         (async_done_eos_func), (gst_sinks_suite):
143         Add two tests for the above.
144
145 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
146
147         * MAINTAINERS:
148         Update with new email address.
149
150         * docs/design/part-TODO.txt:
151         Add some more info about future pad-block and negotiation changes.
152
153         * docs/design/part-buffering.txt:
154         Add some ideas about buffering reporting.
155
156 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
157
158         * tests/check/gst/gstobject.c:
159         Disable silly racy test that always fails on this combination of CPU
160         and kernel.
161
162 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
163
164         Patch by: Murray Cumming  <murrayc@murrayc.com>
165
166         * gst/gstobject.c:
167           Corrected the registration of the parent-set and parent-unset
168           signals: The parameter is a GstObject, not a GObject (#493134).
169
170 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
171
172         * gst/gst_private.h:
173         * gst/gstbuffer.h:
174         * gst/gstevent.h:
175         * gst/gstformat.h:
176         * gst/gstmessage.h:
177         * gst/gstplugin.h:
178         * gst/gstquery.h:
179         * gst/gsttaglist.h:
180         * gst/gstvalue.h:
181           Move declaration of private _gst_foo_initialize() functions into
182           our private header file where they should have been all along.
183
184 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
185
186         * docs/plugins/gstreamer-plugins-sections.txt:
187         * gst/gstdebugutils.h:
188         * gst/gstxml.h:
189         * plugins/elements/gstqueue.c:
190           gtk-doc fixes; trailing-comma-in-enum fix.
191
192 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
193
194         * gst/gst.c: (gst_deinit):
195           Clean up on deinit (not the external ones though, doesn't seem to be
196           needed for some reason).
197
198 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
199
200         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
201           Remove __declspec(dllimport) for MSVC that was copied over into core
202           from a plugin, obviously without ever having been tested (note the
203           single underscore in _declspec in the initial commit), and that doesn't
204           really make sense.  See #492077.
205
206 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
207
208         * gst/gst.c: (init_post):
209         * gst/gstevent.c: (_gst_event_initialize):
210         * gst/gstquery.c: (_gst_query_initialize):
211         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
212           g_type_class_ref() other types as well, see #349410 and #64764.
213
214         * gst/gstbuffer.c: (_gst_buffer_initialize):
215         * gst/gstmessage.c: (_gst_message_initialize):
216           Simplify existing g_type_class_ref().
217
218 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
219
220         * gst/gstformat.c: (_gst_format_initialize):
221           g_type_class_ref() our GstFormat type to make sure we avoid the
222           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
223           bug #64764. Should fix intermittent tee unit test failures (#474823).
224
225 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
226
227         * tests/check/elements/tee.c: (test_num_buffers):
228           Simplify, simplify, simplify - or not.  Rewrite unit test
229           not to use gst_parse_launch(); allow N sub-streams. Increasing
230           the number of sub-streams seems to reproduce #474823 more easily.
231
232 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
233
234         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
235
236         * gst/gsttrace.c:
237         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
238         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
239         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
240           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
241           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
242           so use _pipe() directly (#492077).
243
244         * win32/common/dirent.c: (_treaddir):
245           Add a couple of casts to make it build without warnings with MSVC.
246
247         * win32/common/libgstreamer.def:
248           Add some more symbols that need to be exported.
249
250 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
251
252         * tests/examples/metadata/read-metadata.c: (message_loop):
253           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
254           arriving in a second or third tag message are added to
255           the tag list as well.
256
257 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
258
259         * libs/gst/base/gstbasesrc.c:
260           Its "Since:" and not "@Since:". And remove an superflous cast.
261
262 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
263
264         * docs/libs/gstreamer-libs-sections.txt:
265         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
266         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
267         (gst_base_sink_get_property), (gst_base_sink_render_object),
268         (gst_base_sink_preroll_object),
269         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
270         (gst_base_sink_change_state):
271         * libs/gst/base/gstbasesink.h:
272         Add a new last-buffer property that contains the last buffer used in
273         basesink for preroll or rendering. useful for making snapshots.
274         API: gst_base_sink_get_last_buffer()
275         API: GstBaseSink::last-buffer
276
277 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
278
279         * docs/gst/running.xml:
280         * gst/gst.c:
281         * gst/gstdebugutils.c:
282         * gst/gstdebugutils.h:
283         * tools/gst-launch.c:
284           Improve bin graph dumping, by using the envvar to specify a path.
285           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
286
287 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
288
289         * plugins/elements/gsttypefindelement.c:
290           (gst_type_find_element_handle_event),
291           (gst_type_find_element_activate):
292           Post special error message if we can't determine the type of a stream
293           because it's empty.
294
295 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
296
297         * docs/gst/running.xml:
298         * gst/gstdebugutils.c:
299           Document new env-var. Add one log-line after dumpng a graph.
300
301 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
302
303         * configure.ac:
304           Ugly hack to put the (recently removed and non-portable, apparently)
305           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
306           GNU ld, because without that 'make check' fails miserably on my debian
307           stable box.  Someone with more knowledge of linker intricacies and
308           portability issues than me fix this properly please.
309
310 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
311
312         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
313         Reset last seen position after flushing so that we don't report the old
314         position anymore.
315
316 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
317
318         * gst/gstelementfactory.c: (gst_element_register):
319         * gst/gsturi.h:
320         Patch from Alessandro Decina adding get_type_full and
321         get_protocols_full private vfuncs to the URIHandler interface
322         to allow bindings to support creating URI handlers. 
323         Partially fixes: #339279
324         API: GstURIHandlerInterface::get_type_full
325         API: GstURIHandlerInterface::get_protocols_full
326
327 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
328
329         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
330         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
331         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
332         Make it so that pads are considered linked until a buffer is pushed
333         and discovered otherwise. This avoids problems with decodebin2 hanging
334         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
335         case.
336
337         Make sure we lock the multiqueue when updating the max-size properties.
338         
339         Fix a crash on Solaris in a debug statement in get_request_pad that
340         passes a NULL string to GST_DEBUG. 
341
342         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
343         (run_output_order_test):
344         Fix the test to allow the first buffer on not-linked pads to come out
345         of sequence while multiqueue discovers that they are not-linked.
346
347 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
348
349         * configure.ac:
350         * libs/gst/check/Makefile.am:
351         Use a custom export symbol regex for libgstcheck, as it needs
352         to export symbols that don't match the standard GStreamer gst_*
353         pattern, and  --export-dynamic is not portable (only works on 
354         GNU ld)
355
356         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
357         (gst_check_setup_sink_pad):
358         Make sure to pass a message parameter to the fail_* macros.
359
360         * tests/check/gst/gstinfo.c: (GST_START_TEST):
361         Fix some compiler warnings.
362
363 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
364
365         * tests/check/gst/gststructure.c: (test_to_string):
366           Disable test that checks that white spaces are not allowed
367           in structure names or field names, since we need to
368           support that for now for backwards compatibility reasons.
369
370 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
371
372         * docs/gst/gstreamer-sections.txt:
373         * gst/gsttaglist.c:
374         * gst/gsttaglist.h:
375           API: add GST_TAG_ARTIST_SORTNAME
376           API: add GST_TAG_ALBUM_SORTNAME
377           API: add GST_TAG_TITLE_SORTNAME
378           Add tag variants for sorting (#414539).
379
380 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
381
382         * gst/gststructure.c:
383           Also allow white space for names so we don't break
384           backwards compatibility.
385
386 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
387
388         * docs/design/part-TODO.txt:
389         * docs/design/part-segments.txt:
390         * docs/design/part-streams.txt:
391         Small updates.
392
393 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
394
395         * docs/gst/gstreamer-sections.txt:
396          Fixed documentation from my previous commit (added new API add
397          gst_value_set_structure(), add gst_value_get_structure() and
398          GST_VALUE_HOLDS_STRUCTURE).
399
400 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
401
402         * gst/gstdebugutils.c:
403           Reflow code to fix uninitialized variable warning.
404
405 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
406
407         * gst/gstcaps.c: (gst_caps_to_string),
408         (gst_caps_from_string_inplace):
409         * gst/gststructure.c: (gst_structure_get_abbrs),
410         (gst_structure_to_string), (gst_structure_from_string):
411         * gst/gstvalue.c: (gst_value_set_structure),
412         (gst_value_get_structure), (gst_value_serialize_structure),
413         (gst_value_deserialize_structure), (_gst_value_initialize):
414         * gst/gstvalue.h:
415         * tests/check/gst/gststructure.c: (GST_START_TEST),
416         (gst_structure_suite):
417         * tests/check/gst/gstvalue.c: (GST_START_TEST):
418          Added GstStructure to gst_value_table and its related functions.
419          Changed gst_structure_to_string to print ';' in the end.
420          Changed gst_caps_to_string to not print ';' beteween its
421          fields (structures) anymore and remove the lastes ';' from latest
422          structure. Now it is possible to have nested structures.
423          In addition, backward compatibilty is assured by accepting '\0' as
424          end delimiter. Fixes: #487969.
425          API: add gst_value_set_structure()
426          API: add gst_value_get_structure()
427          API: add GST_VALUE_HOLDS_STRUCTURE
428
429 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
430
431         * gst/gstbus.c:
432           When no GSource callback has been set up, tell developer
433           to use a function that actually exists.
434
435 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
436
437         * docs/gst/gstreamer-sections.txt:
438         * gst/Makefile.am:
439         * gst/gst.c:
440         * gst/gst.h:
441         * gst/gstdebugutils.c:
442         * gst/gstdebugutils.h:
443         * gst/gstinfo.c:
444         * gst/gstinfo.h:
445         * tools/gst-launch.c:
446           Allow dumping pipelines as dot graphs. Fixes #456573.
447
448 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
449
450         * gst/gststructure.c:
451           Allow '+' as well, it can be part of media or mime types
452           such as image/svg+xml.
453
454 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
455
456         * docs/gst/gstreamer-sections.txt:
457         * gst/gstbus.c:
458         * gst/gstbus.h:
459           API: add gst_bus_pop_filtered
460           API: add gst_bus_timed_pop_filtered
461           Two new functions for waiting for specific message types on the
462           bus for a specified amount of time without iterating any main
463           loops or main contexts.
464
465         * tests/check/gst/gstbus.c:
466           Some tests for the new functions.
467
468 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
469
470         * docs/libs/gstreamer-libs-sections.txt:
471           Make gtk-doc ignore stuff it should ignore.
472
473 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
474
475         * libs/gst/check/gstcheck.c:
476         * libs/gst/check/gstcheck.h:
477           Allow runtime selection of unit tests to run via the GST_CHECKS
478           environment variable (test case function names, comma-separated).
479
480 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
481
482         * gst/gststructure.c:
483         * tests/check/gst/gststructure.c:
484           Revert serialisation change and constrain structure-names after
485           consensus on irc. Update api documentation to reflect the change.
486
487 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
488
489         * gst/gststructure.c:
490           Improve serialization and fix tests.
491
492         * tests/check/gst/gststructure.c:
493           Add another test that covers why I actually did the previous structure
494           change.
495
496 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
497
498         * tools/gst-inspect.c: (print_element_info):
499         Don't crash when inspecting an element.
500
501 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
502
503         * tests/check/gst/gststructure.c:
504           Add unit test for escaping of structure name when serialising
505           and deserialising to/from strings.
506
507 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
508
509         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
510         (gst_single_queue_new):
511         * plugins/elements/gstqueue.c: (gst_queue_init),
512         (gst_queue_push_one):
513         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
514         upstream is tricked into thinking it can suggest a format downstream
515         while downstream does not support that format. The real problem is that
516         core calls acceptcaps when pushing a buffer with new caps, for which we
517         do a little workaround by setting the caps on the srcpad ourselves
518         before pushing the buffer (until this is figured out). Fixes #486758.
519
520 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
521
522         * gst/gststructure.c:
523         * gst/gstvalue.c:
524           Add some more comments and debug output. Quote structure name to fix
525           deserialisation of some strings.
526
527 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
528
529         * gst/gstbuffer.h:
530           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
531           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
532
533 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
534
535         * tools/gst-inspect.c:
536           Save approx. 400 1 byte allocs when printing. Use API to acces element
537           details.
538
539         * tools/gst-run.c:
540           Avoid a strdup.
541
542         * tools/gst-xmlinspect.c:
543           Use API to acces element details.
544
545 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
546
547         * gst/gstinfo.c:
548           Fix some spelling errors.
549
550 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
551
552         * gst/gstbin.c: (bin_handle_async_done):
553         Correctly set the next state if all of our async children commited their
554         state. This makes sure we can actually cancel the state change in
555         progress. Fixes a regression in Rhythmbox when seeking.
556
557 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
558
559         * gst/gstbin.c:
560           Don't shadow local variable.
561
562         * gst/gstinfo.c:
563           Don't shadow global function name.
564
565 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
566
567         * gst/gstelementfactory.c:
568         * gst/gstpluginfeature.c:
569         * gst/gstpluginfeature.h:
570         * gst/gstregistrybinary.c:
571         * gst/gstregistryxml.c:
572         * gst/gsttypefind.c:
573           Use already-interned string for the private GstPluginFeature
574           plugin_name field.
575
576 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
577
578         * docs/libs/gstreamer-libs-sections.txt:
579           Add new API to docs; fixes the build.
580
581 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
582         
583         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
584
585         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
586         (gst_base_sink_event):
587         * libs/gst/base/gstbasesink.h:
588         Add function to wait for EOS, subclasses can use this to correctly wait
589         for devices to drain before performing the EOS logic. Fixes #485343.
590         API: gst_base_sink_wait_eos()
591
592 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
593
594         * gst/gstplugin.h:
595           Cast description string constants in GST_PLUGIN_DEFINE macros
596           to a (gchar*) to make C++ code using these macros compile
597           without warning with g++-4.2 (see #462737).  Even if slightly
598           ugly, this seems preferable to putting the description strings
599           into the GLib quark table or making the structure member a
600           const gchar * and doing casts in core code that allocs and
601           frees these strings, or requiring a cast in the C++ code.
602
603 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
604
605         * gst/gstinfo.h:
606           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
607           to print the entire class/function signature into the log
608           file for C++ code.  This only affects C++ code, for C code
609           everything remains the same.
610
611 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
612
613         * gst/gstbin.c: (remove_from_queue):
614         Work around a problem with pipelines containing (semi)loops until a
615         proper, more complicated solution is ready. See #475455.
616
617 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
618
619         * gst/gstplugin.c:
620         * gst/gstplugin.h:
621         * gst/gstregistrybinary.c:
622         * gst/gstregistryxml.c:
623           Put more strings into the GLib quark table. No need to keep
624           a hundred-something copies of identical version strings,
625           license strings, package name strings and package origin
626           strings around. 
627
628 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
629
630         * docs/manual/advanced-dataaccess.xml:
631           Don't imply that it's okay to unconditionally change
632           buffer data or buffer metadata in a pad probe callback,
633           and a bunch of other comments. Fixes #430031.
634
635 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
636
637         * win32/common/gstenumtypes.c:
638         * win32/common/gstenumtypes.h:
639         * win32/common/gstversion.h:
640           Update generated files.
641
642 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
643
644         * docs/manual/advanced-autoplugging.xml:
645           Prefix section with broken code with a warning (see #342432).
646
647 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
648
649         * docs/manual/appendix-integration.xml:
650         * docs/manual/basics-init.xml:
651           Call g_thread_init() before g_option_context_new() to
652           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
653
654 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
655
656         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
657         (gst_base_sink_queue_object_unlocked),
658         (gst_base_sink_queue_object), (gst_base_sink_event),
659         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
660         When we received EOS and are waiting for when to post the EOS message,
661         our state is prerolled and we should not return ASYNC.
662         Reorganize some code paths to implement this behavior.
663
664         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
665         (gst_sinks_suite):
666         Add unit test to verify above EOS fix.
667
668 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
669
670         * plugins/elements/gsttypefindelement.c:
671         (gst_type_find_element_have_type), (gst_type_find_element_init),
672         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
673         Move detecting the input caps of the sinkpad to the setcaps function.
674         This allows us to update the output caps when we receive new input caps
675         instead of always using the first detected caps.
676
677 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
678
679         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
680         (gst_base_sink_get_position):
681         Don't try to preroll non-async elements after a flush.
682         Subtract latency form clock times when reporting position.
683
684 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
685
686         * gst/gstpad.c: (gst_pad_pause_task):
687         * gst/gstutils.c:
688         Small comment and documentation update.
689
690 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
691
692         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
693         (gst_base_src_set_live), (gst_base_src_is_live),
694         (gst_base_src_query_latency), (gst_base_src_perform_seek),
695         (gst_base_src_default_event), (gst_base_src_wait),
696         (gst_base_src_do_sync), (gst_base_src_get_range),
697         (gst_base_src_pad_get_range), (gst_base_src_loop),
698         (gst_base_src_unlock), (gst_base_src_unlock_stop),
699         (gst_base_src_set_flushing), (gst_base_src_set_playing),
700         (gst_base_src_activate_push), (gst_base_src_activate_pull),
701         (gst_base_src_change_state):
702         Rework the locking of basesrc in a similar fashion to basesink. We
703         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
704         us to handle live sources and semi live ones much better.
705         Simplify flushing.
706         Fix unlocking when seeking, shutting down and pausing in live sources.
707
708 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
709
710         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
711         Fix compilation again.
712
713 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
714
715         * gst/gstelement.c:
716           Use meaningful categories for the logs to clean the default one.
717
718 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
719
720         * tests/check/pipelines/cleanup.c:
721           Print message name and not just number.
722
723 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
724
725         * docs/design/draft-tagreading.txt:
726           Add some more thoughts.
727
728 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
729
730         * tests/check/pipelines/simple-launch-lines.c:
731           Print message name and not just number.
732
733 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
734
735         * libs/gst/base/gsttypefindhelper.c:
736           Speedup typefinding. This is work in progress (see #459862).
737
738 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
739
740         * gst/gstplugin.c:
741           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
742           Spotted by Josep Torra Valles <josep@fluendo.com>.
743
744 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
745
746         * gst/gstclock.h:
747           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
748           field has moved to GstObject.
749
750 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
751
752         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
753         (gst_base_src_get_range), (gst_base_src_change_state):
754         Call unlock for live sources so that they can't get stuck in _create and
755         produce a buffer before they are set back to PLAYING.
756
757 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
758
759         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
760         (gst_queue_locked_dequeue):
761         Comment the segment-related code... in the PROPER function.
762         See #482147 and my commit from yesterday.
763
764 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
765
766         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
767         Also initialize the counter that calculates the first timestamp on a
768         buffer correctly for non-live sources.
769
770 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
771
772         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
773         Disable code that's breaking the current-time-level reporting.
774         See #482147
775
776 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
777
778         * docs/gst/gstreamer-sections.txt:
779         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
780         as they shouldn't show up. Fixes the docs build.
781
782 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
783         
784         * gst/gstinfo.h:
785         Add an explicit variable importation needed on VS6 (only for MSC_VER)
786         Define M_PI which is used in files which are including gstinfo.h. 
787         VS6 includes doesn't define it.
788         * win32/common/libgstbase.def:
789         * win32/common/libgstcontroller.def:
790         * win32/common/libgstreamer.def:
791         Add new exported functions and variables.
792         * win32/vs6/libgstcontroller.dsp:
793         * win32/vs6/libgstreamer.dsp:
794         Update the list of files to build.
795         
796 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
797
798         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
799
800         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
801         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
802         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
803         Improve debugging. Fixes #480858.
804
805 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
806
807         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
808
809         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
810         First patch of code cleanups, use the macros and right arguments in the
811         macros to signal and lock the queue. See #480858.
812
813 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
814
815         * gst/gstbus.c: (poll_func):
816         Improve debugging when dealing with _poll().
817
818 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
819
820         * gst/gstregistryxml.c:
821           Fix memory leak I introduced a few days ago.
822
823 2007-09-26  Michael Smith <msmith@fluendo.com>
824
825         * gst/gstbuffer.c: (gst_buffer_finalize):
826           Make it once again possible to free GstBuffers in the default
827           build.
828           The poisoning scribbles on parts of the miniobject we need in
829           order to free it.
830           Fixes #480341
831
832 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
833
834         * docs/gst/gstreamer-sections.txt:
835         * gst/gsttaglist.c:
836         * gst/gsttaglist.h:
837         API: add GST_TAG_COMPOSER, fixes #459809.
838
839 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
840
841         * gst/gstplugin.c:
842         * gst/gstplugin.h:
843         Add the 3-clause BSD license and the MIT/X11 license to the license
844         list. Fixes #479784.
845
846 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
847
848         * docs/faq/getting.xml:
849           Add Q+A about different GStreamer versions (#364056).
850
851 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
852
853         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
854         (gst_base_sink_event), (gst_base_sink_change_state):
855         Return correct gboolean from query function.
856
857 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
858
859         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
860         (gst_base_sink_event), (gst_base_sink_query),
861         (gst_base_sink_change_state):
862         Simplify latency query.
863         When not synchronizing, we can report latency without querying the peer
864         element.
865
866 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
867
868         * gst/gstobject.h:
869         * gst/gstvalue.c:
870         Fix small typos in the docs.
871
872 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
873
874         * docs/design/draft-latency.txt:
875         * docs/design/draft-push-pull.txt:
876         * docs/design/draft-tagreading.txt:
877         * docs/design/part-MT-refcounting.txt:
878         * docs/design/part-activation.txt:
879         * docs/design/part-block.txt:
880         * docs/design/part-element-source.txt:
881         * docs/design/part-events.txt:
882         * docs/design/part-gstbin.txt:
883         * docs/design/part-gstelement.txt:
884         * docs/design/part-gstobject.txt:
885         * docs/design/part-gstpipeline.txt:
886         * docs/design/part-messages.txt:
887         * docs/design/part-preroll.txt:
888         * docs/design/part-push-pull.txt:
889         * docs/design/part-qos.txt:
890         * docs/design/part-query.txt:
891         * docs/design/part-scheduling.txt:
892         * docs/design/part-seeking.txt:
893         * docs/design/part-segments.txt:
894         * docs/design/part-states.txt:
895         Documentation updates and typo fixes.
896
897 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
898
899         * plugins/elements/gstfakesink.c:
900           Add some debug text to error message to indicate that
901           we errored out on request.
902
903         * tools/gst-launch.c:
904           When the state change to PLAYING fails, check for an
905           error message on the bus and print it.
906
907 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
908
909         translated by: Jorge González González <aloriel@gmail.com>
910
911         * po/LINGUAS:
912         * po/es.po:
913           Added Spanish translation.
914
915 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
916
917         * plugins/elements/gstqueue.c: (gst_queue_push_one):
918         Fix printf arguments.
919
920 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
921
922         * tests/check/generic/states.c:
923           Improved state change unit test.
924
925 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
926
927         * gst/gstbin.h:
928           Move priv to the right place.
929
930         * gst/gstsystemclock.c:
931           Add FIXME: and improve log.
932
933         * tests/check/Makefile.am:
934         * tests/examples/manual/Makefile.am:
935           Work with all types of registries.
936
937 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
938
939         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
940         Don't unref the event after pushing it. Fixes #478401.
941
942 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
943
944         * .cvsignore:
945         * tests/examples/manual/.cvsignore:
946           Ignore registries in any format.
947
948 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
949
950         * gst/glib-compat-private.h:
951           Add compatibility macro for g_intern_string() for
952           GLib-2.8 (any reason we can't just bump the
953           requirement to at least 2.10?)
954
955         * gst/gstpadtemplate.h:
956         * gst/gstelementfactory.c:
957         * gst/gstregistryxml.c:
958         * gst/gstregistrybinary.c:
959           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
960           up the internal code accordingly.  This shouldn't be a problem, since
961           there is no reason external code could ever assume the string in such
962           a structure is dynamically allocated unless it did that itself;  the
963           use of g_strdup() is private to element factories.  The new code also
964           saves some memory by putting pad template name strings into the GLib
965           quark table instead of allocating them dynamically.
966           Declaring this field constant fixes warnings with g++-4.2 when using
967           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
968
969 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
970
971         * gst/gstelementfactory.c:
972           Release static caps. Fixes #475723.
973
974 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
975
976         * gst/gstinfo.c:
977         * gst/gstinfo.h:
978           Make some internal API take const gchar * instead of just
979           gchar * to avoid compiler warnings with g++-4.2.2 when
980           passing string constants (partially fixes #478092).
981
982 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
983
984         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
985         A latency query fails when one of the sinks fail.
986
987         * gst/gstelement.c: (gst_element_set_base_time):
988         Improve debugging.
989
990 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
991
992         * gst/gstbin.c: (gst_bin_continue_func):
993         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
994         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
995         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
996
997         Fix minor compilation warnings shown with Forte.
998
999 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1000
1001         * plugins/elements/gstqueue.c: (apply_buffer),
1002         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1003         Measure queue level based on the diff between head and tail timestamps
1004         even when pushing the first buffer.
1005
1006 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1007
1008         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1009         (gst_base_sink_event), (gst_base_sink_change_state):
1010         Sinks that don't preroll can always be queried for the latency.
1011         Don't post ASYNC start when we are not async.
1012
1013 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1014
1015         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1016         (gst_queue_handle_sink_event), (gst_queue_chain),
1017         (gst_queue_push_one), (gst_queue_handle_src_query),
1018         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1019         * plugins/elements/gstqueue.h:
1020         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1021         push more buffers but allow pushing of EOS and NEWSEGMENT.
1022         Add some more debug info here and there. Fixes #476514.
1023
1024 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1025
1026         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1027         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1028         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1029         (gst_base_sink_set_flushing), (gst_base_sink_query),
1030         (gst_base_sink_change_state):
1031         Latency query is allowed after we are prerolled. Introduce a new flag
1032         for this and stop abusing other variables.
1033
1034 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1035
1036         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1037         Push OOB events downstream when we get them in send_event. This allows
1038         the application to insert events in the pipeline.
1039         Add some more comments.
1040
1041 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1042
1043         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1044         (do_bin_latency), (gst_bin_change_state_func):
1045         * gst/gstpipeline.c: (gst_pipeline_change_state):
1046         Move latency query from GstPipeline to GstBin so that we can also
1047         use it when async-handling is enabled on bins.
1048
1049 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1050
1051         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1052         (gst_base_src_do_sync), (gst_base_src_change_state):
1053         Update docs.
1054         Clean up the timestamping and syncing code for pseudo live sources.
1055
1056 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1057
1058         Patch by: Steve Fink  <sphink gmail com>
1059
1060         * docs/manual/appendix-checklist.xml:
1061           Mention less -R switch in the section about debug output (#474055).
1062
1063 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1064
1065         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1066         Queue can latency to the pipeline up to the configured max size in time.
1067         Report this fact in the latency query.
1068
1069 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1070
1071         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1072
1073         * libs/gst/controller/gstinterpolation.c:
1074         * libs/gst/controller/gstlfocontrolsource.c:
1075         Use gst_guint64_to_gdouble() when converting from a uint64 or
1076         GstClockTime to double to fix the build on win32. Fixes #474371.
1077
1078 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1079
1080         * gst/gstbuffer.c: (gst_buffer_finalize):
1081         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1082         When finalizing a buffer the complete struct is filled with 0xff,
1083         thus making a use of the buffer after the final unref impossible.
1084
1085 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1086
1087         * tests/check/libs/controller.c: (GST_START_TEST):
1088         Use fail_unless_equals_int(a, b) instead of
1089         fail_unless_equals (a == b) to get better output on failures.
1090
1091 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1092
1093         * tests/check/gst/gsturi.c:
1094           Also check for the other file URI variant on win32.
1095
1096 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1097
1098         * gst/gsturi.c: (gst_uri_get_location):
1099           If there's no hostname, we want to return 'c:/foo/bar.txt'
1100           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1101
1102         * tests/check/gst/gsturi.c:
1103           Unit test for the above and a few more things.
1104
1105 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1106
1107         * docs/design/part-live-source.txt:
1108         Add docs on how live sources should timestamp.
1109
1110         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1111         Add some more debug info.
1112         For subclasses that are live and like to sync, add aditional startup
1113         latency to sync time and timestamps so that we timstamp according to the
1114         design doc.
1115
1116 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1117
1118         * gst/gstbuffer.c:
1119           Also do a g_type_class_ref() for the subbuffer type in
1120           the init function.
1121
1122 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1123
1124         * docs/gst/gstreamer-sections.txt:
1125         * gst/gstpad.c: (gst_pad_peer_query):
1126         * gst/gstpad.h:
1127         Add function to perform a query on the peer of a pad.
1128         API: gst_pad_peer_query()
1129
1130 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1131
1132         * tests/check/gst/gstsystemclock.c:
1133           Cleanup the test a little (use gst-logging and not g_message). Improve
1134           test to check if a wait reached the target.
1135
1136 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1137
1138         * docs/libs/gstreamer-libs-sections.txt:
1139           Add new API to docs and fix the build.
1140
1141 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1142
1143         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1144         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1145         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1146         (gst_base_src_get_property), (gst_base_src_do_sync):
1147         * libs/gst/base/gstbasesrc.h:
1148         Add property to make the basesrc timestamp buffers based on the current
1149         running time.
1150         API: GstBaseSrc::do-timestamp
1151         API: gst_base_src_set_do_timestamp()
1152         API: gst_base_src_get_do_timestamp()
1153
1154 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1155
1156         * docs/random/release:
1157           Really make sure translations are up-to-date before
1158           a release (#465010).
1159
1160 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1161
1162         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1163         Always destroy the timer, also in error cases.
1164
1165 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1166
1167         * docs/manual/highlevel-xml.xml:
1168         Fix XML example code. Fixes #472714.
1169
1170 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1171
1172         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1173         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1174         (gst_base_sink_query):
1175         Protect eos and have_preroll with the OBJECT lock so we don't need to
1176         take the PREROLL lock when querying the latency. Fixes #473846.
1177
1178 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1179
1180         * gst/gstelement.c:
1181           Give some log-messages a category.
1182
1183 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1184
1185         * gst/gststructure.c:
1186         (gst_structure_fixate_field_nearest_fraction):
1187         Fix fraction list fixation code. Take the fraction with the smallest
1188         difference with the target instead of the first one in the list.
1189
1190         * tests/check/gst/gststructure.c: (GST_START_TEST),
1191         (gst_structure_suite):
1192         Added test to verify correct fraction list fixation behaviour.
1193
1194 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1195
1196         * win32/common/libgstreamer.def:
1197           Export gst_bus_add_signal_watch too.
1198
1199 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1200
1201         * docs/libs/gstreamer-libs-sections.txt:
1202         Add new methods to docs.
1203
1204         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1205         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1206         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1207         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1208         * libs/gst/base/gstbasesink.h:
1209         Add ts-offset property to fine-tune the synchronisation.
1210         API: GstBaseSink::ts-offset property
1211         API: gst_base_sink_set_ts_offset()
1212         API: gst_base_sink_get_ts_offset()
1213
1214 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1215
1216         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1217         (gst_base_sink_init), (gst_base_sink_set_sync),
1218         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1219         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1220         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1221         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1222         (gst_base_sink_get_property), (gst_base_sink_change_state):
1223         * libs/gst/base/gstbasesink.h:
1224         Add async property to instruct the sink never to inform the parent about
1225         ASYNC state changes, update docs.
1226         Check argument with g_return_* for the public functions.
1227         API: GstBaseSink::async property
1228         API: gst_base_sink_set_async_enabled()
1229         API: gst_base_sink_is_async_enabled()
1230
1231 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1232
1233         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1234         Improve debugging.
1235
1236         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1237         (gst_base_src_default_query), (gst_base_src_wait),
1238         (gst_base_src_do_sync), (gst_base_src_change_state):
1239         Rearrange some code so that we can add support for measuring the 
1240         startup latency.
1241
1242 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1243
1244         * docs/random/ensonic/dynlink.txt:
1245           More thoughs on this.
1246
1247         * plugins/elements/gstcapsfilter.c:
1248           Add bugzilla ticket number to FIXME comment.
1249
1250 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1251
1252         * docs/design/part-TODO.txt:
1253         * docs/design/part-block.txt:
1254         Update some docs.
1255
1256 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1257
1258         * gst/Makefile.am:
1259           Revert patch which uses $(gst_headers) instead of $^ because it
1260           breaks make dist.
1261
1262 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1263
1264         * tests/check/gst/gstbin.c: (GST_START_TEST):
1265           Fix leaks in the new unit test.
1266
1267 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1268
1269         * gst/gst.c:
1270           Don't use GST_INFO before the debug system is actually initialised
1271           (shouldn't do any harm, but won't print anything either, so we can
1272           just as well remove it).
1273
1274         * gst/gstinfo.h:
1275           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1276           compilers that don't support variadic macros (such as MSVC), should
1277           check for debug_level <= __gst_debug_min as well, since that's the
1278           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1279           inline helper functions. Should improve performance a bit, but also
1280           makes sure uses of GST_INFO et.al are ignored if the debugging
1281           system isn't initialised yet (instead of printing an assertion
1282           failure).
1283
1284 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1285
1286         patch by: David Nečas <yeti@physics.muni.cz>
1287
1288         * gst/Makefile.am:
1289           Replace some non portable makefile constructs.
1290
1291 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1292
1293         * common/gtk-doc-plugins.mak:
1294           Grrrrr. Don't remove the types file on make clean.
1295
1296 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1297
1298         * tools/gst-launch.1.in:
1299         Add colorspace to example pipeline. Fixes #458274.
1300
1301 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1302
1303         * docs/random/release:
1304           The release manager should run 'make download-po' before making a
1305           release to make sure translations are up-to-date.
1306
1307         * po/LINGUAS:
1308         * po/be.po:
1309         * po/pl.po:
1310         * po/rw.po:
1311           Add some new translations.
1312
1313 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1314
1315         * tools/gst-launch.c: (event_loop), (main):
1316         Don´t try to do any state management when a live pipeline posts
1317         buffering messages.
1318         Also make the buffering string translatable.
1319
1320 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1321
1322         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1323         (bin_handle_async_start), (gst_bin_handle_message_func):
1324         Improve debugging.
1325         When adding elements, insert messages into the bus of the newly added
1326         element and make sure the element is the source of the message. This
1327         allows the parent bin to intercept the message and do the
1328         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1329         messages to the app (which is not allowed).
1330         Update some docs.
1331
1332         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1333         Fix testsuite so that is does not work around messages that should not
1334         have been posted in the first place.
1335
1336 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1337
1338         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1339         (update_degree), (gst_bin_sort_iterator_next):
1340         Fix annoying bug in the sorted iterator where a sink that is not really
1341         a sink (when it has downstream links) screwed up the iterator.
1342
1343         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1344         Unit test to verify the fix.
1345
1346 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1347
1348         * gst/gstmessage.h:
1349         Add some more docs for the messages.
1350
1351         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1352         (gst_base_sink_query):
1353         Add some more debugging.
1354
1355         * tools/gst-launch.c: (event_loop):
1356         When interrupting, don't try to set pipeline to PAUSED twice.
1357
1358 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1359
1360         
1361         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1362         (bin_handle_async_start), (gst_bin_handle_message_func):
1363         Move ASYNC_START message posting to where it belongs, similar to
1364         async_done. 
1365         Don't post ASYNC_START when we are in error. 
1366         Post ASYNC_START when we added an async element to a bin.
1367
1368 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1369
1370         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1371         generation from vargs. Fixes #466595.
1372
1373 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1374
1375         * gst/gstbin.c: (gst_bin_element_set_state):
1376         Always change the state of a NO_PREROLL element even if it has ASYNC
1377         elements inside (in case of a bin).
1378
1379         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1380         Unit test for this case.
1381
1382 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1383
1384         * libs/gst/check/gstbufferstraw.c:
1385         * libs/gst/check/gstcheck.h:
1386         * libs/gst/controller/gstcontroller.c:
1387         * libs/gst/controller/gstcontrolsource.h:
1388         * libs/gst/controller/gstlfocontrolsource.h:
1389         * plugins/elements/gstcapsfilter.h:
1390         * plugins/elements/gstfdsink.h:
1391         * plugins/elements/gstfdsrc.h:
1392           Add more missing docs.
1393
1394 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1395
1396         * gst/gststructure.c:
1397         Add Since tag to docs.
1398
1399 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1400
1401         * docs/gst/gstreamer-sections.txt:
1402         * gst/gststructure.c: (gst_structure_get_uint):
1403         * gst/gststructure.h:
1404         Add function to get uint from a structure.
1405         API: gst_structure_get_uint()
1406
1407 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1408
1409         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1410         (gst_caps_intersect):
1411         Fix proper check for simple caps.
1412
1413 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1414
1415         * docs/gst/Makefile.am:
1416         * docs/libs/Makefile.am:
1417           Remove cruft and do some cleanups.
1418
1419         * docs/gst/gstreamer-docs.sgml:
1420         * docs/libs/gstreamer-libs-docs.sgml:
1421           Prepare for comming gtkdoc features (rebase against online docs).
1422
1423 2007-08-10  Michael Smith <msmith@fluendo.com>
1424
1425         * docs/gst/gstreamer-sections.txt:
1426           Add gst_registry_add_path to docs.
1427
1428 2007-08-10  Michael Smith <msmith@fluendo.com>
1429
1430         * gst/gstregistry.h:
1431           Add gst_registry_add_path, which was missing from this header.
1432
1433 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1434
1435         * libs/gst/controller/gstlfocontrolsource.c:
1436           Printf format fix.
1437
1438 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1439
1440         * libs/gst/base/gstbasesink.c:
1441           Don't send an async_start message during downwards state change if 
1442           target state is less than READY
1443
1444 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1445
1446         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1447
1448         * po/LINGUAS:
1449         * po/hu.po:
1450           Added Hungarian translation.
1451
1452 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1453
1454         * po/fi.po:
1455         * po/it.po:
1456         * po/nl.po:
1457         * po/sv.po:
1458         * po/uk.po:
1459           Updated translations.
1460
1461 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1462
1463         * libs/gst/controller/Makefile.am:
1464         Dist gstlfocontrolsourceprivate.h
1465
1466 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1467
1468         * docs/libs/gstreamer-libs.types:
1469         Don't register the enum type gst_lfo_waveform_get_type() in the
1470         .types file - only GObject derived types belong.
1471
1472 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1473
1474         Patch by: <arenevier at fdn dot fr>
1475
1476         * gst/gstbuffer.h:
1477         Remove comma from last element in enum to avoid compile errors when
1478         using -pendantic. Fixes #464366.
1479
1480 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1481
1482         * docs/design/part-TODO.txt:
1483         Add some more TODO items
1484
1485         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1486         Improve debugging.
1487
1488         * gst/gstcaps.c: (gst_caps_intersect):
1489         Optimize trivial intersection case between identical caps pointers.
1490
1491         * gst/gstelement.c: (gst_element_continue_state),
1492         (gst_element_set_state_func):
1493         * gst/gstpad.c:
1494         Fix spelling and grammar mistakes.
1495
1496 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1497
1498         * po/POTFILES.in:
1499         * po/POTFILES.skip:
1500           Update POTFILES. Fixes #461599.
1501
1502 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1503
1504         * gst/gst.c:
1505         Fix confusing typo in debug output.
1506
1507 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1508
1509         reviewed by: Stefan Kost <ensonic@users.sf.net>
1510
1511         * libs/gst/controller/Makefile.am:
1512         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1513         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1514         (gst_lfo_control_source_new),
1515         (gst_lfo_control_source_set_waveform),
1516         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1517         (gst_lfo_control_source_finalize),
1518         (gst_lfo_control_source_dispose),
1519         (gst_lfo_control_source_set_property),
1520         (gst_lfo_control_source_get_property),
1521         (gst_lfo_control_source_class_init):
1522         * libs/gst/controller/gstlfocontrolsource.h:
1523         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1524         API: Add GstLFOControlSource, a control source that gives values
1525         for specific timestamps based on several periodic waveforms.
1526         Fixes #459717.
1527
1528         * tests/check/libs/controller.c: (GST_START_TEST),
1529         (gst_controller_suite):
1530         * docs/libs/gstreamer-libs-docs.sgml:
1531         * docs/libs/gstreamer-libs-sections.txt:
1532         * docs/libs/gstreamer-libs.types:
1533         Add documentation and unit tests for GstLFOControlSource.
1534
1535 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1536
1537         * configure.ac:
1538         Back to CVS
1539
1540 === release 0.10.14 ===
1541
1542 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1543
1544         * configure.ac:
1545           releasing 0.10.14, "Breathing Vacuum"
1546
1547 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1548
1549         * gst/gstelement.c: (gst_element_class_set_details_simple):
1550         * gst/gstelement.h:
1551           Make strings passed to gst_element_class_set_details_simple()
1552           constant, as they should be (#462752).
1553
1554 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1555
1556         * gst/gstbin.c: (gst_bin_change_state_func),
1557         (bin_handle_async_done), (gst_bin_handle_message_func):
1558         Don't forget about the fact that some element went ASYNC even after a
1559         resync. This makes us post the ASYNC_DONE message correctly.
1560         Fixes #462558.
1561
1562 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1563
1564         * gst/gstregistry.c: (gst_registry_add_feature):
1565         When replacing an existing feature in the registry, make sure to
1566         continue holding a reference until we've replaced the name string
1567         within our feature hash table. Make sure to use g_hash_table_replace
1568         instead of g_hash_table_insert to ensure the new name string is used
1569         as a key instead of the old one that we're about to free.
1570         Fixes: #462085
1571
1572 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1573
1574         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1575         (gst_plugin_feature_set_name):
1576         Revert patch from #459466 until after the release and we can work
1577         out exactly what the problem is (if any).
1578
1579 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1580
1581         * docs/gst/gstreamer-sections.txt:
1582         * gst/gsttaglist.c:
1583         * gst/gsttaglist.h:
1584           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1585
1586 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1587
1588         * docs/libs/Makefile.am:
1589         Include our build-prefix libs and includes before the generic ones to
1590         avoid linking against the installed libs when we want the build-tree
1591         ones.
1592
1593 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1594
1595         Patch by: Steve Fink  <sphink gmail com>
1596
1597         * docs/pwg/building-testapp.xml:
1598           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1599           if people try to build or install the example from the plugin
1600           template against a GStreamer from package using the configure
1601           defaults.
1602
1603 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1604
1605         Patch by: Steve Fink  <sphink gmail com>
1606
1607         * tools/gst-inspect.1.in:
1608           Document --print-all and --print-plugin-auto-install-info command
1609           line options in man page.
1610
1611 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1612
1613         * docs/gst/gstreamer-sections.txt:
1614         Add docs for new api function.
1615
1616 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1617
1618         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1619         * gst/gstelementfactory.h:
1620         API: gst_element_factory_has_interface()
1621         Added method to check if an element factory implements a named
1622         interface.
1623
1624 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1625
1626         * configure.ac:
1627         * docs/gst/gstreamer.types.in:
1628           Another conditional doc check.
1629
1630         * gst/gstmessage.c:
1631         * gst/gstparamspecs.h:
1632         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1633         * gst/gstvalue.c:
1634         * gst/gstxml.h:
1635           API-doc fixes.
1636
1637 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1638
1639         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1640         (gst_registry_binary_load_feature),
1641         (gst_registry_binary_load_plugin),
1642         (gst_registry_binary_read_cache):
1643           Print error just once and with additional info.
1644
1645 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1646
1647         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1648         (helper_find_suggest), (helper_find_get_length),
1649         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1650         (gst_type_find_helper_for_buffer):
1651           Cleanup the typefindhelper code and add private doc comments.
1652
1653 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1654
1655         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1656         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1657         Fix capsfilter for cases where the caps set on capsfilter will provide
1658         additional information.
1659         Fixes #449197
1660
1661 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1662
1663         * gst/gsttypefindfactory.c:
1664           Fix docs that recommened wrong function to use.
1665
1666 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1667
1668         * tools/gst-inspect.c: (print_plugin_features):
1669           Also give media-type for typefinders in element output.
1670
1671 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1672
1673         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1674         (gst_registry_remove_features_for_plugin_unlocked),
1675         (gst_registry_add_feature), (gst_registry_remove_feature),
1676         (gst_registry_lookup_feature_locked):
1677         * gst/gstregistry.h:
1678           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1679           Fixes #459501.
1680
1681 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1682
1683         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1684         (gst_plugin_feature_set_name):
1685           Avoid double memory usage for pluginfeature names. Fixes #459466.
1686
1687 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1688
1689         * gst/gstpad.h:
1690           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1691           driving the pipeline may need to explicitly check for NOT_LINKED as
1692           well, since IS_FATAL doesn't cover that.
1693
1694 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1695
1696         * docs/pwg/advanced-types.xml:
1697           Fix typo and duplicate entry in video formats list.
1698
1699 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1700
1701         * libs/gst/controller/gstinterpolation.c:
1702         Also round to the nearest int when using cubic interpolation.
1703
1704 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1705
1706         * libs/gst/controller/gstinterpolation.c:
1707         When linearly interpolating integer types, round to the nearest int
1708         by adding 0.5. Don't do it for float/double types.
1709         Fixes the failing controller test on my machine, which is somehow
1710         rounding differently than on the buildbots.
1711
1712 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1713
1714         * tools/gst-plot-timeline.py:
1715           Better log parsing (categories can have -). Adjust text vs. lines, so
1716           that they span the same y-range.        
1717
1718 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1719
1720         * docs/random/ensonic/audiobaseclasses.txt:
1721         * docs/random/ensonic/dynlink.txt:
1722         * docs/random/ensonic/profiling.txt:
1723           Save my thoughts.
1724
1725         * docs/random/moving-plugins:
1726           Add note to use g_assert type macros.
1727
1728 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1729
1730         * configure.ac:
1731         * libs/gst/check/Makefile.am:
1732           Add libm check as we use in for plugins.
1733
1734 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
1735
1736         * gst/gstbin.c: (gst_bin_continue_func):
1737         Check that the state_cookie hasn't changed since the continue_func
1738         was scheduled. Avoids problems where the state changes back to
1739         something it shouldn't be because it was changed in the meantime.
1740
1741 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
1742
1743         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1744         (gst_registry_binary_save_string),
1745         (gst_registry_binary_save_pad_template),
1746         (gst_registry_binary_save_feature),
1747         (gst_registry_binary_save_plugin),
1748         (gst_registry_binary_load_feature),
1749         (gst_registry_binary_load_plugin),
1750         (gst_registry_binary_read_cache):
1751           Fix memory leak. Be less verbose in the log.
1752
1753 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1754
1755         * tests/check/elements/.cvsignore:
1756         Add file to cvsignore as commanded.
1757
1758 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1759
1760         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1761         (mq_dummypad_event), (run_output_order_test):
1762         Use a GStaticMutex to protect all cases where libcheck
1763         fail_if/fail_unless macros might be called from multiple threads
1764         simultaneously to avoid errors like:
1765           "check_pack.c:107: :-1081725400:Bad message type arg"
1766
1767 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1768
1769         * tests/check/pipelines/stress.c: (GST_START_TEST):
1770         Make sure we set the pipeline back to the NULL state before
1771         dropping our final reference.
1772
1773 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1774
1775         * tests/check/elements/tee.c: (GST_START_TEST):
1776         Make the tee stress-test a little less stressful so it doesn't just
1777         time out on slow-machines, and remove a small race when it's starting 
1778         up by adding a get_state() call.
1779
1780 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
1781
1782         * gst/gst.c:
1783           Avoid reading registry twice on startup. Fixes #457322.
1784
1785 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1786
1787         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1788         * pkgconfig/gstreamer-check.pc.in:
1789         Substitute the CFLAGS for libcheck into our .pc file too so that
1790         dependent modules will pick it up properly if libcheck is installed
1791         into some other prefix.
1792
1793 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1794
1795         * configure.ac:
1796         Revert the pkg-config check for libcheck, since it pulls in the
1797         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1798         a proper solution, either from the check project, or something else.
1799
1800 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
1801
1802         * configure.ac:
1803           Use pkg-config to locate check.
1804
1805 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
1806
1807         * gst/gsttaglist.c:
1808           Fix doc syntax.
1809
1810         * gst/gstutils.c:
1811         * gst/gstutils.h:
1812           Add deprecation guards.
1813
1814         * libs/gst/base/gstcollectpads.h:
1815           Don't document object (this is implicitly private).
1816
1817 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
1818
1819         * gst/gststructure.c: (gst_structure_parse_value):
1820           When deserialising foo=bar without a type cast, check if it's a
1821           boolean before falling back to a string type, otherwise things like
1822           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1823           because the filtercaps end up having a signed=(string)true field,
1824           which causes problems later when intersection caps.
1825
1826         * tests/check/gst/gststructure.c: (GST_START_TEST):
1827           Add a unit test for this.
1828
1829 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
1830
1831         Reviewed by: Stefan Kost <ensonic@users.sf.net>
1832
1833         * libs/gst/controller/Makefile.am:
1834         * libs/gst/controller/gstcontroller.c:
1835         (gst_controlled_property_add_interpolation_control_source),
1836         (gst_controlled_property_new), (gst_controlled_property_free),
1837         (gst_controller_find_controlled_property),
1838         (gst_controller_new_valist), (gst_controller_new_list),
1839         (gst_controller_new), (gst_controller_remove_properties_valist),
1840         (gst_controller_remove_properties_list),
1841         (gst_controller_remove_properties),
1842         (gst_controller_set_property_disabled),
1843         (gst_controller_set_disabled), (gst_controller_set_control_source),
1844         (gst_controller_get_control_source), (gst_controller_get),
1845         (gst_controller_sync_values), (gst_controller_get_value_array),
1846         (_gst_controller_dispose), (gst_controller_get_type),
1847         (gst_controlled_property_set_interpolation_mode),
1848         (gst_controller_set), (gst_controller_set_from_list),
1849         (gst_controller_unset), (gst_controller_unset_all),
1850         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1851         * libs/gst/controller/gstcontroller.h:
1852         * libs/gst/controller/gstcontrollerprivate.h:
1853         * libs/gst/controller/gstcontrolsource.c:
1854         (gst_control_source_class_init), (gst_control_source_init),
1855         (gst_control_source_get_value),
1856         (gst_control_source_get_value_array), (gst_control_source_bind):
1857         * libs/gst/controller/gstcontrolsource.h:
1858         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1859         (gst_object_get_control_source):
1860         * libs/gst/controller/gstinterpolation.c:
1861         (gst_interpolation_control_source_find_control_point_node),
1862         (gst_interpolation_control_source_get_first_value),
1863         (_interpolate_none_get), (interpolate_none_get),
1864         (interpolate_none_get_boolean_value_array),
1865         (interpolate_none_get_enum_value_array),
1866         (interpolate_none_get_string_value_array),
1867         (_interpolate_trigger_get), (interpolate_trigger_get),
1868         (interpolate_trigger_get_boolean_value_array),
1869         (interpolate_trigger_get_enum_value_array),
1870         (interpolate_trigger_get_string_value_array):
1871         * libs/gst/controller/gstinterpolationcontrolsource.c:
1872         (gst_control_point_free), (gst_interpolation_control_source_reset),
1873         (gst_interpolation_control_source_new),
1874         (gst_interpolation_control_source_set_interpolation_mode),
1875         (gst_interpolation_control_source_bind),
1876         (gst_control_point_compare), (gst_control_point_find),
1877         (gst_interpolation_control_source_set_internal),
1878         (gst_interpolation_control_source_set),
1879         (gst_interpolation_control_source_set_from_list),
1880         (gst_interpolation_control_source_unset),
1881         (gst_interpolation_control_source_unset_all),
1882         (gst_interpolation_control_source_get_all),
1883         (gst_interpolation_control_source_get_count),
1884         (gst_interpolation_control_source_init),
1885         (gst_interpolation_control_source_finalize),
1886         (gst_interpolation_control_source_dispose),
1887         (gst_interpolation_control_source_class_init):
1888         * libs/gst/controller/gstinterpolationcontrolsource.h:
1889         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1890         API: Refactor GstController into the core controller which can take
1891         a GstControlSource for providing actual values for timestamps.
1892         Implement a interpolation control source and use this for backward
1893         compatibility, deprecate a bunch of functions that are now handled
1894         by GstControlSource or GstInterpolationControlSource.
1895         Make it possible to disable the controller completely or only for
1896         specific properties. Fixes #450711.
1897         * docs/libs/gstreamer-libs-docs.sgml:
1898         * docs/libs/gstreamer-libs-sections.txt:
1899         * docs/libs/gstreamer-libs.types:
1900         Add new functions and classes to the docs.
1901         * tests/check/libs/controller.c: (GST_START_TEST),
1902         (gst_controller_suite):
1903         * tests/examples/controller/audio-example.c: (main):
1904         Port unit test and example to the new API and add some new
1905         unit tests.
1906
1907 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
1908
1909         Patch by: Mark Nauwelaerts <manauw at skynet be>
1910
1911         * plugins/elements/gstmultiqueue.c:
1912         (gst_multi_queue_get_internal_links), (apply_buffer),
1913         (single_queue_overrun_cb), (gst_single_queue_new):
1914         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1915         the pipeline layout can be tracked correctly. Fixes #453732.
1916
1917 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
1918
1919         * docs/gst/Makefile.am:
1920         * docs/libs/Makefile.am:
1921         * docs/plugins/Makefile.am:
1922           Simplify --extra-dir as gtkdoc scans recursively.
1923
1924 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1925
1926         * tools/gst-launch.c: (main):
1927         When we got an error, there is no point in waiting for preroll when
1928         shutting down.
1929
1930 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1931
1932         * plugins/elements/gsttee.c: (gst_tee_base_init),
1933         (gst_tee_request_new_pad), (gst_tee_release_pad),
1934         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1935         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1936         (gst_tee_chain):
1937         Be a lot smarter when deciding what srcpad to use for proxying
1938         the buffer_alloc. Also handle pad added/removed when doing so.
1939         Fixes #357959.
1940         Keep track of what pads we already pushed on in case we have pads
1941         added/removed while pushing. Fixes #374639 
1942
1943         * tests/check/Makefile.am:
1944         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1945         (tee_suite):
1946         Added unit test for pad resync.
1947
1948 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1949
1950         * po/nl.po:
1951         * po/sv.po:
1952           Updated translations.
1953
1954 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1955
1956         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1957
1958         * po/LINGUAS:
1959         * po/fi.po:
1960           Added new Finnish translation.
1961
1962 2007-06-28  Wim Taymans  <wim@fluendo.com>
1963
1964         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1965         (single_queue_overrun_cb):
1966         When figuring out when a queue is filled, use our internal time estimate
1967         based on segments, just like check_full does.
1968
1969 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1970
1971         * gst/gstminiobject.c: (gst_mini_object_get_type):
1972           Remove 3 do-nothing methods.
1973
1974 2007-06-27  Wim Taymans  <wim@fluendo.com>
1975
1976         Patch by: Tim Angus <tim at ngus dot net>
1977
1978         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1979         (gst_capsfilter_set_property):
1980         Take a reference instead of a copy when setting "caps".
1981         Fix documentation to clarify this behaviour. Fixes #449414.
1982
1983 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1984
1985         * gst/gstindexfactory.c: (gst_index_factory_get_type):
1986         * gst/gstplugin.c: (gst_plugin_init):
1987         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1988         * gst/gstquery.c: (gst_query_get_type):
1989         * gst/gstregistry.c: (gst_registry_init):
1990         * gst/gsturi.c: (gst_uri_handler_base_init):
1991           Remove empty instance_init() functions to save relocs and lessen the
1992           noise. Remove some of the function prototypes that are doubled by
1993           G_DEFINE_TYPE.
1994           
1995 2007-06-27  Wim Taymans  <wim@fluendo.com>
1996
1997         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1998
1999         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2000         Add peer and direction in the XML serialisation of ghostpads.
2001         Fixes #449226.
2002
2003 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2004
2005         * configure.ac:
2006           Preserve useful information, thanks Tim.
2007
2008 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2009
2010         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2011         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2012         (gst_single_queue_push_one), (gst_multi_queue_loop),
2013         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2014         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2015         (compute_high_id), (gst_single_queue_new):
2016         * plugins/elements/gstmultiqueue.h:
2017         Take the multiqueue lock when updating the fill level so we don't get
2018         confused. 
2019
2020         After applying a buffer or event on the src pad segment, make sure to
2021         call gst_data_queue_limits_changed() to get the data queue to unblock
2022         and check the filled state again.
2023         
2024         Rework the not-linked pad handling so the logic is that not-linked 
2025         pads can push as fast as they like, but only so they never get 
2026         ahead of any linked pads.
2027
2028         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2029         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2030         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2031
2032         Add a test to check that not-linked pads always stay behind
2033         linked pads.
2034
2035         Fixes: #430682
2036
2037 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2038
2039         * docs/random/release:
2040           Some updates to the release procedure.
2041
2042 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2043
2044         * gst/gstelementfactory.c: (__gst_element_details_clear):
2045           Microoptimization that saves stunning 80 bytes.
2046
2047 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2048
2049         * docs/plugins/gstreamer-plugins.args:
2050         * docs/plugins/inspect/plugin-coreelements.xml:
2051         * docs/plugins/inspect/plugin-coreindexers.xml:
2052           Update docs with caps info.
2053
2054 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2055
2056         * po/it.po:
2057           Updated Italian translation.
2058
2059 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2060
2061         * ChangeLog:
2062         * po/vi.po:
2063           Update Vietnamese translations.
2064
2065 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2066
2067         * libs/gst/base/gstbasesink.c:
2068           Remove unused signal enum.
2069
2070 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2071
2072         * docs/gst/gstreamer-sections.txt:
2073         * gst/gstelement.c:
2074         * gst/gstutils.c: (gst_type_register_static_full):
2075         Beef up and include the docs for gst_type_register_static_full and
2076         gst_element_class_set_details_simple and add the API keyword
2077         in the ChangeLog.
2078
2079 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2080
2081         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2082         (update_time_level), (gst_single_queue_push_one),
2083         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2084         (single_queue_overrun_cb), (single_queue_underrun_cb),
2085         (single_queue_check_full):
2086         Fix setting max-* properties after adding queues.
2087         Use IS_FILLED for checking visible items.
2088         Signal overrun if multiple queues overrun.
2089         Add extra debug output.
2090         Patch by: Wim Taymans <wim@fluendo.com>
2091
2092 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2093
2094         * gst/gstelement.c: (gst_element_class_set_details_simple):
2095         * gst/gstelement.h:
2096         * gst/gstutils.c: (gst_type_register_static_full):
2097         * gst/gstutils.h:
2098         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2099         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2100         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2101         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2102         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2103         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2104         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2105         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2106         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2107         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2108         (apply_buffer), (gst_queue_chain):
2109         * plugins/elements/gsttee.c: (gst_tee_base_init):
2110         * plugins/elements/gsttypefindelement.c:
2111         (gst_type_find_element_base_init),
2112         (gst_type_find_element_class_init):
2113           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2114           API: add gst_type_register_static_full
2115           API: add gst_element_class_set_details_simple
2116
2117 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2118
2119         * docs/pwg/advanced-types.xml:
2120           Fix typo in iana.org URI.
2121
2122 2007-06-19  Andy Wingo  <wingo@pobox.com>
2123
2124         * tests/check/pipelines/simple-launch-lines.c
2125         (test_state_change_returns): Enable pull-mode tests now that
2126         basesink has been fixed.
2127
2128         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2129         Changed from gst_base_sink_is_prerolled, reversing the sense of
2130         the return value. Returns FALSE also if the sink is in pull mode,
2131         in which case it needs no preroll.
2132         (gst_base_sink_query, gst_base_sink_change_state): Update for
2133         needs_preroll change.
2134         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2135         chaining up, in which we return SUCCESS directly if we activated
2136         in pull mode instead of ASYNC. Involves countering an async_start
2137         message sent before chaining up; not sure if this is correct, in
2138         an ideal world we only send async-start when activating in push
2139         mode.
2140
2141         * tests/check/pipelines/simple-launch-lines.c
2142         (test_state_change_returns): New test, partially disabled until
2143         basesink is fixed.
2144
2145 2007-06-19  Wim Taymans  <wim@fluendo.com>
2146
2147         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2148         (gst_multi_queue_sink_event):
2149         Fix event leak.
2150
2151 2007-06-19  Wim Taymans  <wim@fluendo.com>
2152
2153         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2154         (gst_bin_change_state_func), (bin_push_state_continue),
2155         (bin_handle_async_start), (bin_handle_async_done),
2156         (gst_bin_handle_message_func):
2157         Move the common code for posting state-change messages into
2158         one function.
2159         Broadcast the state signal after we posted the messages.
2160         Mark the bin as busy when it's doing a state-change.
2161         Make sure async-start/done messages don't interfere with the bin's
2162         state when it's busy.
2163         After the state change, let the bin check which elements completed the
2164         state change while it was busy so that it can update its state.
2165
2166 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2167
2168         * docs/random/release:
2169         Add a note about updating the doap file to the release checklist
2170
2171 2007-06-18  Wim Taymans  <wim@fluendo.com>
2172
2173         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2174         (gst_single_queue_push_one), (gst_multi_queue_chain),
2175         (gst_multi_queue_sink_event):
2176         Make sure we don't reference the buffer/event after we have given away
2177         ownership in the queue.
2178
2179 2007-06-18  Wim Taymans  <wim@fluendo.com>
2180
2181         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2182         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2183         Update queue state _after_ adding the item in the queue because else we
2184         could end up being full without the element added yet.
2185
2186 2007-06-18  Wim Taymans  <wim@fluendo.com>
2187
2188         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2189         (gst_bin_remove_func), (gst_bin_get_state_func),
2190         (gst_bin_element_set_state), (gst_bin_continue_func),
2191         (bin_push_state_continue), (bin_handle_async_start),
2192         (bin_handle_async_done), (gst_bin_handle_message_func):
2193         * gst/gstbin.h:
2194         Immediatly commit the toplevel bin state when receiving an async-done
2195         message. This enables us to avoid spawning a thread to commit the state
2196         in some common cases and it also avoids some races.
2197         Avoid spawning a state thread when adding/removing async elements to a
2198         toplevel bin. Instead we immediatly update the bin state.
2199         Get rid of iterating all the children when getting the state in the bin
2200         because it is now always up-to-date.
2201         Fix bug where locked elements would always return _SUCCESS even it they
2202         returned NO_PREROLL before being locked.
2203         Fix the order of the state_change, async-start/done messages that was
2204         sometimes incorrect.
2205         Mark the state_dirty field as deprecated, we don't need it anymore as we
2206         are always up-to-date.
2207
2208         * gst/gstelement.c: (gst_element_get_state_func),
2209         (gst_element_continue_state):
2210         Small debug inprovements.
2211         Return the previous element state return when nothing is pending instead
2212         of blindly returning SUCCESS.
2213
2214         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2215         (gst_sinks_suite):
2216         Add a whole bunch of new testcases.
2217
2218 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2219
2220         * po/uk.po:
2221         * po/vi.po:
2222           Update translations.
2223
2224 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2225
2226         * gst/gstpad.c:
2227         Fix typo in the docs.
2228
2229 2007-06-15  Wim Taymans  <wim@fluendo.com>
2230
2231         * docs/libs/gstreamer-libs-sections.txt:
2232         Add docs for new methods.
2233
2234 2007-06-15  Wim Taymans  <wim@fluendo.com>
2235
2236         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2237         (gst_multi_queue_item_new):
2238         Don't use GSlice because we don't depend on >= 2.10 yet.
2239
2240 2007-06-15  Wim Taymans  <wim@fluendo.com>
2241
2242         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2243         (update_time_level), (apply_segment), (apply_buffer),
2244         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2245         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2246         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2247         (single_queue_underrun_cb), (single_queue_check_full):
2248         Remove debug printf.
2249
2250 2007-06-15  Wim Taymans  <wim@fluendo.com>
2251
2252         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2253         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2254         (gst_data_queue_set_flushing), (gst_data_queue_push),
2255         (gst_data_queue_pop), (gst_data_queue_drop_head),
2256         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2257         * libs/gst/base/gstdataqueue.h:
2258         Various cleanups.
2259         Added methods to get the current levels and to inform the queue that the
2260         'full' limits changed.
2261
2262         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2263         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2264         (gst_single_queue_flush), (update_time_level), (apply_segment),
2265         (apply_buffer), (gst_single_queue_push_one),
2266         (gst_multi_queue_item_steal_object),
2267         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2268         (gst_multi_queue_loop), (gst_multi_queue_chain),
2269         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2270         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2271         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2272         (single_queue_underrun_cb), (single_queue_check_full),
2273         (gst_single_queue_new):
2274         Keep track of time in the queue by measuring the difference between
2275         running_time on input and output. This gives more accurate results and
2276         can compensate for segments correctly.
2277         Make a queue by default only 5 buffers deep. We will now increase the
2278         buffer size depending on the filledness of the other queues.
2279         Factor out commong flush code.
2280         Make sure we don't add additional refcounts to buffers when we can avoid
2281         it.
2282         Propagate GstFlowReturn differently.
2283         Use GSlice for intermediate GstMultiQueueItems.
2284         Keep track of EOS.
2285         Resize queues on over and underruns based on filled level of other
2286         queues.
2287         When checking if the queue is filled, prefer to measure in time if we
2288         can and fall back to bytes when no time is known.
2289
2290         * plugins/elements/gstqueue.c:
2291         Fix return value.
2292
2293 2007-06-15  Wim Taymans  <wim@fluendo.com>
2294
2295         * libs/gst/base/gstbasetransform.c:
2296         (gst_base_transform_sink_event):
2297         Work around the brokenness of the event vmethod in basetransform. Prefer
2298         to return TRUE when the subclass returned FALSE (meaning don't forward
2299         the event). 
2300
2301         * libs/gst/base/gstbasetransform.h:
2302         Clarify the docs.
2303
2304 2007-06-15  Wim Taymans  <wim@fluendo.com>
2305
2306         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2307         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2308         (gst_base_src_default_query), (gst_base_src_get_range),
2309         (gst_base_src_start):
2310         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2311         Improve debugging.
2312
2313 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2314
2315         * docs/pwg/advanced-types.xml:
2316           Added more formats to caps table.
2317
2318 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2319
2320         * tools/gst-launch.c: (main):
2321           Remove crufy code. GOption does not need this workaround.
2322
2323 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2324
2325         * libs/gst/controller/gstcontroller.c:
2326         (gst_controlled_property_set_interpolation_mode):
2327           Fix wrong getter for enums in controller.
2328
2329 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2330
2331         * libs/gst/check/gstcheck.c: (gst_check_init):
2332           Intercept criticals and warnings in the Gst-Phonon log domain, so
2333           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2334           well.
2335         
2336 2007-06-14  Edward Hervey  <edward@fluendo.com>
2337
2338         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2339         Since this file doesn't include "gst.h" it will not go through the
2340         macros that disable GST_LOG if debugging was disabled.
2341
2342 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2343
2344         * libs/gst/check/Makefile.am:
2345         * libs/gst/check/gstcheck.h:
2346         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2347         * pkgconfig/gstreamer-check.pc.in:
2348           Ugly 'fix' for the controller unit test on the p5 bot: in
2349           fail_unless_equals_float() check whether the values are 'almost
2350           equal' by allowing a small absolute error, which should be good
2351           enough for our use cases (normal numbers and values close to 0).
2352           Proper fixage left to floating point arithmetic aficionados.
2353
2354 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2355
2356         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2357         (gst_base_sink_render_object), (gst_base_sink_get_position):
2358           Add two breaks thats where missing.
2359
2360 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2361
2362         * docs/libs/gstreamer-libs-sections.txt:
2363         * libs/gst/check/gstcheck.h:
2364           API: add fail_unless_equals_float() and assert_equals_float().
2365           Add documentation for some of the macros.
2366
2367         * tests/check/libs/controller.c: (GST_START_TEST):
2368           Use newly-added asserts.
2369
2370 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2371
2372         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2373           Show the caps change in the log to help spotting the case of not
2374           exactly matching caps.
2375
2376 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2377
2378         * docs/pwg/building-boiler.xml:
2379           Fix typos, spotted by Thijs Vermeir (#447190).
2380
2381 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2382
2383         * docs/plugins/tmpl/.cvsignore:
2384         Ignore file to keep the buildbots happy
2385
2386 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2387
2388         * docs/plugins/Makefile.am:
2389         * docs/plugins/gstreamer-plugins-docs.sgml:
2390         * docs/plugins/gstreamer-plugins-sections.txt:
2391         Pull fdsink into the docs too.
2392
2393 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2394
2395         * libs/gst/controller/gstinterpolation.c:
2396         Actually use the new functions with min/max checks for the trigger and
2397         none interpolation modes for get() and get_value_array() instead of
2398         just the latter.
2399
2400 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2401
2402         * libs/gst/controller/gstcontroller.c:
2403         (gst_controlled_property_free):
2404         Unset the minimum and maximum GValues when freeing the corresponding
2405         GstControllerProperty struct.
2406
2407 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2408
2409         * libs/gst/controller/gstcontroller.c:
2410         (gst_controlled_property_new):
2411         * libs/gst/controller/gstcontrollerprivate.h:
2412         * libs/gst/controller/gstinterpolation.c:
2413         (gst_controlled_property_find_control_point_node),
2414         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2415         (interpolate_none_get_string_value_array),
2416         (interpolate_trigger_get),
2417         (interpolate_trigger_get_enum_value_array),
2418         (interpolate_trigger_get_string_value_array):
2419         Protect against values larger or smaller than the minimum or maximum
2420         allowed value for the property when using values that can be compared.
2421
2422         Optimize trigger interpolator a bit by taking the last requested value
2423         into account instead of always looping through the complete list.
2424
2425         Fix coding style a bit, everywhere else we use "return foo" instead
2426         of "return (foo)".
2427         
2428         * tests/check/libs/controller.c: (GST_START_TEST),
2429         (gst_controller_suite):
2430         Add unit test for the protection against too large or too small
2431         values.
2432
2433 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2434
2435         * docs/random/slomo/controller.txt:
2436         Add some thoughts about the future of the controller.
2437
2438 2007-06-08  Wim Taymans  <wim@fluendo.com>
2439
2440         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2441         Don't overflow in retimestamping code.
2442
2443 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2444
2445         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2446         Use gst_util_guint64_to_gdouble for conversions.
2447         * win32/common/libgstreamer.def:
2448         Add new exported functions.
2449
2450 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2451
2452         * gst/gstutils.c:
2453           Small docs addition.
2454
2455 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2456
2457         * README:
2458           Remove that test line again.
2459
2460 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2461
2462         * README:
2463           Test commit mail sending.
2464
2465 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2466
2467         * configure.ac:
2468           Fix typo and test commit mail sending.
2469
2470 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2471
2472         * tests/examples/controller/audio-example.c:
2473           Improve comment and test commit mail sending.
2474
2475 2007-06-07  Wim Taymans  <wim@fluendo.com>
2476
2477         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2478         (gst_bin_remove_func), (gst_bin_element_set_state),
2479         (bin_handle_async_start), (bin_handle_async_done),
2480         (gst_bin_handle_message_func):
2481         Add helper function to find messages.
2482         Generate the async-done messages together with the state change
2483         messages.
2484         Small cleanups in handling toplevel bins.
2485
2486 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2487
2488         * libs/gst/base/gstdataqueue.c:
2489         * libs/gst/base/gstdataqueue.h:
2490         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2491         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2492         (gst_multi_queue_sink_event):
2493         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2494           Fix multiqueue leaking buffers and events when downstream or the
2495           queue are flushing. Make refcounting assumptions explicit and
2496           document them (shouldn't break existing code that uses it other than
2497           maybe leak miniobjects, but that already happens anyway). Add unit
2498           test for the most common flushing case. Fixes #423700.
2499           
2500 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2501
2502         * libs/gst/controller/gstcontroller.c:
2503         Clarify docs: The get_all, get_value_array(s) functions
2504         don't modify the GObject properties.
2505
2506 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2507
2508         * libs/gst/controller/gstcontroller.c:
2509         (gst_controlled_property_set_interpolation_mode),
2510         (gst_controlled_property_prepend_default),
2511         (gst_controlled_property_new), (gst_controller_set_unlocked),
2512         (gst_controller_set), (gst_controller_set_from_list),
2513         (gst_controller_unset), (gst_controller_unset_all):
2514         * libs/gst/controller/gstcontrollerprivate.h:
2515         * libs/gst/controller/gstinterpolation.c:
2516         Factor out the 'set' logic into gst_controller_set_unlocked for the
2517         gst_controller_set and gst_controller_set_from_list functions.
2518
2519         To make life of the interpolators easier always add a control point
2520         at timestamp zero with the default value.
2521
2522         In the linear interpolator make things more obvious by better variable
2523         naming (slope).
2524
2525         Implement cubic interpolation mode (by using a natural cubic spline)
2526         and map the quadratic interpolation mode to this too (as quadratic
2527         doesn't make much sense, see discussion on the list).
2528
2529         * tests/check/libs/controller.c: (GST_START_TEST),
2530         (gst_controller_suite):
2531         Add unit test for the cubic interpolation mode and check everywhere
2532         if the interpolation mode could be set as expected.
2533
2534 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2535
2536         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2537           Don't use GLib-2.10 functions, we still depend on
2538           GLib-how-old-is-it-again-2.8.
2539
2540 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2541
2542         * docs/gst/gstreamer-sections.txt:
2543         * gst/Makefile.am:
2544         * gst/gst.c:
2545         * gst/gst.h:
2546         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2547         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2548         (_gst_param_fraction_values_cmp),
2549         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2550         * gst/gstparamspecs.h:
2551         * gst/gstvalue.c:
2552         * tests/check/Makefile.am:
2553         * tests/check/gst/.cvsignore:
2554         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2555         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2556         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2557         (GST_START_TEST), (gst_param_spec_suite):
2558           API: add GstParamSpecFraction, so elements can have fraction
2559           properties without lots of painful string parsing (#444648).
2560
2561 2007-06-05  Wim Taymans  <wim@fluendo.com>
2562
2563         * gst/gstobject.c: (gst_object_class_init):
2564         Fix signal signature.
2565
2566         * gst/gstsegment.c:
2567         Add small clarification in the api docs.
2568
2569         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2570         States are protected with object lock.
2571
2572 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2573
2574         * AUTHORS:
2575         I should probably be listed as an author by now.
2576
2577         * docs/random/release:
2578         Update the release doc
2579
2580 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2581
2582         * gst/gstvalue.c:
2583           Make docs for gst_value_compare() mention return enums that
2584           actually exist.
2585
2586 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2587
2588         * configure.ac:
2589           Back to CVS
2590
2591 === release 0.10.13 ===
2592
2593 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2594
2595         * configure.ac:
2596           releasing 0.10.13, "With or without you"
2597
2598 2007-05-25  Wim Taymans  <wim@fluendo.com>
2599
2600         * gst/gstbin.c: (bin_handle_async_done):
2601         Make sure that the child bin stops after completing the async state
2602         change so that the parent can continue the state change to PLAYING.
2603         Fixes #441159.
2604
2605 2007-05-25  Wim Taymans  <wim@fluendo.com>
2606
2607         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2608         (unref_data), (gst_collect_pads_remove_pad),
2609         (gst_collect_pads_check_pads):
2610         Use additional refcounting to avoid crashes when dynamically adding and
2611         removing pads. Fixes #420206.
2612
2613 2007-05-24  Wim Taymans  <wim@fluendo.com>
2614
2615         * tools/gst-launch.c: (event_loop):
2616         When buffering goes from a two digit to a single digit number, make sure
2617         to remove the old second digit by writing a blank over it.
2618
2619 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2620
2621         * libs/gst/base/gstdataqueue.c:
2622           Eliminate tabs and trailing comma in enum list; fix some typos.
2623
2624 2007-05-24  Wim Taymans  <wim@fluendo.com>
2625
2626         * tests/check/gst/gstbin.c: (GST_START_TEST):
2627         Allow refcount of 3 and 4 because some state thread might still be busy
2628         with it.
2629
2630 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2631
2632         * plugins/elements/Makefile.am:
2633         * plugins/elements/gstmultiqueue.h:
2634         * plugins/elements/gstqueue.h:
2635           These are not installed headers, no need for padding.
2636
2637 2007-05-24  Wim Taymans  <wim@fluendo.com>
2638
2639         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2640         (gst_bin_continue_func):
2641         Enable latency for next release.
2642         Restore STATE_LOCK around recalc_state that was left out during the
2643         rewrite and could result in racy behaviour when _get_state and
2644         recalc_state are run concurrently. See #440463.
2645
2646 2007-05-23  Wim Taymans  <wim@fluendo.com>
2647
2648         * tests/check/gst/gstsystemclock.c: (store_callback),
2649         (GST_START_TEST):
2650         Improve test_async_order to also work when both timers are already
2651         expired when we get scheduled to check it.
2652
2653 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2654
2655         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2656         (gst_bin_set_property), (gst_bin_get_property),
2657         (gst_bin_remove_func), (gst_bin_handle_message_func):
2658         * gst/gstbin.h:
2659           'private' is a c++ keyword, let's not use that in header files,
2660           otherwise c++ compilers will throw a tantrum.
2661
2662 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2663
2664         * plugins/elements/gstelements.c:
2665         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2666         (gst_file_sink_get_current_offset):
2667         * plugins/indexers/gstindexers.c: (plugin_init):
2668           Use #ifdef for HAVE_XYZ for consistency.
2669
2670         * tests/check/Makefile.am:
2671         * tests/check/elements/.cvsignore:
2672         * tests/check/elements/filesink.c: (setup_filesink),
2673         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2674           Add some unit tests for filesink.
2675
2676 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2677
2678         Patch by: Mark Nauwelaerts <manauw at skynet be>
2679
2680         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2681         (gst_file_sink_query), (gst_file_sink_do_seek),
2682         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2683         * plugins/elements/gstfilesink.h:
2684           Fix position reporting; rename data_written member to current_pos to
2685           reflect its real meaning (fixes #412648).
2686
2687 2007-05-22  Edward Hervey  <edward@fluendo.com>
2688
2689         * docs/gst/gstreamer-sections.txt:
2690         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2691         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2692         (gst_bin_remove_func), (gst_bin_handle_message_func):
2693         * gst/gstbin.h:
2694         Add a property for bins that handle the state change of their childs.
2695         Fixes #435880
2696
2697 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2698
2699         * libs/gst/controller/gstinterpolation.c:
2700         Use an array of the correct type when using _get_value_array with
2701         linear interpolation.
2702
2703 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2704
2705         * gst/gstelement.c (gst_element_requires_clock,
2706           gst_element_provides_clock, gst_element_request_pad,
2707           gst_element_class_set_details, gst_element_class_set_details_simple,
2708           gst_element_default_send_event, gst_element_abort_state,
2709           gst_element_continue_state, gst_element_set_state,
2710           gst_element_set_state_func, iterator_activate_fold_with_resync):
2711         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2712           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2713           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2714           gst_pad_get_range, gst_pad_pull_range):
2715         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2716           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2717           GstPadActivateModeFunction, GstPadChainFunction,
2718           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2719           GstPadFixateCapsFunction, GstPadTemplate):
2720         * gst/gstpipeline.c (gst_pipeline_change_state,
2721           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2722           gst_pipeline_set_clock, gst_pipeline_auto_clock,
2723           gst_pipeline_get_delay):
2724           Whitespace and docs fixes.
2725
2726 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2727
2728         * libs/gst/controller/gstinterpolation.c:
2729         (interpolate_trigger_get_enum_value_array),
2730         (interpolate_trigger_get_string_value_array):
2731         Add support for retrieving value arrays when using the trigger
2732         interpolation mode. 
2733
2734 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2735
2736         * libs/gst/controller/gstcontroller.c:
2737         (gst_controller_get_value_array):
2738         * libs/gst/controller/gstcontroller.h:
2739         Clarify the docs of gst_controller_get_value_array(): The array where
2740         the values should be written to must be allocated as there seems to be
2741         no way to get the size of a random GType. This doesn't change any
2742         behaviour. Also fix some typos all over the place and remove an unused,
2743         commented function that is not necessary as g_object_set() could be
2744         used instead.
2745         * tests/check/libs/controller.c: (GST_START_TEST),
2746         (gst_controller_suite):
2747         Add unit test for gst_controller_get_value_array().
2748
2749 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2750
2751         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2752
2753         Disable part of the gst_buffer_try_new_and_alloc test, because
2754         it can happily succeed on 64-bit systems where there's more address
2755         space available.
2756
2757 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2758
2759         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2760         Add unit test for the improved caps checking from bug #421543.
2761
2762 2007-05-21  Wim Taymans  <wim@fluendo.com>
2763
2764         * docs/design/part-synchronisation.txt:
2765         Small addition.
2766
2767         * gst/gstbin.c: (gst_bin_query):
2768         * plugins/elements/gstqueue.c: (apply_segment):
2769         Improve debugging.
2770
2771         * gst/gstmessage.h:
2772         Improve docs.
2773
2774 2007-05-21  Wim Taymans  <wim@fluendo.com>
2775
2776         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2777         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2778         (gst_pad_configure_src):
2779         Added simple version of improved caps checking. It was previously
2780         assumed that a setcaps function would check the validity of the caps but
2781         people prefer us to check caps against the template automatically. 
2782         Fixes #421543.
2783
2784 2007-05-21  Wim Taymans  <wim@fluendo.com>
2785
2786         * libs/gst/base/gstbasetransform.h:
2787         Fix macro for locking/unlocking the transform lock.
2788
2789 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2790
2791         * docs/plugins/tmpl/.cvsignore:
2792           Ignore more.
2793
2794 2007-05-18  Edward Hervey  <edward@fluendo.com>
2795
2796         * plugins/elements/gstqueue.c: (gst_queue_loop):
2797         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2798         for the subtle art of warning a potentially blocking thread that it
2799         should check the source pad return value, and relay the information
2800         upstream.
2801
2802 2007-05-18  Edward Hervey  <edward@fluendo.com>
2803
2804         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2805         Release the queue lock !
2806
2807 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2808
2809         * docs/libs/gstreamer-libs-sections.txt:
2810         Add the two new controller functions to the appropiate places.
2811
2812 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2813
2814         reviewed by: Stefan Kost <ensonic@users.sf.net>
2815
2816         * libs/gst/controller/gstcontroller.c:
2817         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2818         (_gst_controller_get_property), (_gst_controller_set_property),
2819         (_gst_controller_init), (_gst_controller_class_init):
2820         * libs/gst/controller/gstcontroller.h:
2821         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2822         (gst_object_get_control_rate), (gst_object_set_control_rate):
2823         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2824         Add API that provides sync suggestion timestamps for elements that
2825         call gst_object_sync_values() from which those elements can subdivide
2826         their processing loop to get the best results for the controlled
2827         properties. For now it just suggests last_sync + control_rate as
2828         new timestamp but this will be improved in the future.
2829
2830         While doing that change the control-rate property to a GstClockTime
2831         from guint and change it's meaning from samples to nanoseconds as
2832         the GstController doesn't know anything about sampling rate. Strictly
2833         speaking this breaks ABI but as the control-rate property didn't do
2834         anything in the past and as such couldn't be used this should be no
2835         problem.        
2836
2837 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2838
2839         reviewed by: Stefan Kost <ensonic@users.sf.net>
2840
2841         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2842         (gst_controller_unset_all):
2843         * libs/gst/controller/gstcontrollerprivate.h:
2844         * libs/gst/controller/gstinterpolation.c:
2845         (gst_controlled_property_find_control_point_node):
2846         Save last synced value from the list to continue searching from there
2847         in future syncs. This speeds everything up a bit.
2848         
2849 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2850
2851         reviewed by: Stefan Kost <ensonic@users.sf.net>
2852
2853         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2854         (gst_control_point_find), (gst_controlled_property_new),
2855         (gst_control_point_free), (gst_controlled_property_free),
2856         (gst_controller_set), (gst_controller_set_from_list),
2857         (gst_controller_unset), (gst_controller_unset_all),
2858         (gst_controller_sync_values):
2859         * libs/gst/controller/gstcontroller.h:
2860         * libs/gst/controller/gstcontrollerprivate.h:
2861         * libs/gst/controller/gstinterpolation.c:
2862         (gst_controlled_property_find_control_point_node),
2863         (interpolate_none_get), (interpolate_trigger_get):
2864         Add a new private GstControlPoint struct which "inherits" from
2865         GstTimedValue to allow different interpolators to store internal
2866         values next to each control point. From the outside everything is
2867         still a GstControlPoint so we don't loose binary compatibility.
2868         Also fixup all the GValue handling to not leak GValues or list nodes.
2869         * tests/check/libs/controller.c: (GST_START_TEST):
2870         Free the list nodes and GValues in the controller_misc test.
2871
2872 2007-05-17  Edward Hervey  <edward@fluendo.com>
2873
2874         * gst/gstsegment.c:
2875         Small doc fix.
2876
2877 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2878
2879         * gst/gstplugin.c: (gst_plugin_load_file):
2880           If we fail to load a plugin because of unresolved symbols or missing
2881           libraries and spew a warning to stderr, we may just as well mention
2882           which plugin it was that failed to load.
2883
2884 2007-05-13  David Schleef  <ds@schleef.org>
2885
2886         * docs/Makefile.am: the gtk-doc makefile snippet correctly
2887           handles the case when ENABLE_GTK_DOC is false, and installs
2888           the prebuilt documentation.  So gtk-doc subdirs are 
2889           unconditionally enabled.  Fixes: #349099.
2890
2891 2007-05-13  David Schleef  <ds@schleef.org>
2892
2893         * gst/gstutils.h: Reword some documentation.
2894
2895 2007-05-12  David Schleef  <ds@schleef.org>
2896
2897         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2898           do anything with the passed "module" parameter, so remove it.
2899           Allows removal of additional vestigal code.
2900
2901 2007-05-12  David Schleef  <ds@schleef.org>
2902
2903         * gst/gstplugin.c:
2904           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2905           Switch to using g_stat() because it's more portable.
2906
2907 2007-05-12  David Schleef  <ds@schleef.org>
2908
2909         * gst/gst.c:
2910           Add GST_DISABLE_OPTION_PARSING, in order to disable option
2911           parsing for embedded systems.
2912         * gst/gstelementfactory.c:
2913           Allow gst_element_register() to be called with plugin==NULL.
2914           Did nobody notice that static elements were broken?
2915
2916 2007-05-12  Wim Taymans  <wim@fluendo.com>
2917
2918         * tools/gst-launch.c: (event_loop):
2919         Give more interesting info when buffering starts and stops.
2920         Fix case where buffering starts but we fail to update the buffering flag
2921         because the target state is not PLAYING.
2922
2923 2007-05-12  Wim Taymans  <wim@fluendo.com>
2924
2925         * plugins/elements/gstqueue.c: (gst_queue_init),
2926         (gst_queue_finalize), (update_time_level), (apply_segment),
2927         (apply_buffer), (gst_queue_locked_flush),
2928         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2929         (gst_queue_handle_sink_event), (gst_queue_chain),
2930         (gst_queue_push_one), (gst_queue_loop):
2931         * plugins/elements/gstqueue.h:
2932         Refactor an cleanup queue a bit.
2933         Do better time level calculations that also work when the srcpad is not
2934         yet running.
2935         Remove some unneeded debug lines.
2936
2937         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2938         Added testcase for time level measurement.
2939         Try to make some stuff more racefree.
2940
2941 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2942
2943         * gst/gsturi.c: (gst_element_make_from_uri):
2944           Don't leak plugin feature.
2945
2946         * tests/check/Makefile.am:
2947         * tests/check/gst/.cvsignore:
2948         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2949           Add brain-dead unit test.
2950
2951 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2952
2953         Patch by: Jeroen Wouters <woutersj at gmail com>
2954
2955         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2956           Treat protocol strings in a case-insensitive way (#437563).
2957
2958 2007-05-11  Michael Smith <msmith@fluendo.com>
2959
2960         * gst/gstplugin.c: (gst_plugin_load_file):
2961         * gst/gstregistry.c: (gst_registry_scan_path_level):
2962           Don't print a g_warning for any failure to load a shared object.
2963           Instead, push this down into gstplugin.c, and warn _only_ if we
2964           failed to open the module (i.e. failure to link).
2965           Avoids warnings on normal, working, non-plugin .so files.
2966
2967 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
2968
2969         * gst/gstplugin.c (gst_plugin_load_file):
2970         * gst/gstregistry.c (GST_CAT_DEFAULT,
2971           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2972           Print a g_warning if there was an error when loading a plugins during
2973           registry scan. The shuld help beginners starting with gst-plugin
2974           template.
2975
2976 2007-05-10  Wim Taymans  <wim@fluendo.com>
2977
2978         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2979         (update_time_level), (gst_queue_locked_flush),
2980         (gst_queue_handle_sink_event), (gst_queue_chain),
2981         (gst_queue_push_one), (gst_queue_loop):
2982         * plugins/elements/gstqueue.h:
2983         Be smarter when calculating the current amount of data in the queue by
2984         measuring the difference between start and end timestamps (in running
2985         time) inside the queue. Fixes #432876.
2986         API: GstQueue::pushing to notify elements that we are pushing data again
2987         since the running signal is rather broken for this purpose.
2988
2989 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
2990
2991         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2992           gst_queue_base_init, gst_queue_init):
2993           use GST_BOILERPLATE
2994
2995 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
2996
2997         * win32/common/libgstreamer.def:
2998         Add new exported functions.
2999         * win32/vs6/grammar.dsp:
3000         Use grammar pre-generated files.
3001
3002 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3003
3004         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3005
3006         * gst/Makefile.am:
3007         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3008         * gst/gstparse.h:
3009         * gst/gstutils.c: (gst_parse_bin_from_description):
3010         * gst/gstutils.h:
3011           Maintain API and ABI when --disable-parse is used. Now that
3012           we have an appropriate error code, we can just return NULL and the
3013           appropriate error when gst_parse_launch() is used despite it having
3014           been disabled (#342564).
3015
3016         * tests/check/Makefile.am:
3017         * tests/check/pipelines/.cvsignore:
3018         * tests/check/pipelines/parse-disabled.c:
3019           Make sure these functions exist and return NULL plus a GError when
3020           --disable-parse is used.
3021
3022 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3023
3024         * tests/benchmarks/complexity.c: (main):
3025         * tests/benchmarks/mass-elements.c: (main):
3026           Set a good example and don't leak messages.
3027
3028 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3029
3030         * docs/gst/Makefile.am:
3031         * docs/libs/Makefile.am:
3032           Correct fixxrefs options.
3033
3034         * docs/plugins/Makefile.am:
3035         * docs/plugins/gstreamer-plugins-docs.sgml:
3036         * docs/plugins/gstreamer-plugins-sections.txt:
3037         * plugins/elements/Makefile.am:
3038         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3039         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3040           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3041           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3042           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3043           _GstCapsFilterClass, trans_class):
3044         * plugins/elements/gstelements.c (name, rank, type, _elements):
3045         * plugins/elements/gstidentity.c
3046           (gst_identity_check_imperfect_timestamp,
3047           gst_identity_check_imperfect_offset):
3048           Document capsfilter and add doc-blurb to identity.
3049
3050 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3051
3052         * libs/gst/controller/gstcontroller.c:
3053         (gst_controlled_property_set_interpolation_mode):
3054         * libs/gst/controller/gstinterpolation.c:
3055           Don't crash if someone tries to set an interpolation mode that
3056           is invalid or that isn't supported yet. Fixes #422295.
3057
3058         * tests/check/libs/controller.c: (GST_START_TEST),
3059         (gst_controller_suite):
3060           Add a test case for the above.
3061
3062 2007-05-03  Edward Hervey  <edward@fluendo.com>
3063
3064         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3065         Properly set the last_stop position on GstSegment. This will only happen
3066         if there is a buffer to push out.
3067
3068 2007-05-03  Wim Taymans  <wim@fluendo.com>
3069
3070         * libs/gst/base/gstbasetransform.c:
3071         (gst_base_transform_buffer_alloc):
3072         always_in_place does not mean that the sink and source caps are the
3073         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3074
3075 2007-05-03  Wim Taymans  <wim@fluendo.com>
3076
3077         * docs/libs/gstreamer-libs-sections.txt:
3078         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3079         (gst_base_src_default_query), (gst_base_src_get_range):
3080         * libs/gst/base/gstbasesrc.h:
3081         API: gst_base_src_query_latency(). Added method so that subclasses can
3082         easily get the latency values of the base source class.
3083
3084 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3085
3086         * tools/gst-inspect.c (print_implementation_info):
3087         Remove 0.8 cruft.
3088
3089 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3090
3091         * tools/Makefile.am:
3092         * tools/gst-launch.1.in:
3093           Don't create a customised man page based on the host architecture,
3094           describe the default registry path generically. That way the man
3095           page is the same for all architectures and packagers have one
3096           multilib issue less to deal with. Fixes #434926.
3097
3098 2007-05-02  Wim Taymans  <wim@fluendo.com>
3099
3100         * gst/gstpad.c:
3101         Fix documentation as spotted by rg on IRC. 
3102
3103 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3104
3105         * gst/gstutils.c:
3106           Improve docs for gst_element_{link,unlink}.
3107
3108 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3109
3110         * docs/design/part-events.txt:
3111         * docs/design/part-overview.txt:
3112         * gst/gstevent.c:
3113         * gst/gsturi.c:
3114         * gst/gsturi.h:
3115         * libs/gst/base/gstbasesink.c:
3116           Typo fixes; minor docs addition.
3117
3118 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3119
3120         * docs/gst/gstreamer-sections.txt:
3121         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3122         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3123         * gst/gsturi.h:
3124         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3125         or src that supports a given URI protocol exists.
3126
3127 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3128
3129         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3130         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3131         Set the location to NULL if "file://" is set as URI. Otherwise
3132         some random previous URI would still be set if "file://" is
3133         set on an already used filesink/filesrc.
3134
3135 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3136
3137         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3138         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3139         Special case the "file://" URI as as this is used by some
3140         applications to test with gst_element_make_from_uri if there's
3141         an element that supports the URI protocol.
3142         Also move the g_path_is_absolute() check for the location part
3143         of the URI to also check this for "file://localhost/bla" URIs.
3144
3145 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3146
3147         * docs/gst/gstreamer-sections.txt:
3148         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3149         * gst/gstbuffer.h:
3150         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3151         (gst_buffer_suite):
3152           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3153
3154 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3155
3156         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3157         (gst_registry_binary_load_pad_template),
3158         (gst_registry_binary_load_plugin),
3159         (gst_registry_binary_read_cache):
3160         * gst/gstregistrybinary.h:
3161           Implement no-mmap alternative for registry reading. Do code cleanups.
3162           Add more comments about avoiding strdups for all text data. Comments
3163           welcome.
3164
3165 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3166
3167         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3168           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3169           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3170           Comment structs and reformat to fix the build (that stuff should go
3171           into a priv. header).
3172
3173 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3174
3175         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3176         (gst_registry_binary_load_feature):
3177         * gst/gstregistrybinary.h:
3178           Refactor so that we can implement multiple features. Add support for
3179           TypeFindFactory features.
3180
3181 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3182
3183         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3184
3185         * configure.ac:
3186           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3187
3188 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3189
3190         * gst/gstbin.c: (gst_bin_element_set_state),
3191         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3192         (bin_handle_async_done), (gst_bin_handle_message_func):
3193           Fix build with --gst-disable-gst-debug
3194
3195 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3196
3197         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3198           Make sure streaming has finished before calling the ::stop() vfunc,
3199           since that vfunc might clear state which is being used in the
3200           streaming thread. This fixes a race that caused crashes in
3201           audioresample when shutting down a pipeline (#420106).
3202
3203 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3204
3205         * docs/gst/gstreamer-sections.txt:
3206           That was one byte missing.
3207
3208 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3209
3210         * configure.ac:
3211         * docs/gst/gstreamer-sections.txt:
3212         * gst/Makefile.am:
3213         * gst/gstconfig.h.in:
3214         * gst/gstobject.c: (gst_object_class_init),
3215         (gst_signal_object_class_init):
3216         * gst/gstobject.h:
3217           2nd attempt to have a xml-less build as a joined effort of #413123
3218           and #421480.
3219
3220 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3221
3222         * docs/design/draft-tagreading.txt:
3223           Added open issues/thoughts to draft.
3224
3225 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3226
3227         * gst/parse/grammar.tab.pre.c:
3228         * gst/parse/grammar.tab.pre.h:
3229         * gst/parse/lex._gst_parse_yy.pre.c:
3230         Update the prebuild parser sources.
3231
3232 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3233
3234         * gst/parse/Makefile.am:
3235         And now fix the building of the flex sources. Now everything should
3236         work as expected.
3237
3238 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3239
3240         * gst/parse/Makefile.am:
3241         Now hopefully fix the build failures by setting proper rule
3242         dependencies and moving instead of copying.
3243
3244 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3245
3246         * tests/benchmarks/complexity.gnuplot:
3247         * tests/benchmarks/complexity.scm:
3248         * tests/benchmarks/mass-elements.gnuplot:
3249         * tests/benchmarks/mass-elements.scm:
3250           Total licensification.
3251
3252 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3253
3254         * gst/parse/Makefile.am:
3255           Fix the build by correcting the rule that gave wrong files to flex.
3256
3257 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3258
3259         * tests/benchmarks/complexity.c:
3260         * tests/benchmarks/mass-elements.c:
3261           Change licence to LGPL as granted by Benjamin and Andy.
3262
3263 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3264
3265         * gst/parse/Makefile.am:
3266         Add correct grammar.tab.h dependency if compiling without new enough
3267         flex. Fixes #431150.
3268
3269 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3270
3271         * gst/parse/Makefile.am:
3272         Fix typo and use outdated sources if the flex/bison sources are newer
3273         than the pregenerated ones but flex is too old. Print a warning in
3274         that case. This should fix the build on the build bot.
3275
3276 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3277
3278         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3279         * gst/parse/Makefile.am:
3280         * gst/parse/grammar.y:
3281         * gst/parse/parse.l:
3282         Make the parser reentrant and recursively callable. This requires flex
3283         >= 2.5.31, for older versions pregenerated sources are used as we
3284         can't bump the build dependency. Finally fixes #349180.
3285
3286         * gst/gstparse.c: (gst_parse_launch):
3287         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3288         now anyway.
3289
3290         * docs/gst/Makefile.am:
3291         * docs/gst/Makefile.am:
3292         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3293         (__gst_parse_strfree), (__gst_parse_link_new),
3294         (__gst_parse_link_free), (__gst_parse_chain_new),
3295         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3296         (gst_parse_element_set), (gst_parse_free_link),
3297         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3298         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3299         (_gst_parse_launch):
3300         * gst/parse/grammar.tab.pre.h:
3301         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3302         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3303         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3304         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3305         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3306         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3307         (_gst_parse_yypop_buffer_state),
3308         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3309         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3310         (yy_fatal_error), (_gst_parse_yyget_extra),
3311         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3312         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3313         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3314         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3315         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3316         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3317         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3318         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3319         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3320         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3321         (_gst_parse_yyfree):
3322         If the installed flex version is too old use pre-generated parser
3323         sources. These pre-generated parser sources are always updated when
3324         the actual flex/bison sources change but require everybody who wants
3325         to change something in the parser to have flex >= 2.5.31 installed.
3326
3327 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3328
3329         * common/m4/gst-gettext.m4:
3330         * gst/gst-i18n-lib.h:
3331           Make --disable-nls to work
3332
3333 2007-04-17  Wim Taymans  <wim@fluendo.com>
3334
3335         * gst/gstconfig.h.in:
3336         Revert previous change that broke the build.
3337
3338 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3339
3340         * configure.ac:
3341         * gst/Makefile.am:
3342         * gst/gstconfig.h.in:
3343           Drop libxml2 dependency when building with 
3344           --enable-binary-registry --disable-loadsave
3345
3346 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3347
3348         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3349         (gst_registry_binary_read_cache):
3350         * gst/gstregistrybinary.h:
3351           Remove unnecessary <sys/mman.h> include which broke the win32 build
3352           with MingW; move includes from header file to .c file, even if the
3353           header file isn't installed; use g_strerror() where UTF-8 strings
3354           are expected, such as in GST_DEBUG messages.
3355
3356 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3357
3358         * docs/libs/gstreamer-libs-sections.txt:
3359         Remove bogus addition for API I didn't end up keeping.
3360
3361         * libs/gst/base/gstbasesrc.h:
3362         Mention Since: 0.10.13 in the documentation.
3363
3364         Add the API keyword to the previous ChangeLog entry.
3365
3366 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3367
3368         * docs/libs/gstreamer-libs-sections.txt:
3369         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3370         (gst_base_src_default_prepare_seek_segment),
3371         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3372         * libs/gst/base/gstbasesrc.h:
3373         Allow basesrc derived classes to execute seeks in other formats
3374         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3375         to prepare the GstSegment in any format that their perform_seek method
3376         will be able to understand. The default implementation provides the
3377         old behaviour of attempting to convert the seek offsets to the 
3378         configured native format.
3379
3380         API: basesrc::prepare_seek_segment vmethod.
3381
3382 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3383
3384         * gst/gstelement.c: (gst_element_get_state_func):
3385         Don't output the same debug statement twice.
3386
3387         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3388         (gst_adapter_peek), (gst_adapter_take_buffer):
3389         Optimise the case where we have buffers at the head of the queue that
3390         can be joined quickly (because they're contiguous sub-buffers) by
3391         merging them together rather than copying data out into new memory.
3392
3393         * gst/parse/grammar.y:
3394         * tests/check/pipelines/parse-launch.c:
3395         Fix a leak in an error path for parse_launch, and add a check 
3396         for it to the testsuite.
3397
3398 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3399
3400         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3401           Don't deadlock when releasing a pad - gst_pad_set_active may try
3402           and take the multiqueue lock too.
3403
3404 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3405
3406         * gst/gsterror.c: (_gst_core_errors_init):
3407         * gst/gsterror.h:
3408           API: add GST_CORE_ERROR_DISABLED (#392804).
3409
3410 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3411
3412         * docs/faq/gst-uninstalled:
3413           don't get empty paths on the PATH variables
3414         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3415           Don't format for the uncommon terminal width of 84 characters.
3416
3417 2007-04-06  Wim Taymans  <wim@fluendo.com>
3418
3419         * gst/gstpipeline.c: (reset_stream_time),
3420         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3421         Only try to select a different pipeline clock when we went back to
3422         PAUSED and not when we merely got flushed.
3423
3424 2007-04-05  Michael Smith  <msmith@fluendo.com>
3425
3426         * tools/gst-launch.1.in:
3427           fractions are better supported in gstreamer than ractions, so
3428           suggest using those.
3429
3430 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3431
3432         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3433
3434         * po/LINGUAS:
3435         * po/da.po:
3436           Added Danish translation.
3437
3438 2007-04-05  Wim Taymans  <wim@fluendo.com>
3439
3440         * libs/gst/base/gstbasesink.c:
3441         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3442         Fix leak caused when refusing newsegment after EOS.
3443
3444         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3445         (gst_fake_sink_init), (gst_fake_sink_set_property),
3446         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3447         (gst_fake_sink_render), (gst_fake_sink_change_state):
3448         * plugins/elements/gstfakesink.h:
3449         Add num-buffers property to make the element generate EOS after a
3450         configurable amount of buffers.
3451         API: fakesink::num-buffers property.
3452
3453         * tests/check/elements/fakesink.c: (GST_START_TEST),
3454         (fakesink_suite):
3455         Fix GstBus leak in test.
3456         Test for fakesink num-buffers.
3457
3458 2007-04-05  Wim Taymans  <wim@fluendo.com>
3459
3460         * libs/gst/base/gstbasesink.c:
3461         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3462         (gst_base_sink_change_state):
3463         Don't accept anything after an EOS, return UNEXPECTED instead.
3464
3465         * tests/check/elements/fakesink.c: (GST_START_TEST),
3466         (fakesink_suite):
3467         Unit test for new EOS behaviour.
3468
3469 2007-04-05  Wim Taymans  <wim@fluendo.com>
3470
3471         * gst/gstelement.c: (gst_element_get_request_pad):
3472         Make padtemplates also work when they don't contain %s or %d.
3473
3474 2007-04-05  Wim Taymans  <wim@fluendo.com>
3475
3476         * docs/gst/gstreamer-sections.txt:
3477         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3478         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3479         * gst/gstclock.h:
3480         Improve _adjust_unlocked() so that it overflows less.
3481         Add gst_clock_unadjust_unlocked to convert from external time to
3482         internal time based on calibration.
3483         Add some more debug.
3484         API: GstClock::gst_clock_unadjust_unlocked()
3485
3486 2007-04-03  Wim Taymans  <wim@fluendo.com>
3487
3488         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3489
3490         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3491         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3492         when releasing sink pad. Fixes #425400.
3493
3494 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3495
3496         * docs/random/ensonic/dynlink.txt:
3497           More work on proposal for new core api.
3498
3499         * docs/libs/gstreamer-libs-sections.txt:
3500         * libs/gst/base/gstbasetransform.h:
3501           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3502           
3503         * libs/gst/controller/gstcontroller.c:
3504         (on_object_controlled_property_changed),
3505         (gst_controller_sync_values),
3506         (gst_controller_set_interpolation_mode):
3507         * libs/gst/controller/gstcontroller.h:
3508           Less verbose logging add docs for unimplemented parts and correctly
3509           return when using unavailable parts.
3510
3511 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3512
3513         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3514         Move all the debug to the CLOCK category, and associate it with
3515         the clock object.
3516
3517 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3518
3519         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3520         Make take_buffer a bit quicker by removing redundant checks
3521         caused by calling gst_adapter_take.
3522
3523 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3524
3525         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3526           Don't leak GCond.
3527
3528         * tests/check/Makefile.am:
3529         * tests/check/elements/.cvsignore:
3530         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3531         (GST_START_TEST), (multiqueue_suite):
3532           Add some dead simple unit tests for the 'multiqueue' element
3533           (some bits don't work yet and are disabled for now).
3534
3535 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3536
3537         * gst/gstelement.c: (gst_element_get_request_pad),
3538         (gst_element_class_get_request_pad_template):
3539           Make gst_element_get_request_pad() create request pads only for
3540           request pad templates and not for, say, sometimes pad templates.
3541
3542 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3543
3544         * docs/design/draft-klass.txt:
3545           Add example that needs more thinking.
3546         
3547         * docs/design/draft-missing-plugins.txt:
3548           More thoughts about wrapper plugins.
3549         
3550         * docs/random/ensonic/embedded.txt:
3551         * docs/random/ensonic/profiling.txt:
3552           More design work.
3553
3554 2007-03-25  Wim Taymans  <wim@fluendo.com>
3555
3556         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3557         (gst_base_src_loop):
3558         Only push the segment events in the PLAYING state for live sources.
3559
3560 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3561
3562         * gst/gstpipeline.c: (gst_pipeline_change_state):
3563         Modify the clock distribution path in PAUSED->PLAYING so that we 
3564         never attempt to choose a new clock unless we're actually leaving
3565         the PAUSED state for the first time. This prevents choosing a
3566         different clock when the state_change gets called for a 2nd time due
3567         to some element doing an async state change.
3568
3569 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3570
3571         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3572         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3573         (gst_pad_chain_unchecked), (gst_pad_push):
3574         Revert last commit. This needs some more thoughts.
3575
3576 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3577
3578         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3579         (gst_pad_chain_unchecked), (gst_pad_push):
3580         Check in set_caps if the caps are compatible with the pad and remove
3581         two functions that are redundant now. Fixes #421543.
3582
3583 2007-03-22  Wim Taymans  <wim@fluendo.com>
3584
3585         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3586         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3587         Unref some more to make valgrind happy.
3588
3589 2007-03-22  Wim Taymans  <wim@fluendo.com>
3590
3591         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3592         (gst_system_clock_id_wait_jitter),
3593         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3594         Fix anoying regression that survived a few releases. When adding an
3595         async entry while blocking on a sync entry, the sync entry will unblock
3596         but still be busy, so it should continue to wait instead of returning
3597         _BUSY to the app.
3598         Add some comments here and there.
3599
3600         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3601         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3602         Add testcase for this.
3603
3604 2007-03-22  Wim Taymans  <wim@fluendo.com>
3605
3606         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3607         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3608         WRONG_STATE and can silently pause the task. All other cases should
3609         error out.
3610
3611 2007-03-22  Wim Taymans  <wim@fluendo.com>
3612
3613         Patch by: Ville Syrjala <syrjala at sci dot fi>
3614
3615         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3616         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3617         Improve debugging.
3618
3619 2007-03-21  Michael Smith  <msmith@fluendo.com>
3620
3621         * docs/pwg/advanced-types.xml:
3622           Fix some errors in the typefinding docs pointed out on irc.
3623
3624 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3625
3626         * libs/gst/base/gstbasesrc.c:
3627         Clarify FIXME comment in the face of having added unlock_stop()
3628
3629 2007-03-21  Wim Taymans  <wim@fluendo.com>
3630
3631         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3632         Prepare for release where we warn against possible app breakage in the
3633         case of live pipelines along with an env var to enable/disable live
3634         preroll mode (GST_COMPAT=[no-]live-preroll).
3635
3636 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3637
3638         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3639         So we should use correct constants for checking for None offset.
3640
3641 2007-03-20  Wim Taymans  <wim@fluendo.com>
3642
3643         * docs/design/part-block.txt:
3644         Mention the fact that the newly switched element should be set to at
3645         least PAUSED.
3646
3647 2007-03-20  Wim Taymans  <wim@fluendo.com>
3648
3649         * gst/gst.c:
3650         Fix compilation with registry disabled as spotted by Saur.
3651
3652 2007-03-20  Wim Taymans  <wim@fluendo.com>
3653
3654         Patch by: Olivier Crete <tester at tester dot ca>
3655
3656         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3657         Look at the pending state too when syncing the element state to the
3658         parent. Fixes #420133.
3659
3660 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3661
3662         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3663         (gst_base_sink_change_state):
3664         * libs/gst/base/gstbasesink.h:
3665         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3666         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3667         (gst_base_src_deactivate):
3668         * libs/gst/base/gstbasesrc.h:
3669         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3670         for sub-classes to correctly clear any state they set trying to
3671         unlock, such as clearing out unlock commands from a command fd.
3672         API: basesrc::unlock_stop
3673         API: basesink::unlock_stop
3674
3675         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3676         (gst_fd_sink_render), (gst_fd_sink_unlock),
3677         (gst_fd_sink_unlock_stop):
3678         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3679         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3680         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3681
3682         Implement unlock_stop in fdsrc and fdsink.
3683         Implement seeking in fdsrc when a seekable fd is passed, as in
3684         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3685
3686 2007-03-19  Wim Taymans  <wim@fluendo.com>
3687
3688         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3689
3690         * gst/gstelement.c: (gst_element_class_init):
3691         Fix pad-added and pad-removed signal signatures so that the pad type is
3692         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3693
3694 2007-03-19  Wim Taymans  <wim@fluendo.com>
3695
3696         * docs/gst/gstreamer-sections.txt:
3697         Add new element field and method.
3698
3699         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3700         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3701         (gst_bin_recalc_state), (gst_bin_get_state_func),
3702         (gst_bin_element_set_state), (gst_bin_change_state_func),
3703         (gst_bin_continue_func), (bin_bus_handler),
3704         (bin_push_state_continue), (bin_handle_async_start),
3705         (bin_handle_async_done), (gst_bin_handle_message_func):
3706         Make async state changes a bit smarter by using new ASYNC_START and
3707         ASYNC_DONE messages. This reduces the number of times we run the state
3708         recalculation thread.
3709         Don't change state of element with a pending ASYNC_START message.
3710         Deprecate STATE_DIRTY messages.
3711         
3712         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3713         (gst_element_get_state_func), (gst_element_continue_state),
3714         (gst_element_lost_state), (gst_element_set_state_func),
3715         (gst_element_change_state):
3716         * gst/gstelement.h:
3717         Keep the state that was last set by the app in a new element field.
3718         Don't allow state changes when handling an element event.
3719         Post ASYNC_START and ASYNC_DONE messages.
3720         Change lost_state so that we go to PAUSED and wait for the parent to set
3721         us to PLAYING again (so latency calculation can be performed)
3722         Export gst_element_change_state() method so that subclasses can use it.
3723         API: gst_element_change_state()
3724         API: GST_STATE_TARGET
3725
3726         * gst/gstpipeline.c: (gst_pipeline_class_init),
3727         (reset_stream_time), (gst_pipeline_change_state),
3728         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3729         Using the new ASYNC_START message we can reset the base_time when
3730         needed. This can then be used to implement base_time redistribution in
3731         flushing seeks so that we can remove the explicit seek handling.
3732         Perform latency query and configuration when going to PLAYING.
3733
3734         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3735         (gst_base_sink_query), (gst_base_sink_change_state):
3736         Post new ASYNC_START/ASYNC_DONE messages.
3737
3738         * tests/check/generic/sinks.c: (GST_START_TEST):
3739         Fix test because the bin will not set the async element to PLAYING right
3740         away.
3741
3742         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3743         Make the message check a little stronger.
3744         Handle ASYNC messages.
3745
3746         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3747         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3748         Expect ASYNC_DONE messages.
3749
3750 2007-03-19  Wim Taymans  <wim@fluendo.com>
3751
3752         * docs/gst/gstreamer-sections.txt:
3753         * gst/gstmessage.c: (gst_message_new_async_start),
3754         (gst_message_new_async_done), (gst_message_parse_info),
3755         (gst_message_parse_async_start):
3756         * gst/gstmessage.h:
3757         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3758         support.
3759
3760 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3761
3762         * tools/gst-inspect.c:
3763         (print_plugin_automatic_install_info_codecs):
3764           Now that we don't check for the 'Codec' keyword any longer in the
3765           klass, we shouldn't spew a warning if the klass isn't a decoder or
3766           encoder (since it might be a Source/Network, for example).
3767
3768 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3769
3770         * tools/gst-inspect.c:
3771         (print_plugin_automatic_install_info_codecs):
3772           Don't require decoder/demuxer/depayloader elements or
3773           encoder/muxer/paylader elements to have 'Codec' as part of their
3774           factory class string when introspecting a plugin's capabilities.
3775           draft-klass.txt mentions that it might be removed in future, and
3776           flump3dec doesn't have it as part of its class string, so chances
3777           are others might also not have it.
3778
3779 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3780
3781         * po/af.po:
3782         * po/az.po:
3783         * po/bg.po:
3784         * po/ca.po:
3785         * po/cs.po:
3786         * po/de.po:
3787         * po/en_GB.po:
3788         * po/fr.po:
3789         * po/it.po:
3790         * po/nb.po:
3791         * po/nl.po:
3792         * po/ru.po:
3793         * po/sq.po:
3794         * po/sr.po:
3795         * po/sv.po:
3796         * po/tr.po:
3797         * po/uk.po:
3798         * po/vi.po:
3799         * po/zh_CN.po:
3800         * po/zh_TW.po:
3801           Update translations from translation project
3802
3803 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
3804
3805         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3806         (gst_child_proxy_set_property):
3807           Invert precondition check to be alike the ones in the mimiced gobject
3808           api.
3809
3810 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
3811
3812         * docs/design/draft-tagreading.txt:
3813         * docs/random/ensonic/audiobaseclasses.txt:
3814           Do some Architect work.
3815
3816         * gst/gstobject.c: (gst_object_set_name):
3817           Add a WARNING.
3818
3819         * gst/gstpad.c:
3820           Add docs that point from gst_pad_get_range to gst_pad_pull_range
3821
3822 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
3823
3824         * gst/gstsystemclock.c: (gst_system_clock_init),
3825         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3826         Defer starting the async system clock thread until the first async
3827         wait is scheduled. Fixes #414986.
3828
3829 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3830
3831         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3832         (gst_single_queue_free):
3833           Fix small leak (free GstSingleQueue structure too, not only contents).
3834
3835 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
3836
3837         * gst/gstbin.c:(gst_bin_add):
3838         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3839         * win32/common/libgstbase.def:
3840         * win32/common/libgstreamer.def:
3841         Add new exported functions.
3842
3843 2007-03-09  Wim Taymans  <wim@fluendo.com>
3844
3845         * docs/plugins/gstreamer-plugins-sections.txt:
3846         Fix GstTee docs.
3847
3848 2007-03-09  Wim Taymans  <wim@fluendo.com>
3849
3850         * docs/gst/gstreamer-sections.txt:
3851         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3852         * gst/gstbuffer.h:
3853         Add metadata copy functions. Fixes #393099.
3854         API: gst_buffer_copy_metadata()
3855
3856         * gst/gstutils.c: (gst_buffer_stamp):
3857         * libs/gst/base/gstbasetransform.c:
3858         (gst_base_transform_prepare_output_buffer):
3859         Use new metadata copy functions.
3860
3861 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3862
3863         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3864         (gst_identity_init), (gst_identity_check_perfect),
3865         (gst_identity_check_imperfect_timestamp),
3866         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3867         (gst_identity_set_property), (gst_identity_get_property):
3868         * plugins/elements/gstidentity.h:
3869         Separate out check-imperfect-timestamp and check-imperfect-offset.
3870         Put back check-perfect as it was to keep compatibility.
3871
3872 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
3873
3874         * gst/gstelement.c: (gst_element_dispose):
3875         There's no need to warn if VOID_PENDING is not NONE here, as
3876         long as the state is NULL it's ok, and that's checked immediately
3877         above.
3878
3879 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3880
3881         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3882         Fix check for perfect stream to ignore buffers with -1 
3883         offsets/offset ends when checking data contiguity.
3884
3885 2007-03-08  Wim Taymans  <wim@fluendo.com>
3886
3887         * tools/gst-launch.c: (event_loop):
3888         Print INFO messages.
3889
3890 2007-03-08  Wim Taymans  <wim@fluendo.com>
3891
3892         * libs/gst/base/gstbasetransform.c:
3893         (gst_base_transform_sink_eventfunc),
3894         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3895         (gst_base_transform_activate):
3896         * libs/gst/base/gstbasetransform.h:
3897         Add support for dropping buffers with custom GstFlowReturn.
3898         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3899         buffers or dropped buffers.
3900
3901         * docs/libs/gstreamer-libs-sections.txt:
3902         docs for new custom return code.
3903
3904         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3905         Use drop support in base class to implement drop-probability.
3906
3907 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3908
3909         * gst/gst.c: (load_plugin_func):
3910         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3911         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3912         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3913           Remove newlines at end of debug log strings.
3914
3915 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3916
3917         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3918         Only post bus message at max, once per buffer received.
3919
3920 2007-03-07  Wim Taymans  <wim@fluendo.com>
3921
3922         * docs/design/Makefile.am:
3923         * docs/design/part-synchronisation.txt:
3924         Add doc about synchronisation
3925
3926         * docs/design/draft-latency.txt:
3927         * docs/design/part-TODO.txt:
3928         * docs/design/part-clocks.txt:
3929         * docs/design/part-events.txt:
3930         * docs/design/part-gstbus.txt:
3931         * docs/design/part-gstpipeline.txt:
3932         * docs/design/part-live-source.txt:
3933         * docs/design/part-messages.txt:
3934         * docs/design/part-overview.txt:
3935         * docs/design/part-streams.txt:
3936         * docs/design/part-trickmodes.txt:
3937         Documentation updates.
3938
3939 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3940
3941         * gstreamer.doap:
3942         Update the doap file.
3943
3944 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3945
3946         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3947         Rename non-perfect to imperfect for Mike and for the sanctity of the
3948         language.
3949         Also make sure bus message gets emitted for data-incontiguities.
3950
3951 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3952
3953         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3954         (gst_identity_start):
3955         * plugins/elements/gstidentity.h:
3956         Emit bus message if check-perfect is true and we encounter a
3957         non-perfect stream between 2 consecutive buffers.
3958         Fixes #415394.
3959
3960 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3961
3962         * configure.ac:
3963         Back to CVS
3964
3965 === release 0.10.12 ===
3966
3967 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
3968
3969         * configure.ac:
3970           releasing 0.10.12, "Inevitable Demise"
3971
3972 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
3973
3974         * configure.ac:
3975          Version 0.10.11.2 (0.10.12 pre-release)
3976          Bump libtool versioning.
3977
3978 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
3979
3980         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3981           Log flow-names and not numbers.
3982
3983 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3984
3985         * configure.ac:
3986           Convert to new AG_GST style.
3987
3988 2007-02-28  Wim Taymans  <wim@fluendo.com>
3989
3990         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3991         Don't unref query twice.
3992
3993 2007-02-28  Wim Taymans  <wim@fluendo.com>
3994
3995         * gst/gstvalue.c: (gst_value_transform_object_string),
3996         (_gst_value_initialize):
3997         Implement GstObject -> string transform so we print object names
3998         when serializing GValues containing GstObjects.
3999
4000 2007-02-28  Wim Taymans  <wim@fluendo.com>
4001
4002         * docs/gst/gstreamer-sections.txt:
4003         Add new stuff to docs.
4004
4005 2007-02-28  Wim Taymans  <wim@fluendo.com>
4006
4007         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4008         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4009         (gst_base_sink_change_state):
4010         Improve latency query code.
4011         Don't leak latency events.
4012
4013         * tests/check/gst/gstbin.c: (GST_START_TEST):
4014         Improve debugging.
4015
4016 2007-02-28  Wim Taymans  <wim@fluendo.com>
4017
4018         * gst/gstelement.c: (gst_element_message_full),
4019         (gst_element_get_state_func):
4020         * gst/gstelement.h:
4021         Improve docs a little. Added Since: for new macro.
4022
4023         * gst/gstobject.c: (gst_object_sink):
4024         * gst/gstpipeline.c: (gst_pipeline_change_state),
4025         (gst_pipeline_set_new_stream_time):
4026         * gst/gstpipeline.h:
4027         Improve debugging and docs.
4028
4029         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4030         Improve debugging.
4031
4032 2007-02-28  Wim Taymans  <wim@fluendo.com>
4033
4034         * gst/gstelement.c: (gst_element_message_full),
4035         (gst_element_set_locked_state), (gst_element_get_state_func),
4036         (gst_element_change_state):
4037         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4038         Documentation updates.
4039         Small code cleanups.
4040
4041         * gst/gstmessage.c: (gst_message_new_info),
4042         (gst_message_parse_info):
4043         * gst/gstmessage.h:
4044         API: gst_message_new_info()
4045         API: gst_message_parse_info()
4046         Add INFO message create and parse code.
4047
4048 2007-02-28  Wim Taymans  <wim@fluendo.com>
4049
4050         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4051         (bin_query_latency_done):
4052         Also report the live parameter of a latency query.
4053
4054 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4055
4056         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4057           Copy the current generic/states example from -base and adapt so
4058           we can use the exact same code everywhere.
4059           Check a STATES_IGNORE_ELEMENTS env var which can be used
4060           to ignore certain element factories for this test, which is
4061           what is being done in -base
4062         * tests/check/Makefile.am:
4063           Mention this environment variable.
4064
4065 2007-02-27  Wim Taymans  <wim@fluendo.com>
4066
4067         * docs/gst/gstreamer-sections.txt:
4068         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4069         (gst_bus_timed_pop), (gst_bus_pop):
4070         * gst/gstbus.h:
4071         API: gst_bus_timed_pop()
4072         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4073         message to arrive on the bus.
4074
4075         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4076         (gst_bus_suite):
4077         Two unit tests for new _timed_pop() function.
4078
4079 2007-02-23  Wim Taymans  <wim@fluendo.com>
4080
4081         * gst/gstpipeline.c: (gst_pipeline_change_state),
4082         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4083         Don't ref a NULL clock in _provide_clock_func().
4084         Don't allow an INVALID delay.
4085         Don't try to calculate base_time with an invalid start_time.
4086         Also distribute and notify a NULL clock when it was selected.
4087
4088         * tools/gst-launch.c: (event_loop):
4089         Don't crash when a NULL clock was selected in the pipeline.
4090
4091 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4092
4093         * docs/design/Makefile.am:
4094         * docs/design/draft-missing-plugins.txt:
4095         * docs/random/draft-missing-plugins.txt:
4096           Some small updates: update plugin system identifier prefix
4097           ('gstreamer.net' to 'gstreamer'), mention our new install
4098           API in libgstbaseutils rather than libgimme-codec, add
4099           reference to the online docs.
4100
4101 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4102
4103         * win32/common/config.h:
4104           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4105           use moap cl ci to only check in what is mentioned in the ChangeLog.
4106
4107 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4108
4109         * docs/gst/gstreamer-sections.txt:
4110         * gst/gstelement.h:
4111           Fix up documentation to link to the correct GstGError section.
4112           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4113
4114 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4115
4116         * tools/gst-launch.c: (event_loop):
4117           Make sure that we actually show the important message part of a
4118           warning message.
4119           No need to check if the gerror is not NULL to free; first of all
4120           g_free accepts NULL; and second the default error handler would
4121           segfault if gerror was NULL.
4122
4123 2007-02-21  Wim Taymans  <wim@fluendo.com>
4124
4125         * docs/gst/gstreamer-sections.txt:
4126         Removed docs as well.
4127
4128 2007-02-21  Wim Taymans  <wim@fluendo.com>
4129
4130         * gst/gstmessage.c: (gst_message_parse_duration):
4131         * gst/gstmessage.h:
4132         Remove new messages for release.
4133
4134 2007-02-20  Wim Taymans  <wim@fluendo.com>
4135
4136         * docs/design/part-gstghostpad.txt:
4137         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4138         (gst_ghost_pad_new_full):
4139         Make the ghostpad a parent of the internal pad again for better backward
4140         compatibility. Don't write code that relies on this however.
4141
4142         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4143         (gst_pad_link_check_hierarchy):
4144         Require that parents should be GstElements in the hierarchy check.
4145
4146 2007-02-20  Wim Taymans  <wim@fluendo.com>
4147
4148         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4149         (gst_bin_change_state_func), (bin_query_min_max_init),
4150         (bin_query_latency_fold), (bin_query_latency_done),
4151         (gst_bin_query):
4152         Improve debug info.
4153         Implement latency query.
4154
4155 2007-02-20  Wim Taymans  <wim@fluendo.com>
4156
4157         * docs/design/part-gstghostpad.txt:
4158         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4159         (gst_ghost_pad_internal_do_activate_push),
4160         (gst_ghost_pad_internal_do_activate_pull),
4161         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4162         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4163         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4164         Do not set the internal pad as a parent anymore so we can avoid
4165         hierarchy linking errors when the ghostpad has no parent yet. This also
4166         fixes failed activation because of unlinked internal pads, which in
4167         turn fixes the impossible case where you have to activate a pad before
4168         you can add it to a running element.
4169         Also fix the docs.
4170
4171         * gst/gstpad.c: (pre_activate), (post_activate),
4172         (gst_pad_set_active), (gst_pad_activate_pull),
4173         (gst_pad_activate_push), (gst_pad_check_pull_range):
4174         Add some more debug info.
4175         Mark activation mode in pre_activate so that we don't try to activate in
4176         endless loops. Fixes #385084.
4177
4178 2007-02-19  Wim Taymans  <wim@fluendo.com>
4179
4180         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4181         (gst_base_transform_check_get_range):
4182         Implement a checkgetrange function instead of relying on the default
4183         core behaviour that assumes we can operate in pull mode if we have a
4184         getrange function. First step at fixing #385084.
4185
4186 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4187
4188         * gst/gstchildproxy.h:
4189         * libs/gst/base/gstbasesink.h:
4190         * libs/gst/base/gstbasesrc.h:
4191         * libs/gst/base/gstbasetransform.h:
4192         More docs coverage and some ChangeLog surgery (add missing names)
4193
4194 2007-02-15  Wim Taymans  <wim@fluendo.com>
4195
4196         * docs/design/part-TODO.txt:
4197         * docs/design/part-activation.txt:
4198         * docs/design/part-block.txt:
4199         * docs/design/part-buffering.txt:
4200         * docs/design/part-clocks.txt:
4201         * docs/design/part-element-source.txt:
4202         * docs/design/part-events.txt:
4203         * docs/design/part-gstbin.txt:
4204         * docs/design/part-gstbus.txt:
4205         * docs/design/part-gstpipeline.txt:
4206         * docs/design/part-live-source.txt:
4207         * docs/design/part-messages.txt:
4208         * docs/design/part-overview.txt:
4209         * docs/design/part-qos.txt:
4210         * docs/design/part-query.txt:
4211         * docs/design/part-states.txt:
4212         * docs/design/part-trickmodes.txt:
4213         Some doc updates. Start renaming from stream_time to running_time where
4214         it was used wrongly.
4215
4216 2007-02-15  Wim Taymans  <wim@fluendo.com>
4217
4218         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4219         Answer LATENCY query.
4220
4221 2007-02-15  Wim Taymans  <wim@fluendo.com>
4222
4223         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4224         (GST_START_TEST):
4225         Improve debugging.
4226
4227 2007-02-15  Wim Taymans  <wim@fluendo.com>
4228
4229         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4230         (gst_pad_dispatcher):
4231         Improve debugging of default pad dispatcher and query functions.
4232
4233 2007-02-15  Wim Taymans  <wim@fluendo.com>
4234
4235         * docs/gst/gstreamer-sections.txt:
4236         Remove old unused method.
4237
4238 2007-02-13  Wim Taymans  <wim@fluendo.com>
4239
4240         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4241         Fix check
4242
4243 2007-02-13  Wim Taymans  <wim@fluendo.com>
4244
4245         * docs/design/part-seeking.txt:
4246         Some small update.
4247
4248         * gst/gstsegment.c: (gst_segment_set_seek):
4249         Revert old bogus change that should make seeking work again.
4250
4251 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4252
4253         * docs/random/ensonic/dynlink.txt:
4254         * docs/random/ensonic/interfaces.txt:
4255         * docs/random/ensonic/receipies.txt:
4256           Possible dynamic reconnection api, plus some type fixes the other two
4257           docs.
4258
4259 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4260
4261         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4262         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4263         Also check for an absolute path following file:// in the filesrc
4264         element. Remove redundant check and call g_path_is_absolute() on the
4265         unescaped location.
4266
4267 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4268
4269         * docs/design/draft-klass.txt:
4270           Add existing category analysis.
4271           
4272         * gst/gstcaps.c:
4273           Fix doc example, framerate is a fraction.
4274
4275 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4276
4277         * configure.ac:
4278         * docs/gst/Makefile.am:
4279         * docs/gst/gstreamer-sections.txt:
4280         * docs/libs/Makefile.am:
4281           Erm, forgot a bunch of --extra-dir.
4282
4283 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4284
4285         * configure.ac:
4286         * docs/gst/Makefile.am:
4287         * docs/libs/Makefile.am:
4288         * docs/plugins/Makefile.am:
4289           Add crossreferences to glib/gobject docs.
4290
4291 2007-02-12  Wim Taymans  <wim@fluendo.com>
4292
4293         * docs/design/draft-latency.txt:
4294         Small update.
4295
4296         * docs/libs/gstreamer-libs-sections.txt:
4297         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4298         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4299         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4300         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4301         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4302         (gst_base_sink_get_position), (gst_base_sink_query),
4303         (gst_base_sink_change_state):
4304         * libs/gst/base/gstbasesink.h:
4305         API: gst_base_sink_query_latency() to let subclasses query the upstream
4306         latency.
4307         API: gst_base_sink_get_latency() to let subclasses query the configured
4308         latency in the sink.
4309         Implement query and set latency.
4310         Update some docs.
4311         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4312         don't continue preroll when we are flushing. Fixes #405284.
4313
4314         * tests/check/pipelines/stress.c: (change_state_timeout),
4315         (quit_timeout), (GST_START_TEST), (stress_suite):
4316         Test for #405284.
4317
4318 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4319
4320         Patch by: René Stadler <mail at renestadler de>
4321
4322         * docs/gst/gstreamer-sections.txt:
4323         * gst/gsttaglist.c: (_gst_tag_initialize):
4324         * gst/gsttaglist.h:
4325           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4326
4327 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4328
4329         * docs/libs/Makefile.am:
4330           Fix path to core docs.
4331
4332         * gst/gstbin.c: (gst_bin_get_by_interface),
4333         (gst_bin_iterate_all_by_interface):
4334           Refix docs by also renaming 'interface' to 'iface' in implementation.
4335
4336         * docs/gst/gstreamer-sections.txt:
4337         * gst/gstcaps.c:
4338         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4339         * gst/gstchildproxy.h:
4340         * gst/gstelementfactory.c:
4341         * gst/gstpadtemplate.h:
4342         * libs/gst/controller/gstcontroller.c:
4343         (gst_controlled_property_new):
4344           Document more.
4345
4346 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4347
4348         * gst/gstbin.h:(gst_bin_get_by_interface),
4349         (gst_bin_iterate_all_by_interface):
4350         Replace interface parameter name by iface as interface is 
4351         a reserved keyword in Visual Studio for C++ projects so it removes
4352         a build error for application developpers using VS.
4353         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4354         Fix a bug on Windows in uri format check. Now the prefix checked
4355         is file:// and next we check if the path after file:// is absolute.
4356         * win32/common/libgstbase.def:
4357         * win32/common/libgstdataprotocol.def:
4358         * win32/common/libgstgstreamer.def:
4359         Add new exported functions.
4360
4361 2007-02-09  Andy Wingo  <wingo@pobox.com>
4362
4363         * tests/check/pipelines/simple-launch-lines.c
4364         (simple_launch_lines_suite, test_tee): Disable tee test until I
4365         have time to fix it :-(
4366
4367         * tests/check/Makefile.am (noinst_HEADERS): 
4368         * tests/check/libs/libsabi.c: 
4369         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4370         * tests/check/gst/gstabi.c: 
4371         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4372
4373         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4374         tests for push and pull tee behavior.
4375
4376         * plugins/elements/gsttee.h: 
4377         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4378         mark as deprecated as well as unimplemented. It was a crack idea.
4379         Add support for tee operating in pull mode, off by default.
4380
4381         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4382         normal-case logs down to LOG, raise errors to WARNING.
4383         (gst_registry_xml_read_cache): Don't log before calling a function
4384         that logs.
4385
4386         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4387         exit (registry finalize).
4388         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4389         DEBUG log when we emit signals that people don't even have the
4390         chance to connect to.
4391         (gst_registry_scan_path_level): Less logging in the normal case.
4392
4393 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4394
4395         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4396
4397         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4398         Correctly generate EOS for non-seekable files. We don't have a total
4399         length for them and would get an unexpected end of file if we only
4400         special-cased for regular files. (Fixes: #404569)
4401
4402 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4403
4404         * tests/check/elements/filesrc.c: (GST_START_TEST),
4405         (filesrc_suite):
4406         Add unit test for the GstURIHandler interface in filesrc. This also
4407         tests the newly added file://localhost/foo/bar support.
4408
4409 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4410
4411         * gst/gstelementfactory.h:
4412           The klass string is not a hierarchy. Add reference to the design doc
4413           for more information and common types.
4414
4415 2007-02-02  Wim Taymans  <wim@fluendo.com>
4416
4417         * gst/gstquery.c: (gst_query_new_latency):
4418         Remove old structure field.
4419
4420 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4421
4422         * tools/gst-launch.1.in:
4423           Give example for network streaming (#351998)
4424
4425 2007-02-02  Wim Taymans  <wim@fluendo.com>
4426
4427         * docs/gst/gstreamer-sections.txt:
4428         Add docs for new methods.
4429
4430         * gst/gstevent.c: (gst_event_new_latency),
4431         (gst_event_parse_latency):
4432         * gst/gstevent.h:
4433         Add new LATENCY event to configure latency in a pipeline.
4434         API: gst_event_new_latency
4435         API: gst_event_parse_latency
4436
4437         * gst/gstmessage.c: (gst_message_new_buffering),
4438         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4439         (gst_message_new_latency), (gst_message_parse_buffering),
4440         (gst_message_parse_lost_preroll):
4441         * gst/gstmessage.h:
4442         Added messages used in draft-latency.
4443         API: gst_message_new_lost_preroll
4444         API: gst_message_parse_lost_preroll
4445         API: gst_message_new_prerolled
4446         API: gst_message_new_latency
4447
4448         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4449         (gst_query_parse_latency):
4450         * gst/gstquery.h:
4451         Implemented new latency query as in design doc.
4452         API: gst_query_new_latency
4453         API: gst_query_set_latency
4454         API: gst_query_parse_latency
4455
4456 2007-02-02  Wim Taymans  <wim@fluendo.com>
4457
4458         * docs/design/draft-latency.txt:
4459         Slight redesign to allow for dynamic latency adjustments.
4460
4461         * docs/design/part-negotiation.txt:
4462         Fix some typos.
4463
4464 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4465
4466         reviewed by: Wim Taymans <wim@fluendo.com>
4467
4468         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4469         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4470         Allow file://localhost/foo/bar URLs and correctly fail for every other
4471         hostname that one sets. This was gnomevfssrc is linked for those if
4472         installed as it can handle it (#403172)
4473
4474 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4475
4476         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4477
4478         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4479         (unref_data), (gst_collect_pads_add_pad_full):
4480         * libs/gst/base/gstcollectpads.h:
4481         Don't put the previously added destroy notify in the GstCollectData
4482         struct as all it's padding is already used and we don't want to break
4483         ABI. Instead put in the pad's GObject data for now. This should be
4484         cleaned up for 0.11 (#402393).
4485
4486 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4487
4488         reviewed by: Wim Taymans <wim@fluendo.com>
4489
4490         * docs/libs/gstreamer-libs-sections.txt:
4491         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4492         (unref_data), (gst_collect_pads_add_pad),
4493         (gst_collect_pads_add_pad_full):
4494         * libs/gst/base/gstcollectpads.h:
4495         API: Add function to specify a destroy notification for custom
4496         GstCollectData when adding new pads in GstCollectPads (#402393).
4497
4498 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4499
4500         * po/sv.po:
4501           Update Swedish translation (#378255).
4502
4503 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4504
4505         * docs/design/draft-klass.txt:
4506           Fix the previous change, this is a list of categories and not a hierarchy.
4507
4508 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4509
4510         * docs/design/draft-klass.txt:
4511           Add info about how to get a list of used classes.
4512
4513 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4514
4515         * plugins/elements/gsttypefindelement.c:
4516         (gst_type_find_element_chain_do_typefinding),
4517         (gst_type_find_element_change_state):
4518           Don't leak found caps in chain function (no idea why that never
4519           showed up as a leak anywhere).
4520
4521 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4522
4523         * gst/gstplugin.h:
4524           Fix and expand GstPluginDesc API docs.
4525
4526 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4527
4528         * gst/gstcaps.c:
4529         * gst/gstelementfactory.c:
4530         * gst/gstpadtemplate.h:
4531           api doc fixes
4532
4533         * libs/gst/controller/gstcontroller.c:
4534         (gst_controlled_property_new):
4535         * tests/examples/controller/audio-example.c:
4536           comment fixes
4537
4538 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4539
4540         * configure.ac:
4541           comment about refining the xml deps
4542
4543         * docs/manuals.mak:
4544           comments about moving away from jade for docs
4545         
4546         * gst/gst.c:
4547           recommit the ifdefs to use the binary registry
4548         
4549         * gst/gstbin.c: (gst_bin_change_state_func):
4550           this break is obsolete
4551
4552         * gst/gstelementfactory.h:
4553           better GST_ELEMENT_DETAILS docs, add comment about translation
4554
4555         * gst/gstinfo.h:
4556           remove eol slash
4557
4558         * gst/gstobject.c: (gst_signal_object_get_type):
4559           add G_UNLIKELY as usual
4560
4561         * gst/gstpad.c: (gst_pad_event_default):
4562           add fall trhu comment
4563
4564         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4565         (gst_registry_binary_initialize_magic),
4566         (gst_registry_binary_save_string),
4567         (gst_registry_binary_save_pad_template),
4568         (gst_registry_binary_save_feature),
4569         (gst_registry_binary_save_plugin),
4570         (gst_registry_binary_write_cache),
4571         (gst_registry_binary_check_magic),
4572         (gst_registry_binary_load_pad_template),
4573         (gst_registry_binary_load_feature),
4574         (gst_registry_binary_load_plugin),
4575         (gst_registry_binary_read_cache):
4576           comment typo and formatting
4577
4578         * gst/gstutils.c: (gst_element_state_get_name),
4579         (gst_element_state_change_return_get_name):
4580           remove obsolete breaks
4581
4582         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4583           add FIXME 0.11 and remove cpp comment
4584
4585 2007-01-29  Edward Hervey  <edward@fluendo.com>
4586
4587         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4588         Fix print statement in an even more portable way.
4589
4590 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4591
4592         * docs/gst/gstreamer-sections.txt:
4593         * gst/gstutils.h:
4594           API: add GST_ROUND_DOWN_* macros (#401781).
4595
4596 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4597
4598         * docs/gst/gstreamer.types.in:
4599         * gst/gstregistry.c: (gst_registry_class_init):
4600           Document registry signals and make gtk-doc pick them up (#401381).
4601
4602 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4603
4604         * docs/pwg/building-testapp.xml:
4605           Add some audioconverts and audioresample to the pipeline, and some
4606           more comments and error handling.
4607
4608 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4609
4610         * docs/manual/manual.xml:
4611         * docs/pwg/pwg.xml:
4612           Fix typo (#400987).
4613
4614 2007-01-26  Wim Taymans  <wim@fluendo.com>
4615
4616         * gst/gstcaps.c: (gst_static_caps_get):
4617         Init caps flags too.
4618
4619 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4620
4621         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4622
4623         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4624         If not using mmap'ed files try to seek to the end instead of the
4625         start to determine whether we can seek at all. This fixes the case
4626         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4627         seeks for everything afterwards fail. Fixes #400656
4628
4629 2007-01-25  Wim Taymans  <wim@fluendo.com>
4630
4631         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4632         Add some refcount debugging.
4633         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4634         in multiple streaming threads.
4635
4636 2007-01-25  Wim Taymans  <wim@fluendo.com>
4637
4638         Patch by: David Schleef <ds at schleef dot org>
4639
4640         * docs/libs/gstreamer-libs-sections.txt:
4641         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4642         * libs/gst/base/gstadapter.h:
4643         API: gst_adapter_copy() that can reduce the amount of memcpy when
4644         getting data from the adapter. Fixes #388201.
4645
4646 2007-01-25  Edward Hervey  <edward@fluendo.com>
4647
4648         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4649         In print statements, "%x" is for guint. Fixes build on macosx.
4650
4651 2007-01-24  Edward Hervey  <edward@fluendo.com>
4652
4653         * plugins/elements/gstmultiqueue.c:
4654         (gst_multi_queue_loop):
4655         Small fix.
4656         (single_queue_overrun_cb), (single_queue_underrun_cb),
4657         (single_queue_check_full), (gst_single_queue_new):
4658         Implement single queue growth system.
4659         This uses the extra-size properties, and will grow single queues by
4660         that much if one goes full whereas there are others empty. This is
4661         called extra-mode in the code.
4662         When a single queue's levels go back below the initial max-size
4663         limits, it is no longer in extra-mode. This is to ensure we don't
4664         consume too much memory.
4665         Fixes #399875
4666
4667 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4668
4669         * gst/gst.c: (gst_init_get_option_group):
4670           Make warning about late g_thread_init() calls a bit more explicit,
4671           so that it's more obvious to application developers what they need
4672           to do if a user files a bug against their application.
4673
4674 2007-01-22  Edward Hervey  <edward@fluendo.com>
4675
4676         * plugins/elements/gstmultiqueue.c:
4677         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4678         Remove previous hack of unsetting the flushing flag for the source pad
4679         instead of activating it. Instead, fix the source pad activate function
4680         so that it no longer depends on having a parent set or not.
4681
4682 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4683
4684         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4685
4686         * docs/manual/basics-bus.xml:
4687           Fix example code, gst_element_unref() doesn't exist any longer.
4688
4689 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4690
4691         Patch by: Mark Nauwelaerts <manauw at skynet be>
4692
4693         * gst/gstpad.c:
4694           Fix two docs typoes (#399094).
4695
4696 2007-01-19  Edward Hervey  <edward@fluendo.com>
4697
4698         * docs/faq/gst-uninstalled:
4699         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4700         depending on libgstbaseutils can work in uninstalled environment.
4701
4702 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4703
4704         * gst/gsttaglist.h:
4705         * gst/gsttagsetter.c:
4706         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4707         statement for new tag.
4708
4709 2007-01-17  Edward Hervey  <edward@fluendo.com>
4710
4711         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4712         When dynamically creating single queues, activate sinkpad before adding
4713         it.
4714         We should be doing the same thing for the source pad, but we can't
4715         since it would call a method which needs the parent to be set in order
4716         to work propertly. Instead of activating the source pad, we just unset
4717         the flushing flag, which is the minimal requirement for adding a pad
4718         to an element in a state greater than READY.
4719
4720 2007-01-17  Edward Hervey  <edward@fluendo.com>
4721
4722         * docs/faq/gst-uninstalled:
4723         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4724         Mac OS X.
4725
4726 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4727
4728         * tests/check/gst/gstabi.c:
4729         * tests/check/gst/struct_hppa.h:
4730         * tests/check/libs/libsabi.c:
4731         * tests/check/libs/struct_hppa.h:
4732           Add ABI structs for HPPA (see #393796).
4733
4734 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
4735
4736         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4737           Actually write ABI structs to the file specified in the GST_ABI
4738           environment variable, as the message we print claims we would.
4739
4740 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4741
4742         * tests/check/gst/gsttask.c:
4743           Fix header comment.
4744
4745 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4746
4747         * gst/gsttaglist.c: (_gst_tag_initialize):
4748           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4749           previous two entries.
4750
4751 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4752
4753         * docs/gst/gstreamer-sections.txt:
4754         * gst/gsttaglist.c: (_gst_tag_initialize):
4755         * gst/gsttaglist.h:
4756           Add tag support for beat-per-minute.
4757
4758 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4759
4760         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4761         (gst_registry_binary_initialize_magic),
4762         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4763         (gst_registry_binary_save_pad_template),
4764         (gst_registry_binary_save_feature),
4765         (gst_registry_binary_save_plugin),
4766         (gst_registry_binary_write_cache),
4767         (gst_registry_binary_check_magic),
4768         (gst_registry_binary_load_pad_template),
4769         (gst_registry_binary_load_feature),
4770         (gst_registry_binary_load_plugin),
4771         (gst_registry_binary_read_cache):
4772         * gst/gstregistrybinary.h:
4773           Use glib types, cleanup comments, impement interfaces and uri-types.
4774
4775 2007-01-13  Andy Wingo  <wingo@pobox.com>
4776
4777         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4778         getrange() to return buffers with other caps, while we fix
4779         demuxers and typefind, or otherwise change part-negotiation.txt.
4780
4781 2007-01-12  Andy Wingo  <wingo@pobox.com>
4782
4783         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4784         Factor start/stop into this private function instead of partially
4785         in activate functions and partially in the change_state function.
4786         Fixes setup before the element has changed from READY->PAUSED, as
4787         is the case in pull-mode pipelines.
4788         (gst_base_transform_sink_activate_push)
4789         (gst_base_transform_src_activate_pull): Refactor to use
4790         gst_base_transform_activate().
4791         (gst_base_transform_change_state): Removed, not needed any more.
4792
4793         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4794         Truncate before fixating.
4795         
4796         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4797         Don't set_caps() if the result of fixating is ANY, as it's not
4798         supported, and not necessary in the case of a link with no
4799         template caps on either side. Fixes tests/check/libs/basesrc in
4800         some pull-mode tests.
4801
4802         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4803         (gst_base_transform_init, gst_base_transform_sink_activate_push)
4804         (gst_base_transform_src_activate_pull): 
4805         Track the activation mode.
4806         (gst_base_transform_setcaps): In pull mode, when activating the
4807         src pad, after activating the sink pad, activate the sink pad's
4808         peer, as discussed in part-negotiation.txt.
4809
4810         * libs/gst/base/gstbasesrc.h: 
4811         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4812         vmethod, as in basesink.
4813
4814         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4815
4816         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4817         mode, first proxy the setcaps to the peer pad.
4818         (gst_base_sink_pad_fixate): Add a fixate function that calls the
4819         new fixate vmethod.
4820         (gst_base_sink_default_activate_pull): Rename from
4821         gst_base_sink_activate_pull.
4822         (gst_base_sink_negotiate_pull): New function, performs negotiation
4823         in pull mode before calling ::activate_pull().
4824         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4825         vmethod instead of the default implementation. I have no idea how
4826         this worked before. Negotiate before calling activate_pull.
4827
4828         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4829         sink pads in pull mode. In addition to being correct, fixes
4830         filesrc ! decodebin ! identity ! fakesink.
4831         (gst_pad_get_range, gst_pad_pull_range): Don't call
4832         gst_pad_set_caps() if the caps changes; instead error out with
4833         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4834
4835 2007-01-12  Andy Wingo  <wingo@pobox.com>
4836
4837         * docs/design/part-negotiation.txt: Update with more policy.
4838
4839 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4840
4841         * libs/gst/check/gstbufferstraw.h:
4842         * libs/gst/check/gstcheck.h:
4843           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4844           belongs.
4845
4846 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4847
4848         * tests/check/Makefile.am:
4849         * tests/check/gst/.cvsignore:
4850         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4851         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4852         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4853         (GST_START_TEST), (gst_tag_setter_suite):
4854           Add minimal unit test for beforementioned GstTagSetter bug.
4855
4856 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4857
4858         Patch by: René Stadler <mail at renestadler dot de>
4859
4860         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4861           gst_tag_list_merge() returns a new list, so it's not the best idea
4862           to ingore its return value. Effectively meant that tags could only
4863           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4864           Also add function guard to require a non-NULL taglist as input (has
4865           always been so due to gst_tag_list_copy(), just making it explicit).
4866
4867 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4868
4869         * docs/random/draft-missing-plugins.txt:
4870           Some additions: mention new API that is supposed to be used at the
4871           various stages; short blob about new gst-inspect introspection
4872           option; mention potential future problem with plugins that have
4873           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4874
4875 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4876
4877         * tools/gst-inspect.c:
4878         (print_plugin_automatic_install_info_codecs),
4879         (print_plugin_automatic_install_info_protocols),
4880         (print_plugin_automatic_install_info), (main):
4881         Add --print-plugin-auto-install-info option to gst-inspect, so we can
4882         introspect plugin files and get machine-parsable output that corresponds
4883         to the last bit of the missing-plugin installer string (small gotcha:
4884         doesn't take into account ranks).
4885
4886 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
4887
4888         * configure.ac:
4889         * docs/gst/gstreamer-sections.txt:
4890         * gst/Makefile.am:
4891         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4892         (gst_registry_lookup_locked):
4893         * gst/gstregistry.h:
4894         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4895         (gst_registry_binary_initialize_magic),
4896         (gst_registry_binary_save_string),
4897         (gst_registry_binary_save_pad_template),
4898         (gst_registry_binary_save_feature),
4899         (gst_registry_binary_save_plugin),
4900         (gst_registry_binary_write_cache),
4901         (gst_registry_binary_check_magic),
4902         (gst_registry_binary_load_pad_template),
4903         (gst_registry_binary_load_feature),
4904         (gst_registry_binary_load_plugin),
4905         (gst_registry_binary_read_cache):
4906         * gst/gstregistrybinary.h:
4907         * gst/gstregistryxml.c: (load_feature),
4908         (gst_registry_xml_read_cache):
4909           commit binary registry (disabled by default, see #359653)
4910
4911 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4912
4913         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4914           Fix 'make check' too.
4915
4916 2007-01-10  Andy Wingo  <wingo@pobox.com>
4917
4918         * docs/design/part-negotiation.txt: Fix a typo, add a couple
4919         notes.
4920         
4921         * docs/design/part-negotiation.txt: Update with, um, one way that
4922         pull-mode negotiation might work?
4923
4924         * gst/gstpad.h: 
4925         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4926         that the pad must be a src pad; makes sense to call it the other
4927         way in pull mode, and the logic is symmetric anyway.
4928
4929 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4930
4931         * plugins/elements/gstfilesink.c:
4932           Include <stdio.h> for fseeko().
4933
4934 2007-01-10  Wim Taymans  <wim@fluendo.com>
4935
4936         * gst/gstevent.c:
4937         * gst/gstevent.h:
4938         Reserve LATENCY event.
4939
4940 2007-01-09  Wim Taymans  <wim@fluendo.com>
4941
4942         * docs/design/draft-latency.txt:
4943         Updates.
4944
4945 2007-01-09  Wim Taymans  <wim@fluendo.com>
4946
4947         * docs/design/draft-latency.txt:
4948         Updates.
4949
4950         * gst/gstelement.h:
4951         * gst/gststructure.c:
4952         * gst/gsttrace.c:
4953         Small typo fixes.
4954
4955 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4956
4957         * tests/check/.cvsignore:
4958           Ignore test-registry.xml as well.
4959
4960 2007-01-09  Wim Taymans  <wim@fluendo.com>
4961
4962         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4963         unref data at the end when we are done with the pad.
4964
4965 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4966
4967         * docs/gst/gstreamer-sections.txt:
4968         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4969         (init_post), (gst_deinit), (gst_update_registry):
4970         * gst/gst.h:
4971           API: add gst_update_registry() (#391296).
4972
4973         * tests/check/Makefile.am:
4974         * tests/check/gst/gstregistry.c:
4975         * tests/check/gst/.cvsignore:
4976           Simple unit test for the above.
4977
4978 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4979
4980         * gst/gstregistry.c: (gst_registry_scan_path_level):
4981           Plugin extension on HP-UX is .sl, add that to the list of approved
4982           plugin extensions (see #393796).
4983
4984         * tests/check/gst/gstpad.c: (GST_START_TEST):
4985           ulong => gulong. Fixes compilation with HP-UX compiler.
4986
4987         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4988           Fix compilation if valgrind headers are not available.
4989
4990 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
4991
4992         * win32/common/libgstreamer.def: 
4993           Add new exported function.
4994         * win32/vs6/libgstbase.dsp: 
4995           Add gstdataqueue.c to the build.
4996         * win32/vs6/libgstcoreelements.dsp:
4997           Add gstmultiqueue.c to the build.
4998         
4999 2007-01-06  Andy Wingo  <wingo@pobox.com>
5000
5001         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5002         activate_pull(), providing for a way to specialize the process of
5003         spawning a thread to pull on the sink pad. There is a default
5004         implementation.
5005
5006         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5007         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5008         (gst_base_sink_init): Renamed pad activation functions (inserting
5009         "_pad" in their names). Refactor to use the new activate_pull
5010         vmethod, as appropriate.
5011         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5012         default activate_pull function to start a task pulling from the
5013         sink pad, as before.
5014
5015         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5016         on the pads if necessary, as in push()/chain(). Update docs.
5017         Shouldn't affect existing pull() usage as it is currently only
5018         being used on buffers without caps.
5019
5020 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5021
5022         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5023         (init_pre):
5024           Call g_thread_init() first thing in gst_init() / gst_check_init().
5025           When initialisation is done via gst_init_get_option_group() and
5026           GOption parsing, issue a warning if the GLib thread system has not
5027           been initialised yet by the time gst_init_get_option_group() is
5028           called, as it's quite likely other GLib functions such as
5029           g_option_context_new() have been called already then, and
5030           g_thread_init() must be called before any other GLib function. The
5031           application in question must be fixed in that case, since memory
5032           corruption might happen otherwise.
5033           We issue the warning because even if the GLib folks decide to work
5034           around the problem on their end in future, this is still an issue
5035           with all GLib versions >= 2.10.0, so we should warn until we depend
5036           on a GLib version we know to be safe.
5037           Update documentation as well.
5038           Closes bug #391278.
5039
5040 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5041
5042         * tools/gst-inspect.c: (main):
5043         * tools/gst-launch.c: (main):
5044         * tools/gst-typefind.c: (main):
5045         * tools/gst-xmlinspect.c: (main):
5046           Call g_thread_init() really really early, before any other GLib
5047           function (see #342564 and recent discussion on gtk-devel-list).
5048
5049 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5050
5051         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5052
5053         * gst/gst_private.h:
5054         * gst/gstconfig.h.in:
5055         * gst/gstinfo.h:
5056           On win32, all the __declspec stuff for symbol exporting is
5057           apparently only needed with MSVC, but doesn't work with MingW.
5058           Fixes compilation with MingW and #391909.
5059
5060 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5061
5062         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5063           Change some GST_ERROR_OBJECT that aren't really errors to
5064           GST_WARNING_OBJECT in order to reduce terminal spam.
5065
5066 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5067
5068         * tests/check/Makefile.am:
5069           disable test again, as there seem to be still race problems
5070
5071 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5072
5073         * tests/check/Makefile.am:
5074         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5075         (GST_START_TEST), (queue_suite):
5076           enable queue test again, add tests for the leaky behaviour
5077
5078 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5079
5080         * configure.ac:
5081         * tests/examples/Makefile.am:
5082           Compile adapter test/example only if the required headers are
5083           available (fixes #391915).
5084
5085 2007-01-01  David Schleef  <ds@schleef.org>
5086
5087         * gst/gstplugin.c:
5088           Restore the previous signal handler for SIGSEGV instead of
5089           setting to default, since we may have stolen it away from
5090           someone.  (i.e., Mono)
5091
5092 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5093
5094         * docs/random/draft-missing-plugins.txt:
5095           Some small additions and clarifications.
5096
5097 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5098
5099         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5100           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5101           since that can lead to random memory corruptions and crashes
5102           (may or may not be related to #383244, #386711, and #386711).
5103
5104 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5105
5106         * tests/check/.cvsignore:
5107         * tests/check/Makefile.am:
5108           sync .cvsignome and CLEANFILES
5109
5110 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5111
5112         * tests/check/Makefile.am:
5113           fix distcheck
5114
5115 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5116
5117         * docs/design/part-states.txt:
5118           two tiny additional comments
5119         
5120         * gst/gststructure.c:
5121           doc fixing
5122
5123         * tests/check/Makefile.am:
5124         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5125         (GST_START_TEST):
5126           disable test for now, unless it gets fixed
5127
5128 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5129
5130         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5131         (GST_START_TEST):
5132           fix race in underrun test
5133
5134 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5135
5136         * tests/check/elements/.cvsignore:
5137           ignore more
5138
5139         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5140         (GST_START_TEST):
5141           try to narrow test failure
5142
5143 2006-12-21  David Schleef  <ds@schleef.org>
5144
5145         * plugins/elements/gstfakesrc.c:
5146           Use g_random_int_range(), since it produces better random
5147           numbers in a range than almost-correct floating point code.
5148
5149 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5150
5151         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5152         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5153         (gst_check_teardown_sink_pad):
5154           do not automatically (de)activate pads
5155
5156         * tests/check/Makefile.am:
5157         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5158         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5159           add new, yet simple tests for queue
5160
5161         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5162         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5163         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5164         (GST_START_TEST):
5165         * tests/check/elements/identity.c: (cleanup_identity):
5166           consistent pad (de)activation
5167
5168 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5169
5170         Patch by: Sebastian Dröge  <slomo ubuntu com>
5171
5172         * libs/gst/base/gstcollectpads.c:
5173           Fix two doc typos (#387866).
5174
5175 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5176
5177         * docs/manual/advanced-dparams.xml:
5178           Fix typo (g_object_control_properties() doesn't exist).
5179
5180 2006-12-19  Edward Hervey  <edward@fluendo.com>
5181
5182         * gst/gstsegment.c: (gst_segment_set_seek):
5183         Fine tune the cases where the segment start/stop values are really
5184         updated.
5185         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5186         Add tests for the return values of gst_segment_set_seek().
5187
5188 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5189
5190         * gst/gst.c:
5191           Docs typo fix.
5192
5193         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5194         (gst_queue_init):
5195           Fix incorrect documentation and flesh it out a bit more.
5196           Set default values for the max properties on the GParamSpec as well,
5197           so it shows up correctly in gst-inspect.
5198
5199 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5200
5201         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5202           Correct docs of queue, add more detail and crosslink it more.
5203
5204 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5205
5206         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5207           Print additional debug info when the stream isn't perfectly
5208           timestamped; don't try to use invalid durations.
5209
5210 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5211
5212         * docs/design/Makefile.am:
5213           Dist new design docs.
5214
5215 2006-12-16  Wim Taymans  <wim@fluendo.com>
5216
5217         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5218
5219         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5220         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5221         (gst_collect_pads_stop), (gst_collect_pads_event),
5222         (gst_collect_pads_chain):
5223         * libs/gst/base/gstcollectpads.h:
5224         Add refcounting to the collectpads data so we can track when it's safe
5225         to free the data. Fixes #383382.
5226
5227 2006-12-15  Wim Taymans  <wim@fluendo.com>
5228
5229         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5230         (gst_collect_pads_remove_pad):
5231         Automatically activate/deactivate pads when they are added to a
5232         started/stoped collectpads.
5233
5234 2006-12-15  Wim Taymans  <wim@fluendo.com>
5235
5236         * gst/gstelement.c: (gst_element_add_pad):
5237         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5238         * gst/gstpad.c: (gst_pad_init):
5239         Set pads to FLUSHING when they are created. Check, warn and fix when a
5240         demuxer adds an inactive pad to itself when running. Fixes #339326.
5241
5242 2006-12-15  Wim Taymans  <wim@fluendo.com>
5243
5244         * gst/gstelement.c: (gst_element_class_init),
5245         (gst_element_default_send_event), (gst_element_send_event),
5246         (gst_element_default_query), (gst_element_query):
5247         Expose default element send_event and query handling as vmethods that
5248         subclasses can chain up to.
5249
5250 2006-12-15  Wim Taymans  <wim@fluendo.com>
5251
5252         * gst/gstelement.c: (gst_element_set_state_func):
5253         Small documentation fixes.
5254
5255 2006-12-15  Wim Taymans  <wim@fluendo.com>
5256
5257         * docs/design/draft-latency.txt:
5258         Checked in draft for handling latency in pipelines.
5259
5260 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5261
5262         * Makefile.am:
5263         * gstreamer.doap:
5264         * gstreamer.spec.in:
5265           adding .doap file
5266
5267 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5268
5269         * gst/gst.c: (init_pre), (init_post):
5270           init_pre() and init_post() might be called via our GOptionGroup or
5271           from gst_init(), and we should skip both of them if we've already
5272           been initialised, otherwise we will init some things twice or add
5273           two default log functions.
5274
5275 2006-12-13  Edward Hervey  <edward@fluendo.com>
5276
5277         * docs/manual/basics-bus.xml:
5278         No, gst_main_loop does not exist. Its g_main_loop.
5279         Discovered by somebody who abused the copy-paste technique of coding :)
5280
5281 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5282
5283         * gst/gstghostpad.c:
5284           Log ghostpad debug stuff to the GST_PADS category as well rather
5285           than just to the default category.
5286
5287 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5288
5289         * configure.ac:
5290         * gst/gst.c: (init_pre):
5291           Add some basic system details such as OS and architecture
5292           to the debug output if possible, courtesy of uname().
5293
5294 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5295
5296         * docs/gst/running.xml:
5297           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5298           environment variables.
5299
5300 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5301
5302         * tests/check/gst/gstbin.c: (GST_START_TEST):
5303         It is acceptable to have a refcount of 2 or 3 at this point in the
5304         test, because the pipeline might be just posting its state_change
5305         message. The next line then waits for that message to appear using
5306         bus_poll, so that should be fine too.
5307
5308 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5309
5310         * gst/gst.c: (ensure_current_registry_forking):
5311         Ignore EINTR when reading from the child registry pipe.
5312         Explicitly ignore the return value from close, since it makes no
5313         difference.
5314
5315         * gst/gstminiobject.c: (gst_mini_object_ref),
5316         (gst_mini_object_unref):
5317         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5318
5319         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5320         When removing cached plugins, remove their features too, so they're
5321         not visible after they've disappeared.
5322
5323         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5324         In the unlikely case that we are linking pads with no parents, don't
5325         crash trying to get the non-existent parent bin.
5326
5327         * gst/parse/grammar.y:
5328         Output debug in the PIPELINE category
5329
5330 2005-03-08  Wim Taymans  <wim@fluendo.com>
5331
5332         Patch by: René Stadler <mail at renestadler dot de>
5333
5334         * gst/gstclock.c: (gst_clock_new_periodic_id):
5335         Reject invalid clock times for interval of periodic ids.
5336         Fixes ##383506.
5337
5338 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5339
5340         * gst/gstelementfactory.c: (gst_element_factory_create):
5341         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5342         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5343         * tools/gst-inspect.c: (print_element_info):
5344         Fix refcounting of gst_plugin_feature_load to match the docs. 
5345         Fixes: #380129
5346
5347 2006-12-07  Wim Taymans  <wim@fluendo.com>
5348
5349         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5350         (gst_base_sink_get_position):
5351         Improve debugging of events.
5352
5353 2006-12-07  Wim Taymans  <wim@fluendo.com>
5354
5355         Patch by: René Stadler <mail at renestadler dot de>
5356
5357         * gst/gstclock.c: (gst_clock_id_wait):
5358         Make period ids add the interval to the origial requested time instead
5359         of the possibly updated time which can be wrong when there are multiple
5360         waiters for the same id. Fixes #382592.
5361
5362         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5363         (gst_system_clock_id_wait_jitter_unlocked),
5364         (gst_system_clock_id_wait_jitter):
5365         Fix restart in the async notify thread when an async entry is added to
5366         the front of the list. Fixes #381492. 
5367
5368         * tests/check/gst/gstsystemclock.c: (store_callback),
5369         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5370         Added test for multiple async waits.
5371         Added test for async wait order.
5372
5373 2006-12-07  Wim Taymans  <wim@fluendo.com>
5374
5375         * gst/gstbin.c: (gst_bin_query):
5376         Add some more docs about the POSITION query.
5377
5378 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5379
5380         * configure.ac:
5381         Bump version nano - back to CVS.
5382
5383 === release 0.10.11 ===
5384
5385 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5386
5387         * configure.ac:
5388           releasing 0.10.11, "Love never runs on time"
5389
5390 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5391
5392         * win32/common/libgstbase.def:
5393         * win32/common/libgstreamer.def:
5394         * win32/vs8/libgstbase.vcproj:
5395         * win32/vs8/libgstcoreelements.vcproj:
5396         * win32/vs8/libgstreamer.vcproj:
5397         Fix compilation on win32 under VS8
5398         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5399         Partially fixes #381175
5400
5401 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5402
5403         * gst/gstvalue.c: (gst_value_compare_fraction):
5404         If someone is foolish enough to compare 2 fractions with denominator =
5405         0, return UNORDERED rather than aborting.
5406
5407 2006-11-28  Edward Hervey  <edward@fluendo.com>
5408
5409         * libs/gst/base/Makefile.am:
5410         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5411         (gst_data_queue_base_init), (gst_data_queue_class_init),
5412         (gst_data_queue_init), (gst_data_queue_new),
5413         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5414         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5415         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5416         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5417         (gst_data_queue_set_flushing), (gst_data_queue_push),
5418         (gst_data_queue_pop), (gst_data_queue_drop_head),
5419         (gst_data_queue_set_property), (gst_data_queue_get_property):
5420         * libs/gst/base/gstdataqueue.h:
5421         New GstDataQueue object for threadsafe queueing. Most useful for
5422         elements that need some queueing functionnality.
5423         * docs/libs/gstreamer-libs-docs.sgml:
5424         * docs/libs/gstreamer-libs-sections.txt:
5425         Insert documentation for GstDataQueue
5426         * plugins/elements/Makefile.am:
5427         * plugins/elements/gstelements.c:
5428         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5429         (gst_multi_queue_class_init), (gst_multi_queue_init),
5430         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5431         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5432         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5433         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5434         (gst_multi_queue_loop), (gst_multi_queue_chain),
5435         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5436         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5437         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5438         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5439         (wake_up_next_non_linked), (compute_next_non_linked),
5440         (single_queue_overrun_cb), (single_queue_underrun_cb),
5441         (single_queue_check_full), (gst_single_queue_new):
5442         * plugins/elements/gstmultiqueue.h:
5443         New multiqueue element, using GstDataQueue. Used for queuing multiple
5444         streams.
5445         Closes #344639 and #347785
5446
5447 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5448
5449         * docs/pwg/advanced-types.xml:
5450           add more missing type details
5451
5452         * tools/gst-run.c: (main):
5453           remove unused variable
5454
5455 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5456
5457         * docs/libs/Makefile.am:
5458         * docs/libs/gstreamer-libs.types:
5459           add types of base classes to enable gobject specific stuff in the docs
5460
5461         * docs/random/ensonic/embedded.txt:
5462           more ideas about isolating platform specific things
5463
5464 2006-11-20  Wim Taymans  <wim@fluendo.com>
5465
5466         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5467
5468         * libs/gst/check/gstcheck.h:
5469         Fix compilation and running against 0.9.4. Fixes #377332.
5470
5471 2006-11-20  Wim Taymans  <wim@fluendo.com>
5472
5473         * gst/gstsegment.c: (gst_segment_set_seek),
5474         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5475         (gst_segment_to_running_time):
5476         Fix boundary checking in to_running_time() and to_stream_time().
5477         Fixes #377183.
5478
5479         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5480         stream and running time can now be calculated for the complete
5481         clipped segment.
5482
5483 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5484
5485         * gst/gstpad.c: (gst_pad_push_event):
5486           Can't access event structure after giving away ownership of
5487           the event.
5488
5489 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5490
5491         * docs/random/ensonic/embedded.txt:
5492         * docs/random/ensonic/profiling.txt:
5493         * docs/random/ensonic/receipies.txt:
5494           more thinking
5495
5496 2006-11-13  Wim Taymans  <wim@fluendo.com>
5497
5498         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5499
5500         * gst/gstpad.c:
5501         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5502
5503 2006-11-13  Wim Taymans  <wim@fluendo.com>
5504
5505         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5506
5507         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5508         Store new length in segment duration so we don't keep on calling the
5509         potentially expensize get_size() call. Fixes #370865.
5510
5511 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5512
5513         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5514
5515         * win32/common/libgstreamer.def:
5516           Add two missing symbols (#366492).
5517
5518 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5519
5520         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5521         (gst_adapter_take_buffer):
5522         Fix format string to use all its arguments.
5523         Remove useless >= check on a guint
5524
5525 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5526
5527         * tests/examples/adapter/.cvsignore:
5528         Ignore build file as commanded by the build-bot
5529
5530 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5531
5532         * tests/examples/adapter/Makefile.am:
5533         * tests/examples/adapter/adapter_test.c: (run_test_take),
5534         (run_test_take_buffer), (run_tests), (main):
5535
5536         Add new files from the previous commit
5537
5538 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5539
5540         * Makefile.am:
5541         * configure.ac:
5542         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5543         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5544         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5545         * libs/gst/base/gstadapter.h:
5546         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5547         (GST_START_TEST), (gst_adapter_suite):
5548         * tests/examples/Makefile.am:
5549         Do some optimisation work in GstAdapter to avoid copies in more cases.
5550         It could still do slightly better by merging buffers when
5551         gst_buffer_is_span_fast is true, but is already faster. 
5552
5553         Also, avoid traversing a single-linked list to append each incoming 
5554         buffer inside the adapter.
5555
5556         Add simple test app that times the adapter behaviour in different
5557         situations, and extend the unit test to check that bytes enter and
5558         exit the adapter in their original order.
5559
5560 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5561
5562         * docs/random/draft-missing-plugins.txt:
5563           Update: use element message instead of adding a new message
5564           type to the core; don't provide GStreamer API to initiate the
5565           plugin download, just provide API to compose the strings needed
5566           and let an external libgimmestuff handle the rest.
5567
5568 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5569
5570         * tools/gst-inspect.c: (print_element_properties_info):
5571         Print a string instead of 'unknown type' for GValueArray properties
5572
5573 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5574
5575         * docs/random/draft-missing-plugins.txt:
5576         More small fixes.
5577
5578 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5579
5580         * tests/examples/typefind/typefind.c: (type_found), (main):
5581           Make typefind element example work again (#371894); add a
5582           license header.
5583
5584 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5585
5586         * docs/random/draft-missing-plugins.txt:
5587           Commit initial draft about how to deal with missing plugins,
5588           needs work (API too).
5589
5590 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5591
5592         * docs/pwg/advanced-types.xml:
5593           documents the new caps elements (see #363118)
5594
5595 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5596
5597         * gst/gstplugin.c: (gst_plugin_load_file):
5598         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5599         (gst_file_src_map_region), (gst_file_src_start):
5600         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5601         (gst_file_index_commit):
5602           Use g_strerror() instead of strerror() - we want UTF-8.
5603
5604 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5605
5606         Patch by: Peter Kjellerstedt <pkj at axis com>
5607
5608         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5609           Another printf fix (#371493).
5610
5611 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5612
5613         * tests/check/gst/gsttag.c:
5614           relicence (okay with author=company)
5615
5616 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5617
5618         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5619         (gst_pad_push_event):
5620           Enhance debug and improve docs
5621         
5622         * gst/gsturi.c:
5623           Fix docs
5624
5625 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5626
5627         * docs/random/ensonic/distributed.txt:
5628         * docs/random/ensonic/profiling.txt:
5629           more ideas
5630
5631 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5632
5633         * docs/gst/gstreamer-sections.txt:
5634           add new API and fix the build
5635           
5636         * gst/gstbin.c: (gst_bin_recalc_state):
5637         * gst/gstelement.c: (gst_element_message_full),
5638         (gst_element_get_state_func), (gst_element_set_state_func):
5639           use new API and improve logging
5640         
5641         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5642         * gst/gstutils.h:
5643           API: add function to get StateChangereturn names to improve logs 
5644
5645 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5646
5647         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5648           I'm considering shooting the next person to put strerror stuff
5649           in the translateable part of the message.
5650
5651 2006-11-03  Wim Taymans  <wim@fluendo.com>
5652
5653         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5654         Get the type and printf conversion specifiers right.
5655
5656 2006-11-03  Wim Taymans  <wim@fluendo.com>
5657
5658         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5659
5660         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5661         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5662         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5663         Some small cleanups. Improve debugging.
5664         * gst/gstpad.h:
5665         Signal all waiting threads with a broadcast instead of just one.
5666         Fixes #369942.
5667
5668 2006-11-03  Wim Taymans  <wim@fluendo.com>
5669
5670         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5671         (gst_fd_src_create):
5672         Add some debugging. 
5673         Only update fd when it's different from the old.
5674
5675 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5676
5677         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5678           Printf fixes for PPC/OSX, take two (#369366).
5679
5680 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5681
5682         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5683
5684         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5685         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5686         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5687           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5688           don't cast to long long for portability reasons, but use
5689           GLib's types instead.
5690
5691 2006-10-30  Michael Smith  <msmith@fluendo.com>
5692
5693         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5694           Get the arguments to lseek() the right way around.
5695           Fixes 367677.
5696
5697 2006-10-30  Wim Taymans  <wim@fluendo.com>
5698
5699         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5700
5701         * gst/gstinfo.h:
5702         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5703
5704 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5705
5706         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5707
5708         * docs/design/part-MT-refcounting.txt:
5709         * docs/random/wtay/capsnego2-docs:
5710         * gst/gstclock.c:
5711         * gst/gstxml.c:
5712           Typo fixes (#366212).
5713
5714 2006-10-28  Wim Taymans  <wim@fluendo.com>
5715
5716         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5717
5718         * gst/gst.c:
5719         * win32/common/libgstbase.def:
5720         * win32/common/libgstreamer.def:
5721         * win32/vs8/libgstbase.vcproj:
5722         * win32/vs8/libgstcontroller.vcproj:
5723         Add needed entries in .def files.
5724         Use HAVE_UNISTD_H.
5725         Rearrange def files in vs8 solutions. Fixes #366286.
5726
5727 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5728
5729         * win32/common/gstconfig.h:
5730           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5731           hand-made win32 gstconfig.h. Fixes #366321.
5732
5733 2006-10-27  Wim Taymans  <wim@fluendo.com>
5734
5735         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5736         (gst_ghost_pad_new_full):
5737         Make acceptcaps return TRUE when we don't have a target, just like
5738         setcaps does.
5739
5740 2006-10-27  Wim Taymans  <wim@fluendo.com>
5741
5742         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5743         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5744
5745 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5746
5747         * gst/gststructure.c: (gst_structure_id_set_value):
5748           If someone tries to set a non-UTF8 string field on a structure,
5749           don't just print a warning, but also ignore the request and do
5750           not change/add that field to the structure.
5751
5752         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5753           Test for the above.
5754
5755 2006-10-25  David Schleef  <ds@schleef.org>
5756
5757         * gst/gstinfo.c:
5758           g_hash_table_insert() needs a cast to a non-const pointer duh.
5759
5760 2006-10-25  David Schleef  <ds@schleef.org>
5761
5762         * gst/gstinfo.c:
5763         * gst/gstinfo.h:
5764           Change name parameter of _gst_debug_register_funcptr to const
5765           to reflect the constness of its use in the function as well
5766           as to quiet a gcc warning.
5767
5768 2006-10-25  Edward Hervey  <edward@fluendo.com>
5769
5770         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5771         Don't push the buffer if it's empty.
5772         Closes #363095
5773
5774 2006-10-24  Wim Taymans  <wim@fluendo.com>
5775
5776         * gst/gstevent.h:
5777         Add small comment.
5778
5779         * libs/gst/base/gstbasetransform.c:
5780         (gst_base_transform_sink_eventfunc):
5781         Debug segment values *after* updating them as this is more
5782         interesting.
5783
5784 2006-10-23  Wim Taymans  <wim@fluendo.com>
5785
5786         * docs/design/part-events.txt:
5787         Update some docs.
5788
5789         * docs/design/part-block.txt:
5790         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5791         (gst_pad_push_event):
5792         Revert BLOCKING patch, it tries to be smart without really having a
5793         clear idea what or how. So, now we discard all FLUSHING events again on
5794         a blocking pad. Should fix gnonlin again.
5795
5796 2006-10-23  Wim Taymans  <wim@fluendo.com>
5797
5798         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5799
5800         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5801         (gst_base_src_start), (gst_base_src_activate_push):
5802         Make sure size is always initialized. Fixes #364388.
5803
5804 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
5805
5806         * docs/random/ensonic/distributed.txt:
5807           add some ideas about doing distributed processing
5808
5809         * docs/random/ensonic/profiling.txt:
5810           get_rusage look promising
5811
5812 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5813
5814         * docs/manual/basics-helloworld.xml:
5815           Add a cast in example to fix compile warning
5816
5817 2006-10-18  Wim Taymans  <wim@fluendo.com>
5818
5819         * gst/gstsegment.c: (gst_segment_set_last_stop),
5820         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5821         Relax arg checking again, -1 is allowed.
5822
5823 2006-10-18  Wim Taymans  <wim@fluendo.com>
5824
5825         * gst/gstsegment.c: (gst_segment_set_last_stop),
5826         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5827         _set_last_stop() must be with a value != -1
5828         A _TYPE_SET to -1 means seek to 0.
5829         Calc last_stop correctly for negative rates.
5830         Make sure we work with positive durations when updating a segment.
5831
5832 2006-10-18  Wim Taymans  <wim@fluendo.com>
5833
5834         * docs/design/part-live-source.txt:
5835         * gst/gstclock.h:
5836         Small docs fixes.
5837
5838 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
5839
5840         * gst/gstbuffer.h:
5841           Add an explicit cast to GstBuffer** to keep old code that added an
5842           explicit cast to GstMiniObject** for gst_mini_object_replace()
5843           compiling without warning.
5844
5845 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5846
5847         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5848           check for validity of dates
5849
5850 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5851
5852         * docs/gst/gstreamer-sections.txt:
5853           Forgot this one, makes gtk-doc shut up.
5854
5855 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5856
5857         Patch by: Peter Kjellerstedt <pkj at axis com>
5858
5859         * gst/gstobject.h:
5860           Don't define xmlNodePtr to gpointer if the core was built with
5861           --disable-loadsave and --disable-registry, this will break
5862           applications that want to use libxml2 but are buildling against a
5863           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5864           instead so we don't have to mess with the libxml2 namespace
5865           (#361675).
5866
5867 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5868
5869         * gst/gstbuffer.h:
5870           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5871           type-punned pointer warnings.
5872
5873 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5874
5875         * gst/gstelement.h:
5876           Add casts to the correct return type to state <=> state transition
5877           macros.
5878
5879 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
5880
5881         * docs/design/part-live-source.txt:
5882           describe howto handle latency
5883         
5884         * docs/random/ensonic/profiling.txt:
5885           more ideas
5886
5887         * tools/gst-plot-timeline.py:
5888           fix log parsing for solaris, remove unused function
5889
5890 2006-10-16  Wim Taymans  <wim@fluendo.com>
5891
5892         * docs/design/part-trickmodes.txt:
5893         * gst/gstevent.c:
5894         Update some docs regarding reverse playback.
5895
5896 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5897
5898         Patch by: Marcus Granado  <mrc dot gran at gmail com>
5899
5900         * win32/vs8/grammar.vcproj:
5901           Error out with a warning if glib-genmarshal.exe is not in path,
5902           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5903
5904 2006-10-13  Wim Taymans  <wim@fluendo.com>
5905
5906         * gst/gstsegment.c: (gst_segment_set_seek):
5907         When seeking to stop -1, set last_stop (current position) to the
5908         duration of the segment.
5909
5910 2006-10-13  Wim Taymans  <wim@fluendo.com>
5911
5912         * gst/gstelement.h:
5913         Clarify _NO_PREROLL a bit more.
5914
5915         * gst/gstevent.c:
5916         Fix docs.
5917
5918         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5919         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5920         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5921         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5922         due to wrong locking order. Fixes #361769.
5923         Remove some redundant/misplaced checks in pad_block.
5924
5925         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5926         For negative rates, count backwards from the duration.
5927
5928 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5929
5930         * gst/gsterror.c: (_gst_library_errors_init):
5931           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5932           up with something better).
5933
5934 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5935
5936         * win32/vs6/libgstreamer.dsp:
5937         * win32/vs7/libgstreamer.vcproj:
5938         * win32/vs8/libgstreamer.vcproj:
5939           Don't reference glib-compat.c which is currently not used and not
5940           disted; add gstquark.c which was recently added. Fixes #361730.
5941
5942 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5943
5944         * win32/common/libgstbase.def:
5945         * win32/common/libgstcontroller.def:
5946         * win32/common/libgstreamer.def:
5947           Add gst_caps_merge() and a bunch of other recently-added functions.
5948           Fixes #361732.
5949
5950 2006-10-11  Wim Taymans  <wim@fluendo.com>
5951
5952         * docs/plugins/gstreamer-plugins.args:
5953         * docs/plugins/inspect/plugin-coreelements.xml:
5954         * docs/plugins/inspect/plugin-coreindexers.xml:
5955         Update element args.
5956
5957         * gst/gstsystemclock.c:
5958         Small comment update.
5959
5960         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5961         (gst_tee_request_new_pad), (gst_tee_release_pad),
5962         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5963         (gst_tee_sink_activate_pull):
5964         * plugins/elements/gsttee.h:
5965         Some tee loving:
5966         Add default property defines.
5967         Implement release pad function.
5968         Give properties better blubs etc.
5969         Activate pads before adding them to a running tee.
5970         Do simple buffer_alloc on the first requested pad.
5971         Post error when activation fails.
5972
5973 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5974
5975         * gst/gst.c: (ensure_current_registry_forking):
5976           Check return value of write() to make compiler happy.
5977
5978 2006-10-11  Wim Taymans  <wim@fluendo.com>
5979
5980         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5981
5982         * plugins/elements/gstqueue.c: (gst_queue_chain):
5983         Recheck queue filledness after signalling the overrun when we're about
5984         to leak downstream because we released the lock when emitting the signal
5985         and the queue could be empty again. Fixes #352345.
5986
5987 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5988
5989         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5990           Fix refcounting here too, just like we did for _new_valist() a few
5991           days ago (#357180) (thanks to René Stadler). Also remove all those
5992           'Since: 0.9' from the gtk-doc blobs.
5993
5994         * tests/check/libs/controller.c: (controller_refcount_new_list),
5995         (gst_controller_suite):
5996           Unit test for the above.
5997
5998 2006-10-10  Wim Taymans  <wim@fluendo.com>
5999
6000         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6001
6002         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6003         (gst_pad_save_thyself):
6004         Update some docs.
6005         Write pad direction in XML output. Fixes #345496.
6006
6007 2006-10-10  Wim Taymans  <wim@fluendo.com>
6008
6009         Patch by: René Stadler <mail at renestadler dot de>
6010
6011         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6012         (gst_controller_new_list), (_gst_controller_dispose),
6013         (_gst_controller_finalize), (_gst_controller_class_init):
6014         Take ref to controlled object so that it cannot disappear. 
6015         Fixes #357432.
6016
6017 2006-10-10  Wim Taymans  <wim@fluendo.com>
6018
6019         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6020         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6021         (gst_check_teardown_sink_pad):
6022         Activate/deactivate pads in setup/teardown respectively.
6023
6024 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6025
6026         Patch by: Josep Torre Valles <josep@fluendo.com>
6027
6028         * gst/Makefile.am:
6029         Cast values when making gstenumtypes.h.  This pacifies Forte
6030         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6031         in the enumeration.
6032
6033 2006-10-09  Wim Taymans  <wim@fluendo.com>
6034
6035         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6036         Rename some more @cur to @start to fix docs. 
6037
6038         * gst/gstsegment.c: (gst_segment_set_seek):
6039         Fix typo.
6040         time and start must always stay in sync as defined in design doc.
6041
6042         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6043         Rename param to fix docs.
6044
6045         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6046         Check that start and time are in sync.
6047
6048         * tests/check/pipelines/parse-launch.c:
6049         (gst_parse_test_element_change_state):
6050         Activate pad before adding to the element.
6051
6052 2006-10-09  Wim Taymans  <wim@fluendo.com>
6053
6054         * docs/design/part-qos.txt:
6055         Fix typo.
6056
6057         * gst/gstevent.c:
6058         * gst/gstevent.h:
6059         Update seek event docs regarding negative rates.
6060         Rename @cur to @start. 
6061
6062         * gst/gstsegment.c: (gst_segment_set_seek):
6063         * gst/gstsegment.h:
6064         Update set_seek docs regarding negative rates.
6065         Correctly update last_stop to @stop when dealing with negative
6066         rates.
6067         Rename @cur to @start. 
6068
6069         * tests/check/gst/gstpad.c: (GST_START_TEST):
6070         Activate pads before trying to use them.
6071
6072         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6073         (gst_segment_suite):
6074         Add simple check for segments and negative rates.
6075
6076 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6077
6078         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6079         * gst/gsttaglist.h:
6080         * docs/gst/gstreamer-sections.txt:
6081           API: add gst_tag_list_is_empty() (#360467).
6082
6083         * tests/check/gst/gsttag.c: (GST_START_TEST):
6084           And a test case.
6085
6086 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6087
6088         * gst/gstmessage.h:
6089         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6090         a value that doesn't fit on enumeration.
6091
6092 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6093
6094         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6095         Remove local debugging system and use Gstreamer's instead.
6096
6097 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6098
6099         Patch by: Josep Torre Valles <josep@fluendo.com>
6100
6101         * common/m4/gst-error.m4:
6102         Disable warning of statement not reached on Forte.
6103         * gst/gstmessage.h:
6104         Fix warning on Forte (value doesn't fit on enumeration).
6105         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6106         Fix warning on Forte (value doesn't fit on enumeration).
6107         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6108         DEBUG macro says it takes minimum of 2 args and so Forte
6109         complains about the use with just 1 arg.
6110         * plugins/elements/gstfdsink.c:
6111         * plugins/elements/gstfdsrc.c:
6112         * plugins/elements/gstfilesink.c:
6113         * plugins/elements/gstfilesrc.c:
6114         Use correct return type for the uri handler implementations.
6115
6116         All these fix warnings in Forte.  Fixes bug #360860.
6117
6118 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6119
6120         * gst/gstelement.h:
6121           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6122           format string, so don't use G_GNUC_PRINTF for those versions.
6123
6124 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6125
6126         * gst/gsttaglist.c: (gst_is_tag_list):
6127         * gst/gsttaglist.h:
6128           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6129
6130         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6131           Small test for the above.
6132
6133 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6134
6135         * gst/gsttaglist.h:
6136           Less tabs, more spaces.
6137
6138 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6139
6140         * gst/gstinfo.h:
6141           Those two function declarations do actually belong there, revert
6142           commit from yesterday that turned them intro macros.
6143
6144 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6145
6146         Patch by: Josep Torre Valles <josep@fluendo.com>
6147
6148         * gst/gst.c: (gst_init_get_option_group):
6149         Fix empty declaration and type mismatch.
6150         * gst/gstbin.c: (gst_bin_change_state_func):
6151         Fix type mismatch.
6152         * gst/gstelement.c: (gst_element_continue_state),
6153         (gst_element_set_state_func), (gst_element_change_state),
6154         (gst_element_change_state_func):
6155         Fix type mismatches.
6156         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6157         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6158         Cast as appropriate.
6159         * gst/gstobject.c: (gst_class_signal_connect):
6160         Cast as appropriate.  The function pointer parameter really
6161         has the wrong type but would break API if we change it.
6162         * gst/gstquery.c:
6163         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6164         order of including string.h.
6165         * gst/gstutils.c: (gst_element_state_get_name):
6166         Remove unreachable line.
6167         * gst/gstxml.c: (gst_xml_parse_doc):
6168         Fix type mismatch.
6169         All these caught by Forte.
6170
6171 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6172
6173         Patch by: Josep Torre Valles <josep@fluendo.com>
6174
6175         * common/m4/gst-error.m4:
6176         Fixed bug #360151.
6177         We need to disable warnings on Forte for empty declarations
6178         due to gst-indent adding ;s to lines that just use macros
6179         where the macro actually doesn't need a ; at end to end
6180         statement.
6181
6182 2006-10-06  Wim Taymans  <wim@fluendo.com>
6183
6184         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6185         (gst_file_sink_close_file), (gst_file_sink_event),
6186         (gst_file_sink_render):
6187         Add some FIXME for the NEWSEGMENT handling.
6188
6189 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6190
6191         * gst/parse/grammar.y:
6192         Remove static function gst_parse_element_lock as all it does
6193         is return.  Looks like cruft from 0.8.
6194
6195 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6196
6197         Patch by: Josep Torre Valles <josep@fluendo.com>
6198
6199         * common/m4/gst-error.m4:
6200         * configure.ac:
6201         * libs/gst/net/Makefile.am:
6202         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6203         libresolv.
6204
6205 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6206
6207         * gst/gstpad.c: (pre_activate):
6208         * gst/gstregistry.c: (gst_registry_scan_path_level):
6209         * gst/gstregistryxml.c: (load_plugin):
6210         * libs/gst/controller/gstcontroller.c:
6211         (gst_controlled_property_set_interpolation_mode):
6212         * libs/gst/dataprotocol/dataprotocol.c:
6213         (gst_dp_packet_from_event_1_0):
6214         * libs/gst/net/gstnetclientclock.c:
6215         (gst_net_client_clock_observe_times):
6216         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6217           Printf fixes.
6218
6219 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6220
6221         * configure.ac:
6222         * docs/gst/gstreamer-sections.txt:
6223         * gst/gstconfig.h.in:
6224         * gst/gstelement.h:
6225         * gst/gstinfo.h:
6226           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6227           whether we can use G_GNUC_PRINTF in other header files and at
6228           least check the printf format/arguments of debug messages and
6229           GST_ELEMENT_ERROR messages when the printf extension is not
6230           being used.
6231           Replace more tabs with spaces in gstinfo.h and remove two spurious
6232           function declarations in GST_DISABLE_DEBUG part with macros.
6233
6234 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6235
6236         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6237           More docs for the sync-message signal (mention that it is not
6238           emitted by default); log message structures of messages posted on
6239           the bus as well.
6240
6241 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6242
6243         * gst/gst.c: (ensure_current_registry_forking):
6244         Use a pipe pair to receive status results from the forked child, and
6245         ignore the result from waitpid. Fixes #355499
6246
6247 2006-10-02  Wim Taymans  <wim@fluendo.com>
6248
6249         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6250         (gst_ghost_pad_suite):
6251         Fix leak in check.
6252
6253 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6254
6255         * gst/gstpad.c:
6256           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6257
6258 2006-10-02  Edward Hervey  <edward@fluendo.com>
6259
6260         * docs/design/part-block.txt:
6261         Further explain the use of flushing on blocked pads.
6262         * docs/gst/gstreamer-sections.txt:
6263         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6264         (gst_pad_push_event):
6265         * gst/gstpad.h:
6266         Added new GstPadFlag : GST_PAD_BLOCKING.
6267         Adds the notion of pads really blocking, which enables to properly
6268         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6269         Fixes #358999
6270         API: gst_pad_is_blocking()
6271         API: GST_PAD_IS_BLOCKING() macro
6272         API: GST_PAD_BLOCKING GstPadFlag
6273         
6274 2006-10-02  Wim Taymans  <wim@fluendo.com>
6275
6276         Patch by: mrcgran <mrc.gran at gmail dot com>
6277
6278         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6279         Filter the proxied caps against the padtemplate if we have one.
6280
6281         * gst/gstquery.c: (gst_query_new_segment):
6282         Add include for gstinfo.h so that compilation with
6283         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6284
6285 2006-10-02  Wim Taymans  <wim@fluendo.com>
6286
6287         Patch by: Alessandro Decina  <alessandro at nnva org>
6288
6289         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6290         (gst_file_sink_set_location), (gst_file_sink_open_file),
6291         (gst_file_sink_close_file), (gst_file_sink_event),
6292         (gst_file_sink_render):
6293         Set file to NULL when closing filesink so that we can set a new filename
6294         in READY. Fixes #358613.
6295
6296 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6297
6298         Patch by: Alessandro Decina  <alessandro at nnva org>
6299
6300         * gst/gstevent.c: (_gst_event_copy):
6301           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6302           with event structures by setting the parent refcount address of the
6303           copied structure to the address of the refcount member of the newly
6304           copied event rather than the address of the refcount member of the
6305           original event. Fixes #358737.
6306
6307         * tests/check/gst/gstevent.c: (GST_START_TEST):
6308           Unit test for the above.
6309
6310 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6311
6312         * docs/design/Makefile.am:
6313           Dist some more files.
6314
6315 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6316
6317         * tests/check/libs/controller.c: (GST_START_TEST),
6318         (gst_controller_suite):
6319           Add test for the previous fix; add some more tests
6320           for correct refcounting behaviour; fix a few leaks
6321           in test cases; call gst_controller_init() at start
6322           of all tests.
6323
6324 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6325
6326         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6327         (gst_controller_set_from_list):
6328           Don't g_return_val_if_fail() on timed values with invalid timestamps
6329           inside a critical section without unlocking the mutex. Spotted by
6330           René Stadler. (#357617)
6331           Also, fix up refcounting properly: when returning an existing
6332           controller, we should increase the reference only once and not
6333           once per property and when trying to control a property again
6334           we should also increase the refcount.
6335
6336 2006-09-29  Wim Taymans  <wim@fluendo.com>
6337
6338         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6339         * libs/gst/net/gstnettimeprovider.c:
6340         (gst_net_time_provider_thread):
6341         Stop reading commands when EOF as well.
6342
6343         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6344         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6345         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6346         Unify description of the dump property.
6347
6348 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6349
6350         * tests/examples/manual/.cvsignore:
6351         OK, so it's actually cvsignore that needs changing. Stop laughing.
6352
6353 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6354
6355         * tests/examples/manual/Makefile.am:
6356         Gah, declare vars *before* using them
6357
6358 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6359
6360         * gst/gst.c: (init_pre), (scan_and_update_registry),
6361         (ensure_current_registry_nonforking),
6362         (ensure_current_registry_forking), (ensure_current_registry),
6363         (init_post), (gst_debug_help), (gst_deinit):
6364         * gst/gst_private.h:
6365         * gst/gstregistry.c: (gst_registry_finalize),
6366         (gst_registry_remove_features_for_plugin_unlocked),
6367         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6368         (gst_registry_scan_path),
6369         (_priv_gst_registry_remove_cache_plugins),
6370         (_priv_gst_registry_cleanup):
6371         * gst/gstregistry.h:
6372         Re-commit the registry changes, along with an extra fix:
6373           When a cached plugin is encountered at a different file path,
6374           update the stored path in the registry cache so that the parent
6375           process knows where it actually is now when it re-reads the registry
6376           cache. Fixes the thing that broke distcheck with the previous commit.
6377
6378         * tests/check/Makefile.am:
6379         Clean up files named 'core' too when running make clean.
6380
6381         * tests/examples/manual/Makefile.am:
6382         Set up a registry path for running these tests, and clean it properly
6383         for distcheck.
6384
6385 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6386
6387         * configure.ac:
6388         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6389         want gmodule-no-export-2.0.pc instead so that we don't drag in
6390         --export-dynamic on every project that links to GStreamer.
6391
6392         Also, make our export regex only match the start of symbols, rather 
6393         than any symbol that contains '_gst' somewhere.
6394
6395         * libs/gst/check/Makefile.am:
6396         The libgstcheck we build does however need export-dynamic, as it
6397         produces some symbols that don't match our _gst... style regex.
6398         Fixes: #318031
6399
6400 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6401
6402         * gst/gst.c: (init_pre), (scan_and_update_registry),
6403         (ensure_current_registry_nonforking),
6404         (ensure_current_registry_forking), (ensure_current_registry),
6405         (init_post), (gst_debug_help), (gst_deinit):
6406         * gst/gst_private.h:
6407         * gst/gstregistry.c: (gst_registry_finalize),
6408         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6409         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6410         (_gst_registry_cleanup):
6411         * gst/gstregistry.h:
6412           Revert previous change until I figure out why it breaks distcheck.
6413
6414 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6415
6416         * gst/gst.c: (init_pre), (scan_and_update_registry),
6417         (ensure_current_registry_nonforking),
6418         (ensure_current_registry_forking), (ensure_current_registry),
6419         (init_post), (gst_debug_help), (gst_deinit):
6420
6421           Make init_pre and init_post take the full complement of GOptionFunc
6422           args so they can return useful GErrors. Make the registry updating
6423           functions do so.
6424
6425           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6426           ensure that the registry we're about to write out doesn't contain
6427           stale information about old-deleted plugin files.
6428
6429           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6430           that deletion of plugin files is considered a registry change.
6431
6432         * gst/gst_private.h:
6433         * gst/gstregistry.c: (gst_registry_finalize),
6434         (gst_registry_remove_features_for_plugin_unlocked),
6435         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6436         (gst_registry_scan_path),
6437         (_priv_gst_registry_remove_cache_plugins),
6438         (_priv_gst_registry_cleanup):
6439         * gst/gstregistry.h:
6440         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6441         by adding _priv prefix, so that they won't appear in the global
6442         symbol table. They still do atm though because of #318031. Move the
6443         prototypes to gst_private.h
6444
6445         When removing a plugin, remove all features for that plugin too. 
6446         Fixes #340878.
6447
6448 2006-09-27  Wim Taymans  <wim@fluendo.com>
6449
6450         * docs/random/moving-plugins:
6451         Make it clear that the "compiled-in descriptions" really mean
6452         the element details.
6453
6454         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6455         (gst_base_sink_wait_preroll):
6456         Update docs.
6457
6458         * docs/libs/gstreamer-libs-sections.txt:
6459         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6460         (gst_base_src_get_range), (gst_base_src_activate_push):
6461         * libs/gst/base/gstbasesrc.h:
6462         Added function to block while waiting for PLAYING, this function
6463         is used by live sources that block on the clock.
6464         API: gst_base_src_wait_playing()
6465
6466 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6467
6468         Patch by: Peter Kjellerstedt <pkj at axis com>
6469
6470         * Makefile.am:
6471           gst-element-check.m4 is generated and should therefore be
6472           copied from the build dir rather than the source dir (#357593).
6473           'make distcheck' hasn't noticed this because we were disting
6474           the file as well, so stop doing that.
6475
6476 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6477
6478         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6479           Add some tests for gst_caps_intersect().
6480
6481         * tools/gst-launch.c: (event_loop):
6482           Print all buffering percentages we get, even the 100% one.
6483
6484 2006-09-26  Wim Taymans  <wim@fluendo.com>
6485
6486         * tools/gst-inspect.c: (print_element_properties_info),
6487         (print_signal_info):
6488         Fix printing of flags to match the look of enums.
6489
6490 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6491
6492         * gst/gstelementfactory.c:
6493           Fix typo in docs blurb.
6494
6495 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6496
6497         * gst/gsturi.c: (search_by_entry):
6498           Don't assert/crash here if a uri handler doesn't return any
6499           supported protocols. The list of protocols could be generated
6500           dynamically at runtime or at plugin registration, and an error
6501           in the underlying library shouldn't be fatal (#353301).
6502
6503 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6504
6505         * gst/gstinfo.c:
6506           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6507           (spotted by Peter Kjellerstedt).
6508
6509 2006-09-23  Wim Taymans  <wim@fluendo.com>
6510
6511         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6512
6513         * libs/gst/base/gstbasesrc.c:
6514         (gst_base_src_default_check_get_range), (gst_base_src_start),
6515         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6516         (gst_base_src_change_state):
6517         Match _start/_stop calls in the activate functions. Remove redundant
6518         _stop call from the state change function. Fixes #356910.
6519         Turn failure DEBUG into ERROR. 
6520
6521 2006-09-22  Wim Taymans  <wim@fluendo.com>
6522
6523         * docs/design/part-buffering.txt:
6524         * gst/gstmessage.c: (gst_message_new_buffering),
6525         (gst_message_parse_buffering):
6526         Update docs about buffering.
6527
6528         * docs/design/part-trickmodes.txt:
6529         Fix typo.
6530
6531 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6532
6533         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6534         (gst_controller_new_list):
6535           Ref instances when returning them again (fixes #357180)
6536
6537 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6538
6539         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6540           Don't forget to release proxy lock when there's an error.
6541
6542 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6543
6544         * gst/gstcaps.h:
6545           Add extra initialisers for Caps things, to fix some plugin warnings
6546           when using -Wextra
6547
6548 2006-09-18  Wim Taymans  <wim@fluendo.com>
6549
6550         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6551           Also set template on the internal pad so that a getcaps from the 
6552           target pad returns the template caps.
6553
6554 2006-09-18  Wim Taymans  <wim@fluendo.com>
6555
6556         * gst/gstelement.c: (gst_element_post_message),
6557         (gst_element_dispose):
6558         Use _DEBUG_OBJECT some more.
6559
6560         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6561         Avoid typechecks.
6562
6563         * tools/gst-launch.c: (main):
6564         If the toplevel element is not a GstPipeline, it must be put in a
6565         pipeline so that a bus and clock is selected.
6566
6567 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6568
6569         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6570           JITTER, RATE, and LATENCY query should be handled by the
6571           default case and not by the CONVERT query code.
6572
6573 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6574
6575         * gst/gstformat.c: (gst_format_register):
6576           Fix locking order (must take lock before using n_values).
6577
6578         * gst/gstvalue.c: (gst_value_serialize_enum),
6579         (gst_value_deserialize_enum_iter_cmp),
6580         (gst_value_deserialize_enum):
6581           Fix serialisation/deserialisation of custom registered GstFormats.
6582
6583         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6584           Unit test for custom format serialisation/deserialisation.
6585
6586 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6587
6588         * docs/pwg/building-boiler.xml:
6589         * plugins/elements/gstcapsfilter.c:
6590         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6591         section.
6592
6593 2006-09-16  Edward Hervey  <edward@fluendo.com>
6594
6595         * libs/gst/base/gstbasetransform.c:
6596         (gst_base_transform_buffer_alloc):
6597         Check if requested caps are the same as the sinks caps IF
6598         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6599         is FALSE.
6600         This fixes the renegotiation issues stated in #352827.
6601
6602 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6603
6604         * configure.ac:
6605         * docs/manual/advanced-autoplugging.xml:
6606         * tests/examples/Makefile.am:
6607         * tests/examples/manual/.cvsignore:
6608         * tests/examples/manual/Makefile.am:
6609         * tests/examples/manual/extract.pl:
6610           Extract the manual examples again like we used to do.
6611           Fix one of them.
6612
6613 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6614
6615         * win32/common/config.h:
6616           update for version
6617
6618 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6619
6620         * gst/gsterror.c:
6621           Documents how to receive errors.
6622
6623 2006-09-15  Wim Taymans  <wim@fluendo.com>
6624
6625         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6626         (event_loop), (main):
6627         Added some comments here and there.
6628         Post an application message when an interrupt is caught instead of doing
6629         an uncontrolled state change.
6630         Clean up the event loop.
6631         Handle buffering messages, pause/resume the pipeline.
6632         Make shutdown because of an interrupt more reliable.
6633
6634 2006-09-15  Wim Taymans  <wim@fluendo.com>
6635
6636         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6637         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6638         (gst_base_sink_preroll_object):
6639         Make sure that our internal state is correct when we commit our state
6640         asynchronously. This solves a race where a state change to PLAYING
6641         could cause the sink to remain blocked in preroll in some situations.
6642
6643 2006-09-15  Wim Taymans  <wim@fluendo.com>
6644
6645         * tools/gst-inspect.c: (print_element_properties_info),
6646         (print_signal_info):
6647         List flags as hex so it's easier to deal with.
6648
6649 2006-09-15  Wim Taymans  <wim@fluendo.com>
6650
6651         * docs/libs/gstreamer-libs-sections.txt:
6652         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6653         (gst_base_sink_do_sync):
6654         * libs/gst/base/gstbasesink.h:
6655         Expose logic to wait for preroll so that subclasses such as audiosink
6656         can also use this method.
6657         API: gst_base_sink_wait_preroll()
6658
6659 2006-09-15  Wim Taymans  <wim@fluendo.com>
6660
6661         * gst/gstobject.c: (gst_object_set_parent):
6662         * gst/gstpipeline.c: (do_pipeline_seek):
6663         Small cleanups in docs and code.
6664
6665         * gst/gstsegment.c: (gst_segment_clip):
6666         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6667         if stop == start and start is in the segment, no clipping should be
6668         done. Also add a test for this.
6669
6670 2006-09-15  Wim Taymans  <wim@fluendo.com>
6671
6672         * docs/design/part-buffering.txt:
6673         * docs/gst/gstreamer-sections.txt:
6674         * gst/gstmessage.c: (gst_message_new_buffering),
6675         (gst_message_parse_buffering):
6676         * gst/gstmessage.h:
6677         Added methods to create and parse BUFFERING messages.
6678         Added preliminary docs about buffering.
6679         API: gst_message_new_buffering
6680         API: gst_message_parse_buffering
6681
6682 2006-09-06  Wim Taymans  <wim@fluendo.com>
6683
6684         * gst/gstbin.c:
6685         Update documentation.
6686
6687         * gst/gstelement.c: (gst_element_class_init),
6688         (gst_element_release_request_pad), (gst_element_set_clock),
6689         (gst_element_get_index), (gst_element_add_pad),
6690         (gst_element_remove_pad), (gst_element_get_random_pad),
6691         (gst_element_send_event), (gst_element_get_query_types),
6692         (gst_element_query), (gst_element_post_message),
6693         (gst_element_message_full), (gst_element_continue_state),
6694         (gst_element_lost_state), (gst_element_save_thyself),
6695         (gst_element_restore_thyself):
6696         Documentation updates.
6697         Rename last bit of the new-pad -> pad-added signal rename.
6698         Fix the case where an element query would only work if the source
6699         pad was linked.
6700         Avoid some useless type checking in message handling.
6701
6702         * gst/gstevent.c:
6703         * gst/gstevent.h:
6704         * gst/gstutils.c:
6705         Documentation updates.
6706
6707 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6708
6709         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6710           add an INFO line for when we actually update the fd
6711
6712 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6713
6714         * configure.ac:
6715           back to TRUNK
6716
6717 === release 0.10.10 ===
6718
6719 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
6720
6721         * configure.ac:
6722           releasing 0.10.10, "Pais"
6723
6724 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
6725
6726         * docs/manual/advanced-position.xml:
6727           Fix typo in sample code.
6728
6729 2006-09-05  Wim Taymans  <wim@fluendo.com>
6730
6731         * libs/gst/net/gstnetclientclock.c: (inet_aton),
6732         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6733         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6734         * libs/gst/net/gstnetclientclock.h:
6735         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6736         * libs/gst/net/gstnettimepacket.h:
6737         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6738         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6739         (gst_net_time_provider_thread), (gst_net_time_provider_new):
6740         * libs/gst/net/gstnettimeprovider.h:
6741         Make stuff compile on windows. Fixes #345295.
6742
6743 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6744
6745         * gst/gst.c: (ensure_current_registry_forking):
6746           Print better details when child was terminated by signal.
6747
6748 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6749
6750         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6751           Print a warning rather than g_assert() if a plugin feature
6752           is a URI handler but returns no protocols (#353976).
6753
6754 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
6755
6756         * docs/random/moving-plugins:
6757         Fix two typos.         
6758
6759 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6760
6761         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6762           Fix locking order, handle NULL function values properly.
6763
6764         * gst/gstinfo.h:
6765           Fix docs.
6766
6767         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6768           Initialise variable before using it and fix debug statement to
6769           print the address of the function rather than the address of the
6770           variable on the stack holding the address of the function.
6771
6772 2006-09-01  Wim Taymans  <wim@fluendo.com>
6773
6774         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6775         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6776         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6777         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6778         (gst_ghost_pad_parent_unset),
6779         (gst_ghost_pad_internal_do_activate_push),
6780         (gst_ghost_pad_internal_do_activate_pull),
6781         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6782         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6783         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6784         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6785         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6786         (gst_ghost_pad_new_no_target_from_template),
6787         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6788         More cleanups.
6789         Avoid needless typechecking in macros.
6790         Since the internal pad is always present and never changes, there is
6791         no need to locking or ref when retrieving it.
6792         Improve debugging a bit.
6793         Handle link errors when setting the target. Fixes #341029.
6794
6795 2006-09-01  Wim Taymans  <wim@fluendo.com>
6796
6797         * docs/libs/gstreamer-libs-sections.txt:
6798         * docs/plugins/gstreamer-plugins-sections.txt:
6799         Fix docs some more.
6800
6801         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6802         (gst_collect_pads_event):
6803         * libs/gst/base/gstcollectpads.h:
6804         Documentation updates.
6805         Free queued buffer when removing a pad.
6806
6807 2006-08-31  Michael Smith  <msmith@fluendo.com>
6808
6809         * gst/gstutils.c: (gst_element_link_pads),
6810         (gst_element_link_pads_filtered):
6811           Ensure that we set a capsfilter to NULL if we failed to link it
6812           when doing filtered linking, to avoid criticals.
6813
6814           No need to check for unreffing srcpad, which is explicly NULLed
6815           above (a trivial code cleanup).
6816
6817 2006-08-31  Wim Taymans  <wim@fluendo.com>
6818
6819         * docs/design/part-gstghostpad.txt:
6820         Update ascii art in documentation.
6821
6822         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6823         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6824         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6825         (gst_ghost_pad_internal_do_activate_push),
6826         (gst_ghost_pad_internal_do_activate_pull),
6827         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6828         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6829         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6830         (gst_ghost_pad_set_target):
6831         Small cleanups and leak fixes.
6832         Remove some checks now that the internal pad is never NULL.
6833         Fix the case where linking pads without a target would create nasty
6834         criticals. Fixes #341029.
6835         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6836         value of _set_target().
6837
6838         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6839         (gst_ghost_pad_suite):
6840         Some more tests for creating and linking untargeted ghostpads.
6841
6842 2006-08-31  Edward Hervey  <edward@fluendo.com>
6843
6844         * docs/gst/gstreamer-sections.txt:
6845         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6846         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6847         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6848         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6849         (gst_ghost_pad_new_from_template),
6850         (gst_ghost_pad_new_no_target_from_template):
6851         * gst/gstghostpad.h:
6852         Refactored *_new() functions.
6853         Templates are now used as a g_object_new() parameter.
6854         Use template in _do_getcaps() if we don't have a target.
6855         Small documentation cleanups.
6856         Added two new constructors:
6857         gst_ghost_pad_new_from_template()
6858         gst_ghost_pad_new_no_target_from_template()
6859         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6860         (gst_ghost_pad_suite):
6861         Added tests for new ghostpad instanciation functions.
6862
6863         API additions: gst_ghost_pad_new_from_template,
6864         gst_ghost_pad_new_no_target_from_template
6865
6866 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
6867
6868         * docs/random/ensonic/profiling.txt:
6869           Ideas about qos profiling.
6870
6871 2006-08-29  Wim Taymans  <wim@fluendo.com>
6872
6873         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6874         Code cleanups.
6875         Fix memleak.
6876
6877 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
6878
6879         * gst/gstxml.c:
6880           Improve and detypofy docs.
6881
6882         * tests/check/Makefile.am:
6883         * tests/check/gst/.cvsignore:
6884         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6885           Add a basic test suite for GstXML.
6886
6887 2006-08-29  Wim Taymans  <wim@fluendo.com>
6888
6889         * gst/gstelement.c: (activate_pads), (clear_caps),
6890         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6891         Clear the pad caps when the element shut down all of the pads and
6892         is not streaming data that could modify the caps. 
6893         Fixes #352958.
6894
6895 2006-08-28  Michael Smith  <msmith@fluendo.com>
6896
6897         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6898           Revert previous change; I misunderstood single-segment mode.
6899
6900 2006-08-28  Michael Smith  <msmith@fluendo.com>
6901
6902         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6903           Unset DISCONT on buffers when using single-segment mode.
6904
6905 2006-08-28  Wim Taymans  <wim@fluendo.com>
6906
6907         * gst/gstcaps.c: (gst_caps_merge_structure):
6908         * gst/gstcaps.h:
6909         Fix docs and indentation again.
6910
6911         * tests/check/gst/gstquery.c: (GST_START_TEST):
6912         Fix leak in tests and add some more tests.
6913
6914 2006-08-28  Edward Hervey  <edward@fluendo.com>
6915
6916         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6917         Inform GstSegment of the last stop position in order for the current
6918         segment to have a proper duration if it doesn't have a specific stop
6919         position from which a duration could be calculated.
6920         This bug was noticeable when a non-flushing, non-update new segment was
6921         followed by another segment (all buffers from the new segment were being
6922         dropped).
6923
6924 2006-08-28  Wim Taymans  <wim@fluendo.com>
6925
6926         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6927         Small comment update.
6928
6929         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6930         (gst_identity_transform_ip):
6931         Drop-probability is broken, mention this in the code with a 
6932         FIXME and also in the property description.
6933         Make silent also be silent about the drop messages.
6934
6935 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
6936
6937         * docs/manual/appendix-win32.xml:
6938           Remove mention of popt, we don't depend on that any
6939           longer (#353136). Add some comments pointing out that
6940           this section is slightly outdated.
6941
6942 2006-08-28  Wim Taymans  <wim@fluendo.com>
6943
6944         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6945
6946         * gst/gstquery.c: (gst_query_new_segment):
6947         * tests/check/gst/gstquery.c: (GST_START_TEST):
6948         Initialize variables when creating a new segment query.
6949         Fixes #353121.
6950
6951 2006-08-28  Wim Taymans  <wim@fluendo.com>
6952
6953         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6954
6955         * gst/gstelement.c: (gst_element_get_bus):
6956         * tests/check/gst/gstelement.c: (GST_START_TEST):
6957         Check for NULL before _reffing the bus. Fixes #353122.
6958
6959 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
6960
6961         * docs/manual/basics-bus.xml:
6962           Docs update: fix wrong callback return value explanation; add
6963           some lines about the implicit relationship between main loop
6964           and main context; remove duplicate main loop variable declaration.
6965
6966 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
6967
6968         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6969           Don't leak caps in unit test; add a few more simple
6970           checks. 
6971
6972 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
6973
6974         * docs/gst/gstreamer-sections.txt:
6975         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6976         (gst_caps_structure_is_subset), (gst_caps_merge),
6977         (gst_caps_merge_structure):
6978         * gst/gstcaps.h:
6979         * libs/gst/base/gstbasetransform.c:
6980         (gst_base_transform_transform_caps):
6981         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6982           implement caps merging (fixes #352580)
6983
6984 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
6985
6986         * tools/Makefile.am:
6987         * tools/gst-plot-timeline.py:
6988           add debug-log plotting developer tool (#340674)
6989
6990 2006-08-23  Wim Taymans  <wim@fluendo.com>
6991
6992         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6993         (gst_pad_stop_task):
6994         Improve debugging for task functions.
6995
6996         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6997         (gst_task_start), (gst_task_pause), (gst_task_join):
6998         Make sure that the task function started and finished after a 
6999         join(). 
7000         Don't try to push the task function on the threadpool multiple
7001         times.
7002         Improve the g_warning message with some useful suggestions
7003         about how to fix the problem. 
7004
7005 2006-08-23  Wim Taymans  <wim@fluendo.com>
7006
7007         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7008         Handle RESYNC correctly in _proxy_getcaps.
7009
7010 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7011
7012         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7013         (gst_xml_parse_memory), (gst_xml_get_element):
7014           Chain up to parent class in dispose function and also
7015           unref the elements in the toplevel_elements GList.
7016           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7017           Always return a reference in gst_xml_get_element() rather
7018           than only sometimes.
7019
7020         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7021           Don't leak GstXml object.
7022
7023 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7024
7025         * docs/gst/gstreamer-sections.txt:
7026         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7027         (gst_caps_merge):
7028         * gst/gstcaps.h:
7029         * libs/gst/base/gstbasetransform.c:
7030         (gst_base_transform_transform_caps):
7031           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7032           in a better way
7033
7034 2006-08-21  Edward Hervey  <edward@fluendo.com>
7035
7036         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7037         Implement GObject::dispose virtual method in GstXML so we can free the
7038         top_elements GList.
7039
7040 2006-08-21  Wim Taymans  <wim@fluendo.com>
7041
7042         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7043         (gst_buffer_create_sub):
7044         Copy duration/offset_end/caps when creating a subbuffer of the
7045         complete parent.
7046         Make the subbuffer read-only when we make the metadata writable for
7047         now. Fixes #351768.
7048
7049         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7050         Added check for metadata copy when creating subbuffers.
7051
7052 2006-08-21  Edward Hervey  <edward@fluendo.com>
7053
7054         * libs/gst/base/gstbasetransform.c:
7055         (gst_base_transform_buffer_alloc):
7056         Only call downstream buffer_alloc if transform element is passthrough
7057         or always_in_place. Closes #350449.
7058
7059 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7060
7061         * ChangeLog:
7062           ChangeLog surgery to add comments to previous changes
7063
7064 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7065
7066         * gst/gst.c:
7067           Add comments
7068
7069         * gst/gstpad.c: (gst_pad_set_active):
7070           Be more verbose in the log
7071
7072         * libs/gst/base/gstbasetransform.c:
7073         (gst_base_transform_transform_caps):
7074           Simplify caps to get rid of duplicates, fixes #345444
7075
7076 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7077
7078         * gst/gstvalue.c:
7079         * gst/gstvalue.h:
7080           Use these optimizations only internally.
7081
7082 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7083
7084         * gst/gstvalue.c: (gst_value_compare_list),
7085         (gst_value_compare_fraction_range),
7086         (gst_value_intersect_fraction_fraction_range),
7087         (gst_value_intersect_fraction_range_fraction_range),
7088         (gst_value_subtract_fraction_fraction_range),
7089         (gst_value_subtract_fraction_range_fraction_range),
7090         (gst_value_get_compare_func), (gst_value_compare),
7091         (gst_value_compare_with_func):
7092         * gst/gstvalue.h:
7093           Saves the expensive lookup of the compare function in many cases
7094          (#345444)
7095
7096 2006-08-18  Edward Hervey  <edward@fluendo.com>
7097
7098         * tests/check/gst/gstinfo.c: (gst_info_suite):
7099         Disable test that require gstdebug if it wasn't built in core.
7100
7101 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7102
7103         * docs/random/ensonic/logging.txt:
7104           update ideas
7105           
7106         * gst/gstinfo.c: (gst_debug_log_default):
7107           reorder fields, save some columns, add optional color codes for log
7108           levels
7109
7110 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7111
7112         * docs/random/ensonic/logging.txt:
7113           add ideas about making the logs a bit more useful
7114
7115 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7116
7117         * docs/pwg/advanced-events.xml:
7118         * docs/pwg/titlepage.xml:
7119           Update for 0.10 API (#340627). Add myself
7120           to authors list.
7121
7122 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7123
7124         * docs/libs/gstreamer-libs-docs.sgml:
7125         * docs/libs/gstreamer-libs-sections.txt:
7126         * libs/gst/check/gstbufferstraw.c:
7127           Make gstcheck stuff show up in docs (still needs to
7128           be documented properly though).
7129
7130 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7131
7132         * docs/gst/gstreamer-sections.txt:
7133         * gst/Makefile.am:
7134         * gst/gst.c: (init_post):
7135         * gst/gst_private.h:
7136         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7137         * gst/gstquark.h:
7138         * gst/gstquery.c: (gst_query_new_position),
7139         (gst_query_set_position), (gst_query_parse_position),
7140         (gst_query_new_duration), (gst_query_set_duration),
7141         (gst_query_parse_duration), (gst_query_new_convert),
7142         (gst_query_set_convert), (gst_query_parse_convert),
7143         (gst_query_new_segment), (gst_query_set_segment),
7144         (gst_query_parse_segment), (gst_query_new_seeking),
7145         (gst_query_set_seeking), (gst_query_parse_seeking):
7146         Add internal helpers for pre-registering quarks from static strings
7147         and using the quark values directly instead of looking them up when
7148         creating and parsing queries. Can be used for event construction too.
7149         Closes #350432.
7150
7151 2006-08-16  Wim Taymans  <wim@fluendo.com>
7152
7153         * gst/gstbin.c:
7154         Fix bogus docs.
7155
7156 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7157
7158         * gst/gstutils.c: (gst_util_set_value_from_string):
7159           Fix memleak (#351502).
7160
7161         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7162           Add unit test for most of gst_util_set_value_from_string()
7163           (not that one would want to encourage use of this function).
7164
7165 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7166
7167         * libs/gst/check/gstcheck.h:
7168           Use const gchar * variables in fail_unless_equals_string
7169           macro to avoid compiler warnings (and don't use tabs for
7170           indenting).
7171
7172 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7173
7174         * tools/gst-launch.c: (print_tag):
7175           More space on the left for the tag names, to cater
7176           for the 'extended comment' tag (not touching the
7177           string for the first line since it's translated).
7178
7179 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7180
7181         * libs/gst/check/gstcheck.h:
7182           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7183           print something when they fail.
7184
7185 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7186
7187         * docs/gst/gstreamer-sections.txt:
7188         * gst/gsttaglist.c: (_gst_tag_initialize):
7189         * gst/gsttaglist.h:
7190           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7191           Also change merge function for GST_TAG_COMMENT to
7192           use_first.
7193
7194 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7195
7196         * gst/gstinfo.c: (gst_debug_print_object):
7197           Make GST_PTR_FORMAT print messages as well.
7198
7199         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7200         (GST_START_TEST), (gst_info_suite):
7201           More tests.
7202
7203 2006-08-14  Edward Hervey  <edward@fluendo.com>
7204
7205         * gst/gstelementfactory.c: (gst_element_register):
7206         If the GstElementClass doesn't have a GstElementDetails with all fields
7207         filled up correctly (longname, description AND author), then error out
7208         nicely instead of crashing.
7209
7210 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7211
7212         * gst/gststructure.c:
7213           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7214
7215         * gst/gstvalue.h:
7216           Expand on the difference between arrays and lists as we use them.
7217           
7218 2006-08-14  Wim Taymans  <wim@fluendo.com>
7219
7220         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7221         If the parent state change function failed, don't assume we can safely
7222         stop the source, this will be done when the pads are deactivated.
7223
7224 2006-08-14  Wim Taymans  <wim@fluendo.com>
7225
7226         * gst/gstbuffer.c:
7227         * gst/gsttask.c: (gst_task_join):
7228         Small doc updates.
7229
7230         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7231         (gst_pad_stop_task):
7232         When pad (de)activation failed for some reason, restore the old
7233         activation mode and set the pad to flushing instead of assuming the
7234         pad is deactivated.
7235         If the _task_join() failed, reinstall the task on the pad so that it can
7236         be stopped later and return an error.
7237
7238 2006-08-11  Andy Wingo  <wingo@pobox.com>
7239
7240         * configure.ac:
7241         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7242         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7243         is only for users of API that don't want to see deprecated
7244         functions in the headers; people that want to compile out
7245         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7246         CFLAGS. Fixes the build of multifdsink, or will soon..
7247
7248 2006-08-11  Wim Taymans  <wim@fluendo.com>
7249
7250         * docs/gst/gstreamer-sections.txt:
7251         Add GstClockClass vmethod docs.
7252
7253         * gst/gstcaps.h:
7254         Mark #endif with comment for associated #if
7255
7256         * gst/gstclock.c: (gst_clock_id_wait):
7257         * gst/gstclock.h:
7258         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7259         most clock implementations.
7260         Document vmethods.
7261         Flesh out docs about resolution methods.
7262         API: GstClockClass::wait_jitter
7263
7264         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7265         (gst_system_clock_async_thread),
7266         (gst_system_clock_id_wait_jitter_unlocked),
7267         (gst_system_clock_id_wait_jitter):
7268         Use base class wait_jitter variant for improved performance
7269         due to less clock polling.
7270
7271 2006-08-11  Edward Hervey  <edward@fluendo.com>
7272
7273         * gst/gst.c: (gst_init_check), (init_post):
7274         Set gst as being initialized before scanning/updating the registry,
7275         since there might be my python plugin loader that calls gst_init() and
7276         we don't want to loop back in.
7277         Closes #350879
7278
7279 2006-08-11  Wim Taymans  <wim@fluendo.com>
7280
7281         * docs/design/part-qos.txt:
7282         Bring docs in line with the code. Mostly the sign of the jitter was
7283         wrong in the docs. Fixes #349943.
7284
7285         * gst/gstclock.c:
7286         Fix the docs for the jitter.
7287
7288         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7289         (gst_event_parse_tag), (gst_event_new_buffer_size),
7290         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7291         (gst_event_new_seek), (gst_event_parse_seek),
7292         (gst_event_new_navigation):
7293         Make sure the GstStructure has no parent when creating custom
7294         events.
7295         Add some more argument checking so that we avoid 0.0 rates.
7296         Flesh out the docs for the QoS event some more.
7297
7298 2006-08-11  Wim Taymans  <wim@fluendo.com>
7299
7300         * docs/gst/gstreamer-sections.txt:
7301         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7302         (ensure_current_registry_forking), (ensure_current_registry),
7303         (parse_one_option), (parse_goption_arg), (gst_deinit),
7304         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7305         * gst/gst.h:
7306         Doc updates.
7307         Added API and command line option to disable registry forking in
7308         addition to the environment variable.
7309         Constify some static arrays.
7310         Added some more debug.
7311         Don't deinit twice.
7312         API: gst_registry_fork_is_enabled()
7313         API: gst_registry_fork_set_enabled()
7314         API: --gst-disable-registry-fork command line option
7315         Fixes #348918.
7316
7317 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7318
7319         * gst/gst.c: (gst_init):
7320           Fix typo in error message.
7321
7322 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7323
7324         * libs/gst/controller/gstcontroller.h:
7325           fix ABI size-correction
7326
7327         * tests/check/libs/gdp.c: (gst_dp_suite):
7328           make tests that use deprecated API conditional
7329
7330 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7331
7332         * docs/libs/gstreamer-libs-sections.txt:
7333         * libs/gst/controller/gstcontroller.c:
7334         (_gst_controller_get_property), (_gst_controller_set_property),
7335         (_gst_controller_init), (_gst_controller_class_init):
7336         * libs/gst/controller/gstcontroller.h:
7337         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7338         (gst_object_set_control_rate):
7339           API: add gst_object_{s,g}et_control_rate(), add private data section,
7340           fix docs
7341
7342         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7343         * libs/gst/dataprotocol/dataprotocol.h:
7344           add deprecation guards to make gtk-doc happy and allow disabling cruft
7345
7346 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7347
7348         * tests/check/Makefile.am:
7349         * tests/check/gst/.cvsignore:
7350           Let's enable the new unit test as well.
7351
7352 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7353
7354         * configure.ac:
7355         * docs/gst/gstreamer-sections.txt:
7356         * gst/gstconfig.h.in:
7357         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7358         (_gst_info_printf_extension_ptr),
7359         (_gst_info_printf_extension_segment):
7360           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7361           register that lets us easily dump GstSegments into debug
7362           logs (#350419).
7363
7364         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7365         (info_segment_format_printf_extension), (gst_info_suite):
7366           Add simple unit test that logs a bunch of different segments (not
7367           valgrinded at the moment because of leaks in
7368           gst_debug_add_log_function).
7369
7370 2006-08-09  Edward Hervey  <edward@fluendo.com>
7371
7372         * libs/gst/base/gstbasetransform.c:
7373         (gst_base_transform_buffer_alloc):
7374         Even if we can't figure out the proper format to request downstream,
7375         call buffer_alloc() downstream with the input parameters without setting
7376         the caps on the srcpad. This will force negotiation in the chain
7377         function.
7378         Closes #350449
7379
7380 2006-08-08  Edward Hervey  <edward@fluendo.com>
7381
7382         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7383         Unlinking from a pad without a target is now a perfectly valid case
7384         which should NOT raise an assertion.
7385         This case would happen if a linked ghostpad its target set to NULL after
7386         it was previously linked.
7387
7388 2006-08-08  Edward Hervey  <edward@fluendo.com>
7389
7390         * tests/check/libs/gdp.c:
7391         Also comment out the test (see below).
7392
7393 2006-08-08  Edward Hervey  <edward@fluendo.com>
7394
7395         * tests/check/libs/gdp.c: (gst_dp_suite):
7396         Use the architecture information from config.h and not gcc macros
7397         in order to properly disable a test that fails on PPC64.
7398
7399 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7400
7401         * gst/gstelement.c: (gst_element_remove_pad):
7402           Don't crash printing the warning if the pad has no parent.
7403
7404 2006-08-02  Wim Taymans  <wim@fluendo.com>
7405
7406         * libs/gst/dataprotocol/dataprotocol.c:
7407         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7408         (gst_dp_crc), (gst_dp_header_payload_length),
7409         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7410         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7411         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7412         (gst_dp_event_from_packet), (gst_dp_validate_header),
7413         (gst_dp_validate_payload):
7414         Make debug category static
7415         Constify the crc table.
7416         Do some more arg checking in public functions.
7417         Fix some docs and do some small cleanups.
7418
7419         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7420         Add some more checks to see if GDP deals with bogus input.
7421
7422 2006-07-31  Wim Taymans  <wim@fluendo.com>
7423
7424         * gst/gstvalue.c: (gst_value_compare_list):
7425         Fix GstValueList comparison code. Fixes #347293.
7426
7427         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7428         Check to test GstValueList comparison.
7429
7430 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7431
7432         * gst/gstelementfactory.c: (gst_element_factory_create):
7433         Remove unnecessary ref/unref pair
7434
7435         * gst/parse/grammar.y:
7436         Make sure to free the parse buffer on all code paths.
7437         Move a g_free up to the error handler where it's easier to see.
7438
7439         * tests/check/gst/gstevent.c: (test_event):
7440         Extending timeout for downstream travelling events to 10 seconds to
7441         hopefully avoid intermittent failure on the buildbots.
7442
7443         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7444         Don't manually set the state of the src element - it will happen as a
7445         natural consequence of the pipeline changing state, and that way it
7446         will do it in the right order too.
7447
7448 2006-07-31  Wim Taymans  <wim@fluendo.com>
7449
7450         * libs/gst/base/gstbasetransform.c:
7451         (gst_base_transform_buffer_alloc):
7452         Use OBJECT_LOCK and refcounting to get the pad caps in the
7453         buffer_alloc function because the caps could change while we are
7454         busy with them. Fixes #349105
7455
7456 2006-07-31  Wim Taymans  <wim@fluendo.com>
7457
7458         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7459         Protect _PAD_CAPS with OBJECT_LOCK.
7460
7461 2006-07-31  Wim Taymans  <wim@fluendo.com>
7462
7463         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7464         (gst_pad_get_property), (gst_pad_activate_pull),
7465         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7466         (gst_pad_set_activate_function),
7467         (gst_pad_set_activatepull_function),
7468         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7469         (gst_pad_set_getrange_function),
7470         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7471         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7472         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7473         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7474         (gst_pad_set_acceptcaps_function),
7475         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7476         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7477         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7478         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7479         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7480         (gst_pad_configure_sink), (gst_pad_configure_src),
7481         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7482         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7483         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7484         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7485         (gst_pad_send_event):
7486         Use _DEBUG_OBJECT when it makes sense.
7487         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7488         Small cleanups and code reflows.
7489         Avoid caps refcounting in _accept_caps.
7490         Refactor alloc_buffer so that the code performed on the peer is in a
7491         separate function. Also if the pad does not implement a buffer alloc
7492         function, we should still check if the pad is flushing before falling
7493         back to the default allocator.
7494
7495 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7496
7497         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7498         Make all uses of identity and fakesink have silent=true to avoid
7499         serialising every passing data structure, which is breaking tests
7500         on FC4 for some unknown reason.
7501
7502 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7503
7504         * gst/parse/Makefile.am:
7505         * gst/parse/grammar.y:
7506         * gst/parse/parse.l:
7507           Reverted previous patch as it required to bump the flex dependency to
7508           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7509
7510 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7511
7512         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7513
7514         * gst/parse/Makefile.am:
7515         * gst/parse/grammar.y:
7516         * gst/parse/parse.l:
7517           push & pop the state of the lexer for reentrant use case
7518           Fixes #349180
7519
7520 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7521
7522         * libs/gst/base/gstbasesrc.h:
7523           Note in the docs that the ::newsegment vfunc is not actually used by
7524           GstBaseSrc.
7525
7526 2006-07-28  Wim Taymans  <wim@fluendo.com>
7527
7528         * libs/gst/base/gstcollectpads.c:
7529         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7530         (gst_collect_pads_clear), (gst_collect_pads_flush),
7531         (gst_collect_pads_event), (gst_collect_pads_chain):
7532         When flushing a pad, also clear the queued buffer so that we don't
7533         accidentally use it when we shouldn't.
7534         Fix leaks by inreffing incomming buffer.
7535         Flush out queued buffers in case of errors.
7536         Fixes #347452.
7537
7538 2006-07-28  Wim Taymans  <wim@fluendo.com>
7539
7540         * docs/random/phonon-gst:
7541         Random notes about a Phonon backend.
7542
7543 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7544
7545         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7546         Extra debug output
7547         * tests/check/libs/gdp.c: (gst_dp_suite):
7548         Take a whack at fixing the ppc compile using a different define to
7549         disable the broken test.
7550
7551         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7552         Remove excess g_print()
7553
7554 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7555
7556         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7557         Oops, meant to uncomment this line too to dampen the noise a bit.
7558
7559 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7560
7561         * gst/parse/grammar.y:
7562         * gst/parse/parse.l:
7563         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7564         (GST_START_TEST), (parse_suite):
7565         Fix some of the leaks exposed by extending the parse-launch testsuite,
7566         and move the 3 I can't figure out into a separate test that won't run
7567         the pipelines unless the appropriate line is uncommented.
7568
7569 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7570
7571         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7572           Requesting 0 bytes before the end of the file should result in
7573           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7574           unit test.
7575
7576 2006-07-27  Wim Taymans  <wim@fluendo.com>
7577
7578         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7579         Fix useless assert, a uint is always positive.
7580
7581         * gst/gststructure.c: (gst_structure_nth_field_name),
7582         (gst_structure_foreach), (gst_structure_map_in_place):
7583         Check input arguments for public functions to avoid obvious crashes.
7584
7585         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7586         * plugins/elements/gstfakesink.h:
7587         Do less useless typechecking.
7588
7589 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7590
7591         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7592           Do not use mmap() by default since there are a number of error
7593           conditions that we would like to handle in a non-fatal way that
7594           will result in a SIGBUS if we use mmap(). Examples: external
7595           devices (USB harddrive, portable music player) being unplugged
7596           while in use; file on mounted CD/DVD that can't be read because
7597           the medium is partly damaged. Fixes #348455 and #348475.
7598
7599 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7600
7601         * gst/gstquery.h:
7602         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7603         rates are a gdouble
7604
7605 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7606
7607         * gst/gstregistry.c:
7608           Move big documentation comment into class section header, so that it
7609           appears in the API docs.
7610
7611 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7612
7613         * docs/gst/gstreamer-sections.txt:
7614         Oops. Commit the docs additions too for new API.
7615         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7616
7617 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7618
7619         * gst/gststructure.c: (gst_structure_id_set),
7620         (gst_structure_id_set_valist):
7621         * gst/gststructure.h:
7622         Add API for setting values into structures without performing
7623         a quark lookup, if the appropriate quark is already known.
7624
7625         API: gst_structure_id_set
7626         API: gst_structure_id_set_valist
7627
7628         * gst/parse/grammar.y:
7629         * gst/parse/parse.l:
7630         Remove some dead code shown by the coverage information.
7631         Don't throw a critical g_warning when encountering a syntax error,
7632         just warn and let the normal error path handle it.
7633
7634         * plugins/elements/gstelements.c:
7635         Bump the rank of filesink up to PRIMARY so that it is preferred over
7636         gnomevfssink for file:// sink uri's
7637
7638         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7639         (GST_START_TEST), (run_delayed_test),
7640         (gst_parse_test_element_base_init),
7641         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7642         (gst_parse_test_element_change_state),
7643         (gst_register_parse_element), (parse_suite):
7644         Beef up the tests for parse syntax to check that more error cases
7645         fail as they are supposed to. Increases the test coverage a bit.
7646
7647 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7648
7649         * docs/manual/basics-elements.xml:
7650           Fix gst_element_link() example.
7651
7652         * gst/gstutils.c:
7653           Mention in API docs that one should usually gst_bin_add()
7654           elements to a bin or pipeline before doing the linking.
7655           
7656 2006-07-26  Wim Taymans  <wim@fluendo.com>
7657
7658         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7659         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7660         Avoid function call for known types by keeping the buffer and
7661         subbuffer GType global.
7662
7663         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7664         Random silly optimisations in read() path.
7665
7666 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7667
7668         * tools/gst-launch.c: (main):
7669           If the top-level of the parse is a normal bin, it doesn't do the
7670           right logic to run as a top-level element, so place it inside a
7671           pipeline.
7672
7673 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7674
7675         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7676           Remove superfluous g_object_notify() calls, GObject does
7677           that for us automatically.
7678
7679 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7680
7681         * gst/gstinfo.h:
7682           on Win32, use dllspec to export the debug category symbols
7683
7684 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7685
7686         * gst/gsttaglist.c: (_gst_tag_initialize):
7687           Allow more than one GST_TAG_IMAGE per taglist.
7688
7689 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7690
7691         * gst/gstminiobject.c:
7692           update docs
7693         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7694         (gst_fd_src_create):
7695           log recurring events at LOG level
7696           add more debug for when the fd gets set
7697
7698 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7699
7700         * gst/gstparse.c: (gst_parse_launch):
7701           Also remove reentrance checks if flex is MT safe (#348179)
7702          Fix my empty ChangeLog entry below
7703
7704 2006-07-21  Andy Wingo  <wingo@pobox.com>
7705
7706         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7707
7708         * libs/gst/check/Makefile.am
7709         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7710         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7711         * libs/gst/check/gstbufferstraw.h:
7712         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7713         functions, thus proving I am still a GStreamer haxor. OK I wrote
7714         them a long time ago, but anyways.
7715
7716 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7717
7718         * configure.ac:
7719         * gst/gstparse.c: (gst_parse_launch):
7720           Check for flex version and omit mutex if we have a MT save flex
7721           (fixes #348179)
7722
7723 2006-07-21  Wim Taymans  <wim@fluendo.com>
7724
7725         * gst/gstparse.c: (gst_parse_launch):
7726         Protect recursive calls to _parse with a recursive mutex
7727         and busy flag.
7728
7729 2006-07-21  Wim Taymans  <wim@fluendo.com>
7730
7731         * tests/check/gst/gstpad.c: (GST_START_TEST):
7732         Fix leak in test.
7733
7734 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
7735
7736         * gst/gstparse.c: (gst_parse_launch):
7737           Do not hang on recursive usage of gst_parse_launch()
7738
7739 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7740
7741         * gst/gsttaglist.c:
7742           Add some more docs, comments and FIXME 0.11s here and there
7743           and also fix some typos.
7744
7745 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7746
7747         * gst/gstsegment.h:
7748           Convert tabs to spaces for better readability. 
7749
7750 2006-07-20  Edward Hervey  <edward@fluendo.com>
7751
7752         * tests/check/libs/gdp.c: (gst_dp_suite):
7753         the test_buffer test fails at line 140 on ppc64 at the following
7754         check:
7755         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7756                 GST_BUFFER_FLAG_IN_CAPS),
7757                 "GST_BUFFER_IN_CAPS flag should have been copied !");
7758         See bug #348114 for more details.
7759
7760 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
7761
7762         * docs/pwg/advanced-scheduling.xml:
7763         * gst/gstpad.c:
7764           Fix typos (#348000).
7765
7766 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
7767
7768         * docs/pwg/intro-basics.xml:
7769           Fix wrong links (#347927).
7770
7771 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
7772
7773         * gst/gstregistry.h:
7774         * gst/gstregistryxml.c: (load_feature),
7775         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7776         * win32/common/config.h:
7777           make --disable-index work (#342564)
7778
7779 2006-07-18  Wim Taymans  <wim@fluendo.com>
7780
7781         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7782
7783         * gst/Makefile.am:
7784         * gst/gsttrace.h:
7785         The attached patch adds two missing defines to gsttrace.h when tracing
7786         is disabled.  It also corrects one existing define.
7787         Fixes #347756.
7788
7789 2006-07-17  Wim Taymans  <wim@fluendo.com>
7790
7791         * docs/gst/gstreamer-sections.txt:
7792         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7793         * gst/gst.h:
7794         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7795         Add two functions to check and change the SIGSEGV behaviour
7796         when loading plugins.
7797         Don't mess with the SIGSEGV handler when we were told not to.
7798         Fixes #347794.
7799         API: gst_segtrap_is_enabled
7800         API: gst_segtrap_set_enabled
7801
7802 2006-07-14  Wim Taymans  <wim@fluendo.com>
7803
7804         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7805         * tests/check/elements/filesrc.c: (GST_START_TEST):
7806         Revert fix for regression in #347408 after release.
7807
7808 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
7809
7810         Patch by: Antoine Tremblay <hexa00 at gmail com>
7811
7812         * gst/gstutils.c: (gst_element_unlink):
7813           Free iterator when done (#347311).
7814
7815         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7816           And add a test case for this.
7817
7818 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
7819
7820         * configure.ac:
7821         Bump nano back to CVS
7822
7823 === release 0.10.9 ===
7824
7825 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
7826
7827         * configure.ac:
7828           releasing 0.10.9, "On the road again"
7829
7830 2006-07-13  Wim Taymans  <wim@fluendo.com>
7831
7832         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7833         * tests/check/elements/filesrc.c: (GST_START_TEST):
7834         Revert pull-0 fix for release. Disable check. Fixes #347408.
7835
7836 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7837
7838         * libs/gst/dataprotocol/dataprotocol.c:
7839         (gst_dp_event_from_packet_1_0):
7840           Fixes #347337: failure to deserialize event packets with
7841           empty payload (only event type)
7842
7843 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7844
7845         * gst/Makefile.am:
7846           do not install a .c file in the header directory
7847
7848 2006-07-13  Edward Hervey  <edward@fluendo.com>
7849
7850         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7851         GhostPad no longer implicitely use the padtemplates of the targets.
7852         Fixes #347384
7853
7854 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
7855
7856         * gst/gstvalue.c: (gst_value_compare_list),
7857         (gst_value_compare_array), (_gst_value_initialize):
7858         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7859         Make GstValueArray comparison be order dependent as designed.
7860         Add checks for value lists and value array comparisons.
7861         Fixes #347221
7862
7863 2006-07-11  Edward Hervey  <edward@fluendo.com>
7864
7865         * gst/gstbin.c: (activate_pads),
7866         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7867         (gst_bin_change_state_func):
7868         (de)activate src pads before calling state_change on the childs.
7869         This is to avoid the case where a src ghostpad is blocked (holding the
7870         stream lock), which would block the deactivation of the ghostpad's
7871         target pad.
7872         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7873         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7874         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7875         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7876         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7877         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7878         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7879         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7880         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7881         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7882         (gst_ghost_pad_class_init),
7883         (gst_ghost_pad_internal_do_activate_push),
7884         (gst_ghost_pad_internal_do_activate_pull),
7885         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7886         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7887         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7888         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7889         GhostPads now create their internal GstProxyPad at creation (and not
7890         when they're linked, as it was being done previously).
7891         The internal and target pads are linked straight away.
7892         The data will also travel through the other pad in order to make
7893         pad blocking and probes non-hackish (the probe/block now really happens
7894         on the GhostPad and not on the target).
7895         * gst/gstpad.c: (gst_pad_set_blocked_async),
7896         (gst_pad_link_prepare), (gst_pad_push_event):
7897         Remove previous ghostpad cruft.
7898         * gst/gstutils.c: (gst_pad_add_data_probe),
7899         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7900         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7901         (gst_pad_remove_buffer_probe):
7902         Remove previous ghost pad cruft.
7903         Added more detailed debug statements.
7904         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7905         Fix the testsuite for refcounting changes.
7906         The comments about who has references were correct, but the refcount
7907         being checked wasn't the same (!?!).
7908
7909         Fixes #341029
7910
7911 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7912
7913         * docs/gst/gstreamer-sections.txt:
7914         * gst/gstconfig.h.in:
7915         More docs for configuration options, add docs to gtk-doc.
7916
7917 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7918
7919         * gst/Makefile.am:
7920         * gst/gstconfig.h.in:
7921         * win32/common/config.h:
7922         Fix build when disabling tracing (fixes #344016). Also start to document
7923         the defines that disable the sub-systems.
7924
7925 2006-07-10  Edward Hervey  <edward@fluendo.com>
7926
7927         * gst/gst.c: (ensure_current_registry_forking):
7928         let's make valgrind happy...
7929
7930 2006-07-09  Wim Taymans  <wim@fluendo.com>
7931
7932         * gst/gstelement.c: (activate_pads),
7933         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7934         Better pad activation code: Reset the collect value too on resync.
7935         Add some comments.
7936
7937 2006-07-09  Wim Taymans  <wim@fluendo.com>
7938
7939         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7940         (gst_pad_activate_push):
7941         Use some more macros where it makes sense.
7942         Allow pad mode switching instead of asserting. When a pad
7943         is activated in one mode and we activate it in another, 
7944         deactivate it first before activating it in a different mode.
7945         Fixes #329198.
7946
7947 2006-07-08  Andy Wingo  <wingo@pobox.com>
7948
7949         * tools/gst-launch.c (main): Handle err == NULL.
7950
7951         * gst/gst.c (init_post, ensure_current_registry)
7952         (ensure_current_registry_forking)
7953         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7954         factoring out the registry scanning into separate functions. Don't
7955         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7956         Better environment var name/interface suggestions accepted.
7957
7958 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7959
7960         * gst/gstobject.c: (gst_object_set_name_default),
7961         (gst_object_set_name):
7962           Random micro-optimisation: don't use a hash table
7963           with strings as keys and the usual strdup/strcmp
7964           involved, but rather just use the GQuark of the
7965           type name as key, since it needs to be looked up
7966           anyway to get the type name string.
7967
7968         * tests/check/gst/gstobject.c: (GST_START_TEST):
7969           Fix various leaks.
7970
7971 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7972
7973         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7974         (gst_bin_iterate_all_by_interface):
7975           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7976           GTypes are gulongs and thus the top 4 bytes might be cut
7977           off on some platforms when doing GPOINTER_TO_INT, leading
7978           to invalid GTypes and bad things happening (see RH bug #179654).
7979           Also add a check to make sure the type passed in is really
7980           an interface type.
7981
7982 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7983
7984         * .cvsignore:
7985           Ignore more.
7986
7987 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7988
7989         * Makefile.am:
7990         * configure.ac:
7991         * gst-element-check.m4:
7992         * gst-element-check.m4.in:
7993           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7994           instead of the unversioned gst-inspect (#324176, #168659).
7995
7996 2006-07-06  Wim Taymans  <wim@fluendo.com>
7997
7998         * gst/gstmessage.h:
7999         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8000         warnings.
8001
8002 2006-07-06  Wim Taymans  <wim@fluendo.com>
8003
8004         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8005         (gst_base_src_wait), (gst_base_src_update_length),
8006         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8007         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8008         (gst_base_src_loop), (gst_base_src_start),
8009         (gst_base_src_activate_pull):
8010         Update docs.
8011         blocksize == 0 now means the default blocksize when working in push
8012         based mode.
8013         Remove some pointless asserts in _wait function.
8014         Fix offset/length calculations and EOS handling. We can now pull 0
8015         bytes as well, which is allowed.
8016         use _check_get_range() to decide if we can operate in _pull based
8017         mode.
8018         Fix refcounting leak when check_get_range function was not 
8019         implemented.
8020         API GstBaseSrc::blocksize range can be 0 too now (default)
8021
8022         * tests/check/elements/filesrc.c: (GST_START_TEST),
8023         (filesrc_suite):
8024         Added check to test _get_range() behaviour.
8025
8026 2006-07-06  Wim Taymans  <wim@fluendo.com>
8027
8028         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8029         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8030         (gst_pad_pull_range):
8031         * gst/gstpad.h:
8032         Lots of comments and docs added to the pad functions.
8033         Flesh out the expected behaviour of the get_range() functions.
8034
8035 2006-07-06  Wim Taymans  <wim@fluendo.com>
8036
8037         * gst/gstbus.h:
8038         * gst/gstclock.h:
8039         * gst/gstevent.h:
8040         * gst/gstiterator.h:
8041         * gst/gstpad.h:
8042         * gst/gstplugin.h:
8043         * gst/gsttask.h:
8044         Remove comma at end of enumerator list. 
8045
8046 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8047
8048         * win32/common/libgstbase.def:
8049         * win32/common/libgstdataprotocol.def:
8050         * win32/common/libsgtreamer.def:
8051         Add new exported functions.
8052
8053 2006-07-05  Wim Taymans  <wim@fluendo.com>
8054
8055         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8056         Add some more docs here and there.
8057
8058 2006-07-05  Wim Taymans  <wim@fluendo.com>
8059
8060         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8061         (gst_base_sink_loop), (gst_base_sink_get_position):
8062         When operating in pull mode update the offset so that we
8063         read sequentially.
8064
8065 2006-07-05  Wim Taymans  <wim@fluendo.com>
8066
8067         * gst/gstregistryxml.c: (read_string):
8068         Avoid strdup. (will happen in libxml, but hey!)
8069
8070         * gst/gsturi.c:
8071         Add some more docs.
8072
8073 2006-07-05  Wim Taymans  <wim@fluendo.com>
8074
8075         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8076         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8077         (gst_buffer_suite):
8078         No point in checking if the size of the subbuffer > 0, the
8079         code handles it correclty as demonstrated by unit test.
8080         Also add a unit test for the zero sized _new_and_alloc and
8081         _copy. Fixes #346663.
8082
8083 2006-07-05  Wim Taymans  <wim@fluendo.com>
8084
8085         * libs/gst/base/gstbasetransform.c:
8086         (gst_base_transform_prepare_output_buffer),
8087         (gst_base_transform_buffer_alloc),
8088         (gst_base_transform_handle_buffer):
8089         Make sure the buffer we pass to transform_ip has a refcount of
8090         1 and thus is writable. Fixes #343196
8091
8092 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8093
8094         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8095         (gst_file_src_init), (gst_file_src_set_property),
8096         (gst_file_src_get_property), (gst_file_src_map_region):
8097         * plugins/elements/gstfilesrc.h:
8098         Add "sequential" property, off by default, to use madvise and hint
8099         to the kernel that sequential access is desired.
8100         Touch all retrieved pages by default to ensure they are pulled
8101         into memory. (Closes #345720)
8102
8103 2006-07-03  Wim Taymans  <wim@fluendo.com>
8104
8105         * docs/design/part-block.txt:
8106         * docs/design/part-dynamic.txt:
8107         Small docs updates.
8108
8109 2006-07-03  Wim Taymans  <wim@fluendo.com>
8110
8111         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8112         (gst_caps_unref), (gst_static_caps_get),
8113         (gst_caps_append_structure):
8114         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8115         Use GSlice when the glib we build against is >= 2.10
8116
8117 2006-07-03  Wim Taymans  <wim@fluendo.com>
8118
8119         * gst/gstelement.c: (gst_element_pads_activate):
8120         Small cleanup in pad activation code.
8121
8122 2006-07-03  Wim Taymans  <wim@fluendo.com>
8123
8124         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8125
8126         * gst/gst-i18n-app.h:
8127         * gst/gst-i18n-lib.h:
8128         * tools/gst-inspect.c: (print_signal_info):
8129         The attached patch will make the inclusion of gettext.h unconditional in
8130         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8131         libintl.h in tools/gst-inspect.c.
8132         This allows use of --disable-nls again and fixes #344642.
8133
8134 2006-07-03  Edward Hervey  <edward@fluendo.com>
8135
8136         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8137         Implement pad blocking on events according to part-block.txt.
8138         More comments on behaviour.
8139         * tests/check/gst/gstevent.c: (test_event):
8140         Send event to peer pad of blocked pad (else it will block).
8141
8142 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8143
8144         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8145         (gst_check_run_suite):
8146           if we get the wrong message, give us the types as string
8147         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8148           Fix a translatable
8149         * tests/check/elements/filesrc.c: (GST_START_TEST):
8150           add a test for trying to open a non-existing file
8151
8152 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8153
8154         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8155           add a test for adding self
8156
8157 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8158
8159         * libs/gst/check/gstcheck.h:
8160           add some assert_ as alias for fail_unless_*
8161         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8162           increase test coverage
8163
8164 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8165
8166         * Makefile.am:
8167           include lcov.mak for lcov coverage generation
8168         * tools/Makefile.am:
8169           add to CLEANFILES
8170
8171 2006-07-02  Edward Hervey  <edward@fluendo.com>
8172
8173         * tests/check/elements/.cvsignore:
8174         moaping
8175
8176 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8177
8178         * configure.ac:
8179           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8180         * tests/check/Makefile.am:
8181           clean up gcov files
8182
8183 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8184
8185         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8186           remove gst_caps_simplify; it was not declared and not used
8187           and deprecated in 0.8
8188
8189 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8190
8191         * docs/faq/gst-uninstalled:
8192           don't put empty paths on PYTHONPATH
8193         * docs/gst/gstreamer-sections.txt:
8194           remove some symbols that are not there
8195
8196 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8197
8198         * gst/gstcaps.c: (gst_caps_compare_structures):
8199           whitespace fixes
8200         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8201         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8202           add more tests
8203
8204 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8205
8206         * libs/gst/dataprotocol/Makefile.am:
8207           build dataprotocol test by linking to the lib, instead of
8208           compiling the source, so we get coverage
8209         * tests/check/Makefile.am:
8210         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8211         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8212           add a test for filesrc
8213
8214 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8215
8216         * tests/check/gst/gststructure.c: (GST_START_TEST),
8217         (gst_structure_suite):
8218           Push coverage from 59.04% to 70.00%
8219
8220 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8221
8222         * tests/check/Makefile.am:
8223           gst-inspect every element; this makes sure that we also get
8224           coverage on element's get/set functions
8225
8226 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8227
8228         * configure.ac:
8229           set CFLAGS and friends to -O0 if gcov is being used
8230           add GCOV LIBS
8231         * gst/Makefile.am:
8232         * libs/gst/base/Makefile.am:
8233         * libs/gst/check/Makefile.am:
8234         * libs/gst/controller/Makefile.am:
8235         * libs/gst/dataprotocol/Makefile.am:
8236         * libs/gst/net/Makefile.am:
8237         * plugins/elements/Makefile.am:
8238         * plugins/indexers/Makefile.am:
8239           add makefile rules to generate gcov data and clean up
8240         * tests/check/Makefile.am:
8241           add a coverage target that generates an html overview
8242           of coverage data
8243
8244 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8245
8246         * tests/check/elements/fakesink.c:
8247         * tests/check/elements/fakesrc.c:
8248         * tests/check/elements/fdsrc.c:
8249         * tests/check/elements/identity.c:
8250         * tests/check/generic/sinks.c: (gst_sinks_suite):
8251         * tests/check/generic/states.c:
8252         * tests/check/gst/gst.c:
8253         * tests/check/gst/gstabi.c:
8254         * tests/check/gst/gstbin.c:
8255         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8256         * tests/check/gst/gstbus.c: (gst_bus_suite):
8257         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8258         * tests/check/gst/gstelement.c:
8259         * tests/check/gst/gstevent.c: (gst_event_suite):
8260         * tests/check/gst/gstghostpad.c:
8261         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8262         * tests/check/gst/gstmessage.c: (gst_message_suite):
8263         * tests/check/gst/gstminiobject.c:
8264         * tests/check/gst/gstobject.c:
8265         * tests/check/gst/gstpad.c:
8266         * tests/check/gst/gstpipeline.c:
8267         * tests/check/gst/gstplugin.c:
8268         * tests/check/gst/gstquery.c: (gst_query_suite):
8269         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8270         * tests/check/gst/gststructure.c:
8271         * tests/check/gst/gstsystemclock.c:
8272         * tests/check/gst/gsttag.c:
8273         * tests/check/gst/gsttask.c: (gst_task_suite):
8274         * tests/check/gst/gstutils.c:
8275         * tests/check/gst/gstvalue.c:
8276         * tests/check/libs/adapter.c:
8277         * tests/check/libs/basesrc.c:
8278         * tests/check/libs/collectpads.c:
8279         * tests/check/libs/controller.c:
8280         * tests/check/libs/gdp.c: (gst_dp_suite):
8281         * tests/check/libs/gstnetclientclock.c:
8282         * tests/check/libs/gstnettimeprovider.c:
8283         * tests/check/libs/libsabi.c: (libsabi_suite):
8284         * tests/check/libs/typefindhelper.c:
8285         * tests/check/pipelines/cleanup.c:
8286         * tests/check/pipelines/parse-launch.c:
8287         * tests/check/pipelines/simple-launch-lines.c:
8288         * tests/check/pipelines/stress.c: (stress_suite):
8289           use the new macro
8290
8291 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8292
8293         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8294         * libs/gst/check/gstcheck.h:
8295           create a macro and function so that the simple unit test
8296           case can be just one macro to create main()
8297
8298 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8299
8300         * gst/gstbin.c: (gst_bin_restore_thyself):
8301         * gst/gstxml.c: (gst_xml_make_element):
8302           Fix deserialisation from XML. Set parent manually
8303           instead of using gst_bin_add(), since gst_bin_add()
8304           will unlink all pads of the element being added.
8305           Fixes #341667.
8306
8307 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8308
8309         Patch by: Peter Kjellerstedt <pkj at axis com>
8310
8311         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8312           Fix missing g_strdup() and double free when using the
8313           --gst-plugin-load command line option (#346097).
8314
8315 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8316
8317         * gst/gstinfo.c:
8318           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8319
8320         * libs/gst/net/gstnetclientclock.c:
8321         * libs/gst/net/gstnettimeprovider.c:
8322           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8323
8324 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8325
8326         * docs/manual/advanced-dataaccess.xml:
8327           Fix buffer probe example compilation in
8328           ADM (#345708).
8329         
8330 2006-06-22  Edward Hervey  <edward@fluendo.com>
8331
8332         * gst/gstelement.c: (gst_element_pads_activate):
8333         We need to deactivate src pads first and then sink pads.
8334         The reason is the src pads might be blocking while holding the streaming
8335         lock, so we need to deactivate them first so that deactivating the sink
8336         pads doesn't block (since it will require the streaming lock).
8337
8338 2006-06-22  Wim Taymans  <wim@fluendo.com>
8339
8340         * libs/gst/base/gstbasetransform.c:
8341         (gst_base_transform_buffer_alloc):
8342         Forgot to remove two unneeded unrefs.
8343         Simplify a check _is_equal allready checks the obvious case.
8344
8345 2006-06-22  Wim Taymans  <wim@fluendo.com>
8346
8347         * docs/design/part-block.txt:
8348         Some docs about what pad_block should do.
8349
8350 2006-06-22  Wim Taymans  <wim@fluendo.com>
8351
8352         * gst/gstcaps.c: (gst_caps_replace):
8353         Fix crasher when passed NULL. Doc clarification.
8354         Optimize for the trivial case.
8355
8356         * gst/gstpipeline.c: (gst_pipeline_change_state):
8357         Small cleanups.
8358
8359         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8360         Small documentation cleanup.
8361
8362         * libs/gst/base/gstbasetransform.c:
8363         (gst_base_transform_buffer_alloc):
8364         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8365         is what we need and it avoids a whole lot of redundant 
8366         refcount operations.
8367
8368 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8369
8370         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8371
8372         * docs/manual/advanced-dataaccess.xml:
8373           Fix 'Embedding static elements' section to use
8374           GST_PLUGIN_DEFINE_STATIC (#345607).
8375
8376 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8377
8378         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8379           Attempt to 'fix' spuriously failing test case: it seems like the
8380           timeout of half a second is simply too small when the system is under
8381           load otherwise, and the timeout doesn't really seem to serve any
8382           particular purpose here. Give the pipeline a few seconds to preroll
8383           first, and then give it another half a second to go from PAUSED to
8384           PLAYING and marshal the message into the main thread.
8385
8386 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8387
8388         * tools/gst-feedback-m.m:
8389           Don't only use unversioned tools, try versioned tools as well
8390           (#345086).
8391
8392 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8393
8394         * gst/gstbus.c: (gst_bus_class_init):
8395           Fix some typos, make docs more explicit.
8396
8397 2006-06-20  Wim Taymans  <wim@fluendo.com>
8398
8399         * tests/check/gst/gstghostpad.c: (block_callback),
8400         (GST_START_TEST), (gst_ghost_pad_suite):
8401         Added some more ghostpad tests, mainly blocking
8402         and probes.
8403
8404 2006-06-16  Wim Taymans  <wim@fluendo.com>
8405
8406         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8407         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8408         (gst_file_sink_event), (gst_file_sink_render):
8409         * plugins/elements/gstfilesink.h:
8410         Check if we can seek in the file instead of assuming
8411         we always can. Post an error when we are asked to seek in a
8412         non-seekable file (like a fifo). Fixes #343312.
8413         Some cleanups.
8414
8415 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8416
8417         * tools/gst-launch.1.in:
8418           Un-garble (fourcc) bit in filtered caps section.
8419
8420 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8421
8422         * docs/manual/advanced-autoplugging.xml:
8423         * docs/manual/basics-helloworld.xml:
8424         * docs/manual/highlevel-components.xml:
8425           Don't leak bus reference in sample code.
8426
8427 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8428
8429         * autogen.sh:
8430           Add default for new --enable-plugin-docs switch.
8431
8432         * configure.ac:
8433           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8434           Fixes #344039.
8435
8436         * docs/Makefile.am:
8437           Use new ENABLE_PLUGIN_DOCS conditional.
8438
8439 2006-06-14  Wim Taymans  <wim@fluendo.com>
8440
8441         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8442         Make it clear with a FIXME and a real define what the #if 0
8443         previously disabled.
8444
8445 2006-06-14  Wim Taymans  <wim@fluendo.com>
8446
8447         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8448         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8449         * libs/gst/base/gstbasetransform.c:
8450         (gst_base_transform_sink_eventfunc):
8451         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8452         Don't randomly and silently reset a segment when the format 
8453         changes as this is a bug somewhere upstream. Fixes #330379.
8454
8455 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8456
8457         Patch by: Wouter Paesen  <wouter at kangaroot net>
8458
8459         * libs/gst/controller/gstcontroller.c:
8460         (gst_controlled_property_new):
8461           Fix controlling of float properties (#344849).
8462
8463         * tests/check/libs/controller.c:
8464         (gst_test_mono_source_get_property),
8465         (gst_test_mono_source_set_property),
8466         (gst_test_mono_source_class_init), (GST_START_TEST):
8467           While we're at it, add some float stuff to unit test.
8468
8469 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8470
8471         * docs/README:
8472         * docs/images/gdp-header.svg:
8473           add a gdp image
8474         * docs/libs/Makefile.am:
8475         * docs/libs/gdp-header.png:
8476         * libs/gst/dataprotocol/dataprotocol.c:
8477           add it to the API docs
8478         * docs/manual/intro-motivation.xml:
8479           fix typo
8480
8481 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8482
8483         * gst/gst.c: (scan_and_update_registry), (init_post):
8484           If the fork()'ed child process can't write the updated registry cache
8485           file to disk for some reason, make it exit with a failure exit code,
8486           so that the parent can then re-scan the plugins itself and update the
8487           registry structures in memory and work with that (rather than failing
8488           when creating elements because seemingly no plugins are available).
8489           Refactor registry scanning code into separate function for this and
8490           also separate fork() and non-fork() code paths. Fixes #344748.
8491
8492 2006-06-13  Wim Taymans  <wim@fluendo.com>
8493
8494         * docs/manual/advanced-dataaccess.xml:
8495         Fix wrong PluginDesc. Fixes #344755.
8496
8497 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8498
8499         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8500           Fix silly bug that prevented us from creating
8501           ~/.gstreamer-0.10 and writing the registry in one
8502           go (the first call to g_mkstemp() would overwrite the
8503           placeholder in the template string, so the second call
8504           to g_mkstemp() after creating the missing directory
8505           would then error out with 'invalid argument').
8506
8507 2006-06-13  Edward Hervey  <edward@fluendo.com>
8508
8509         * gst/gst.c: (init_post):
8510         Free string.
8511
8512 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8513
8514         * gst/glib-compat-private.h:
8515         * gst/glib-compat.c:
8516         * gst/glib-compat.h:
8517         * gst/gstvalue.c: (gst_value_serialize_flags):
8518           remove GLib 2.6 compatibility code
8519
8520 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8521
8522         * gst/parse/Makefile.am:
8523           Fix build with 'make -j N' even more (#340016).
8524
8525 2006-06-12  Wim Taymans  <wim@fluendo.com>
8526
8527         * docs/gst/gstreamer-sections.txt:
8528         Fix docs.
8529
8530 2006-06-12  Wim Taymans  <wim@fluendo.com>
8531
8532         * gst/gstsegment.c: (gst_segment_set_duration),
8533         (gst_segment_set_last_stop), (gst_segment_set_seek),
8534         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8535         (gst_segment_to_running_time), (gst_segment_clip):
8536         Use G_UNLIKELY to help the compiler a bit.
8537
8538 2006-06-12  Wim Taymans  <wim@fluendo.com>
8539
8540         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8541
8542         * gst/gstevent.c: (gst_event_get_type):
8543         * gst/gstmessage.c:
8544         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8545         (gst_pad_push):
8546         constify quark registration strings. Fixes #344115
8547         Avoid unneeded type checking is _pad_push() by internally
8548         calling gst_pad_chain_unchecked().
8549
8550 2006-06-12  Wim Taymans  <wim@fluendo.com>
8551
8552         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8553         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8554         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8555         (gst_buffer_is_span_fast), (gst_buffer_span):
8556         Init _type for consistency.
8557         Use _FLAGS macro to avoid type check.
8558         Avoid unneeded type checks in subbufer code.
8559
8560 2006-06-12  Wim Taymans  <wim@fluendo.com>
8561
8562         * gst/gst.c: (gst_debug_help):
8563         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8564         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8565         (gst_plugin_feature_list_free):
8566         * gst/gstregistry.c: (gst_registry_add_plugin),
8567         (gst_registry_add_feature), (gst_registry_plugin_filter),
8568         (gst_registry_feature_filter), (gst_registry_find_plugin),
8569         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8570         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8571         * gst/gstregistryxml.c: (load_feature),
8572         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8573         * gst/gstminiobject.c: (gst_mini_object_unref),
8574         (gst_mini_object_replace), (gst_value_mini_object_free),
8575         (gst_value_mini_object_copy):
8576         Use _CAST macros to avoid unneeded type checking.
8577         Added some more G_UNLIKELY.
8578
8579 2006-06-12  Wim Taymans  <wim@fluendo.com>
8580
8581         * gst/gstbuffer.h:
8582         Avoid unneeded type checking.
8583         API: GST_BUFFER_IS_DISCONT
8584
8585         * gst/gstminiobject.h:
8586         Avoid type check in flag accessor.
8587
8588         * gst/gstelementfactory.h:
8589         * gst/gstplugin.h:
8590         * gst/gstpluginfeature.h:
8591         Add _CAST macros.
8592         API: GST_ELEMENT_FACTORY_CAST
8593         API: GST_PLUGIN_CAST
8594         API: GST_PLUGIN_FEATURE_CAST
8595
8596 2006-06-12  Wim Taymans  <wim@fluendo.com>
8597
8598         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8599         (gst_object_unref):
8600         Add G_UNLIKELY in type registration.
8601         Avoid type check in _ref/_unref since that is also
8602         done in glib.
8603
8604 2006-06-12  Wim Taymans  <wim@fluendo.com>
8605
8606         * gst/gsterror.c: (gst_g_error_get_type):
8607         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8608         (gst_static_pad_template_get_type):
8609         * gst/gsttaglist.c: (gst_tag_list_get_type):
8610         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8611         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8612         * gst/gsturi.c: (gst_uri_handler_get_type):
8613         * gst/gstvalue.c: (gst_date_get_type):
8614         * gst/gstxml.c: (gst_xml_get_type):
8615         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8616         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8617         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8618         Add G_UNLIKELY in type registration.
8619
8620 2006-06-12  Wim Taymans  <wim@fluendo.com>
8621
8622         * tools/gst-inspect.c: (print_signal_info):
8623         Properly print enum values.
8624
8625 2006-06-12  Wim Taymans  <wim@fluendo.com>
8626
8627         * gst/gstinfo.c: (gst_debug_set_active),
8628         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8629         * gst/gstinfo.h:
8630         Add some G_[UN]LIKELY.
8631         Maintain __gst_debug_min to avoid formatting the arguments of
8632         debug messages that will be dropped anyway to avoid a lot of 
8633         overhead from the debugging system.
8634
8635 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8636
8637         * po/POTFILES.in:
8638         * po/POTFILES.skip:
8639           add missing files containing translatable strings, tell intltool about
8640           one exception
8641
8642 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8643
8644         * tests/check/libs/.cvsignore:
8645         add test-binary to ignore list
8646
8647 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8648
8649         * docs/libs/gstreamer-libs-docs.sgml:
8650         reorder (put dp into a chapter) and indent
8651
8652 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8653
8654         * configure.ac:
8655           back to HEAD
8656
8657 === release 0.10.8 ===
8658
8659 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8660
8661         * configure.ac:
8662           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8663
8664 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8665
8666         * gst/gst.c: (init_post):
8667           move pid declaration to declaration block
8668
8669 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8670
8671         * gst/gst.c: (init_post):
8672           use _exit() instead of exit() in our forked child; this ensures
8673           that none of the registered exit handlers from whatever is using
8674           GStreamer get executed.  This fixes gnome-mixer-applet failing
8675           to load, because ORBit would shut down.
8676           Spotted by: Edward Hervey  <edward@fluendo.com>
8677           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8678           Fixes #344474
8679
8680 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8681
8682         * configure.ac:
8683           back to TRUNK
8684
8685 === release 0.10.7 ===
8686
8687 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8688
8689         * configure.ac:
8690           releasing 0.10.7, "Soepeke, ik zie ou"
8691
8692 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8693
8694         * configure.ac:
8695         * po/af.po:
8696         * po/az.po:
8697         * po/bg.po:
8698         * po/ca.po:
8699         * po/cs.po:
8700         * po/de.po:
8701         * po/en_GB.po:
8702         * po/fr.po:
8703         * po/it.po:
8704         * po/nb.po:
8705         * po/nl.po:
8706         * po/ru.po:
8707         * po/sq.po:
8708         * po/sr.po:
8709         * po/sv.po:
8710         * po/tr.po:
8711         * po/uk.po:
8712         * po/vi.po:
8713         * po/zh_CN.po:
8714         * po/zh_TW.po:
8715         * win32/common/config.h:
8716           0.10.6.2 prerelease
8717
8718 2006-06-07  Wim Taymans  <wim@fluendo.com>
8719
8720         * gst/gstindex.c: (gst_index_gtype_resolver):
8721         * tools/gst-xmlinspect.c: (print_plugin_info):
8722         Fix leak spotted by coverity checker. Fixes #343827
8723         Fix another other leak found by paolo borelli.
8724
8725 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8726
8727         * libs/gst/dataprotocol/dataprotocol.c:
8728         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8729         (gst_dp_version_get_type), (gst_dp_init),
8730         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8731         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8732         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8733         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8734         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8735         (gst_dp_packetizer_free):
8736         * libs/gst/dataprotocol/dataprotocol.h:
8737           API: add a GstDPPacketizer object, and create/free functions
8738           API: add GstDPVersion enum
8739           Add 1.0 event function that uses the string serialization
8740           Serialize more useful buffer flags
8741           Fixes #343988
8742
8743 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8744
8745         * tests/check/Makefile.am:
8746         * tests/check/gst/gstabi.c:
8747         * tests/check/gst/struct_ppc64.h:
8748         * tests/check/libs/libsabi.c:
8749         * tests/check/libs/struct_ppc64.h:
8750           add ppc64 structure sizes
8751
8752 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8753
8754         * tests/check/Makefile.am:
8755         * tests/check/gst/gstabi.c:
8756         * tests/check/gst/struct_x86_64.h:
8757         * tests/check/libs/libsabi.c:
8758         * tests/check/libs/struct_x86_64.h:
8759           generate and add structure size lists for x86_64
8760
8761 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8762
8763         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8764         * libs/gst/check/gstcheck.h:
8765           factor out the method from tests that checks size of structures,
8766           and add code to generate the header containing these sizes
8767         * tests/check/gst/gstabi.c: (GST_START_TEST):
8768         * tests/check/gst/struct_i386.h:
8769         * tests/check/libs/libsabi.c: (GST_START_TEST):
8770         * tests/check/libs/struct_i386.h:
8771           use it
8772
8773 2006-06-06  Michael Smith  <msmith@fluendo.com>
8774
8775         * gst/gstsegment.h:
8776           Don't use c++-style comments, fixes #343929
8777
8778 2006-06-05  Edward Hervey  <edward@fluendo.com>
8779
8780         * gst/gst.c:
8781         plugin_paths is not used if we build without registry support.
8782
8783         * gst/gstsegment.c: (gst_segment_copy): 
8784         _copy() was always returning NULL...
8785
8786 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8787
8788         * libs/gst/dataprotocol/dataprotocol.c:
8789         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8790         (gst_dp_packet_from_event):
8791           factor out CRC code
8792
8793 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8794
8795         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8796           make sure we unset caps
8797
8798 2006-06-02  Michael Smith  <msmith@fluendo.com>
8799
8800         * libs/gst/check/gstcheck.c: (gst_check_init),
8801         (gst_check_chain_func):
8802         * libs/gst/check/gstcheck.h:
8803           Add a cond/mutex to the check support lib, signal this whenever we
8804           add to the buffers list. This will allow tests to not busy-wait on
8805           the buffer-list.
8806
8807 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8808
8809         * libs/gst/dataprotocol/dataprotocol.c:
8810         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8811         (gst_dp_packet_from_event):
8812           factor out some common header init code
8813
8814 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8815
8816         * docs/libs/gstreamer-libs-sections.txt:
8817         * docs/libs/tmpl/gstdataprotocol.sgml:
8818         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8819         * libs/gst/dataprotocol/dataprotocol.h:
8820           API: make gst_dp_crc() public
8821
8822 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8823
8824         * plugins/indexers/gstindexers.c: (plugin_init):
8825         conditionally register fileindexer (fixes #343598)
8826
8827 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8828
8829         * gst/gsttagsetter.h:
8830         Can't cast ifaces to a class
8831
8832         * libs/gst/net/gstnetclientclock.h:
8833         * libs/gst/net/gstnettimeprovider.h:
8834         * plugins/elements/gstfakesink.h:
8835         * plugins/elements/gstfakesrc.h:
8836         * plugins/elements/gstfdsink.h:
8837         * plugins/elements/gstfdsrc.h:
8838         * plugins/elements/gstfilesink.h:
8839         * plugins/elements/gstfilesrc.h:
8840         * plugins/elements/gstidentity.h:
8841         * plugins/elements/gstqueue.h:
8842         * plugins/elements/gsttee.h:
8843         * plugins/indexers/gstfileindex.c:
8844         * plugins/indexers/gstmemindex.c:
8845         * tests/old/examples/plugins/example.h:
8846         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8847
8848 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8849
8850         * libs/gst/dataprotocol/dataprotocol.c:
8851         (gst_dp_header_from_buffer):
8852           make sure we zero the whole ABI-compatible area
8853
8854 2006-06-01  Wim Taymans  <wim@fluendo.com>
8855
8856         Patch by: Alessandro Decina <alessandro at nnva dot org>
8857
8858         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8859         Make sure the EOS flag is cleared from pads after a flush
8860         or stop. Fixes #343538.
8861
8862         * tests/check/libs/collectpads.c: (GST_START_TEST),
8863         (gst_collect_pads_suite):
8864         Added test for collectpads reusage after EOS.
8865
8866 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
8867
8868         * gst/gst.c:
8869          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8870         * win32/common/libgstbase.def:
8871          export gst_collect_pads_set_flushing
8872         * win32/common/libgstreamer.def:
8873          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8874          gst_value_fraction_multiply
8875         * win32/vs6/gst_inspect.dsp:
8876          add a link to intl.lib
8877
8878 2006-05-30  Wim Taymans  <wim@fluendo.com>
8879
8880         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8881         (gst_collect_pads_chain):
8882         Handle the case where a pad is removed from the collection
8883         that could cause the other pads to become collectable.
8884
8885 2006-05-30  Wim Taymans  <wim@fluendo.com>
8886
8887         * gst/gstelement.c:
8888         Clarify the use of _release_request_pad() and
8889         _get_request_pad() a bit better.
8890
8891         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8892         (gst_adapter_take_buffer):
8893         Fix some doc and comment typos.
8894
8895 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8896
8897         * docs/gst/gstreamer-sections.txt:
8898         * docs/libs/gstreamer-libs-sections.txt:
8899           add declared symbols
8900
8901 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
8902
8903         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8904         Add debug that can be enabled using a #define at the top of the file,
8905         for dumping stats about how late/early we were when waking up from
8906         waiting on the clock.
8907
8908 2006-05-30  Wim Taymans  <wim@fluendo.com>
8909
8910         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8911         When rebuilding the pad list, don't leak the previous list.
8912
8913 2006-05-30  Wim Taymans  <wim@fluendo.com>
8914
8915         Patch by: Lutz Mueller <lutz at topfrose dot de>
8916
8917         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8918         (gst_base_src_get_query_types), (gst_base_src_update_length):
8919         Publish supported query types.
8920         Update last_stop field in get_range mode so the position
8921         query works. Fixes #342321.
8922
8923 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
8924
8925         * docs/gst/gstreamer-sections.txt:
8926         * gst/gsttaglist.c: (_gst_tag_initialize):
8927         * gst/gsttaglist.h:
8928           API: add GST_TAG_PREVIEW_IMAGE (#343341).
8929
8930 2006-05-30  Wim Taymans  <wim@fluendo.com>
8931
8932         Patch by: Alessandro Decina <alessandro at nnva dot org>
8933
8934         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8935         Unlock mutex when removing an unknown pad.
8936         Fixes #343334.
8937
8938         * tests/check/Makefile.am:
8939         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8940         (push_event), (setup), (teardown), (GST_START_TEST),
8941         (gst_collect_pads_suite), (main):
8942         Added collecpads check, disabled for now as check crashes for
8943         some reason.
8944
8945 2006-05-29  Wim Taymans  <wim@fluendo.com>
8946
8947         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8948         Don't leak pads lists.
8949
8950 2006-05-29  Wim Taymans  <wim@fluendo.com>
8951
8952         * docs/libs/gstreamer-libs-sections.txt:
8953         * libs/gst/base/gstcollectpads.c:
8954         (gst_collect_pads_set_flushing_unlocked),
8955         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8956         (gst_collect_pads_stop):
8957         * libs/gst/base/gstcollectpads.h:
8958         API: gst_collect_pads_set_flushing()
8959         Added api to set the pads to flushing, useful for seeking
8960         code in elements using collectpads.
8961         Clear segment when receiving a flush.
8962
8963 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
8964
8965         * gst/gst.c: (add_path_func), (init_post):
8966           Don't scan registry paths passed via --gst-plugin-path immediately
8967           (will crash, because absolutely nothing is set up and no types are
8968           registered etc.); do this later in init_post(). Fixes #343057.
8969
8970 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8971
8972         * gst/gst.c: (init_post):
8973           if we have fork, fork while reading/rebuilding the registry
8974           so the parent doesn't take the hit of having all plugins loaded
8975           in memory.  Fixes #342777.
8976         * configure.ac:
8977           Check if we have fork()
8978         * win32/common/config.h.in:
8979           no fork() on win32
8980
8981 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8982
8983         * plugins/elements/gstelements.c:
8984         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8985         (gst_file_src_init), (gst_file_src_set_property),
8986         (gst_file_src_get_property), (gst_file_src_start):
8987         * plugins/elements/gstfilesrc.h:
8988           API: GstFileSrc::use-mmap
8989
8990         Add a use-mmap property to enable easier testing of all code paths.
8991         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8992         in the absence of gnomevfssrc. (Closes #340501)
8993
8994 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8995
8996         * tools/gst-inspect.c:
8997         Add missing include, removes warning of ngettext not being defined on
8998         some arches.
8999
9000 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9001
9002         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9003         Handle NULL input and output pointers silently as a failed conversion,
9004         rather than g_warnings.
9005
9006 2006-05-25  Wim Taymans  <wim@fluendo.com>
9007
9008         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9009         Initialize variable before using. Fixes #342820.
9010
9011 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9012
9013         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9014           Fix off-by-one bug that would only allow peeks of N-1 bytes
9015           from the start even if the buffer to typefind on contains
9016           in fact N bytes of data (makes vorbis typefinding from a
9017           vorbis identification header buffer work).
9018
9019         * tests/check/Makefile.am:
9020         * tests/check/libs/.cvsignore:
9021         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9022         (gst_typefindhelper_suite), (main), (foobar_typefind),
9023         (plugin_init):
9024           Add very basic unit test for gst_type_find_helper_for_buffer()
9025           that checks for the problem fixed above.
9026
9027 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9028
9029         * tools/gst-inspect.c: (print_interfaces),
9030         (print_element_properties_info), (print_element_list), (main):
9031           add more translatable strings
9032
9033 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9034
9035         Patch by: Julien Moutte  <julien at moutte net>
9036
9037         * docs/gst/gstreamer-sections.txt:
9038           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9039           
9040         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9041         (gst_fake_sink_preroll):
9042         * plugins/elements/gstfakesink.h:
9043           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9044
9045 2006-05-23  Wim Taymans  <wim@fluendo.com>
9046
9047         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9048         * gst/gstpad.h:
9049         Added _CUSTOM error and success GstFlowReturn that can be
9050         used be elements internally. 
9051         Added macro to check for SUCCESS flowreturns.
9052         API: GST_FLOW_CUSTOM_SUCCESS
9053         API: GST_FLOW_CUSTOM_ERROR
9054         API: GST_FLOW_IS_SUCCESS
9055
9056         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9057         Added check for GstFlowReturn sanity.
9058
9059 2006-05-23  Wim Taymans  <wim@fluendo.com>
9060
9061         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9062
9063         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9064         (gst_collect_pads_event):
9065         clear/reset segment info in FLUSH_STOP.
9066         Fixes #336929.
9067
9068 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9069
9070         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9071         (gst_collect_pads_check_collected):
9072         Flush queued buffer on _stop(), fixes playing again (#342454)
9073
9074 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9075
9076         * tests/check/gst/gststructure.c: (GST_START_TEST),
9077         (gst_structure_suite):
9078           add a test for a complete structure
9079
9080 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9081
9082         * docs/faq/developing.xml:
9083         * docs/faq/faq.xml:
9084         * docs/faq/troubleshooting.xml:
9085         * docs/faq/using.xml:
9086           Some minor FAQ updates that won't change the fact that
9087           our FAQ is badly structured, full of information hardly
9088           anyone new to GStreamer needs to know and lacking lots
9089           of information people constantly ask for.
9090           
9091 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9092
9093         * gst/gstpad.c: (gst_pad_set_caps):
9094           Short-circuit gst_pad_set_caps if setting the existing
9095           caps pointer again, and avoid printing debug and 
9096           reffing/unreffing the caps.
9097
9098         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9099           There's actually no need to set the caps before pushing -
9100           the acceptcaps method will handle it anyway.
9101
9102 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9103
9104         * docs/gst/gstreamer-sections.txt:
9105         * win32/common/libgstreamer.def:
9106         * gst/gstutils.c: (gst_element_seek_simple):
9107         * gst/gstutils.h:
9108           API: add gst_element_seek_simple() (#342238).
9109
9110 2006-05-18  Edward Hervey  <edward@fluendo.com>
9111
9112         * gst/gsttypefind.c: (gst_type_find_get_type):
9113         * gst/gsttypefind.h:
9114         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9115         registered for GstTypeFind pointers. This allows wrapping the structure
9116         in bindings (i.e. gst-python).
9117
9118 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9119
9120         * gst/gsttagsetter.c:
9121           Docs additions and fixes (see #339918).
9122
9123 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9124
9125         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9126         The caps intersection algorithm can produce multiple copies of the
9127         caps. Until that is fixed, we need to simplify the result to be
9128         sure whether the allowed caps are fixed or not.
9129
9130         * plugins/elements/gstqueue.c: (gst_queue_init),
9131         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9132         (gst_queue_push_one):
9133         Proxied buffer alloc should not set the caps on the source pad.
9134         When pushing buffers, we always accept the caps change that triggers.
9135         This prevents negotiation errors caused by caps changing mid-stream 
9136         and then being refused on our source pad (because upstream is now
9137         refusing those caps).
9138
9139 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9140
9141         * tests/examples/helloworld/helloworld.c: (main):
9142           Must plug audioconvert and audioresample between decoder
9143           and audio sink.
9144
9145 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9146
9147         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9148         (load_feature), (load_plugin):
9149         Allow empty strings for some of the plugin fields so we don't 
9150         drop valid plugin entries that were written out correctly
9151         (Fixes #341479)
9152
9153 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9154         
9155         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9156           Use g_remove and g_rename instead of remove and rename that don't 
9157           handle utf8 characters. rename was failing for users who had specific
9158           characters in their name then the registry was built at each 
9159           gstreamer init.
9160         * win32/vs6/gst_inspect.dsp:
9161         * win32/vs6/gst_launch.dsp:
9162         * win32/vs6/libgstbase.dsp:
9163         * win32/vs6/libgstcoreelements.dsp:
9164         * win32/vs6/libgstreamer.dsp:
9165           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9166           build of libgstreamer and clean unused libraries in projects link 
9167           settings.
9168
9169 2006-05-17  Edward Hervey  <edward@fluendo.com>
9170
9171         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9172         The queue is not responsible for pushing an EOS when receiving a fatal
9173         flow error. It's up to the real element driving the pipeline to do that.
9174
9175 2006-05-16  Edward Hervey  <edward@fluendo.com>
9176
9177         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9178         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9179         buffer returned a fatal error. It should just send an EOS and stop
9180         its task.
9181         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9182         when pushing buffers on the queue and will be able to handle the event.
9183
9184 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9185
9186         * docs/manual/basics-bins.xml:
9187         * docs/manual/basics-init.xml:
9188           Fix typos and minor errors in sample code (#341856).
9189
9190 2006-05-16  Wim Taymans  <wim@fluendo.com>
9191
9192         * docs/design/part-qos.txt:
9193         Fix indexes in formulas to make more sense.
9194
9195 2006-05-15  Wim Taymans  <wim@fluendo.com>
9196
9197         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9198         Don't report POSITION based on clock time if sync is
9199         disabled in a sink.
9200
9201 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9202
9203         * gst/gstobject.h:
9204           Add cast to make compiler happy - refcount variable was a gint
9205           in GstObject but is a guint in GObject and g_atomic_int_get()
9206           wants a gint *.
9207
9208 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9209
9210         * gst/parse/Makefile.am:
9211           chain commands using &&, which also makes parallel make work
9212
9213 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9214
9215         * docs/gst/gstreamer-sections.txt:
9216         * gst/gstevent.c:
9217         * gst/gstevent.h:
9218         * gst/gstmessage.h:
9219           Minor docs fixes.
9220
9221 === release 0.10.6 ===
9222
9223 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9224
9225         * configure.ac:
9226           releasing 0.10.6, "Take the cannoli"
9227
9228 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9229
9230         * tools/gst-launch.c: (print_tag):
9231           Fix use of uninitialized variable in the hypothetical
9232           case that some broken plugin creates a GST_TAG_IMAGE
9233           tag containing a NULL buffer (#341667).
9234
9235 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9236
9237         * tools/gst-launch.c: (print_tag):
9238           Print something more intelligible for image tags when
9239           using the -t switch (#341556).
9240
9241 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9242
9243         * Makefile.am:
9244           updates for win32
9245         * configure.ac:
9246           define GST_MAJORMINOR so we have it available in win32/common/config.h
9247           Possibly remove it from our Makefile.am files later
9248         * win32/common/config.h:
9249         * win32/common/config.h.in:
9250           added GST_MAJORMINOR
9251         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9252         * win32/common/gstversion.h:
9253           updated
9254
9255 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9256
9257         * win32/MANIFEST:
9258           Update win32 files listing.
9259         * win32/common/gstversion.h:
9260           Add GST_MAJORMINOR definition.
9261         * win32/common/libgstreamer.def:
9262           Add new exported functions.
9263           
9264 2006-05-12  Michael Smith  <msmith@fluendo.com>
9265
9266         * gst/gstplugin.c: (gst_plugin_load_file):
9267           If an so file has no plugin entry point, unload the module.
9268
9269 2006-05-11  Wim Taymans  <wim@fluendo.com>
9270
9271         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9272         (gst_queue_set_property):
9273         Don't forget to signal the _chain or _loop function 
9274         when the queue size or thresholds change since that might
9275         cause them to make progres again.
9276
9277 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9278
9279         * gst/gstclock.c: (gst_clock_class_init):
9280         * gst/gstindex.c: (gst_index_class_init):
9281         * gst/gstobject.c: (gst_object_class_init):
9282         * gst/gstpad.c: (gst_pad_class_init):
9283         * gst/gstpipeline.c: (gst_pipeline_class_init):
9284         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9285         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9286         * libs/gst/base/gstbasetransform.c:
9287         (gst_base_transform_class_init):
9288         * libs/gst/net/gstnetclientclock.c:
9289         (gst_net_client_clock_class_init):
9290         * libs/gst/net/gstnettimeprovider.c:
9291         (gst_net_time_provider_class_init):
9292         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9293         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9294         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9295         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9296         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9297         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9298         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9299         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9300         * plugins/elements/gsttee.c: (gst_tee_class_init):
9301         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9302         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9303           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9304
9305 2006-05-11  Wim Taymans  <wim@fluendo.com>
9306
9307         * gst/gstbuffer.c: (_gst_buffer_initialize):
9308         Register subbufer along with the buffer type so that
9309         it does not accidentally gets registered from N
9310         different streaming threads in a non threadsafe way.
9311
9312 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9313
9314         * gst/gstbuffer.h:
9315         * gst/gstevent.h:
9316         * gst/gstmessage.h:
9317           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9318           gst_event_ref() and gst_message_ref() functions again
9319           (ugly hack, please do fix if there's a better way besides
9320           overrides.txt, which doesn't seem to work).
9321
9322 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9323
9324         * libs/gst/check/gstcheck.h:
9325           add an assert for setting state to avoid lots of repetitive code
9326           in the future
9327
9328 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9329
9330         * gst/gstvalue.c: (gst_value_serialize_flags):
9331           fix a leak if no flags are set
9332         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9333           fix leak in tests
9334
9335 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9336
9337         * docs/manual/basics-pads.xml:
9338           Expand a bit on caps and filtered links and update
9339           examples that were still using the no longer existing
9340           gst_pad_link_filtered() (#338206).
9341
9342 2006-05-10  Wim Taymans  <wim@fluendo.com>
9343
9344         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9345         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9346         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9347         (gst_collect_pads_stop):
9348         * libs/gst/base/gstcollectpads.h:
9349         No need to call _stop in _finalize.
9350         Iterate the main pad list in _finalize.
9351         Added some more debug.
9352         Free lists and data in the right order.
9353         Also free data whem doing _remove_pad when stopped for
9354         backward compatibility protect ::started with PAD_LOCK as
9355         well.
9356
9357 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9358
9359         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9360         (gst_structure_parse_value):
9361           add some comments
9362           rename a method so that it actually says what it does better
9363
9364 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9365
9366         * gst/gstevent.c: (_gst_event_initialize):
9367         * gst/gstformat.c: (_gst_format_initialize):
9368           make sure some essential types used by events are registered
9369           as part of gst_init()
9370         * gst/gstvalue.c: (gst_value_serialize_flags):
9371           if no flags are set, serialize them to a value that represents NONE
9372           so that deserializing them works
9373         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9374           add tests for serialization and deserialization of flags
9375
9376 2006-05-10  Wim Taymans  <wim@fluendo.com>
9377
9378         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9379         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9380         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9381         (gst_collect_pads_event), (gst_collect_pads_chain):
9382         Update docs.
9383         Better debug info.
9384         Catch and return errors from the collect function
9385         Refuse data on eos pads.
9386
9387 2006-05-10  Edward Hervey  <edward@fluendo.com>
9388
9389         * gst/gstinterface.h:
9390         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9391         GInterface type checking.
9392         They were previously using non-defined macros.
9393
9394 2006-05-09  Wim Taymans  <wim@fluendo.com>
9395
9396         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9397         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9398         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9399         (gst_collect_pads_start), (gst_collect_pads_stop),
9400         (gst_collect_pads_peek), (gst_collect_pads_pop),
9401         (gst_collect_pads_available), (gst_collect_pads_read),
9402         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9403         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9404         (gst_collect_pads_chain):
9405         * libs/gst/base/gstcollectpads.h:
9406         Clean up the mess that is collectpads, add comments and
9407         FIXMEs where needed.
9408         Maintain a separate pad list so we can add pads while
9409         collecting the other ones. For this we need a new separate 
9410         lock (see comics).
9411         Fix memory leak in finalize.
9412         Refactor some weird code to set/unset pad flushing flags, mark
9413         with comments.
9414         Don't crash in _available, _read, _flush when we're EOS.
9415
9416         * tests/check/libs/.cvsignore:
9417         Ignore adapter check binary.
9418
9419 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9420
9421         * gst/gstindex.c: (gst_index_resolver_get_type):
9422         * plugins/elements/gstfakesink.c:
9423         (gst_fake_sink_state_error_get_type):
9424         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9425         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9426         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9427           Const-ify GEnumValue arrays.
9428
9429 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9430
9431         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9432           Add test case for flags + gst_buffer_make_metadata_writable().
9433
9434 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9435
9436         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9437           gst_buffer_make_metadata_writable() should maintain the
9438           buffer flags (those that make sense at least) (see #340859).
9439
9440 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9441
9442         * tools/gst-inspect.c:
9443         * tools/gst-launch.c:
9444         * tools/gst-typefind.c:
9445         * tools/gst-xmlinspect.c:
9446         * tools/tools.h:
9447           Fix up includes: need to include stdlib.h in tools.h for exit().
9448
9449 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9450
9451         * gst/gsttaglist.c: (_gst_tag_initialize):
9452         * gst/gsttaglist.h:
9453           API: add GST_TAG_IMAGE tag (#340721).
9454
9455 2006-05-08  Wim Taymans  <wim@fluendo.com>
9456
9457         * gst/gstquery.c:
9458         Added some docs for the segment query.
9459
9460 2006-05-08  Wim Taymans  <wim@fluendo.com>
9461
9462         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9463         (gst_base_src_loop), (gst_base_src_change_state):
9464         Always push non-flushing serialized events in the streaming 
9465         thread.
9466
9467 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9468
9469         * gst/gsterror.c: (_gst_stream_errors_init):
9470           Add a missing error string.
9471
9472 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9473
9474         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9475         Add applied_rate to the debug
9476
9477         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9478         Copy applied_rate into the outgoing NEWSEGMENT event
9479
9480 2006-05-08  Wim Taymans  <wim@fluendo.com>
9481
9482         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9483
9484         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9485         (gst_base_sink_change_state):
9486         call ::unlock before taking the PREROLL_LOCK so we can safely
9487         handle elements that lock in ::render.
9488         Fixes #340174.
9489
9490 2006-05-08  Edward Hervey  <edward@fluendo.com>
9491
9492         * autogen.sh: (CONFIGURE_DEF_OPT): 
9493         Darwin's libtoolize is in fact called glibtoolize.
9494         Adding glibtoolize to the list of accepted names for libtoolize.
9495
9496 2006-05-08  Wim Taymans  <wim@fluendo.com>
9497
9498         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9499         Unify error handling, don't post an error message
9500         when a push() returns EOS but perform our normal EOS
9501         handling code. Fixes #340772.
9502
9503 2006-05-08  Wim Taymans  <wim@fluendo.com>
9504
9505         * docs/design/part-overview.txt:
9506         Make upsteam/downstream concepts more clear.
9507         Give an example of serialized/non-serialized events.
9508
9509         * docs/design/part-events.txt:
9510         * docs/design/part-streams.txt:
9511         Mention applied_rate.
9512
9513         * docs/design/part-trickmodes.txt:
9514         Mention applied rate, flesh out some more use cases.
9515
9516         * gst/gstevent.c: (gst_event_new_new_segment),
9517         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9518         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9519         (gst_event_parse_tag), (gst_event_new_buffer_size),
9520         (gst_event_parse_buffer_size), (gst_event_new_qos),
9521         (gst_event_parse_qos), (gst_event_parse_seek),
9522         (gst_event_new_navigation):
9523         * gst/gstevent.h:
9524         Add applied_rate field to NEWSEGMENT event.
9525         API: gst_event_new_new_segment_full()
9526         API: gst_event_parse_new_segment_full()
9527
9528         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9529         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9530         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9531         * gst/gstsegment.h:
9532         Add applied_rate to GstSegment structure.
9533         Make calculation of stream_time and running_time more correct
9534         wrt rate/applied_rate.
9535         Add some more docs.
9536         API: GstSegment::applied_rate field
9537         API: gst_segment_set_newsegment_full();
9538
9539         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9540         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9541         * libs/gst/base/gstbasetransform.c:
9542         (gst_base_transform_sink_eventfunc),
9543         (gst_base_transform_handle_buffer):
9544         Parse and use applied_rate in the GstSegment field.
9545
9546         * tests/check/gst/gstevent.c: (GST_START_TEST):
9547         Add check for applied_rate field.
9548
9549         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9550         (gstsegments_suite):
9551         Add more checks for various GstSegment operations.
9552
9553 2006-05-08  Wim Taymans  <wim@fluendo.com>
9554
9555         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9556         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9557         (gst_base_sink_get_position), (gst_base_sink_change_state):
9558         Store the sync time of the buffer end position separatly in a
9559         new variable eos_rtime so we can properly sync the EOS event.
9560         Fixes #340697.
9561         Fix the docs for gst_base_sink_set_qos_enabled().
9562         Don't set segment start to invalid value when we receive a 
9563         non TIME newsegment.
9564         get closer to handling position reporting for negative rates 
9565         correctly.
9566
9567 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9568
9569         * gst/gstcaps.c:
9570         Docs about how to print caps for debug purposes.
9571
9572         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9573         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9574
9575 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9576
9577         * gst/gstelement.c:
9578           use full enum names and preprend a '%' in docs strings to make recent 
9579           gtk-doc turn that into a link
9580
9581 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9582
9583         * docs/manual/basics-bins.xml:
9584         * docs/manual/basics-bus.xml:
9585         * docs/manual/basics-pads.xml:
9586           Some typo fixes, some additions, some clarifications. 
9587
9588 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9589
9590         * tools/gst-inspect.c: (main):
9591         * tools/gst-launch.c: (main):
9592         * tools/gst-run.c: (main):
9593         * tools/gst-typefind.c: (main):
9594         * tools/gst-xmlinspect.c: (main):
9595           Use the string passed to g_option_context_new() for
9596           what it's intended for - the program name is already
9597           printed elsewhere.
9598
9599 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9600
9601         * tools/Makefile.am:
9602         * tools/gst-inspect.c: (main):
9603         * tools/gst-launch.c: (main):
9604         * tools/gst-xmlinspect.c: (main):
9605         * tools/tools.h:
9606           Add back --version command line option (#340460).
9607
9608         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9609           Add --version option and use GOption for argument parsing; refactor a
9610           bit; accept directories as arguments and recurse into them; lastly,
9611           print a decent error message when things go wrong.
9612
9613 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9614
9615         * docs/manual/basics-bins.xml:
9616         Don't mention GstThread (#340611)
9617         * docs/manual/basics-elements.xml:
9618         Update link to GObject tutorial (#340607)
9619         
9620 2006-05-05  Wim Taymans  <wim@fluendo.com>
9621
9622         * gst/gstbuffer.h:
9623         * gst/gstminiobject.c:
9624         Add note about refcounting and miniobject/buffer writeability
9625         to docs. Fixes #340604
9626
9627         * gst/gstelementfactory.h:
9628         Added some explanation about @klass.
9629
9630 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9631
9632         * docs/manual/intro-motivation.xml:
9633         * docs/manual/manual.xml:
9634         Avoid CORBA & Bonobo references (#340598)
9635
9636 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9637
9638         * docs/manual/basics-bus.xml:
9639         * docs/manual/basics-pads.xml:
9640         Fix up some inaccuracies and omissions (#340609)
9641         
9642 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9643
9644         * gst/gstghostpad.c:
9645           Small typo in docs (#340625)
9646
9647 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9648
9649         * gst/parse/Makefile.am:
9650           Make 'make -j' proof (see #340698).
9651
9652 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9653
9654         * configure.ac:
9655           Require GLib-2.8 here as well.
9656
9657 2006-05-05  Wim Taymans  <wim@fluendo.com>
9658
9659         * gst/glib-compat.c:
9660         * gst/gst.c: (init_pre):
9661         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9662         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9663         (gst_object_dispatch_properties_changed):
9664         * gst/gstobject.h:
9665         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9666         * gst/gststructure.c: (gst_structure_set_valist):
9667         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9668         Remove pre glib2.8 compatibility, fixes #340508
9669
9670 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9671
9672         * gst/gsttaglist.h:
9673           Mention type of tags in doc blurbs.
9674
9675 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9676
9677         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9678         (gst_pad_configure_src), (gst_pad_push):
9679         Restore acceptcaps checking behaviour now that good plugins have
9680         been released.
9681
9682 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9683
9684         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9685
9686         * gst/gst.c:
9687         * gst/gstbus.c:
9688         * gst/gstclock.c:
9689         * gst/gstevent.c:
9690         * gst/gstformat.c:
9691         * gst/gstmessage.c:
9692         * gst/gstparse.c:
9693         * gst/gstquery.c:
9694         * gst/gstutils.c:
9695         * gst/parse/Makefile.am:
9696         * libs/gst/base/gstadapter.c:
9697         * libs/gst/base/gstbasesrc.c:
9698         * libs/gst/base/gstpushsrc.c:
9699         * libs/gst/base/gsttypefindhelper.c:
9700         * plugins/elements/gstfakesrc.c:
9701         * plugins/elements/gstidentity.c:
9702           Make sure gstprivate.h and/or config.h are
9703           always included first, otherwise some of our
9704           defines (like _FILE_OFFSET_BITS) might be
9705           redefined in the system headers. Fixes build
9706           on opensolaris (#340016).
9707
9708 2006-05-04  Wim Taymans  <wim@fluendo.com>
9709
9710         * docs/libs/gstreamer-libs-sections.txt:
9711         API: addition: gst_adapter_take_buffer()
9712         
9713         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9714         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9715         (gst_adapter_available_fast):
9716         * libs/gst/base/gstadapter.h:
9717         Prepare for optimizing the hell out of this hugely inefficient
9718         piece of code. 
9719         Added gst_adapter_take_buffer() so we can at least start thinking
9720         about subbuffering and merging.
9721         Added some comments.
9722
9723         * tests/check/Makefile.am:
9724         * tests/check/libs/adapter.c: (GST_START_TEST),
9725         (gst_adapter_suite), (main):
9726         Added GstAdapter check.
9727
9728 2006-05-04  Wim Taymans  <wim@fluendo.com>
9729
9730         * docs/design/part-overview.txt:
9731         Fix some typos, add blurb about buffer flags.
9732
9733 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9734
9735         * docs/libs/gstreamer-libs-sections.txt:
9736           make sure GstBaseTransformClass shows up in the docs
9737         * libs/gst/base/gstbasetransform.c:
9738         * libs/gst/base/gstbasetransform.h:
9739           move docs so gtk-doc picks it up now
9740
9741 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9742
9743         * docs/libs/gstreamer-libs-sections.txt:
9744           add missing symbols to docs
9745
9746 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9747
9748         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9749           back out the newsegment handling change, see #340060 for ongoing
9750           discussion
9751
9752 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
9753
9754         * tools/gst-run.c: (get_candidates), (main):
9755           Fix wrong g_file_test() usage (see glib docs for why it doesn't
9756           work); fix typo in error message. Fixes #340079.
9757
9758 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9759
9760         * common/Makefile.am:
9761         * docs/Makefile.am:
9762         * docs/faq/Makefile.am:
9763         * docs/gst/Makefile.am:
9764         * docs/libs/Makefile.am:
9765         * docs/manual/Makefile.am:
9766         * docs/plugins/Makefile.am:
9767         * docs/pwg/Makefile.am:
9768         * docs/slides/Makefile.am:
9769         * docs/upload.mak:
9770         * common/upload.mak:
9771           move upload.mak to common
9772
9773 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9774
9775         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9776           add more asserts on refcounts
9777           do more cleanup at end of tests
9778           fix test leaks showing in FC5
9779
9780 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
9781
9782         * plugins/elements/gsttypefindelement.c:
9783         (gst_type_find_element_handle_event):
9784         reverted wrong change and reflowed code to avoid others falling into
9785         this trap
9786
9787 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9788
9789         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9790           fix changelog entry about last collectpads change,
9791           add notes about proper fix
9792
9793 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9794
9795         * gst/gst.c:
9796         * gst/gstregistry.c: (gst_registry_scan_path_level),
9797         (gst_registry_scan_path):
9798         * gst/gstregistry.h:
9799           only write out registry if it has changed, fixes #338339
9800
9801 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9802
9803         * gst/gstbin.c:
9804         * gst/gstpipeline.c:
9805         * plugins/elements/gstcapsfilter.c:
9806         * plugins/elements/gstfakesink.c:
9807         * plugins/elements/gstfakesrc.c:
9808         * plugins/elements/gstfdsink.c:
9809         * plugins/elements/gstfdsrc.c:
9810         * plugins/elements/gstfilesink.c:
9811         * plugins/elements/gstfilesrc.c:
9812         * plugins/elements/gstidentity.c:
9813         * plugins/elements/gstqueue.c:
9814         * plugins/elements/gsttee.c:
9815         * plugins/elements/gsttypefindelement.c:
9816         (gst_type_find_element_handle_event):
9817           make GstElementDetails const
9818
9819 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9820
9821         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9822         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9823         (gst_collect_pads_is_collected), (gst_collect_pads_event):
9824           more detailed debug and formatting cleanup,
9825           forward newsegments to src-pad (so that e.g. adder not eats them)
9826
9827 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9828
9829         * gst/gstutils.c: (gst_element_link_pads):
9830           cleanup double code
9831
9832 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9833
9834         * libs/gst/controller/gstcontroller.c:
9835         (gst_controller_sync_values):
9836           some little tuning
9837         * tests/check/libs/controller.c: (GST_START_TEST),
9838         (gst_controller_suite):
9839           a new test for live value handling
9840
9841 2006-04-28  Wim Taymans  <wim@fluendo.com>
9842
9843         * gst/gstutils.c: (push_and_ref):
9844         Added some more docs.
9845         Fix refcount issue whith gst_element_found_tags() helper 
9846         function. Fixes #338335
9847
9848         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9849         Added testsuite for gst_element_found_tags().
9850
9851 2006-04-28  Michael Smith  <msmith@fluendo.com>
9852
9853         * gst/gstvalue.c: (gst_value_serialize_flags):
9854           Avoid NULL dereference when trying to serialize flags containing
9855           invalid values.
9856
9857 2006-04-28  Michael Smith  <msmith@fluendo.com>
9858
9859         * plugins/elements/gsttypefindelement.c:
9860         (gst_type_find_element_handle_event):
9861           If we get EOS before any data is accumulated, don't use
9862           uninitialised local variables.
9863
9864 2006-04-28  Michael Smith  <msmith@fluendo.com>
9865
9866         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9867         (gst_dp_event_from_packet):
9868           Fixes in reading/writing events over GDP (not currently used?) - 
9869           dereferencing NULL events for unknown/invalid event types, memory
9870           leak, and change g_warning to GST_WARNING.
9871
9872 2006-04-28  Wim Taymans  <wim@fluendo.com>
9873
9874         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9875         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9876         (gst_base_sink_get_position), (gst_base_sink_change_state):
9877         When frame dropping is enabled, we should not ignore frames
9878         without a duration.
9879         Update some documentation.
9880
9881 2006-04-28  Wim Taymans  <wim@fluendo.com>
9882
9883         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9884         (gst_base_src_send_event), (gst_base_src_change_state):
9885         Documentation updates.
9886
9887 2006-04-28  Wim Taymans  <wim@fluendo.com>
9888
9889         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9890         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9891         handle EAGAIN, EINTR and short writes correctly. Also clean
9892         up some error cases, avoid a deadlock on bad file descriptors and
9893         use GST_DEBUG_OBJECT.
9894         Fixes #339843
9895
9896 2006-04-28  Wim Taymans  <wim@fluendo.com>
9897
9898         * gst/gstvalue.c: (gst_value_serialize_buffer),
9899         (gst_value_deserialize_buffer):
9900         Don't try to serialize a GValue with a NULL buffer. 
9901         Fixes #339821.
9902
9903         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9904         Added check for serialisation of NULL buffers.
9905
9906 2006-04-28  Wim Taymans  <wim@fluendo.com>
9907
9908         * gst/gstminiobject.c: (gst_value_take_mini_object):
9909         Taking a NULL miniobject is valid, fix the case where
9910         we try to unref the NULL miniobject.
9911
9912 2006-04-28  Wim Taymans  <wim@fluendo.com>
9913
9914         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9915
9916         * gst/gstbin.c: (gst_bin_handle_message_func):
9917         Update docs.
9918         Don't leak bin refcount when a state recalc is
9919         in progress and we delay another one #339808.
9920
9921 2006-04-28  Wim Taymans  <wim@fluendo.com>
9922
9923         * docs/design/part-TODO.txt:
9924         Mention QoS as an ongoing work item.
9925
9926         * docs/design/part-buffering.txt:
9927         New doc about buffering that needs to be fleshed out
9928         at some point.
9929
9930         * docs/design/part-qos.txt:
9931         More QoS policy for decoders/demuxers/transforms
9932
9933         * docs/design/part-trickmodes.txt:
9934         Small update.
9935
9936 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9937
9938         * configure.ac:
9939           back to HEAD
9940
9941 === release 0.10.5 ===
9942
9943 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
9944
9945         * configure.ac:
9946           releasing 0.10.5, "Fogo"
9947
9948 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9949
9950         patch by: Wim Taymans
9951
9952         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9953         (gst_pad_configure_src), (gst_pad_push):
9954         * gst/gstpipeline.c: (gst_pipeline_init):
9955           Fix internal data flow errors.  Fixes #338711.
9956
9957 2006-04-12  Wim Taymans  <wim@fluendo.com>
9958
9959         * tests/check/gst/gstelement.c: (GST_START_TEST):
9960         Don't leak the factory.
9961
9962 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9963
9964         * configure.ac:
9965         * win32/common/config.h:
9966           prerelease
9967
9968 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9969
9970         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9971         (gst_controller_unset_all):
9972           Free allocated GstTimedValues when freeing list nodes.
9973           Should fix leaks 'make check-valgrind' complains about.
9974
9975         * win32/common/libgstcontroller.def:
9976           Add gst_controller_unset_all.
9977
9978 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
9979
9980         * docs/libs/gstreamer-libs-sections.txt:
9981         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9982         (gst_controller_unset_all):
9983         * libs/gst/controller/gstcontroller.h:
9984         API: Added new method gst_controller_unset_all()
9985         fixed gst_controller_unset()
9986         * tests/check/libs/controller.c: (GST_START_TEST),
9987         (gst_controller_suite):
9988         Added two testcases for new and fixed method
9989
9990 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
9991
9992         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9993           MSG_DONTWAIT is not defined on Cygwin, so work
9994           around that (fixes #317048).
9995           
9996 2006-04-11  Wim Taymans  <wim@fluendo.com>
9997
9998         * gst/gstelementfactory.c: (gst_element_register),
9999         (gst_element_factory_create), (gst_element_factory_make):
10000         Some cleanups.
10001         Fixed a FIXME.
10002         Updated docs (Fixes #131079)
10003
10004         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10005         Small cleanups.
10006
10007         * tests/check/gst/gstelement.c: (GST_START_TEST),
10008         (gst_element_suite):
10009         Added testcase for elementfactory class field.
10010
10011 2006-04-10  Wim Taymans  <wim@fluendo.com>
10012
10013         * gst/gstsegment.c:
10014         Added some more docs.
10015
10016         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10017         (gst_base_sink_reset_qos):
10018         Calculate more accurate rate values.
10019
10020 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10021
10022         * gst/gst_private.h:
10023           add a new #ifdef to use __declspec(dllimport) only for
10024           other modules and not for gstreamer core
10025         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10026           use gst_guint64_to_gdouble for conversion
10027         * win32/common/libgstreamer.def:
10028           add new exported functions
10029         * win32/vs6/gst_inspect.dsp:
10030         * win32/vs6/gst_launch.dsp:
10031         * win32/vs6/libgstbase.dsp:
10032         * win32/vs6/libgstcontroller.dsp:
10033         * win32/vs6/libgstcoreelements.dsp:
10034         * win32/vs6/libgstdataprotocol.dsp:
10035         * win32/vs6/libgstnet.dsp:
10036           update project files
10037
10038 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10039
10040         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10041         * gst/gstclock.c: (gst_clock_class_init):
10042         * gst/gstelement.c: (gst_element_class_init):
10043         * gst/gstindex.c: (gst_index_class_init):
10044         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10045         * gst/gstobject.c: (gst_object_class_init),
10046         (gst_signal_object_class_init):
10047         * gst/gstpad.c: (gst_pad_class_init):
10048         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10049         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10050         * gst/gstregistry.c: (gst_registry_class_init):
10051         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10052         * gst/gsttask.c: (gst_task_class_init):
10053         * gst/gstxml.c: (gst_xml_class_init):
10054         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10055         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10056         (gst_base_src_loop):
10057         * libs/gst/controller/gstcontroller.c:/
10058         (_gst_controller_class_init):
10059         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10060         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10061         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10062         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10063         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10064         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10065
10066 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10067
10068         * gst/gstpad.c: (gst_pad_link):
10069           Must set peer pads before calling the link function, otherwise
10070           a task started from a link function might get a flow-not-linked
10071           result when trying to push because the other thread where the
10072           linking happens hasn't had a chance to set the peers yet. This
10073           might happen for example when a queue gets linked to a downstream
10074           element, as queue starts a streaming task when its source pad
10075           gets linked. Happens in real life when playing back flac/musepack
10076           files in playbin (#332390).
10077           
10078 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10079
10080         * gst/gstindex.h:
10081         * gst/gstxml.h:
10082         * libs/gst/base/gstadapter.h:
10083         * libs/gst/base/gstbasesink.h:
10084         * libs/gst/base/gstbasesrc.h:
10085         * libs/gst/base/gstbasetransform.h:
10086         * libs/gst/base/gstcollectpads.h:
10087         * libs/gst/base/gstpushsrc.h:
10088         Fix broken GObject macros
10089
10090 2006-04-07  Wim Taymans  <wim@fluendo.com>
10091
10092         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10093         Initialize start and stop times, thanks valgrind.
10094
10095 2006-04-07  Wim Taymans  <wim@fluendo.com>
10096
10097         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10098         Be a bit nicer to badly behaving upstream elements that expect
10099         us to deal with non TIME segments and timestamps (such as fakesrc
10100         in the testsuite).
10101
10102 2006-04-07  Wim Taymans  <wim@fluendo.com>
10103
10104         * gst/gstbus.c:
10105         Small documentation clarification about the signal watch.
10106
10107         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10108         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10109         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10110         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10111         (gst_base_sink_get_position_last),
10112         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10113         Convert and store timestamps in stream time and running time, the
10114         raw timestamps are not useful, also document this better.
10115         Use different window sizes for good and bad QoS observations so
10116         we react to badness a little quicker.
10117         Keep track of the amount of rendered and dropped buffers.
10118         Send QoS timestamps in running time.
10119
10120         * libs/gst/base/gstbasetransform.c:
10121         (gst_base_transform_sink_eventfunc),
10122         (gst_base_transform_handle_buffer):
10123         Compare QoS timestamps against running time.
10124
10125 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10126
10127         * gst/gstpad.c:
10128           Typo fixes in docs.
10129
10130 2006-04-06  Michael Smith  <msmith@fluendo.com>
10131
10132         * gst/gstpad.c: (gst_pad_set_property):
10133           Use g_value_get_object() instead of g_value_dup_gst_object(),
10134           to avoid double-reffing the pad template (which we then sink,
10135           so this worked previously if (and only if) the pad template
10136           was floating.
10137
10138         * gst/gstpadtemplate.c: (gst_pad_template_init),
10139         (gst_pad_template_pad_created):
10140           Never return floating references to pad templates, create
10141           them as initially-sunken.
10142
10143           Document an extra function (and make this stop sinking our
10144           pad template, since that is now guaranteed to do nothing,
10145           since we created it sunken).
10146
10147         * gst/gstghostpad.c:
10148           Fix docs typo.
10149
10150 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10151
10152         * gst/gstinfo.c: (__gst_in_valgrind):
10153           Add some newlines.
10154
10155         * plugins/elements/gsttypefindelement.c:
10156         (gst_type_find_element_chain):
10157           Don't leak buffer caps.
10158
10159 2006-04-06  Michael Smith  <msmith@fluendo.com>
10160
10161         * gst/parse/grammar.y:
10162           Fix a leak in parse-launch for any source-or-sink named element 
10163           references used.
10164
10165         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10166           Unref the pipeline if it exists after we've failed parsing.
10167
10168 2006-04-05  Michael Smith  <msmith@fluendo.com>
10169
10170         * gst/gstpipeline.c: (gst_pipeline_init):
10171           When we create a pipeline bus, initially create it in flushing mode.
10172           Fixes leaks in at least one test, and makes a new pipeline work the
10173           same as one that has gone to READY and then back to NULL.
10174
10175         * gst/gstelement.c:
10176           Typo fix in docs.
10177
10178 2006-04-05  Michael Smith  <msmith@fluendo.com>
10179
10180         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10181           Unref a pad we reffed.
10182         * tests/check/gst/gstutils.c: (GST_START_TEST):
10183           Unref bins
10184
10185 2006-04-05  Michael Smith  <msmith@fluendo.com>
10186
10187         * gst/gstquery.c: (gst_query_set_formats),
10188         (gst_query_set_formatsv):
10189           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10190
10191 2006-04-05  Michael Smith  <msmith@fluendo.com>
10192
10193         * tests/check/generic/sinks.c: (GST_START_TEST):
10194           Fix a variety of memleaks in sinks check, which are only sometimes 
10195           shown by running the tests under valgrind (weird?).
10196
10197 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10198
10199         * docs/version.entities.in:
10200           Fix the substituted entity name after thomas' changes on the
10201           weekend.
10202
10203 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10204
10205         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10206         VALGRIND_PRINTF
10207         
10208 2006-04-05  Andy Wingo  <wingo@pobox.com>
10209
10210         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10211
10212         * libs/gst/base/gstbasetransform.c
10213         (gst_base_transform_sink_eventfunc): When resetting our segment on
10214         FLUSH_STOP, also update the flag saying we haven't seen a
10215         newsegment.
10216
10217 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10218
10219         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10220
10221         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10222         (gst_plugin_check_license):
10223           minor clean-ups: G_DEFINE_TYPE already takes care of the
10224           parent_class stuff, no need to do it twice. Mark array of
10225           license strings as constant. (#337103)
10226           
10227 2006-04-04  Michael Smith  <msmith@fluendo.com>
10228
10229         * tools/gst-inspect.c: (print_element_list):
10230           Free the right plugin list; fixes a memory leak.
10231
10232 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10233
10234         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10235
10236         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10237           Don't error out on empty buffers (#336945).
10238           
10239 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10240
10241         * docs/libs/gstreamer-libs-sections.txt:
10242         * gst/gsttaglist.c:
10243         * libs/gst/base/gstbasesink.c:
10244         * libs/gst/base/gstbasesink.h:
10245         * libs/gst/base/gstbasesrc.c:
10246         * libs/gst/base/gstbasesrc.h:
10247           Documentation updates. Make BaseSink and BaseSrc docs contain the
10248           class structure so that people can actually see the prototypes for
10249           virtual functions they're supposed to be overriding.
10250
10251 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10252
10253         * plugins/elements/gsttypefindelement.c:
10254         (gst_type_find_element_chain):
10255           More debug info; when skipping typefinding, send cached
10256           events in all cases.
10257
10258 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10259
10260         * configure.ac:
10261           use new AS_VERSION and AS_NANO macros
10262         * gst/gst-i18n-lib.h:
10263         * gst/gst.c:
10264         * gst/gsterror.c:
10265         * gst/gstversion.h.in:
10266         * win32/common/config.h:
10267         * win32/common/config.h.in:
10268           update accordingly
10269
10270 2006-03-31  Michael Smith  <msmith@fluendo.com>
10271
10272         * plugins/elements/gsttypefindelement.c:
10273         (gst_type_find_element_chain):
10274           Do not typefind content if the buffers already have caps.
10275           Neccesary for icydemux (#333657), and the right thing to do anyway.
10276
10277 2006-03-30  Wim Taymans  <wim@fluendo.com>
10278
10279         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10280         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10281         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10282         (gst_base_sink_record_qos_observation),
10283         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10284         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10285         (gst_base_sink_change_state):
10286         More QoS measurements as described in the design doc.
10287         Get rid of ringbuffer with observations, running average is
10288         more simple and equally good.
10289         Calculates valid proportion now.
10290         Added beginning of flood measurement.
10291
10292 2006-03-29  Wim Taymans  <wim@fluendo.com>
10293
10294         * docs/design/part-qos.txt:
10295         * gst/gstclock.c:
10296         Small documentation updates and additions.
10297
10298 2006-03-29  Wim Taymans  <wim@fluendo.com>
10299
10300         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10301         (gst_base_src_send_event), (gst_base_src_loop),
10302         (gst_base_src_change_state):
10303         Perform the EOS logic when we reach the segment stop position.
10304         Fix compilation on gcc4.1
10305
10306 2006-03-29  Wim Taymans  <wim@fluendo.com>
10307
10308         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10309
10310         * plugins/elements/gstqueue.c: (gst_queue_init),
10311         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10312         (gst_queue_set_property):
10313         * plugins/elements/gstqueue.h:
10314         In queue, when EOS is received, if minimum threshold > max_size -
10315         current_level, there is chance that queue blocks forever in conditional
10316         item del wait. This is because the queue is not emptied completely due
10317         to minimum threshold.  Here is another approach. Instead of setting
10318         cur_levels to max in EOS, just zero all minimum threshold levels. This
10319         should make sure that queue gives out all data. When going to READY
10320         (stop) state, just reset the original minimum threshold levels.
10321         Fixes #336336.
10322
10323 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10324
10325         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10326         (gst_type_find_element_handle_event),
10327         (gst_type_find_element_send_cached_events),
10328         (gst_type_find_element_change_state):
10329         * plugins/elements/gsttypefindelement.h:
10330           When typefinding is done in push mode, we should cache
10331           events we receive during typefinding instead of just
10332           dropping them (e.g. newsegment, custom events from
10333           dvdreadsrc etc.) and then send them out once we've
10334           determined the type of the stream (and decodebin
10335           has had a chance to plug in a decoder/demuxer).
10336           
10337 2006-03-27  Wim Taymans  <wim@fluendo.com>
10338
10339         * docs/design/part-qos.txt:
10340         First QoS ideas.
10341
10342 2006-03-27  Wim Taymans  <wim@fluendo.com>
10343
10344         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10345
10346         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10347         (gst_base_src_send_event), (gst_base_src_change_state):
10348         Handle element seek correctly when we are streaming.
10349         Fixes #326998.
10350
10351 2006-03-24  Michael Smith  <msmith@fluendo.com>
10352
10353         * docs/faq/gst-uninstalled:
10354           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10355           allow you to correctly run intalled applications built against old 
10356           core, using plugins that require updated core (e.g. running
10357           installed totem against a full uninstalled gstreamer stack)
10358
10359 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10360
10361         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10362         more debug details
10363
10364 2006-03-24  Wim Taymans  <wim@fluendo.com>
10365
10366         * docs/gst/gstreamer-sections.txt:
10367         Rearrange the order of the methods so that related methods
10368         are grouped together in sections.
10369
10370 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10371
10372         * gst/gstelement.c:
10373           Little clarification in the docs
10374
10375 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10376
10377         * docs/README:
10378         formatting fix
10379         * plugins/elements/gstidentity.c:
10380         * plugins/elements/gstqueue.c:
10381         * plugins/elements/gsttee.c:
10382         * plugins/elements/gsttypefindelement.c:
10383         GST_ELEMENT_DETAILS formatting
10384
10385 2006-03-24  Wim Taymans  <wim@fluendo.com>
10386
10387         * libs/gst/base/gstbasesink.h:
10388         Only add fields, not insert or we break ABI.
10389
10390 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10391
10392         * win32/common/libgstbase.def:
10393         * win32/common/libgstreamer.def:
10394           Update, add recently added functions.
10395
10396 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10397
10398         * docs/gst/gstreamer-sections.txt:
10399         * gst/gstutils.c: (gst_pad_query_peer_position),
10400         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10401         * gst/gstutils.h:
10402           API: add some new utility functions:
10403            - gst_pad_query_peer_position()
10404            - gst_pad_query_peer_duration()
10405            - gst_pad_query_peer_convert()
10406           
10407 2006-03-23  Wim Taymans  <wim@fluendo.com>
10408
10409         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10410         (gst_base_sink_init), (gst_base_sink_finalize),
10411         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10412         (gst_base_sink_set_property), (gst_base_sink_get_property),
10413         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10414         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10415         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10416         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10417         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10418         (gst_base_sink_preroll_object), (gst_base_sink_event),
10419         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10420         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10421         (gst_base_sink_query), (gst_base_sink_change_state):
10422         Decouple max-lateness and the fact that QoS messages are generated
10423         with a new property (qos).
10424         added API: GstBaseSink::async_play()
10425         Add vmethod so subclasses can be notified of ASYNC playing
10426         state changes.
10427         Collect timestamp start and stop to report better current
10428         position in EOS/PLAYING/PAUSED/READY/NULL.
10429         Refactor QoS/frame dropping and other measurements.
10430         API: GstBaseSrc::qos
10431         Fixes #326311
10432
10433         * libs/gst/base/gstbasesink.h:
10434         Added Private struct.
10435         API: gst_base_sink_set_qos_enabled()
10436         API: gst_base_sink_is_qos_enabled()
10437
10438 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10439
10440         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10441           If compiling against GLib-2.8 or newer, try to read the
10442           registry file using GMappedFile first before falling back
10443           to fopen() + fread() (#332151).
10444
10445 2006-03-22  Wim Taymans  <wim@fluendo.com>
10446
10447         * gst/gstinfo.c: (gst_debug_set_active),
10448         (gst_debug_category_set_threshold):
10449         Disable debugging unless explicitly activated.
10450         Fixes #335480.
10451
10452 2006-03-22  Wim Taymans  <wim@fluendo.com>
10453
10454         * gst/gstelement.c: (gst_element_set_locked_state),
10455         (gst_element_dispose):
10456         Cleanup the error case.
10457
10458         * gst/gstobject.c: (gst_object_dispose):
10459         print a critical when some object was disposed with
10460         a parent, also revive the object since it might
10461         crash the parent.
10462
10463 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10464
10465         * tools/gst-launch.1.in:
10466           Fix another typo.
10467
10468 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10469
10470         * configure.ac:
10471         * tests/check/Makefile.am:
10472           disable some tests when we don't have a registry
10473         * tests/check/gst/gstutils.c: (gst_utils_suite):
10474           don't build the part that needs parsing
10475
10476 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10477
10478         * gst/Makefile.am
10479         * tests/examples/Makefile.am:
10480           fix --disable-parse build
10481
10482 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10483
10484         * tools/gst-feedback.1.in:
10485           Fix typo: s/feeback/feedback/ (#133494).
10486
10487 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10488
10489         * tools/Makefile.am:
10490         * tools/gst-launch.1.in:
10491           Add FILES section and correct entry about GST_REGISTRY_PATH
10492           environment variable (#133495; #133494).
10493
10494 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10495
10496         * tools/Makefile.am:
10497         * tools/gst-md5sum.1.in:
10498         * tools/gst-md5sum.c:
10499           Remove gst-md5sum and man page (the md5sink element
10500           required was removed ages ago)
10501
10502 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10503
10504         * gst/gststructure.c: (gst_structure_id_set_value):
10505           Make sure that string fields in structures/taglists
10506           contain valid UTF-8 - we don't want to pass rubbish to
10507           applications because of a buggy plugin (cp. #334167).
10508
10509 2006-03-21  Edward Hervey  <edward@fluendo.com>
10510
10511         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10512         (gst_bin_handle_message_func):
10513         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10514         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10515         (gst_element_set_bus_func):
10516         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10517         * gst/gstminiobject.c: (gst_value_set_mini_object),
10518         (gst_value_take_mini_object):
10519         * gst/gstpad.c: (gst_pad_set_pad_template):
10520         * gst/gstpipeline.c: (gst_pipeline_dispose),
10521         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10522         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10523         (gst_collect_pads_chain):
10524         * libs/gst/net/gstnettimeprovider.c:
10525         (gst_net_time_provider_set_property):
10526         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10527         It's in fact all issues with gst_*object_replace().
10528
10529 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10530
10531         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10532         
10533         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10534         * pkgconfig/gstreamer-check.pc.in:
10535           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10536
10537 2006-03-21  Edward Hervey  <edward@fluendo.com>
10538
10539         * gst/gstbuffer.h:
10540         * gst/gstevent.h:
10541         * gst/gstmessage.h:
10542         gst_[buffer|event|message]_ref() macros are replaced by a static
10543         inline functions because gcc-4.1 will about if the return value
10544         isn't used.
10545         * tests/check/gst/gstevent.c: (event_probe):
10546         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10547
10548 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10549
10550         * gst/gstutils.h:
10551         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10552         the type' case. (Closes: #335195 for now). In the future, when we
10553         depend on GLib 2.10, we could also intern the type name using
10554         g_intern_static_string()
10555
10556 2006-03-20  Wim Taymans  <wim@fluendo.com>
10557
10558         * gst/gstbin.c: (gst_bin_handle_message_func),
10559         (bin_query_max_init), (bin_query_position_fold),
10560         (bin_query_position_done), (gst_bin_query):
10561         Position query should also take max of all streams.
10562
10563 2006-03-20  Wim Taymans  <wim@fluendo.com>
10564
10565         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10566         (gst_fake_src_finalize):
10567         Fix leaks in fakesrc.
10568
10569         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10570         Fix leaks in the testcase.
10571
10572 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10573
10574         * gst/gst_private.h:
10575           add win32 specific import decoration(__declspec(dllimport)) 
10576           for all extern GstDebugCategory * variables
10577         * win32/common/libgstbase.def:
10578         * win32/common/libgstcontroller.def:
10579         * win32/common/libgstreamer.def:
10580           Add some exports, remove empty lines
10581         * win32/common/libgstdataprotocol.def:
10582         * win32/common/libgstdataprotocol.dsp:
10583         * win32/common/libgstnet.def:
10584         * win32/common/libgstnet.dsp:
10585           new project files and exportation files added
10586         
10587 2006-03-19  Wim Taymans  <wim@fluendo.com>
10588
10589         * tests/check/libs/basesrc.c: (eos_event_counter):
10590         Use proper return value for probe.
10591
10592 2006-03-17  Wim Taymans  <wim@fluendo.com>
10593
10594         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10595         (gst_pad_push):
10596         Don't leak buffers, caps and pads on negotiation errors.
10597
10598 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10599
10600         * docs/faq/cvs.xml:
10601         * docs/faq/dependencies.xml:
10602         * docs/faq/developing.xml:
10603         * docs/faq/faq.xml:
10604         * docs/faq/general.xml:
10605         * docs/faq/getting.xml:
10606         * docs/faq/legal.xml:
10607         * docs/faq/troubleshooting.xml:
10608         * docs/faq/using.xml:
10609         Faq review and update.
10610
10611 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10612
10613         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10614         (gst_pad_push):
10615         Don't pound the cpu to pieces by checking get_caps when accept_caps
10616         is called with the same caps as the pad already has.
10617         Use GST_DEBUG_OBJECT when outputting caps change information.
10618
10619 2006-03-15  Wim Taymans  <wim@fluendo.com>
10620
10621         * gst/gstclock.c: (gst_clock_class_init):
10622         Fix docs.
10623
10624 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10625
10626         * gst/gstbuffer.h:
10627         Documentation fix.
10628
10629         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10630         (gst_pad_accept_caps), (gst_pad_configure_sink),
10631         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10632         Make the default acceptcaps behaviour be to check the requested 
10633         caps against the gst_pad_get_caps output. 
10634
10635         Ensure that gst_pad_accept_caps is used to check caps when a pad
10636         doesn't have a setcaps function, so that pads automatically refuse 
10637         caps that they don't allow in their pad template. (Fixes #332986)
10638
10639         When a buffer with attached caps is pushed, ensure that the source 
10640         pad receives those caps even if the element didn't call
10641         gst_pad_set_caps first.
10642
10643 2006-03-15  Wim Taymans  <wim@fluendo.com>
10644
10645         * libs/gst/base/gstadapter.c:
10646         Add some docs.
10647
10648 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10649
10650         * win32/common/libgstbase.def:
10651         * win32/common/libgstcontroller.def:
10652         * win32/common/libgstreamer.def:
10653           Add a whole bunch of missing functions (#334434).
10654
10655 2006-03-14  Wim Taymans  <wim@fluendo.com>
10656
10657         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10658         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10659         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10660         Better debug info when we receive a segment event.
10661         Reorganize a bit so we can pass the get_times() results around.
10662         Use the segment format when calculating the running time.
10663         Don't do QoS is sync is disabled or we have no clock or the
10664         element does not want us to sync to the clock.
10665         Don't drop buffers if QoS is disabled for now.
10666
10667 2006-03-14  Wim Taymans  <wim@fluendo.com>
10668
10669         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10670         Marked the stats property as unimplemented so people don't get
10671         wild ideas.
10672         Add debug message when regression goes wrong.
10673         Added some more docs.
10674
10675 2006-03-14  Wim Taymans  <wim@fluendo.com>
10676
10677         * gst/gstsegment.c: (gst_segment_to_stream_time):
10678         Return correct return type in case of errors.
10679
10680 2006-03-14  Wim Taymans  <wim@fluendo.com>
10681
10682         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10683           Don't segfault on invalid formats.
10684
10685 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10686
10687         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10688           Can't use gst_segment_to_running_time() when the segment
10689           is not in GST_TIME_FORMAT (like with filesink, for example).
10690           Stops flac encoding pipelines from spewing critical warnings
10691           at EOS (#331248).
10692           
10693 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10694
10695         * gst/gstpipeline.c: (gst_pipeline_class_init):
10696           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10697
10698         * plugins/elements/gsttypefindelement.c:
10699         (gst_type_find_element_handle_event):
10700           Don't try to typefind empty streams.
10701
10702 2006-03-14  Wim Taymans  <wim@fluendo.com>
10703
10704         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10705         (gst_base_sink_do_qos):
10706         Separate QoS calculation.
10707         Only drop buffers when lateness is bigger than the 
10708         duration of the buffer.
10709
10710 2006-03-13  Wim Taymans  <wim@fluendo.com>
10711
10712         * gst/gstpipeline.c: (gst_pipeline_set_property),
10713         (gst_pipeline_get_property), (do_pipeline_seek),
10714         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10715         (gst_pipeline_get_delay):
10716         Don't deadlock when reading properties.
10717
10718 2006-03-13  Wim Taymans  <wim@fluendo.com>
10719
10720         * libs/gst/base/gstbasetransform.c:
10721         (gst_base_transform_class_init), (gst_base_transform_init),
10722         (gst_base_transform_sink_event),
10723         (gst_base_transform_sink_eventfunc),
10724         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10725         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10726         (gst_base_transform_set_property),
10727         (gst_base_transform_get_property),
10728         (gst_base_transform_change_state), (gst_base_transform_update_qos),
10729         (gst_base_transform_set_qos_enabled),
10730         (gst_base_transform_is_qos_enabled):
10731         * libs/gst/base/gstbasetransform.h:
10732         Make basetransform virtual method for src events too.
10733         Handle QOS in basetransform.
10734         API: gst_base_transform_update_qos()
10735         API: gst_base_transform_set_qos_enabled()
10736         API: gst_base_transform_is_qos_enabled()
10737
10738 2006-03-13  Wim Taymans  <wim@fluendo.com>
10739
10740         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10741         (gst_base_sink_do_sync):
10742         Small cleanups.
10743         Use QOS debug category.
10744
10745 2006-03-13  Wim Taymans  <wim@fluendo.com>
10746
10747         * plugins/elements/gstqueue.c:
10748         Very small doc update.
10749
10750 2006-03-13  Wim Taymans  <wim@fluendo.com>
10751
10752         * gst/gst_private.h:
10753         * gst/gstinfo.c: (_gst_debug_init):
10754         Added QOS debug category
10755
10756 2006-03-13  Wim Taymans  <wim@fluendo.com>
10757
10758         * docs/gst/gstreamer-sections.txt:
10759         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10760         * gst/gstbin.h:
10761         * gst/gstbus.c: (gst_bus_class_init):
10762         * gst/gstbus.h:
10763         * gst/gstclock.c:
10764         * gst/gstelement.c: (gst_element_set_locked_state):
10765         * gst/gstsegment.c:
10766         Documentation updates.
10767
10768         * gst/gstpipeline.c: (gst_pipeline_get_type),
10769         (gst_pipeline_class_init), (gst_pipeline_init),
10770         (gst_pipeline_dispose), (gst_pipeline_set_property),
10771         (gst_pipeline_get_property), (do_pipeline_seek),
10772         (gst_pipeline_send_event), (gst_pipeline_change_state),
10773         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10774         (gst_pipeline_get_delay):
10775         * gst/gstpipeline.h:
10776         Added methods for setting the delay.
10777         API: gst_pipeline_set_delay()
10778         API: gst_pipeline_get_delay()
10779         Add pipeline debug category
10780         Various cleanups.
10781         Updated docs.
10782         Don't reset stream time when seek failed.
10783
10784 2006-03-13  Wim Taymans  <wim@fluendo.com>
10785
10786         * docs/design/draft-klass.txt:
10787         * docs/design/part-clocks.txt:
10788         * docs/design/part-events.txt:
10789         * docs/design/part-gstbin.txt:
10790         * docs/design/part-gstpipeline.txt:
10791         * docs/design/part-messages.txt:
10792         * docs/design/part-negotiation.txt:
10793         * docs/design/part-overview.txt:
10794         * docs/design/part-preroll.txt:
10795         * docs/design/part-seeking.txt:
10796         * docs/design/part-states.txt:
10797         * docs/design/part-streams.txt:
10798         Documentation updates.
10799
10800 2006-03-12  Julien MOUTTE  <julien@moutte.net>
10801
10802         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10803         us to leak strings...
10804
10805 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10806
10807         * libs/gst/net/gstnettimeprovider.c:
10808           fix docs
10809         * win32/common/config.h:
10810           update
10811
10812 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
10813
10814         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10815
10816         * configure.ac:
10817           Don't check for libgnomeui (leftover from old examples
10818           that aren't built or disted any longer) (#334303).
10819           
10820 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
10821
10822         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10823         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10824           Emit RESOURCE_NO_SPACE_LEFT error here as well when
10825           there's no space left on the device.
10826
10827 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
10828
10829         * gst/gstclock.h:
10830           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10831           to cast the input to GstClockTime before comparing with
10832           another GstClockTime value.
10833
10834 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10835
10836         * configure.ac:
10837           back to trunk
10838
10839 === release 0.10.4 ===
10840
10841 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
10842
10843         * configure.ac:
10844           releasing 0.10.4, "Light"
10845
10846 2006-03-10  Michael Smith  <msmith@fluendo.com>
10847
10848         * libs/gst/dataprotocol/dataprotocol.c:
10849           Fix docs for dataprocotol to not get the return types completely
10850           wrong for a few functions.
10851
10852 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10853
10854         * docs/gst/gstreamer-sections.txt:
10855         * gst/gstpipeline.c: (gst_pipeline_class_init),
10856         (gst_pipeline_init), (gst_pipeline_set_property),
10857         (gst_pipeline_get_property), (gst_pipeline_change_state),
10858         (gst_pipeline_set_auto_flush_bus),
10859         (gst_pipeline_get_auto_flush_bus):
10860         * gst/gstpipeline.h:
10861           Add new API: gst_pipeline_set_auto_flush_bus() and
10862           gst_pipeline_get_auto_flush_bus() to disable automatic
10863           flushing of the pipeline's GstBus when going from READY
10864           to NULL state (#332045).
10865
10866 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10867
10868         * docs/gst/gstreamer-sections.txt:
10869         * gst/gsturi.c: (gst_uri_has_protocol):
10870         * gst/gsturi.h:
10871            Add new API: gst_uri_has_protocol() (#333779).
10872
10873 2006-03-09  Wim Taymans  <wim@fluendo.com>
10874
10875         * gst/gstclock.c: (gst_clock_entry_new),
10876         (gst_clock_id_compare_func), (gst_clock_id_wait),
10877         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10878         (gst_clock_init), (gst_clock_get_internal_time),
10879         (gst_clock_set_master), (do_linear_regression),
10880         (gst_clock_add_observation), (gst_clock_set_property):
10881         * gst/gstclock.h:
10882         Review docs.
10883         Small cleanups.
10884         Fix a possible segfault when the window-size is made smaller.
10885         Calculate jitter before performing the clock wait. Ideally
10886         the clock implementation should calculate jitter but we need
10887         API breakage for that.
10888
10889         * gst/gstsystemclock.c: (gst_system_clock_init):
10890         Docs review.
10891         
10892         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10893         Remove leftover else
10894
10895         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10896         (gst_systemclock_suite):
10897         Added check to test GST_CLOCK_DIFF.
10898
10899 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10900
10901         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10902         (gst_type_find_helper_get_range):
10903           If we are provided with the size, we should implement
10904           GstTypeFind::get_length, so that typefind functions who
10905           want to can actually peek at the middle of a file.
10906
10907 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
10908
10909         * docs/manual/advanced-dataaccess.xml:
10910           Add some very very basic error checking.
10911
10912         * docs/pwg/appendix-checklist.xml:
10913           Some updates to the list of things to check when writing an element.
10914
10915 2006-03-08  Wim Taymans  <wim@fluendo.com>
10916
10917         * docs/design/part-element-transform.txt:
10918         Added some docs about the design of tranform elements.
10919
10920         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10921         (gst_base_src_loop), (gst_base_src_change_state):
10922         Mark buffers with the DISCONT flag.
10923
10924 2006-03-08  Michael Smith  <msmith@fluendo.com>
10925
10926         * gst/gstregistry.h:
10927         * gst/gstregistryxml.c: (gst_registry_save),
10928         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10929         (gst_registry_xml_save_pad_template),
10930         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10931         (gst_registry_xml_write_cache):
10932           Rewrite registry-saving to avoid race conditions and check for
10933           failed writes.
10934
10935 2006-03-08  Wim Taymans  <wim@fluendo.com>
10936
10937         * libs/gst/base/gstbasetransform.c:
10938         (gst_base_transform_transform_caps),
10939         (gst_base_transform_transform_size),
10940         (gst_base_transform_prepare_output_buffer),
10941         (gst_base_transform_get_unit_size),
10942         (gst_base_transform_buffer_alloc),
10943         (gst_base_transform_handle_buffer),
10944         (gst_base_transform_change_state):
10945         Cleanups, separate normal flow from errors, add sensible
10946         DEBUG lines.
10947         Don't try to renegotiate when allocating an output buffer.
10948         Also copy DISCONT buffer flag when copying a buffer.
10949         Reset the transform after we finish streaming, not during.
10950
10951 2006-03-08  Wim Taymans  <wim@fluendo.com>
10952
10953         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10954         Use last buffer timestamp in qos message.
10955
10956 2006-03-07  Wim Taymans  <wim@fluendo.com>
10957
10958         Patch by: Christophe Fergeau
10959
10960         * docs/pwg/advanced-tagging.xml:
10961         * docs/pwg/building-pads.xml:
10962           fixes #333416
10963
10964 2006-03-07  Wim Taymans  <wim@fluendo.com>
10965
10966         * docs/libs/gstreamer-libs-sections.txt:
10967         Added basesink new methods.
10968
10969         * gst/gstevent.c:
10970         * gst/gstevent.h:
10971         Docs updates. Flesh out the QoS docs.
10972
10973         * libs/gst/base/gstadapter.c:
10974         Small doc clarification about ownership and flushing.
10975
10976         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10977         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10978         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10979         (gst_base_sink_get_property), (gst_base_sink_do_sync):
10980         * libs/gst/base/gstbasesink.h:
10981         API additions: 
10982         Added new methods to allow subclass to control max-lateness 
10983         and sync.
10984         Generate very basic QoS events based on last sync observation.
10985         Updated docs, fix typo, added some QoS blurb.
10986
10987         * libs/gst/base/gstbasesrc.c:
10988         Remove obsolete _get_state() calls from docs.
10989
10990 2006-03-07  Wim Taymans  <wim@fluendo.com>
10991
10992         * docs/libs/gstreamer-libs-sections.txt:
10993         * libs/gst/base/gstbasetransform.h:
10994         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10995         Fix docs for GstBaseSrc.
10996
10997 2006-03-07  Wim Taymans  <wim@fluendo.com>
10998
10999         * docs/gst/gstreamer-sections.txt:
11000         * gst/gstbuffer.h:
11001         * gst/gstvalue.c:
11002         * libs/gst/base/gstbasetransform.h:
11003         Small documentation fixes.
11004
11005 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11006
11007         * gst/gstvalue.c:
11008           Document thread-unsafety of gst_value_register_foo_func()
11009           when used at the same time as gst_value_foo() (#322628).
11010
11011 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11012
11013         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11014         (gst_push_src_check_get_range):
11015           Push sources don't support pull mode by default.
11016
11017 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11018
11019         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11020         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11021         (gst_base_src_default_check_get_range):
11022         * libs/gst/base/gstbasesrc.h:
11023           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11024           provide default implementation, and rename
11025           gst_base_src_check_get_range() to
11026           gst_base_src_pad_check_get_range() for clarity.
11027
11028 2006-03-06  Wim Taymans  <wim@fluendo.com>
11029
11030         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11031         Make property overridable.
11032
11033 2006-03-06  Wim Taymans  <wim@fluendo.com>
11034
11035         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11036         (gst_base_sink_init), (gst_base_sink_set_property),
11037         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11038         * libs/gst/base/gstbasesink.h:
11039         API addition: Make max-lateness a property.
11040
11041 2006-03-06  Wim Taymans  <wim@fluendo.com>
11042
11043         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11044         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11045         Don't ever draw a frame that is >10ms late.
11046
11047 2006-03-06  Michael Smith  <msmith@fluendo.com>
11048
11049         * gst/gstmessage.c: (_gst_message_copy):
11050           When copying a message, set the parent_refcount of the enclosed
11051           structure to point at the copy, not the original message.
11052
11053 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11054
11055         Patch by: Christophe Fergeau
11056
11057         * gst/gstutils.h:
11058           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11059           usable in c++ code (#333417)
11060
11061 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11062
11063         * gst/gstclock.h:
11064           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11065
11066 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11067
11068         * libs/gst/base/gstbasetransform.c:
11069         (gst_base_transform_transform_caps):
11070           Make sure caps are writable before passing them to
11071           gst_caps_append().
11072
11073 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11074
11075         * gst/gsterror.h:
11076           Fix some minor docs errors.
11077
11078 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11079
11080           Patch by: Ross Burton <ross at burtonini dot com>
11081
11082         * gst/gsterror.c: (_gst_resource_errors_init):
11083         * gst/gsterror.h:
11084           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11085
11086 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11087
11088         * gst/gst.c:
11089         Add a check and output a g_warning when GStreamer is built
11090         against GLib 2.6 but running against 2.8 or higher, and vice 
11091         versa. (Closes: #323542)
11092
11093 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11094
11095         * gst/parse/parse.l:
11096           Commit patch for parse_launch syntax from #331255. Removes 
11097           support for quoted strings and mimetypes when writing filtered 
11098           caps. See the bug report for more details - I'm pretty sure this
11099           obscure feature is not in use by _anyone_ anywhere.
11100
11101           With this simple change, the size of the gstreamer.so here 
11102           drops from 2193KB to 1565KB.
11103
11104 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11105
11106         * plugins/elements/gsttypefindelement.h:
11107         * plugins/elements/gsttypefindelement.c:
11108         (gst_type_find_element_src_event), (start_typefinding),
11109         (stop_typefinding), (gst_type_find_element_handle_event),
11110         (gst_type_find_element_chain),
11111         (gst_type_find_element_chain_do_typefinding):
11112           Use gst_type_find_helper_for_buffer() for chain-based
11113           typefinding.
11114
11115 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11116
11117         * plugins/elements/gsttypefindelement.c:
11118         (gst_type_find_element_class_init),
11119         (gst_type_find_element_set_property),
11120         (gst_type_find_element_get_property):
11121           Deprecate "maximum" property (not only was it only taken into
11122           account for typefinding in push-mode anyway, it also was never
11123           actually possible to set it in the first place because the
11124           property was registered with the numeric property ID for the
11125           "minimum" property). Register "maximum" property correctly,
11126           for the sake of future copy'n'pasters. Remove some cruft
11127           from property get/set functions.
11128
11129 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11130
11131         * plugins/elements/gsttypefindelement.c:
11132         (gst_type_find_element_activate):
11133           Use gst_type_find_helper_get_range() here, so we
11134           can honour the "minimum" property and also emit
11135           the signal with the correct probability of the found caps.
11136
11137 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11138
11139         * docs/libs/gstreamer-libs-sections.txt:
11140         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11141         (helper_find_suggest), (gst_type_find_helper_get_range),
11142         (gst_type_find_helper):
11143         * libs/gst/base/gsttypefindhelper.h:
11144           New API: gst_type_find_helper_get_range() (#333042).
11145
11146 2006-03-02  Michael Smith  <msmith@fluendo.com>
11147
11148         * gst/gstregistryxml.c: (load_feature):
11149           Asserting on a failure to read part of the registry is Not Cool.
11150           Just log a warning and return NULL (which is already handled)
11151
11152 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11153
11154         * win32/common/libgstbase.def:
11155           added export of gst_type_find_helper_for_buffer
11156         * win32/common/libgstbase.def:
11157           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11158           gst_ghost_pad_get_target
11159
11160 2006-02-28  Wim Taymans  <wim@fluendo.com>
11161
11162         * docs/design/draft-klass.txt:
11163         We use Filter now.
11164         Added Connector to mark elements that are only used to
11165         allow pipeline connections.
11166         Moved Debug to extra feature since most of them are 
11167         functionally something else.
11168
11169 2006-02-28  Wim Taymans  <wim@fluendo.com>
11170
11171         * docs/design/draft-klass.txt:
11172         Some updates and clarifications.
11173
11174 2006-02-28  Wim Taymans  <wim@fluendo.com>
11175
11176         * docs/design/draft-klass.txt:
11177         Proposal for klass field values.
11178
11179         * docs/design/part-streams.txt:
11180         Start of a doc describing stream anatomy.
11181
11182 2006-02-28  Wim Taymans  <wim@fluendo.com>
11183
11184         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11185         Help the compiler a bit with type registration.
11186         Use existing forward cod path instead of duplicating it when 
11187         handling a message.
11188         
11189         * gst/gstbus.c: (gst_bus_get_type):
11190         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11191         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11192         * gst/gstclock.c: (gst_clock_get_type):
11193         * gst/gstelement.c: (gst_element_get_type),
11194         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11195         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11196         * gst/gstminiobject.c: (gst_mini_object_get_type):
11197         * gst/gstpad.c: (gst_pad_get_type):
11198         * gst/gstsegment.c: (gst_segment_get_type):
11199         * gst/gststructure.c: (gst_structure_get_type):
11200         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11201         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11202         * gst/gstvalue.c:
11203         Help compiler with type registration.
11204
11205         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11206         Small doc update.
11207
11208 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11209
11210         * plugins/elements/gsttypefindelement.c:
11211         (gst_type_find_element_handle_event):
11212           When we get an EOS event and have not found a type yet
11213           (most likely because we had not yet accumulated
11214           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11215           type given the data we have so far. Fixes typefinding
11216           for very short streams again, most notably quicktime
11217           redirections as used on Apple's trailer site (#331701).
11218
11219 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11220
11221         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11222         (gst_type_find_helper):
11223           Try typefinding factories with the highest rank first.
11224
11225 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11226
11227         * docs/libs/gstreamer-libs-docs.sgml:
11228         * docs/libs/gstreamer-libs-sections.txt:
11229         * libs/gst/base/gsttypefindhelper.c:
11230           Add section for typefind helper and add documentation
11231           for the old and the new function.
11232
11233 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11234
11235         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11236         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11237         (gst_type_find_helper_for_buffer):
11238         * libs/gst/base/gsttypefindhelper.h:
11239           New API: gst_type_find_helper_for_buffer() (#332723).
11240           
11241 2006-02-27  Michael Smith  <msmith@fluendo.com>
11242
11243         Patch by: Loïc Minier
11244
11245         * configure.ac:
11246         * docs/Makefile.am:
11247         * docs/slides/Makefile.am:
11248           prevent CVS directories getting disted.
11249
11250 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11251
11252         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11253           Use the REFCOUNTING category for caps refcounting.
11254           
11255 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11256
11257         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11258           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11259
11260 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11261
11262         * plugins/elements/gsttypefindelement.c:
11263         (gst_type_find_element_activate):
11264           Use gst_pad_check_pull_range() before _activate_pull()
11265           to avoid unnecessary open/close (see #331690).
11266
11267 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11268
11269         * gst/gstutils.c:
11270           Docs enhancement: make it crystal clear what the
11271           gst_pad_add_*_probe() callbacks should look like.
11272
11273 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11274
11275         * libs/gst/base/gstbasesrc.c:
11276           Document how applications can stop recording from
11277           live sources (see #330996).
11278
11279 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11280
11281         * tests/check/Makefile.am:
11282         * tests/check/libs/basesrc.c: (eos_event_counter),
11283         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11284         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11285         (gst_basesrc_suite), (main):
11286           ... and add some tests for the base source EOS stuff.
11287
11288 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11289
11290         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11291           Test case originally showed the problem fixed below,
11292           but was then amended. Add checks back at the place
11293           where they used to be.
11294
11295 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11296
11297         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11298         (gst_base_src_init), (gst_base_src_loop),
11299         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11300         (gst_base_src_change_state):
11301         * libs/gst/base/gstbasesrc.h:
11302           Don't unconditionally send EOS when going from PAUSED to
11303           READY state, esp. make sure we don't send two EOS events
11304           in some cases (e.g. one when reaching EOS and one when
11305           going from PAUSED to READY). Also, we don't want to send
11306           EOS events when operating in pull mode. However, we do
11307           want to send an EOS event when shutting down a live
11308           source explicitly, for example (fixes #330996).
11309           
11310 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11311
11312         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11313           Update src->read_position after a seek when not using mmap.
11314           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11315
11316 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11317
11318         * gst/Makefile.am:
11319         * gst/gstparse.h:
11320         * gst/gstutils.c:
11321         * gst/gstutils.h:
11322         Make things work with --disable-parse as they do with 
11323         --disable-load-save - the symbols involved disappear, but the
11324         header is still installed and GST_DISABLE_PARSE is included via
11325         gstconfig.h
11326
11327 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11328
11329         * libs/gst/base/gstbasetransform.c:
11330         (gst_base_transform_change_state): Fix a stupid bug. I was 
11331         sure I compiled that.
11332
11333 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11334
11335         * gst/gstpad.c: (gst_pad_set_blocked_async):
11336         * gst/gstutils.c: (gst_pad_add_data_probe),
11337         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11338         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11339         (gst_pad_remove_buffer_probe): Make those function act on the
11340         ghostpad target when it's a ghostpad. (Closes #331727)
11341
11342 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11343
11344         * libs/gst/base/gstbasetransform.c:
11345         (gst_base_transform_change_state): Make basetransform reusable.
11346         (Closes #331898)
11347
11348 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11349
11350         * docs/random/release:
11351         Move the current documentation of how to do a release to the top
11352         of the file.
11353
11354         * gst/gstbin.c: (gst_bin_class_init),
11355         (gst_bin_handle_message_func):
11356         Allow multiple state-recalculation threads. (Closes #328873)
11357
11358 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11359
11360         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11361         * gst/gstpad.c: (gst_pad_set_event_function),
11362         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11363         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11364         2 strings. You can't use the STR_NULL macro on that.
11365
11366 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11367
11368         * gst/gstpad.c: (gst_pad_set_event_function),
11369         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11370         (gst_pad_set_getcaps_function)
11371         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11372           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11373           So now, we can use --gst-debug-level=5 on Windows
11374         * win32/common/libgstcontroller.def:
11375           Added export of gst_controller_init
11376         * win32/vs6/libgstcontroller.dsp:
11377           Fixed Release post build configuration
11378
11379 2006-02-17  Wim Taymans  <wim@fluendo.com>
11380
11381         * tests/check/gst/gstquery.c: (GST_START_TEST):
11382         Added another check.
11383
11384 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11385
11386         * plugins/elements/gsttypefindelement.c: (find_peek):
11387           We can do peeks at non-zero offsets, as long as they
11388           fall within the buffer we have.
11389
11390 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11391
11392         * tests/check/Makefile.am:
11393         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11394         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11395         (parse_suite), (main):
11396           Add testsuite for parse launch syntax
11397
11398 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11399
11400         * plugins/elements/gsttypefindelement.c:
11401         (gst_type_find_element_chain):
11402           When typefinding is unsuccessful in the chain function, don't
11403           error out immediately. Only error out with NO_CAPS_FOUND if
11404           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11405           otherwise simply wait for more data so we can try typefinding
11406           again with more data later. Also, don't attempt to typefind
11407           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11408           this should improve typefinding from network sources where the
11409           size of the first buffer can be somewhat random.
11410
11411 2006-02-14  Wim Taymans  <wim@fluendo.com>
11412
11413         * docs/gst/gstreamer-sections.txt:
11414         * gst/gstpadtemplate.c:
11415         * gst/gstpadtemplate.h:
11416         Fix padtemplate docs, fixes #328805.
11417
11418 2006-02-14  Wim Taymans  <wim@fluendo.com>
11419
11420         * tools/gst-launch.c: (main):
11421         NO_PREROLL is not an ERROR so don't send confusing messages
11422         to the user.
11423
11424 2006-02-14  Wim Taymans  <wim@fluendo.com>
11425
11426         Patch by: Torsten Schoenfeld
11427
11428         * gst/gstregistry.c: (gst_registry_get_default),
11429         (_gst_registry_cleanup):
11430         Protect default registry with lock and ref/sink it.
11431         Fixes #324818
11432
11433 2006-02-14  Wim Taymans  <wim@fluendo.com>
11434
11435         * gst/gstbuffer.c:
11436         * gst/gstquery.c: (gst_query_list_add_format),
11437         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11438         (gst_query_parse_formats_nth):
11439         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11440         Docs fixes.
11441
11442 2006-02-14  Wim Taymans  <wim@fluendo.com>
11443
11444         * docs/gst/gstreamer-sections.txt:
11445         Reworked query docs.
11446
11447         * gst/gstquery.c: (gst_query_new_formats),
11448         (gst_query_list_add_format), (gst_query_set_formats),
11449         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11450         (gst_query_parse_formats_nth):
11451         * gst/gstquery.h:
11452         Flesh out formats query, added some new methods.
11453         Fix part of #324398.
11454
11455         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11456         Added query creation tests.
11457
11458 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11459
11460         * gst/gstpad.c: (fixate_value):
11461         Add a default fixation for fraction lists.
11462
11463 2006-02-13  Wim Taymans  <wim@fluendo.com>
11464
11465         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11466         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11467         (gst_task_join):
11468         * gst/gsttask.h:
11469         Detect and warn for obvious deadlocks. fixes #320340
11470         Fix error case where lock was not released.
11471
11472         * tests/check/Makefile.am:
11473         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11474         (task_func), (gst_element_suite), (main):
11475         Add task check.
11476
11477 2006-02-13  Wim Taymans  <wim@fluendo.com>
11478
11479         * docs/gst/gstreamer-sections.txt:
11480         * gst/gstbus.c:
11481         Add new functions to docs.
11482
11483 2006-02-13  Wim Taymans  <wim@fluendo.com>
11484
11485         * docs/design/part-TODO.txt:
11486         Updated TODO list, basesrc supports seeking to non-bytes
11487         formats.
11488
11489         * docs/design/part-element-sink.txt:
11490         Update docs.
11491
11492         * gst/gstbin.c: (bin_replace_message),
11493         (gst_bin_handle_message_func):
11494         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11495         * gst/gstevent.c: (gst_event_finalize):
11496         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11497         (gst_pad_send_event):
11498         Use shiny new _TYPE_NAME macros.
11499
11500         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11501         Move debug statement up.
11502
11503         * gst/gstelement.c: (gst_element_set_locked_state):
11504         Add some debugging.
11505
11506 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11507
11508         * docs/gst/gstreamer-sections.txt:
11509         * gst/gstmessage.h:
11510         * gst/gstquery.h:
11511           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11512           macros (#330906). Also, document the already existing
11513           GST_QUERY_TYPE macro.
11514
11515 2006-02-13  Wim Taymans  <wim@fluendo.com>
11516
11517         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11518         (event_probe), (GST_START_TEST):
11519         Only events up to the pipeline EOS are counted, there are
11520         some more when going to NULL currently which we don't care
11521         about for now.
11522
11523 2006-02-13  Wim Taymans  <wim@fluendo.com>
11524
11525         * gst/gstpad.c: (gst_pad_send_event):
11526         Correctly check flushing and emit probes. fixes #330125
11527
11528 2006-02-10  Andy Wingo  <wingo@pobox.com>
11529
11530         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11531         structure.
11532         (gst_bus_init): Cache the location of the private data in the
11533         instance structure.
11534         (gst_bus_enable_sync_message_emission) 
11535         (gst_bus_disable_sync_message_emission): Implement new public
11536         functions.
11537         (gst_bus_post): Emit the sync-message signal if the user asked for
11538         it. Fixes #330684.
11539
11540         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11541         location of the bus-private structure.
11542         (gst_bus_enable_sync_message_emission)
11543         (gst_bus_disable_sync_message_emission): API addition
11544
11545 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11546
11547         Patch by: Vincent Torri
11548
11549         * docs/pwg/building-boiler.xml:
11550         PWG patch from #326800
11551
11552 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11553
11554         * configure.ac:
11555         * docs/Makefile.am:
11556         * docs/design/Makefile.am:
11557           Dist design docs.
11558
11559 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11560
11561         * configure.ac:
11562           back to CVS
11563
11564 === release 0.10.3 ===
11565
11566 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11567
11568         * configure.ac:
11569           releasing 0.10.3, "Like a virgin"
11570
11571 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11572
11573         * configure.ac:
11574           2nd prerelease of 0.10.3
11575           Bump libtool versioning.
11576
11577 2006-02-07  Andy Wingo  <wingo@pobox.com>
11578
11579         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11580         update last_stop if we're in TIME format and the timestamp is
11581         valid.
11582
11583         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11584         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11585         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11586         If we get a new newsegment with a different format, adapt
11587         accordingly.
11588
11589         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11590         of 0. Not a problem, really.
11591
11592         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11593         warn if sync=true.
11594
11595 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11596
11597         * configure.ac:
11598           Prelease of 0.10.3
11599
11600 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11601
11602         * win32/vs7:
11603           project files updated to the default vs7 configuration
11604         * win32/common/libgstbase.def:
11605         * win32/common/libgstreamer.def:
11606           added new symbols,
11607           removed empty lines,
11608           sorted all exported symbols alphabetically
11609         * win32/common/dirent.c:
11610         * win32/common/dirent.h:
11611         * win32/common/gchar.h:
11612           use windows line end.
11613           
11614 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11615
11616         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11617           Send EOS event when stopping.
11618
11619 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11620
11621         * docs/README:
11622           Tell folks what to do if the plugin-foobar.xml file
11623           hasn't been generated for a newly-added plugin.
11624
11625 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11626
11627         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11628         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11629         (gst_collect_pads_start), (gst_collect_pads_stop),
11630         (gst_collect_pads_event): Collectpads now holds a reference
11631         to the GstPad that was added. Indeed we don't want to look
11632         at pads that might just go away with no warning...
11633
11634 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11635
11636         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11637         (gst_collect_pads_start), (gst_collect_pads_stop),
11638         (gst_collect_pads_event), (gst_collect_pads_chain):
11639         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11640         Mark Nauwelaerts's patch on bug #328491.
11641
11642 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11643
11644         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11645         (gst_utils_suite):
11646           Add some simple tests for gst_parse_bin_from_description() and
11647           gst_bin_find_unconnected_pad() (#329069).
11648
11649 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11650
11651         * tools/gst-launch.c: (event_loop), (main):
11652           Catch errors during preroll (#320084).
11653
11654 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11655
11656         * plugins/elements/gsttypefindelement.c:
11657         (gst_type_find_element_activate):
11658           Post TYPE_NOT_FOUND error message when typefinding
11659           is unsuccessful in the activate function as well.
11660
11661 2006-02-02  Wim Taymans  <wim@fluendo.com>
11662
11663         * docs/design/part-element-sink.txt:
11664         Updated doc.
11665
11666 2006-02-02  Wim Taymans  <wim@fluendo.com>
11667
11668         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11669         (gst_base_sink_render_object),
11670         (gst_base_sink_queue_object_unlocked):
11671         Only keep track of prerollable items when we are 
11672         prerolling.
11673         Before rendering after preroll, always check if we
11674         have queued items.
11675         Added some more debugging.
11676
11677 2006-02-02  Wim Taymans  <wim@fluendo.com>
11678
11679         * gst/gstelement.c: (gst_element_continue_state),
11680         (gst_element_set_state_func), (gst_element_change_state):
11681         Fixed #326576, been running this for quite some time with
11682         no regressions at all.
11683
11684 2006-02-02  Wim Taymans  <wim@fluendo.com>
11685
11686         * common/gst.supp:
11687         Added more suppressions
11688
11689 2006-02-02  Wim Taymans  <wim@fluendo.com>
11690
11691         * docs/design/part-element-sink.txt:
11692         Updated document.
11693
11694         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11695         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11696         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11697         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11698         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11699         (gst_base_sink_preroll_object),
11700         (gst_base_sink_queue_object_unlocked),
11701         (gst_base_sink_queue_object), (gst_base_sink_event),
11702         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11703         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11704         (gst_base_sink_get_position), (gst_base_sink_change_state):
11705         * libs/gst/base/gstbasesink.h:
11706         Totally refactored matching the design doc.
11707         Use two segments, one to clip incomming buffers and another to
11708         perform sync.
11709         Handle queueing correctly, bypass the queue when playing.
11710         Make EOS cancelable.
11711         Handle errors correctly when operating in pull based mode.
11712
11713         * tests/check/elements/fakesink.c: (GST_START_TEST),
11714         (fakesink_suite):
11715         Added new check for sinks.
11716
11717 2006-02-02  Wim Taymans  <wim@fluendo.com>
11718
11719         * gst/gstsegment.c: (gst_segment_clip):
11720         No reason to refuse to clip when start == -1
11721
11722 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
11723
11724         * docs/README:
11725         * docs/manual/intro-basics.xml:
11726         * docs/manual/intro-preface.xml:
11727         * docs/manual/manual.xml:
11728         * docs/pwg/advanced-dparams.xml:
11729         * docs/pwg/intro-basics.xml:
11730         * docs/pwg/intro-preface.xml:
11731         * docs/pwg/pwg.xml:
11732           describe dparams (controller) for plugins
11733           unify docs a little more
11734
11735 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
11736
11737         * docs/gst/gstreamer-sections.txt:
11738         * gst/gstutils.c: (element_find_unconnected_pad),
11739         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11740         * gst/gstutils.h:
11741           Add new API: gst_parse_bin_from_description() and
11742           gst_bin_find_unconnected_pad() (#329069).
11743
11744 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
11745
11746         * docs/manual/README:
11747           uncover a nasty detail of the docs build
11748
11749 2006-01-31  Wim Taymans  <wim@fluendo.com>
11750
11751         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11752         Don't cache duration messages if we're not going to use or
11753         free them.
11754
11755 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
11756
11757         * docs/manual/advanced-dparams.xml:
11758         * docs/pwg/advanced-dparams.xml:
11759           more dparam docs
11760         * gst/gstindex.c:
11761           fix docs
11762         * libs/gst/controller/lib.c: (gst_controller_init):
11763           init just once
11764
11765 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11766
11767         * gst/gstelement.c: (gst_element_message_full):
11768           also show file/line/func if no additional debug was given
11769
11770 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
11771         
11772         * win32/vs7/grammar.vcproj:
11773           activate copy of autogenerated files for Release mode
11774
11775 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11776         
11777         * win32/common/libgstreamer.def:
11778           export gst_value_compare
11779
11780 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
11781
11782         * plugins/elements/Makefile.am:
11783         * plugins/elements/gstelements.c:
11784         * plugins/elements/gstfdsink.c: (_do_init),
11785         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11786         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11787         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11788         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11789         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11790         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11791         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11792         * plugins/elements/gstfdsink.h:
11793         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11794
11795 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
11796
11797         * docs/manual/advanced-dparams.xml:
11798           describe controller
11799         * docs/manual/advanced-position.xml:
11800         * docs/manual/basics-init.xml:
11801         * docs/manual/manual.xml:
11802         * docs/manual/titlepage.xml:
11803         * docs/pwg/pwg.xml:
11804         * docs/pwg/titlepage.xml:
11805           cleanup xml (more to come)
11806         * libs/gst/controller/gstcontroller.c:
11807           fix typo
11808
11809 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11810         
11811         * win32/vs6/grammar.dsp:
11812           add autogen of gstmarshal.c,h for Release mode
11813                 
11814 2006-01-30  Wim Taymans  <wim@fluendo.com>
11815
11816         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11817         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11818         (gst_base_sink_handle_object), (gst_base_sink_event),
11819         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11820         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11821         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11822         (gst_base_sink_deactivate), (gst_base_sink_activate),
11823         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11824         (gst_base_sink_query), (gst_base_sink_change_state):
11825         Basesink cleanups, remove some old code.
11826         Handle the case where a subclass can preroll in the render
11827         method (mostly audiosinks).
11828         Handle more events.
11829         Remove some locks around variables that are now protected
11830         with the PREROLL_LOCK (clock_id, flushing, ..).
11831         Optimize position query some more, do correct locking.
11832         Remove old code to push queue in state change, this is not
11833         needed anymore since preroll blocks on all prerollable items 
11834         now.
11835         Almost implemented as described in design doc.
11836
11837 2006-01-30  Wim Taymans  <wim@fluendo.com>
11838
11839         * tests/check/gst/gstbin.c: (GST_START_TEST):
11840         Wait for refcount to settle down before checking.
11841
11842 2006-01-30  Wim Taymans  <wim@fluendo.com>
11843
11844         * docs/design/part-element-sink.txt:
11845         Pseudo code overview of desired sink behaviour regarding
11846         preroll.
11847
11848 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11849         * win32/vs6/grammar.dsp:
11850           fix some bugs in Release mode for autogenerated files
11851                 
11852 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11853         * win32/common/libgstbase.def:
11854         * win32/common/libgstreamer.def:
11855           export some new symbols: gst_base_src_set_format,
11856           gst_iterator_next, gst_structure_set_valist
11857
11858 2006-01-29  Julien MOUTTE  <julien@moutte.net>
11859
11860         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11861         Set pad functions unconditionally. Fixes #329105.
11862
11863 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11864         * win32/vs8:
11865           add vs8 project files created by Sergey Scobich
11866
11867 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
11868
11869         * gst/gstutils.c: (gst_element_unlink_pads):
11870         Don't leak pad references.
11871
11872         * tests/check/elements/fakesink.c: (GST_START_TEST):
11873         * tests/check/generic/sinks.c: (GST_START_TEST):
11874         * tests/check/generic/states.c: (GST_START_TEST):
11875         * tests/check/gst/gstbin.c: (GST_START_TEST):
11876         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11877         * tests/check/gst/gstelement.c: (GST_START_TEST):
11878         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11879         * tests/check/gst/gstiterator.c: (GST_START_TEST):
11880         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11881         Fix a bunch of leaks. Make generic/sinks.c
11882         use a bit less cpu by slowing the buffer rate
11883         between fakesrc and fakesink.
11884         
11885 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
11886         * gst/gstcaps.c:
11887         * gst/gstelement.c: (gst_element_send_event):
11888         * gst/gstevent.c:
11889         * gst/gstinfo.c:
11890         * gst/gstiterator.c:
11891         * gst/gstiterator.h:
11892         * gst/gstpad.c: (gst_pad_send_event):
11893         * gst/gststructure.c:
11894         * gst/gsturi.c:
11895         * gst/gstutils.c:
11896         * gst/gstvalue.c:
11897         * libs/gst/base/gstadapter.c:
11898           doc fixes, to link to function, just write gst_cool_function(), don't
11899           prefix with '#'
11900
11901 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11902
11903         * plugins/elements/gsttee.c: (gst_tee_do_push),
11904         (gst_tee_handle_buffer):
11905         Always prefer an actual return value from a src
11906         pad in place of NOT_LINKED. This means we return
11907         WRONG_STATE when all src pads are WRONG_STATE
11908         instead of NOT_LINKED.
11909
11910         Lock when replacing the last message to prevent
11911         racing with the get_property method.
11912
11913         Add debug output
11914
11915 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11916
11917         * tests/check/Makefile.am:
11918         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11919         (main):
11920         Add a very simple check that should have caught the memleak I fixed
11921         last night (if not for the slice allocator hiding it)
11922
11923 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11924
11925         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11926         (gst_bin_remove_func), (gst_bin_handle_message_func),
11927         (bin_query_duration_fold), (bin_query_generic_fold):
11928         Clean up references to the clock provider when disposed or when
11929         handling a clock-lost message from it.
11930
11931         Unref sinks when performing a query via gst_iterator_fold, as the
11932         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11933
11934         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11935         (gst_clock_set_master):
11936         Drop our reference to the master clock, if any, when we are disposed.
11937
11938         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11939         Chain up in dispose. 
11940
11941 2006-01-26  Wim Taymans  <wim@fluendo.com>
11942
11943         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11944         Add some debugging.
11945
11946 2006-01-26  Julien MOUTTE  <julien@moutte.net>
11947
11948         * plugins/elements/gsttee.c: (gst_tee_do_push),
11949         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11950         handles pad being NOT_LINKED or in WRONG_STATE.
11951
11952 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11953
11954         * win32/MANIFEST:
11955           more updating
11956
11957 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11958
11959         * win32/MANIFEST:
11960           remove obsolete entry
11961
11962 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11963
11964         * docs/gst/gstreamer-sections.txt:
11965         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11966         (gst_bin_iterate_sources), (gst_bin_send_event):
11967         * gst/gstbin.h:
11968         * gst/gstelement.c: (gst_element_send_event):
11969         * gst/gstevent.c:
11970         * gst/gstpad.c: (gst_pad_send_event):
11971           added code for downstream events, reviewed docs in gstevent.c
11972
11973 2006-01-25  Julien MOUTTE  <julien@moutte.net>
11974
11975         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11976         We only query position using the clock in the playing state.
11977         Query peer in the other cases.
11978         * win32/common/config.h: Updates.
11979
11980 2006-01-24  Wim Taymans  <wim@fluendo.com>
11981
11982         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11983         A clock entry that is scheduled for the exact time of the
11984         clock is still in time.
11985
11986         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11987         (gst_base_sink_do_sync):
11988         Add some more debug info.
11989
11990 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11991
11992         * win32/vs7:
11993           Add new vs7 project files and solution.
11994
11995 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11996
11997         * win32/vs7:
11998           all files removed as they were out-dated.
11999
12000 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12001
12002         * docs/random/release:
12003           update notes
12004         * gst/gstbin.c: (gst_bin_init):
12005         * gst/gstbus.c: (gst_bus_new):
12006         * gst/gstbus.h:
12007         * gst/gstpipeline.c: (gst_pipeline_init):
12008           use gst_bus_new(), improve logging, fix docs
12009         * win32/common/config.h:
12010           update for cvs build
12011
12012 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12013
12014         * autogen.sh:
12015           up required version of automake to 1.7
12016
12017 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12018
12019         * win32/common/libgstreamer.def:
12020           export gst_buffer_is_metadata_writable
12021
12022 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12023
12024         * docs/gst/gstreamer-sections.txt:
12025         * gst/gstevent.h:
12026           Add gst_event_replace() (#327001)
12027
12028 2006-01-20  Wim Taymans  <wim@fluendo.com>
12029
12030         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12031         Make it actually compile too..
12032
12033 2006-01-20  Wim Taymans  <wim@fluendo.com>
12034
12035         * gst/gstcaps.c:
12036         Clarify behaviour of _is_equal() when passing NULL parameters.
12037
12038         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12039         (gst_pad_set_caps):
12040         Cleanups. Don't unref NULL caps.
12041         When setting the same caps, protect caps of the pad with
12042         proper lock.
12043         Use full functionality of _is_equal() when comparing caps.
12044
12045 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12046
12047         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12048         Don't loop infinitely if there are no buffers to present. Partially
12049         fixes #327197, but collectpads is just broken for reusing elements
12050         to do multiple encodes atm.
12051
12052 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12053
12054         * tools/gst-inspect.c: (print_element_features):
12055         * tools/gst-xmlinspect.c: (main):
12056         URL_HANDLER is not a plugin feature we can search for in
12057         the registry.
12058
12059 2006-01-19  Edward Hervey  <edward@fluendo.com>
12060
12061         * gst/gstelement.c: (gst_element_pads_activate): 
12062         When activating, do src pads first, then sink pads.
12063         When de-activating, do sink pads first, then src pads.
12064
12065 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12066
12067         * docs/gst/gstreamer-sections.txt:
12068         Add gst_index_add_associationv to the docs
12069
12070 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12071
12072         * gst/gstevent.c:
12073           Fix docs typo
12074
12075         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12076         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12077           Do some refactoring. Doesn't actually change functionality,
12078           but makes landing the DRAIN event easier later.
12079
12080 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12081
12082         * docs/pwg/advanced-scheduling.xml:
12083           Update from 0.9.x to 0.10 API and make example a bit
12084           clearer.
12085
12086 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12087
12088         * docs/gst/gstreamer-sections.txt:
12089         Add gst_buffer_(is|make)_metadata_writable methods.
12090
12091 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12092
12093         * docs/design/part-sparsestreams.txt:
12094         Update sparse streams doc, hopefully for greater clarity
12095
12096 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12097
12098         * docs/design/part-events.txt:
12099         Remove mention of FILLER events.
12100         Add DRAIN event.
12101
12102         * docs/design/part-sparsestreams.txt:
12103         Write some things about using NEWSEGMENT to keep sparse streams
12104         flowing.
12105
12106 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12107
12108         * gst/gstbin.c: (gst_bin_dispose):
12109           Guard gst_object_unref call against a NULL object (dispose
12110           can theoretically be called multiple times).
12111           
12112 2006-01-18  Wim Taymans  <wim@fluendo.com>
12113
12114         * gst/gstbin.c: (gst_bin_element_set_state):
12115         * gst/gstclock.c: (gst_clock_id_wait):
12116         Added some more debug info.
12117
12118         * libs/gst/base/gstadapter.c:
12119         Added more docs.
12120
12121         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12122         (gst_base_sink_do_sync), (gst_base_sink_chain):
12123         Added some comments.
12124
12125 2006-01-18  Wim Taymans  <wim@fluendo.com>
12126
12127         * tests/check/Makefile.am:
12128         * tests/check/elements/fakesink.c: (chain_async_buffer),
12129         (chain_async), (chain_async_return), (GST_START_TEST),
12130         (fakesink_suite), (main):
12131         Added fakesink test that checks prerolling and clipping
12132         behaviour.
12133
12134         * tests/check/gst/gstutils.c: (GST_START_TEST):
12135         Make check run faster so that buildbots don't timeout.
12136
12137 2006-01-18  Wim Taymans  <wim@fluendo.com>
12138
12139         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12140         (gst_base_sink_do_sync):
12141         Some cleanups.
12142         When the sink finishes blocking on the preroll buffer, it can
12143         immediatly render it instead of rendering when the next buffer
12144         arrives.
12145
12146 2006-01-18  Wim Taymans  <wim@fluendo.com>
12147
12148         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12149         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12150         (gst_base_sink_chain):
12151         Small cleanups.
12152         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12153         Don't store _last_stop if the buffer is dropped.
12154
12155 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12156
12157         * plugins/elements/gsttypefindelement.c:
12158         (gst_type_find_element_class_init):
12159           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12160           object method handler that sets the caps on the pad and we want
12161           that to happen before we emit the signal (fixes e.g. feeding a
12162           plain text file to decodebin).
12163
12164 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12165
12166         * gst/gstplugin.c: Add MPL and Proprietary as license options
12167
12168 2006-01-18  Andy Wingo  <wingo@pobox.com>
12169
12170         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12171         symbol was exported before, it appears this was just an oversight.
12172         Fixes #168703.
12173         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12174
12175         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12176         prototype to gint. OK since this prototype was not in the header.
12177
12178 2006-01-17  Andy Wingo  <wingo@pobox.com>
12179
12180         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12181         registry while we remove plugins.
12182
12183         * tools/gst-inspect.c (print_element_info): Don't unref the
12184         factory arg, that should be the responsibility of whatever code
12185         received the ref. Fixes a double-free when called from
12186         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12187         (main): Unref the factory if we have one.
12188         (print_element_list): No change -- relies on the
12189         plugin_feature_list_free to free the list of features.
12190
12191 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12192
12193         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12194         (gst_buffer_make_metadata_writable):
12195         * gst/gstbuffer.h:
12196         * libs/gst/base/gstbasetransform.c:
12197         (gst_base_transform_prepare_output_buf):
12198         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12199         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12200           Replace gst_buffer_(make|is)_metadata_writable patch now
12201           that the release is out.
12202
12203 2006-01-17  Andy Wingo  <wingo@pobox.com>
12204
12205         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12206         in the present tense without reference to versions.
12207
12208         * gst/gstregistry.c (gst_registry_add_plugin)
12209         (gst_registry_remove_plugin, gst_registry_remove_feature)
12210         (gst_registry_find_feature, gst_registry_get_feature_list)
12211         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12212         (gst_registry_lookup, gst_registry_scan_path)
12213         (_gst_registry_remove_cache_plugins)
12214         (gst_registry_get_feature_list_by_plugin): Add argument
12215         validation.
12216
12217 === release 0.10.2 ===
12218
12219 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12220
12221         * configure.ac:
12222           releasing 0.10.2, "If man is five"
12223
12224 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12225
12226         * gst/gstbuffer.c:
12227         * gst/gstbuffer.h:
12228         * libs/gst/base/gstbasetransform.c:
12229         (gst_base_transform_prepare_output_buf):
12230         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12231         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12232           Back out patch until after the release.
12233
12234 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12235
12236         * gst/gstminiobject.c:
12237           Spelling fix in docs.
12238         * ChangeLog - remove conflict indicator
12239
12240 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12241
12242         Reviewed By: Andy Wingo
12243
12244         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12245         (gst_buffer_make_metadata_writable):
12246         * gst/gstbuffer.h:
12247           Add gst_buffer_(is|make)_metadata_writable as analogues of
12248           gst_buffer_(is|make)_writable.
12249
12250         * libs/gst/base/gstbasetransform.c:
12251         (gst_base_transform_prepare_output_buf):
12252         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12253           Use name gst_buffer_(is|make)_metadata_writable functions.
12254
12255         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12256           Test gst_buffer_(is|make)_metadata_writable
12257         
12258           (Closes: #324162)
12259
12260 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12261
12262         * docs/manual/Makefile.am:
12263           don't do parallel make
12264         * configure.ac:
12265           AC_SUBST HOST_CPU
12266         * win32/common/config.h.in:
12267           add generations for HOST_CPU and GST_MAJORMINOR
12268         * win32/common/config.h:
12269           commit generated result
12270
12271 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12272
12273         * docs/manual/appendix-integration.xml:
12274           Update GNOME integration section to use gst_init_get_option_group()
12275           instead of the old popt stuff (#322911). Also, GNOME applications
12276           should  now use gconf*sink and gconf*src instead of the old gconf
12277           helper lib we had.
12278
12279 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12280
12281
12282         * docs/gst/gstreamer-docs.sgml:
12283         * docs/gst/gstreamer-sections.txt:
12284         * docs/libs/gstreamer-libs-sections.txt:
12285           add new API entries to the docs
12286         * libs/gst/controller/Makefile.am:
12287         * libs/gst/controller/gstcontroller.c:
12288         * libs/gst/controller/gstcontroller.h:
12289         * libs/gst/controller/gstcontrollerprivate.h:
12290         * libs/gst/controller/gsthelper.c:
12291         * libs/gst/controller/gstinterpolation.c:
12292           move private structs to private header
12293         * po/README:
12294           gstreamer-0.7 -> gstreamer-0.10
12295         * tests/check/libs/struct_i386.h:
12296           remove private structs
12297
12298 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12299
12300         * plugins/indexers/Makefile.am:
12301           Fixes as part of #317048
12302
12303 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12304
12305         * plugins/indexers/Makefile.am:
12306           fix #316086 - compilation when mmap is missing
12307
12308 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12309
12310         * libs/gst/base/gstbasesink.c:
12311           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12312           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12313         * win32/common/config.h:
12314           added some defines GST_MAJORMINOR and HOST_CPU
12315         * win32/common/libgstbase.def:
12316         * win32/common/libgstreamer.def:
12317           added some exported functions.
12318
12319 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12320
12321         * libs/gst/controller/gstcontroller.c:
12322         (gst_controlled_property_set_interpolation_mode),
12323         (gst_controlled_property_new):
12324         * libs/gst/controller/gstcontroller.h:
12325         * libs/gst/controller/gstinterpolation.c:
12326         (interpolate_none_get_string_value_array):
12327           make G_TYPE_STRING controlable
12328
12329 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12330
12331         * tools/README:
12332         * tools/gst-feedback.1.in:
12333         * tools/gst-inspect.1.in:
12334         * tools/gst-launch.1.in:
12335         * tools/gst-md5sum.1.in:
12336         * tools/gst-typefind.1.in:
12337         * tools/gst-xmlinspect.1.in:
12338         * tools/gst-xmllaunch.1.in:
12339           cleanup man-pages, remove reference to gst-register, document env-vars
12340
12341 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12342
12343         * gst/gstbuffer.c: (gst_buffer_span):
12344           gst_buffer_span should copy the timestamp of the first buffer
12345           if they were both originally overlapping subbuffers of the 
12346           same parent, using the same logic as the 'slow copy' case.
12347
12348 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12349
12350         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12351           Need to awaken ALL the pads when we pop a buffer, otherwise
12352           collectpads only works when there is 2 input streams.
12353
12354 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12355
12356         * docs/random/ensonic/media-device-daemon.txt:
12357           more ideas (dbus)
12358         * gst/gstbuffer.c:
12359           fix doc example, add clarification
12360         * tools/gst-launch.1.in:
12361           add initial info about GST_PLUGIN_PATH, needs more work
12362
12363 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12364
12365         * docs/manual/basics-bins.xml:
12366         * docs/manual/basics-elements.xml:
12367         * docs/manual/intro-basics.xml:
12368           Some more minor docs additions and updates.
12369
12370 2006-01-11  Wim Taymans  <wim@fluendo.com>
12371
12372         * docs/manual/basics-bins.xml:
12373         * docs/manual/basics-elements.xml:
12374         Some small fixes as pointed out by Ser-ver on IRC.
12375
12376 2006-01-10  Edward Hervey  <edward@fluendo.com>
12377
12378         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12379         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12380         the single-segment mode.
12381
12382 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12383
12384         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12385
12386         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12387         (gst_base_src_perform_seek), (gst_base_src_send_event),
12388         (gst_base_src_set_property), (gst_base_src_get_property),
12389         (gst_base_src_loop), (gst_base_src_start),
12390         (gst_base_src_activate_push):
12391         * libs/gst/base/gstbasesrc.h:
12392           Name (private) union; makes Sun's Forte compiler happy (#324900).
12393
12394 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12395
12396         * README:
12397           gst-register is gone.
12398
12399 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12400
12401         * gst/gstvalue.c: (_gst_value_initialize):
12402           make the G_TYPE_DATE instantiation work if debug is disabled
12403
12404 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12405
12406         * gst/gstmessage.c: (gst_message_parse_tag),
12407         (gst_message_parse_error), (gst_message_parse_warning):
12408           Don't crash when return location for error/warning debug
12409           string is NULL; add fact that return locations can be
12410           NULL to docs where appropriate.
12411
12412 2006-01-05  Wim Taymans  <wim@fluendo.com>
12413
12414         * gst/gstplugin.c: (gst_plugin_load_file):
12415         Replace strdup by g_strdup.
12416
12417 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12418
12419         * docs/pwg/advanced-types.xml:
12420           fix doc borkage
12421
12422 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12423
12424         submitted by: Abel Cheung
12425
12426         * po/LINGUAS:
12427         * po/zh_TW.po:
12428           Added Chinese (traditional) translation
12429
12430 2006-01-04  Wim Taymans  <wim@fluendo.com>
12431
12432         * docs/manual/basics-pads.xml:
12433         * docs/plugins/Makefile.am:
12434         * docs/plugins/gstreamer-plugins-docs.sgml:
12435         * docs/plugins/gstreamer-plugins-sections.txt:
12436         * docs/pwg/advanced-clock.xml:
12437         * docs/pwg/advanced-scheduling.xml:
12438         * docs/pwg/advanced-types.xml:
12439         * plugins/elements/gstfdsink.c:
12440         * plugins/elements/gstfdsrc.c:
12441         * plugins/elements/gstfdsrc.h:
12442         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12443         * plugins/elements/gstidentity.h:
12444         * plugins/elements/gstqueue.h:
12445         * plugins/elements/gsttee.c:
12446         * plugins/elements/gsttee.h:
12447         * plugins/elements/gsttypefindelement.c:
12448         (gst_type_find_element_class_init):
12449         * plugins/elements/gsttypefindelement.h:
12450         Small updates to various docs.
12451         Added core plugins to docs.
12452
12453 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12454
12455         * common/gst.supp:
12456           add a suppression for liboil's uninitialized variable
12457
12458 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12459
12460         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12461
12462         * gst/gstutils.h:
12463           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12464           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12465           compiler switch is being used (#325429).
12466
12467 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12468
12469         * gst/gstbin.c: (gst_bin_query):
12470           Disable duration query caching in bins until it gets
12471           fixed (see #324807).
12472
12473 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12474
12475         * tools/gst-inspect.c: (print_element_properties_info):
12476           Handle properties of POINTER and BOXED type.
12477
12478 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12479
12480         * gst/gst.c: (init_post):
12481           Init tags stuff and some other things before loading
12482           any static plugins (there may be other static plugins
12483           than just the GStreamer ones, and they may want to
12484           register their own tags or formats or whatever, and
12485           preferably without segfaulting).
12486
12487         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12488           Print at least a warning in the debug logs if we drop a
12489           query just because we don't know how to adjust the value
12490           in the particular format.
12491
12492 2005-12-24  David Schleef  <ds@schleef.org>
12493
12494         * tools/gstreamer-completion:
12495           Replacement for gst-complete written in sh and sed.  Only
12496           completes names of features, but that's 90% of what I want
12497           it for.  Properties are not available in registry.xml.  (Maybe
12498           they should be...)
12499
12500 === release 0.10.1 ===
12501
12502 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12503
12504         * configure.ac:
12505           releasing 0.10.1, "Nollaig chridheil"
12506
12507 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12508
12509         * docs/faq/cvs.xml:
12510           Add missing quote, should be make ERROR_CFLAGS="".
12511
12512 2005-12-20  Wim Taymans  <wim@fluendo.com>
12513
12514         * docs/design/part-trickmodes.txt:
12515         More documentation on trickmodes.
12516
12517 2005-12-20  Edward Hervey  <edward@fluendo.com>
12518
12519         * gst/gstcaps.c: (gst_static_caps_get_type):
12520         * gst/gstcaps.h:
12521           API addition: GST_TYPE_STATIC_CAPS
12522         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12523         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12524         * gst/gstpadtemplate.h:
12525           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12526         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12527         bindings.
12528
12529 2005-12-18  Wim Taymans  <wim@fluendo.com>
12530
12531         * libs/gst/base/gstadapter.c:
12532         * libs/gst/base/gstadapter.h:
12533         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12534         (gst_base_sink_get_position):
12535         * libs/gst/base/gstbasesink.h:
12536         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12537         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12538         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12539         (gst_base_src_send_event), (gst_base_src_update_length),
12540         (gst_base_src_get_range), (gst_base_src_loop),
12541         (gst_base_src_start):
12542         * libs/gst/base/gstbasesrc.h:
12543         * libs/gst/base/gstbasetransform.h:
12544         * libs/gst/base/gstcollectpads.h:
12545         * libs/gst/base/gstpushsrc.c:
12546         * libs/gst/base/gstpushsrc.h:
12547         * libs/gst/dataprotocol/dataprotocol.c:
12548         * libs/gst/dataprotocol/dataprotocol.h:
12549         * libs/gst/net/gstnetclientclock.h:
12550         * libs/gst/net/gstnettimeprovider.h:
12551         Documentation updates.
12552
12553 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12554
12555         * docs/manual/basics-helloworld.xml:
12556           Remove superfluous closing bracket in helloworld example.
12557
12558 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12559
12560         * tools/gst-launch.1.in:
12561           Update gst-launch man page; add a section with useful
12562           environment variables. Fixes #323882.
12563
12564 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12565
12566         * gst/gst.c:
12567         * gst/gst_private.h:
12568           change some char* into char[]
12569
12570 2005-12-16  Wim Taymans  <wim@fluendo.com>
12571
12572         * gst/gstregistryxml.c: (load_feature):
12573         Cleanups.
12574         Don't use g_object_unref on GstObjects so that we avoid
12575         leaks on unsafe glibs.
12576
12577 2005-12-16  Wim Taymans  <wim@fluendo.com>
12578
12579         * gst/gstbin.c: (gst_bin_recalc_state):
12580         Small doc updates.
12581
12582 2005-12-16  Wim Taymans  <wim@fluendo.com>
12583
12584         * common/check.mak:
12585         Added make forever target for check.
12586
12587 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12588
12589         * gst/gst.c: (init_post):
12590           make the registry cache file HOST_CPU-dependent
12591
12592 2005-12-16  Andy Wingo  <wingo@pobox.com>
12593
12594         * plugins/elements/gstbufferstore.c
12595         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12596         return value.
12597
12598         * tests/check/gst/gstobject.c
12599         (test_fake_object_name_threaded_unique): Pay attention to
12600         g_list_sort return value.
12601
12602 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12603
12604         * tools/gst-feedback-m.m:
12605           Update for 0.9/0.10 (fixes #323870).
12606
12607 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12608
12609         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12610           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12611           
12612         * tests/check/gst/gstminiobject.c: (my_foo_init),
12613         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12614         (test_value_collection), (gst_mini_object_suite):
12615           Add test to ensure refcounts end up as expected when passing
12616           GstMiniObjects through g_object_get() and g_object_set().
12617
12618 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12619
12620         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12621         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12622         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12623         of collectpads. This version removes a lot of races without
12624         touching API/ABI. Yay !
12625
12626 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12627
12628         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12629           Don't allow activation of a srcpad in pull_range if it has no
12630           getrange function.
12631           Change some debug statements to be a little clearer
12632
12633         * plugins/elements/gsttypefindelement.c:
12634         (gst_type_find_handle_src_query):
12635           Check that we have a peer before executing queries thereupon.
12636
12637         * tests/examples/metadata/read-metadata.c: (message_loop):
12638           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12639           immediately return us any available message with 0 timeout.
12640
12641 2005-12-12  Michael Smith  <msmith@fluendo.com>
12642
12643         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12644           Don't unref factories after calling them.
12645         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12646         * plugins/elements/gsttypefindelement.c:
12647         (gst_type_find_element_chain):
12648           Free lists of factories after using them. Fixing typefinding memory
12649           leaks.
12650
12651 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12652
12653         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12654         (gst_plugin_feature_load):
12655           more meaningful debug output
12656         * configure.ac:
12657         * tests/Makefile.am:
12658         * tests/old/examples/Makefile.am:
12659           make make distcheck happy again
12660
12661 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12662
12663         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12664           Catch the special case where we are operating chain-based,
12665           but the downstream peer pad has no chain function. Emit a
12666           custom error message in this case instead of letting the
12667           core generate one implying that this is some sort of core
12668           bug. It's not, it just means that whatever got plugged
12669           into the pipeline downstream when we announced the type
12670           can only operate pull-based, while our source can only
12671           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12672           Error string has not been marked for translation yet, as
12673           it probably needs some more work first.
12674
12675         (gst_type_find_element_get_best_possibility):
12676           Add helper function to find the best of all available
12677           found possibilities that qualify given the min. threshold.
12678
12679         (gst_type_find_element_handle_event):
12680           Fix the case where we get an EOS while still in TYPEFIND
12681           mode (we want to chose the best of all possible types,
12682           not just the first type that happens to be in our unsorted
12683           list of possible types).
12684
12685         (gst_type_find_element_chain):
12686           Make sure we return GST_FLOW_ERROR when we errored out
12687           in stop_typefinding(); also, don't just find the best of
12688           all found type entries and then use the last examined
12689           type entry, but actually use the best entry.
12690
12691 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12692
12693         * tests/examples/typefind/typefind.c: (type_found):
12694         * tests/examples/xml/runxml.c: (xml_loaded):
12695           More gcc4 fixes and a mem leak fix.
12696
12697 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12698
12699         * tests/examples/xml/createxml.c: (object_saved):
12700           gcc 4 fixes
12701
12702 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12703
12704         * tests/Makefile.am:
12705           enable the examples even more
12706
12707 2005-12-12  Andy Wingo  <wingo@pobox.com>
12708
12709         * libs/gst/net/gstnettimeprovider.c
12710         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12711         (gst_net_time_provider_set_property)
12712         (gst_net_time_provider_get_property):
12713         API addition: Export "active" as a GObject property.
12714         (gst_net_time_provider_thread): Only respond to time queries if
12715         the time provider is active.
12716
12717         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12718         NetTimeProvider, preserving binary compat.
12719
12720 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12721
12722         * tests/examples/controller/audio-example.c: (main):
12723         * tests/examples/launch/Makefile.am:
12724           convert comments again
12725
12726 2005-12-12  Wim Taymans  <wim@fluendo.com>
12727
12728         * libs/gst/base/gstpushsrc.c:
12729         Fix typo.
12730
12731 2005-12-12  Wim Taymans  <wim@fluendo.com>
12732
12733         * docs/libs/gstreamer-libs-sections.txt:
12734         Added new symbol to docs.
12735
12736         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12737         (gst_base_src_init), (gst_base_src_set_format),
12738         (gst_base_src_default_query), (gst_base_src_query),
12739         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12740         (gst_base_src_perform_seek), (gst_base_src_send_event),
12741         (gst_base_src_default_event), (gst_base_src_event_handler),
12742         (gst_base_src_set_property), (gst_base_src_get_property),
12743         (gst_base_src_wait), (gst_base_src_do_sync),
12744         (gst_base_src_update_length), (gst_base_src_get_range),
12745         (gst_base_src_check_get_range), (gst_base_src_loop),
12746         (gst_base_src_default_negotiate), (gst_base_src_start),
12747         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12748         (gst_base_src_change_state):
12749         * libs/gst/base/gstbasesrc.h:
12750         Implement seeking to other formats than _BYTES.
12751         Implement more seeking methods correctly.
12752         Doc updates.
12753         Added query vmethod.
12754         Added do_seek vmethod to make life easier for subclasses
12755         when seeking.
12756         API addition: gst_base_src_set_format()
12757
12758 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12759
12760         * tests/examples/Makefile.am:
12761           added that too
12762
12763 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12764
12765         * configure.ac:
12766         * docs/random/ensonic/media-device-daemon.txt:
12767         * tests/examples/controller/.cvsignore:
12768         * tests/examples/controller/Makefile.am:
12769         * tests/examples/controller/audio-example.c: (main):
12770         * tests/examples/helloworld/.cvsignore:
12771         * tests/examples/helloworld/Makefile.am:
12772         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12773         * tests/examples/launch/.cvsignore:
12774         * tests/examples/launch/Makefile.am:
12775         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12776         * tests/examples/metadata/.cvsignore:
12777         * tests/examples/metadata/Makefile.am:
12778         * tests/examples/metadata/read-metadata.c: (message_loop),
12779         (make_pipeline), (print_tag), (main):
12780         * tests/examples/queue/.cvsignore:
12781         * tests/examples/queue/Makefile.am:
12782         * tests/examples/queue/queue.c: (event_loop), (main):
12783         * tests/examples/typefind/.cvsignore:
12784         * tests/examples/typefind/Makefile.am:
12785         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12786         (main):
12787         * tests/examples/xml/.cvsignore:
12788         * tests/examples/xml/Makefile.am:
12789         * tests/examples/xml/createxml.c: (object_saved), (main):
12790         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12791         * tests/old/examples/Makefile.am:
12792         * tests/old/examples/TODO:
12793         * tests/old/examples/controller/.cvsignore:
12794         * tests/old/examples/controller/Makefile.am:
12795         * tests/old/examples/controller/audio-example.c:
12796         * tests/old/examples/helloworld/.cvsignore:
12797         * tests/old/examples/helloworld/Makefile.am:
12798         * tests/old/examples/helloworld/helloworld.c:
12799         * tests/old/examples/launch/.cvsignore:
12800         * tests/old/examples/launch/Makefile.am:
12801         * tests/old/examples/launch/mp3parselaunch.c:
12802         * tests/old/examples/launch/mp3play:
12803         * tests/old/examples/manual/Makefile.am:
12804         * tests/old/examples/metadata/Makefile.am:
12805         * tests/old/examples/metadata/read-metadata.c:
12806         * tests/old/examples/queue/.cvsignore:
12807         * tests/old/examples/queue/Makefile.am:
12808         * tests/old/examples/queue/queue.c:
12809         * tests/old/examples/typefind/.cvsignore:
12810         * tests/old/examples/typefind/Makefile.am:
12811         * tests/old/examples/typefind/typefind.c:
12812         * tests/old/examples/xml/.cvsignore:
12813         * tests/old/examples/xml/Makefile.am:
12814         * tests/old/examples/xml/createxml.c:
12815         * tests/old/examples/xml/runxml.c:
12816           applied some simple fixing to some examples
12817           re-enabled the working examples
12818
12819 2005-12-12  Wim Taymans  <wim@fluendo.com>
12820
12821         * gst/gstsegment.c: (gst_segment_init),
12822         (gst_segment_set_last_stop), (gst_segment_set_seek),
12823         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12824         (gst_segment_to_running_time):
12825         Added more documentation.
12826         Make sure the last_pos value is updated properly.
12827         Make sure to_stream_time and to_running_time don't
12828         operate on wrong values.
12829
12830         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12831         Update check.
12832
12833 2005-12-12  Michael Smith  <msmith@fluendo.com>
12834
12835         * plugins/elements/gsttypefindelement.c: (free_entry),
12836         (gst_type_find_element_chain):
12837           Now that we're not leaking factories, make sure we keep references
12838           to them while we need them.
12839
12840 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12841
12842         * tests/check/gst/struct_i386.h:
12843           ifdef out the XML structs
12844
12845 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12846
12847         * gst/gstvalue.c: (gst_value_transform_double_fraction):
12848           floor is not needed, F is always positive; this obviates the
12849           need for adding -lm when building without libxml
12850
12851 2005-12-12  Wim Taymans  <wim@fluendo.com>
12852
12853         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12854         Take current playback rate into account when reporting
12855         the position.
12856
12857 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12858
12859         * docs/manual/mime-world.fig:
12860           Let's try this again, this time with a file that is
12861           actually in XFig format.
12862
12863 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12864
12865         * docs/manual/mime-world.fig:
12866           Add audioconvert element to diagram so that it
12867           matches the text and the code (fixes #319526).
12868
12869 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12870
12871         * docs/pwg/building-chainfn.xml:
12872         * docs/pwg/building-pads.xml:
12873         * docs/pwg/building-state.xml:
12874         * docs/pwg/other-source.xml:
12875           Update state change stuff for 0.10 (fixes #322969).
12876
12877 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12878
12879         * docs/manual/advanced-dataaccess.xml:
12880         * docs/manual/appendix-checklist.xml:
12881         * docs/manual/appendix-programs.xml:
12882         * docs/manual/basics-pads.xml:
12883         * docs/manual/highlevel-components.xml:
12884         * docs/manual/manual.xml:
12885           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12886           add converters in front of pipelines; remove curly
12887           brackets for threads stuff, they no longer exist; use
12888           GST_TYPE_FRACTION for framerates; update some pieces of
12889           code to 0.10, but there's plenty more to do.
12890
12891         * docs/manual/appendix-porting.xml:
12892           Expand on asynchroneous state changes; s/0.9/0.10/;
12893           mention disappearance of gst_init_get_popt_table()
12894           (fixes #322916).
12895
12896 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12897
12898         * docs/faq/using.xml:
12899           Spider no longer exists, and neither does gst-launch-ext.
12900           Update examples to use decodebin and playbin and put
12901           converters in front of sinks (fixes #323726).
12902
12903 2005-12-09  Michael Smith  <msmith@fluendo.com>
12904
12905         * plugins/elements/gsttypefindelement.c: (find_peek),
12906         (gst_type_find_element_chain):
12907           Fix leaking element factories in typefinding.
12908           Fix problem where we forgot about a probable type on non-seekable
12909           files, and thus later mis-typefound it.
12910
12911 2005-12-09  Michael Smith  <msmith@fluendo.com>
12912
12913         * common/m4/gst-makecontext.m4:
12914         * common/m4/gst-mcsc.m4:
12915         * configure.ac:
12916         * win32/common/config.h:
12917         * win32/common/config.h.in:
12918           Remove makecontext stuff; not used in 0.10 and causes problems on
12919           HPUX according to bug #322441
12920
12921 2005-12-07  Wim Taymans  <wim@fluendo.com>
12922
12923         * tests/check/Makefile.am:
12924         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12925         (main):
12926         * tests/check/libs/struct_i386.h:
12927         Added ABI check for libs
12928
12929 2005-12-07  Wim Taymans  <wim@fluendo.com>
12930
12931         * tests/check/Makefile.am:
12932         And add the struct_i386.h to dist.
12933
12934 2005-12-07  Wim Taymans  <wim@fluendo.com>
12935
12936         * tests/check/Makefile.am:
12937         * tests/check/gst/.cvsignore:
12938         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12939         (main):
12940         * tests/check/gst/struct_i386.h:
12941         Added check for ABI compatibility.
12942
12943 2005-12-07  Wim Taymans  <wim@fluendo.com>
12944
12945         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12946         (gst_fake_src_get_times), (gst_fake_src_create):
12947         Fix broken sync option, fixes #323259
12948
12949 2005-12-07  Wim Taymans  <wim@fluendo.com>
12950
12951         * gst/gstbuffer.c:
12952         Small docs update.
12953
12954         * gst/gstcaps.c: (gst_caps_is_equal):
12955         Don't assert on NULL <--> X. Fixes #323260
12956
12957         * gst/gstminiobject.c: (gst_mini_object_replace):
12958         If we're doing atomic operations, we might just as well use
12959         the proper way to get an atomic pointer.
12960
12961         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12962         Clean up debugging.
12963
12964 2005-12-07  Michael Smith  <msmith@fluendo.com>
12965
12966         * gst/parse/grammar.y:
12967           Remove handling of { } for threads.
12968
12969 2005-12-06  David Schleef  <ds@schleef.org>
12970
12971         * libs/gst/base/gstbasetransform.c: speling fix.
12972
12973 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12974
12975         * docs/libs/tmpl/gstdataprotocol.sgml:
12976         * docs/random/omega/testing/gstobject.c:
12977         * gst/gst.c:
12978         * gst/gstclock.c:
12979         * gst/gstelement.c:
12980         * gst/gstelementfactory.c:
12981         * gst/gsterror.c:
12982         * gst/gstevent.c:
12983         * gst/gstghostpad.c:
12984         * gst/gstinfo.c:
12985         * gst/gstpadtemplate.c:
12986         * gst/gstregistryxml.c:
12987         * gst/gsttaglist.c:
12988         * gst/gsttagsetter.c:
12989         * gst/gsttypefind.c:
12990         * gst/gstvalue.c:
12991         * libs/gst/base/gstbasesrc.c:
12992         * libs/gst/net/gstnetclientclock.c:
12993         * libs/gst/net/gstnettimeprovider.c:
12994         * plugins/elements/gstfakesrc.c:
12995         * plugins/elements/gstfdsrc.c:
12996         * plugins/elements/gstfilesrc.c:
12997         * plugins/elements/gstidentity.c:
12998         * plugins/elements/gstqueue.c:
12999         * plugins/elements/gsttypefindelement.c:
13000         * plugins/indexers/gstfileindex.c:
13001         * plugins/indexers/gstmemindex.c:
13002         * tests/check/gst/gsttag.c:
13003         * tests/old/examples/cutter/cutter.c:
13004         * tests/old/examples/mixer/mixer.c:
13005         * tests/old/examples/xml/runxml.c: (main):
13006         * tests/old/testsuite/caps/normalisation.c:
13007         * tests/old/testsuite/debug/global.c:
13008         * tests/old/testsuite/parse/parse1.c:
13009         * tools/gst-xmlinspect.c:
13010         * win32/common/dirent.c:
13011           expand tabs
13012
13013 === release 0.10.0 ===
13014
13015 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13016
13017         * configure.ac:
13018           releasing 0.10.0, "Maroilles"
13019
13020 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13021
13022         submitted by: Funda Wang <fundawang@linux.net.cn>
13023
13024         * po/LINGUAS:
13025         * po/zh_CN.po:
13026           added Chinese (Traditional) translation
13027
13028 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13029
13030         * docs/gst/gstreamer-sections.txt:
13031         * docs/libs/tmpl/gstdataprotocol.sgml:
13032         * docs/random/thomasvs/TODO:
13033         * gst/gstutils.c:
13034         * gst/gstutils.h:
13035           fix docs
13036
13037 2005-12-05  Andy Wingo  <wingo@pobox.com>
13038
13039         patch by: Wim Taymans <wim@fluendo.com>
13040
13041         * libs/gst/base/gstbasetransform.c
13042         (gst_base_transform_prepare_output_buf)
13043         (gst_base_transform_buffer_alloc):
13044         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13045         alloc_buffer_and_set_caps.
13046
13047         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13048         set_caps on the source pad.
13049         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13050         alloc_buffer used to do. Fixes #322874.
13051
13052         * docs/gst/gstreamer-sections.txt: 
13053         * docs/design/part-negotiation.txt: 
13054         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13055         changes.
13056
13057 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13058
13059         patch by: Sebastien Moutte
13060
13061         * win32/MANIFEST:
13062         * win32/common/config.h.in:
13063         * win32/vs6/libgstcontroller.dsp:
13064           win32 build fixes
13065
13066 2005-12-05  Wim Taymans  <wim@fluendo.com>
13067
13068         * gst/gstcaps.c: (gst_caps_is_equal):
13069         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13070         (gst_fake_src_create):
13071         Back out previous code changes, leave doc updates, file bugs 
13072         instead. 
13073
13074 2005-12-05  Wim Taymans  <wim@fluendo.com>
13075
13076         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13077         (gst_fake_src_get_times), (gst_fake_src_create):
13078         * plugins/elements/gstfakesrc.h:
13079         Fix broken sync code.
13080
13081 2005-12-05  Wim Taymans  <wim@fluendo.com>
13082
13083         * gst/gstcaps.c: (gst_caps_is_equal):
13084         Comparing NULL against !NULL yields different caps, not a
13085         failure.
13086
13087 2005-12-05  Wim Taymans  <wim@fluendo.com>
13088
13089         * gst/gstpipeline.c:
13090         Fix small typo in docs.
13091
13092 2005-12-05  Andy Wingo  <wingo@pobox.com>
13093
13094         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13095
13096         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13097         registries/plugins with a MAJORMINOR one.
13098         (plugin_desc): Rename library from gstcoreleements to
13099         staticelements. Fixes #323222.
13100
13101 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13102
13103         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13104           Change debug category to 'collectpads' from 'collect_pads'
13105           (fixes #323250).
13106
13107 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13108
13109         patch by: Sebastien Moutte
13110
13111         * libs/gst/controller/gstinterpolation.c:
13112           use convert function for uint64/double
13113         * win32/vs6/libgstcontroller.dsp:
13114           link to GLib
13115
13116 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13117
13118         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13119         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13120         * gst/gstutils.h:
13121         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13122           add tests that seem to show that the guint64/gdouble conversions
13123           are correct.
13124
13125 2005-12-02  Wim Taymans  <wim@fluendo.com>
13126
13127         * gst/gstregistry.c: (gst_registry_add_path):
13128         * gst/gstregistry.h:
13129         * gst/gstregistryxml.c:
13130         Fix docs again.
13131
13132 2005-12-02  Wim Taymans  <wim@fluendo.com>
13133
13134         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13135         (gst_util_uint64_scale_int):
13136         Small cleanup.
13137
13138         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13139         Add debug log line.
13140
13141         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13142         Add FIXME.
13143
13144 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13145
13146         * win32/MANIFEST:
13147         * win32/common/config.h:
13148         * win32/vs6/gstreamer.dsw:
13149         * win32/vs6/libgstcoreelements.dsp:
13150         * win32/vs6/libgstelements.dsp:
13151           renamed core elements plugin
13152
13153 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13154
13155         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13156         (get_candidates):
13157           do piece-wise major/minor comparison so 0.9 < 0.10
13158           also allow .exe extensions for tools
13159
13160 2005-12-02  Michael Smith  <msmith@fluendo.com>
13161
13162         * gst/gst.c:
13163           Escape a % to make gtkdoc happier; bug 322958.
13164
13165 === release 0.9.7 ===
13166
13167 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13168
13169         * configure.ac:
13170           releasing 0.9.7, "My Dog Has No Nose"
13171
13172 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13173
13174         * common/gst-xmlinspect.py:
13175         * configure.ac:
13176         * docs/libs/tmpl/gstdataprotocol.sgml:
13177         * docs/random/release:
13178         * po/af.po:
13179         * po/az.po:
13180         * po/bg.po:
13181         * po/ca.po:
13182         * po/cs.po:
13183         * po/de.po:
13184         * po/en_GB.po:
13185         * po/fr.po:
13186         * po/it.po:
13187         * po/nb.po:
13188         * po/nl.po:
13189         * po/ru.po:
13190         * po/sq.po:
13191         * po/sr.po:
13192         * po/sv.po:
13193         * po/tr.po:
13194         * po/uk.po:
13195         * po/vi.po:
13196         * win32/common/config.h:
13197         * win32/common/config.h.in:
13198         * win32/vs6/gst_inspect.dsp:
13199         * win32/vs6/gst_launch.dsp:
13200         * win32/vs6/libgstbase.dsp:
13201         * win32/vs6/libgstelements.dsp:
13202         * win32/vs6/libgstreamer.dsp:
13203         * win32/vs7/GStreamer.vcproj:
13204         * win32/vs7/gst-inspect.vcproj:
13205         * win32/vs7/gst-launch.vcproj:
13206         * win32/vs7/libgstbase.vcproj:
13207           bump GST_MAJORMINOR to 0.10
13208           reset libtool version
13209
13210 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13211
13212         * po/LINGUAS:
13213         * po/bg.po:
13214           Added Bulgarian translation by (Alexander Shopov)
13215
13216 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13217
13218         * tests/check/gst/gstplugin.c:
13219           fix test
13220
13221 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13222
13223         * common/gst-xmlinspect.py:
13224         * common/gtk-doc-plugins.mak:
13225         * configure.ac:
13226         * docs/Makefile.am:
13227         * docs/gst/Makefile.am:
13228         * docs/gst/gstreamer-docs.sgml:
13229         * docs/gst/gstreamer-sections.txt:
13230         * docs/gst/gstreamer.types:
13231         * docs/gst/gstreamer.types.in:
13232         * docs/plugins/Makefile.am:
13233         * docs/plugins/gstreamer-plugins-docs.sgml:
13234         * docs/plugins/gstreamer-plugins-sections.txt:
13235         * docs/plugins/gstreamer-plugins.types:
13236         * docs/plugins/inspect.stamp:
13237         * docs/plugins/inspect/plugin-coreelements.xml:
13238         * docs/plugins/inspect/plugin-coreindexers.xml:
13239         * docs/plugins/scanobj-build.stamp:
13240         * gstreamer.spec.in:
13241         * plugins/elements/Makefile.am:
13242         * plugins/elements/gstelements.c:
13243         * plugins/elements/gstfakesink.c:
13244         * plugins/elements/gstfakesrc.c:
13245         * plugins/elements/gstfilesink.c:
13246         * plugins/elements/gstfilesrc.c:
13247         * plugins/elements/gstqueue.c:
13248         * plugins/indexers/Makefile.am:
13249         * plugins/indexers/gstindexers.c:
13250           document core plugins in a separate document just like all the
13251           others
13252           rename these plugins to something starting with core
13253
13254 2005-12-01  Andy Wingo  <wingo@pobox.com>
13255
13256         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13257         padding here before, but it missed the commit.
13258
13259 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13260
13261         * libs/gst/controller/gstinterpolation.c:
13262           whitespace prices have crashed, we should feel free to use some now
13263           use gst_guint64_to_gdouble
13264
13265 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13266
13267         * libs/gst/controller/gstcontroller.c:
13268         * libs/gst/controller/gsthelper.c:
13269         * libs/gst/controller/gstinterpolation.c:
13270         * libs/gst/controller/lib.c:
13271           wrap config.h include
13272
13273 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13274
13275         * docs/gst/gstreamer-sections.txt:
13276           update docs
13277
13278 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13279
13280         * plugins/elements/gstelements.c:
13281         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13282         (gst_fd_sink__class_init), (gst_fd_sink__init),
13283         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13284         (gst_fd_sink__get_property):
13285         * plugins/elements/gstfdsink.h:
13286         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13287         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13288         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13289         (gst_fd_src_unlock), (gst_fd_src_set_property),
13290         (gst_fd_src_get_property), (gst_fd_src_create),
13291         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13292         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13293         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13294         (gst_fd_src_uri_handler_init):
13295         * plugins/elements/gstfdsrc.h:
13296         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13297           more anal cleanup
13298
13299 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13300
13301         * docs/gst/Makefile.am:
13302         * docs/gst/gstreamer.types.in:
13303         * gst/Makefile.am:
13304           fix the docs build
13305
13306 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13307
13308         * configure.ac:
13309         * gst/Makefile.am:
13310         * gst/gst.c:
13311         * gst/gstplugin.h:
13312         * gst/gstregistry.h:
13313         * tests/benchmarks/complexity.c:
13314         * tests/benchmarks/mass-elements.c:
13315         * tests/check/Makefile.am:
13316         * tools/Makefile.am:
13317         * tools/gst-inspect.c:
13318         * tools/gst-xmlinspect.c:
13319           various fixes to make
13320           --disable-nls --disable-registry --disable-loadsave
13321           --disable-parse --disable-gst-debug
13322           work and get the core .so down to 360444 bytes after stripping
13323
13324 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13325
13326         * Makefile.am:
13327         * configure.ac:
13328           descend into tests
13329         * docs/random/thomasvs/TODO:
13330         * tests/Makefile.am:
13331         * tests/README:
13332           add a README
13333
13334 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13335
13336         * win32/GStreamer.vcproj:
13337         * win32/MANIFEST:
13338         * win32/Makefile:
13339         * win32/Makefile.inspect:
13340         * win32/Makefile.launch:
13341         * win32/Makefile.register:
13342         * win32/README.txt:
13343         * win32/gst-inspect.vcproj:
13344         * win32/gst-launch.vcproj:
13345         * win32/gst-register.vcproj:
13346         * win32/gstelements.vcproj:
13347         * win32/gstgetbits.def:
13348         * win32/gstgetbits.vcproj:
13349         * win32/gstreamer-dbg.def:
13350         * win32/gstreamer.def:
13351         * win32/libgstbase.def:
13352         * win32/libgstbase.vcproj:
13353         * win32/link_oldruntime.c:
13354         * win32/mman.c:
13355         * win32/mman.h:
13356         * win32/mman.inl:
13357         * win32/msvc71.sln:
13358           move even more stuff, win32/ is nice and clean now
13359
13360 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13361
13362         * libs/gst/control/.cvsignore:
13363         * win32/MANIFEST:
13364         * win32/config.h:
13365         * win32/dirent.c:
13366         * win32/dirent.h:
13367         * win32/gstbytestream.def:
13368         * win32/gstbytestream.vcproj:
13369         * win32/gstconfig.h:
13370         * win32/gstenumtypes.c:
13371         * win32/gstenumtypes.h:
13372         * win32/gstoptimalscheduler.vcproj:
13373         * win32/gstversion.h:
13374         * win32/gtchar.h:
13375         * win32/testsuite/bins.vcproj:
13376         * win32/testsuite/bytestream.vcproj:
13377         * win32/testsuite/caps.vcproj:
13378         * win32/testsuite/cleanup.vcproj:
13379         * win32/testsuite/clock.vcproj:
13380         * win32/testsuite/debug.vcproj:
13381         * win32/testsuite/dlopen.vcproj:
13382         * win32/testsuite/dynparams.vcproj:
13383         * win32/testsuite/elements.vcproj:
13384         * win32/testsuite/ghostpads.vcproj:
13385         * win32/testsuite/indexers.vcproj:
13386         * win32/testsuite/negotiation.vcproj:
13387         * win32/testsuite/parse.vcproj:
13388         * win32/testsuite/plugin.vcproj:
13389         * win32/testsuite/refcounting.vcproj:
13390         * win32/testsuite/schedulers.vcproj:
13391         * win32/testsuite/states.vcproj:
13392         * win32/testsuite/tags.vcproj:
13393         * win32/testsuite/threads.vcproj:
13394           remove old win32 stuff that isn't maintained and should be
13395           reorganized
13396
13397 2005-11-30  Andy Wingo  <wingo@pobox.com>
13398
13399         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13400         loading the gst.interfaces python module bork.
13401
13402         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13403         available since GLib 2.2. Fixes #318031.
13404
13405 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13406
13407         * Makefile.am:
13408         * check/.cvsignore:
13409         * check/Makefile.am:
13410         * check/elements/.cvsignore:
13411         * check/elements/fakesrc.c:
13412         * check/elements/fdsrc.c:
13413         * check/elements/identity.c:
13414         * check/generic/.cvsignore:
13415         * check/generic/states.c:
13416         * check/gst-libs/.cvsignore:
13417         * check/gst-libs/controller.c:
13418         * check/gst-libs/gdp.c:
13419         * check/gst/.cvsignore:
13420         * check/gst/capslist.h:
13421         * check/gst/gst.c:
13422         * check/gst/gstbin.c:
13423         * check/gst/gstbuffer.c:
13424         * check/gst/gstbus.c:
13425         * check/gst/gstcaps.c:
13426         * check/gst/gstelement.c:
13427         * check/gst/gstevent.c:
13428         * check/gst/gstghostpad.c:
13429         * check/gst/gstiterator.c:
13430         * check/gst/gstmessage.c:
13431         * check/gst/gstminiobject.c:
13432         * check/gst/gstobject.c:
13433         * check/gst/gstpad.c:
13434         * check/gst/gstpipeline.c:
13435         * check/gst/gstplugin.c:
13436         * check/gst/gstsegment.c:
13437         * check/gst/gststructure.c:
13438         * check/gst/gstsystemclock.c:
13439         * check/gst/gsttag.c:
13440         * check/gst/gstutils.c:
13441         * check/gst/gstvalue.c:
13442         * check/net/.cvsignore:
13443         * check/net/gstnetclientclock.c:
13444         * check/net/gstnettimeprovider.c:
13445         * check/pipelines/.cvsignore:
13446         * check/pipelines/cleanup.c:
13447         * check/pipelines/simple_launch_lines.c:
13448         * check/pipelines/stress.c:
13449         * check/states/.cvsignore:
13450         * check/states/sinks.c:
13451         * configure.ac:
13452         * examples/Makefile.am:
13453         * examples/appreader/.cvsignore:
13454         * examples/appreader/Makefile.am:
13455         * examples/appreader/appreader.c:
13456         * examples/controller/.cvsignore:
13457         * examples/controller/Makefile.am:
13458         * examples/controller/audio-example.c:
13459         * examples/cutter/.cvsignore:
13460         * examples/cutter/Makefile.am:
13461         * examples/cutter/cutter.c:
13462         * examples/cutter/cutter.h:
13463         * examples/events/Makefile.am:
13464         * examples/events/seek.c:
13465         * examples/helloworld/.cvsignore:
13466         * examples/helloworld/Makefile.am:
13467         * examples/helloworld/helloworld.c:
13468         * examples/helloworld2/.cvsignore:
13469         * examples/helloworld2/Makefile.am:
13470         * examples/helloworld2/helloworld2.c:
13471         * examples/launch/.cvsignore:
13472         * examples/launch/Makefile.am:
13473         * examples/launch/mp3parselaunch.c:
13474         * examples/launch/mp3play:
13475         * examples/manual/.cvsignore:
13476         * examples/manual/Makefile.am:
13477         * examples/manual/extract.pl:
13478         * examples/metadata/Makefile.am:
13479         * examples/metadata/read-metadata.c:
13480         * examples/mixer/.cvsignore:
13481         * examples/mixer/Makefile.am:
13482         * examples/mixer/mixer.c:
13483         * examples/mixer/mixer.h:
13484         * examples/pingpong/.cvsignore:
13485         * examples/pingpong/Makefile.am:
13486         * examples/pingpong/pingpong.c:
13487         * examples/plugins/.cvsignore:
13488         * examples/plugins/Makefile.am:
13489         * examples/plugins/example.c:
13490         * examples/plugins/example.h:
13491         * examples/pwg/.cvsignore:
13492         * examples/pwg/Makefile.am:
13493         * examples/pwg/extract.pl:
13494         * examples/queue/.cvsignore:
13495         * examples/queue/Makefile.am:
13496         * examples/queue/queue.c:
13497         * examples/queue2/.cvsignore:
13498         * examples/queue2/Makefile.am:
13499         * examples/queue2/queue2.c:
13500         * examples/queue3/.cvsignore:
13501         * examples/queue3/Makefile.am:
13502         * examples/queue3/queue3.c:
13503         * examples/queue4/.cvsignore:
13504         * examples/queue4/Makefile.am:
13505         * examples/queue4/queue4.c:
13506         * examples/retag/.cvsignore:
13507         * examples/retag/Makefile.am:
13508         * examples/retag/retag.c:
13509         * examples/retag/transcode.c:
13510         * examples/thread/.cvsignore:
13511         * examples/thread/Makefile.am:
13512         * examples/thread/thread.c:
13513         * examples/typefind/.cvsignore:
13514         * examples/typefind/Makefile.am:
13515         * examples/typefind/typefind.c:
13516         * examples/xml/.cvsignore:
13517         * examples/xml/Makefile.am:
13518         * examples/xml/createxml.c:
13519         * examples/xml/runxml.c:
13520         * tests/Makefile.am:
13521         * tests/check/Makefile.am:
13522         * testsuite/.cvsignore:
13523         * testsuite/Makefile.am:
13524         * testsuite/Rules:
13525         * testsuite/caps/.cvsignore:
13526         * testsuite/caps/Makefile.am:
13527         * testsuite/caps/app_fixate.c:
13528         * testsuite/caps/audioscale.c:
13529         * testsuite/caps/caps.c:
13530         * testsuite/caps/caps.h:
13531         * testsuite/caps/caps_strings:
13532         * testsuite/caps/compatibility.c:
13533         * testsuite/caps/deserialize.c:
13534         * testsuite/caps/enumcaps.c:
13535         * testsuite/caps/eratosthenes.c:
13536         * testsuite/caps/filtercaps.c:
13537         * testsuite/caps/fixed.c:
13538         * testsuite/caps/fraction-convert.c:
13539         * testsuite/caps/fraction-multiply-and-zero.c:
13540         * testsuite/caps/intersect2.c:
13541         * testsuite/caps/intersection.c:
13542         * testsuite/caps/normalisation.c:
13543         * testsuite/caps/random.c:
13544         * testsuite/caps/renegotiate.c:
13545         * testsuite/caps/sets.c:
13546         * testsuite/caps/simplify.c:
13547         * testsuite/caps/string-conversions.c:
13548         * testsuite/caps/structure.c:
13549         * testsuite/caps/subtract.c:
13550         * testsuite/caps/union.c:
13551         * testsuite/debug/.cvsignore:
13552         * testsuite/debug/Makefile.am:
13553         * testsuite/debug/category.c:
13554         * testsuite/debug/commandline.c:
13555         * testsuite/debug/global.c:
13556         * testsuite/debug/output.c:
13557         * testsuite/debug/printf_extension.c:
13558         * testsuite/dlopen/.cvsignore:
13559         * testsuite/dlopen/Makefile.am:
13560         * testsuite/dlopen/dlopen_gst.c:
13561         * testsuite/dlopen/loadgst.c:
13562         * testsuite/elements/.cvsignore:
13563         * testsuite/elements/Makefile.am:
13564         * testsuite/elements/gst-inspect-check.in:
13565         * testsuite/elements/struct_i386.h:
13566         * testsuite/elements/struct_size.c:
13567         * testsuite/indexers/.cvsignore:
13568         * testsuite/indexers/Makefile.am:
13569         * testsuite/indexers/cache1.c:
13570         * testsuite/indexers/indexdump.c:
13571         * testsuite/parse/.cvsignore:
13572         * testsuite/parse/Makefile.am:
13573         * testsuite/parse/parse1.c:
13574         * testsuite/parse/parse2.c:
13575         * testsuite/plugin/.cvsignore:
13576         * testsuite/plugin/Makefile.am:
13577         * testsuite/plugin/README:
13578         * testsuite/plugin/dynamic.c:
13579         * testsuite/plugin/linked.c:
13580         * testsuite/plugin/loading.c:
13581         * testsuite/plugin/registry.c:
13582         * testsuite/plugin/static.c:
13583         * testsuite/plugin/static2.c:
13584         * testsuite/plugin/testplugin.c:
13585         * testsuite/plugin/testplugin2.c:
13586         * testsuite/plugin/testplugin2_s.c:
13587         * testsuite/plugin/testplugin_s.c:
13588         * testsuite/refcounting/.cvsignore:
13589         * testsuite/refcounting/Makefile.am:
13590         * testsuite/refcounting/bin.c:
13591         * testsuite/refcounting/element.c:
13592         * testsuite/refcounting/element_pad.c:
13593         * testsuite/refcounting/mainloop.c:
13594         * testsuite/refcounting/mem.c:
13595         * testsuite/refcounting/mem.h:
13596         * testsuite/refcounting/object.c:
13597         * testsuite/refcounting/pad.c:
13598         * testsuite/refcounting/sched.c:
13599         * testsuite/refcounting/thread.c:
13600         * testsuite/states/.cvsignore:
13601         * testsuite/states/Makefile.am:
13602         * testsuite/states/bin.c:
13603         * testsuite/states/locked.c:
13604         * testsuite/states/parent.c:
13605         * testsuite/threads/.cvsignore:
13606         * testsuite/threads/159566.c:
13607         * testsuite/threads/159852.c:
13608         * testsuite/threads/Makefile.am:
13609         * testsuite/threads/queue.c:
13610         * testsuite/threads/signals.c:
13611         * testsuite/threads/staticrec.c:
13612         * testsuite/threads/thread.c:
13613         * testsuite/threads/threadb.c:
13614         * testsuite/threads/threadc.c:
13615         * testsuite/threads/threadd.c:
13616         * testsuite/threads/threade.c:
13617         * testsuite/threads/threadf.c:
13618         * testsuite/threads/threadg.c:
13619         * testsuite/threads/threadh.c:
13620         * testsuite/threads/threadi.c:
13621           move all of these under tests
13622
13623 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13624
13625         * configure.ac:
13626         * tests/Makefile.am:
13627           fix distcheck
13628
13629 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13630
13631         * docs/gst/gstreamer-sections.txt:
13632         * tests/sched/.cvsignore:
13633         * tests/sched/Makefile.am:
13634         * tests/sched/cases/(fs-fs).xml:
13635         * tests/sched/cases/(fs-i-fs).xml:
13636         * tests/sched/cases/(fs-i-i-fs).xml:
13637         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13638         * tests/sched/dynamic-pipeline.c:
13639         * tests/sched/interrupt1.c:
13640         * tests/sched/interrupt2.c:
13641         * tests/sched/interrupt3.c:
13642         * tests/sched/runtestcases:
13643         * tests/sched/runxml.c:
13644         * tests/sched/sched-stress.c:
13645         * tests/sched/sort.c:
13646         * tests/sched/testcases:
13647         * tests/sched/testcases1.tc:
13648         * tests/seeking/.cvsignore:
13649         * tests/seeking/Makefile.am:
13650         * tests/seeking/seeking1.c:
13651         * tests/threadstate/.cvsignore:
13652         * tests/threadstate/Makefile.am:
13653         * tests/threadstate/test1.c:
13654         * tests/threadstate/test2.c:
13655         * tests/threadstate/threadstate1.c:
13656         * tests/threadstate/threadstate2.c:
13657         * tests/threadstate/threadstate3.c:
13658         * tests/threadstate/threadstate4.c:
13659         * tests/threadstate/threadstate5.c:
13660           remove obsolete tests
13661         * configure.ac:
13662         * tests/bench-complexity.scm:
13663         * tests/bench-mass_elements.scm:
13664         * tests/complexity.c:
13665         * tests/complexity.gnuplot:
13666         * tests/instantiate/.cvsignore:
13667         * tests/instantiate/Makefile.am:
13668         * tests/instantiate/caps.c:
13669         * tests/mass_elements.c:
13670         * tests/network-clock-utils.scm:
13671         * tests/network-clock.scm:
13672         * tests/plot-data:
13673         First pass at cleaning up tests/ dir before moving the rest
13674         Combined with CVS surgery
13675
13676 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13677
13678         * po/POTFILES.in:
13679           queue has moved, update
13680
13681 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13682
13683         * docs/gst/gstreamer-sections.txt:
13684           remove double entries from the docs
13685         * gst/gst_private.h:
13686         * gst/gstinfo.c: (_gst_debug_init):
13687           remove the THREAD debug category
13688         * gst/Makefile.am:
13689         * gst/gstqueue.c:
13690         * gst/gstqueue.h:
13691         * docs/gst/gstreamer.types:
13692         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13693         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13694           completely move queue and fix up debugging categories
13695
13696 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13697
13698         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13699           make initialization portable, using LL is not
13700
13701 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13702
13703         * win32/common/gstconfig.h:
13704           add large padding
13705
13706 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13707
13708         * win32/common/libgstreamer.def:
13709           rename symbols; sort base section
13710
13711 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13712
13713         * gst/gstclock.c: (do_linear_regression):
13714           remove crack non-portable handrolled DEBUG macro
13715
13716 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13717
13718         * docs/random/release:
13719           update notes
13720         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13721         (gst_object_flags_get_type), (register_gst_bin_flags),
13722         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13723         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13724         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13725         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13726         (gst_caps_flags_get_type), (register_gst_clock_return),
13727         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13728         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13729         (gst_clock_flags_get_type), (register_gst_state),
13730         (gst_state_get_type), (register_gst_state_change_return),
13731         (gst_state_change_return_get_type), (register_gst_state_change),
13732         (gst_state_change_get_type), (register_gst_element_flags),
13733         (gst_element_flags_get_type), (register_gst_core_error),
13734         (gst_core_error_get_type), (register_gst_library_error),
13735         (gst_library_error_get_type), (register_gst_resource_error),
13736         (gst_resource_error_get_type), (register_gst_stream_error),
13737         (gst_stream_error_get_type), (register_gst_event_type_flags),
13738         (gst_event_type_flags_get_type), (register_gst_event_type),
13739         (gst_event_type_get_type), (register_gst_seek_type),
13740         (gst_seek_type_get_type), (register_gst_seek_flags),
13741         (gst_seek_flags_get_type), (register_gst_format),
13742         (gst_format_get_type), (register_gst_index_certainty),
13743         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13744         (gst_index_entry_type_get_type),
13745         (register_gst_index_lookup_method),
13746         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13747         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13748         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13749         (gst_index_flags_get_type), (register_gst_debug_level),
13750         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13751         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13752         (gst_iterator_result_get_type), (register_gst_iterator_item),
13753         (gst_iterator_item_get_type), (register_gst_message_type),
13754         (gst_message_type_get_type), (register_gst_mini_object_flags),
13755         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13756         (gst_pad_link_return_get_type), (register_gst_flow_return),
13757         (gst_flow_return_get_type), (register_gst_activate_mode),
13758         (gst_activate_mode_get_type), (register_gst_pad_direction),
13759         (gst_pad_direction_get_type), (register_gst_pad_flags),
13760         (gst_pad_flags_get_type), (register_gst_pad_presence),
13761         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13762         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13763         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13764         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13765         (gst_plugin_flags_get_type), (register_gst_rank),
13766         (gst_rank_get_type), (register_gst_query_type),
13767         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13768         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13769         (gst_tag_flag_get_type), (register_gst_task_state),
13770         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13771         (gst_alloc_trace_flags_get_type),
13772         (register_gst_type_find_probability),
13773         (gst_type_find_probability_get_type), (register_gst_uri_type),
13774         (gst_uri_type_get_type), (register_gst_parse_error),
13775         (gst_parse_error_get_type):
13776         * win32/common/gstenumtypes.h:
13777         * win32/common/gstversion.h:
13778           update visual studio generated files
13779
13780 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13781
13782         * win32/vs6/libgstbase.dsp:
13783         * win32/vs6/libgstelements.dsp:
13784           update project files for new locations
13785
13786 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13787
13788         * Makefile.am:
13789           remove some files
13790         * README:
13791           reinstate and update
13792         * DEVEL:
13793         * REQUIREMENTS:
13794           removed
13795         * LICENSE:
13796         * docs/random/LICENSE:
13797           moved to random
13798
13799 2005-11-30  Edward Hervey  <edward@fluendo.com>
13800
13801         * gst/gsttypefind.c: (gst_type_find_register):
13802         * gst/gsttypefind.h:
13803         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13804         (gst_type_find_factory_dispose):
13805         * gst/gsttypefindfactory.h:
13806         Fix memory leak in GstTypeFindFactory.
13807
13808 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13809
13810         * gst/gst.c:
13811         * plugins/elements/Makefile.am:
13812         * plugins/elements/gstelements.c:
13813         * plugins/elements/gstqueue.c:
13814           move queue from core to the elements plugin
13815
13816 2005-11-29  Andy Wingo  <wingo@pobox.com>
13817
13818         * libs/gst/base/gstbasetransform.h: 
13819         * libs/gst/base/gstbasesrc.h: 
13820         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13821
13822         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13823         of pointers by which to pad very extensible base classes (like the
13824         ones in libs/gst/base).
13825
13826 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13827
13828         * docs/gst/gstreamer-docs.sgml:
13829         * docs/gst/gstreamer-sections.txt:
13830         * docs/libs/gstreamer-libs-docs.sgml:
13831         * docs/libs/gstreamer-libs-sections.txt:
13832           moving documentation from core to lib
13833
13834 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13835
13836         * check/Makefile.am:
13837         * configure.ac:
13838         * docs/gst/Makefile.am:
13839         * gst/Makefile.am:
13840         * gst/base/.cvsignore:
13841         * gst/base/Makefile.am:
13842         * gst/base/README:
13843         * gst/base/gstadapter.c:
13844         * gst/base/gstadapter.h:
13845         * gst/base/gstbasesink.c:
13846         * gst/base/gstbasesink.h:
13847         * gst/base/gstbasesrc.c:
13848         * gst/base/gstbasesrc.h:
13849         * gst/base/gstbasetransform.c:
13850         * gst/base/gstbasetransform.h:
13851         * gst/base/gstcollectpads.c:
13852         * gst/base/gstcollectpads.h:
13853         * gst/base/gstpushsrc.c:
13854         * gst/base/gstpushsrc.h:
13855         * gst/base/gsttypefindhelper.c:
13856         * gst/base/gsttypefindhelper.h:
13857         * gst/check/Makefile.am:
13858         * gst/check/gstcheck.c:
13859         * gst/check/gstcheck.h:
13860         * gst/net/Makefile.am:
13861         * gst/net/gstnet.h:
13862         * gst/net/gstnetclientclock.c:
13863         * gst/net/gstnetclientclock.h:
13864         * gst/net/gstnettimepacket.c:
13865         * gst/net/gstnettimepacket.h:
13866         * gst/net/gstnettimeprovider.c:
13867         * gst/net/gstnettimeprovider.h:
13868         * libs/gst/Makefile.am:
13869         * libs/gst/base/Makefile.am:
13870         * libs/gst/base/gstbasetransform.c:
13871         * libs/gst/check/Makefile.am:
13872         * plugins/elements/Makefile.am:
13873         * po/POTFILES.in:
13874           CVS surgery + support to move base, check, and net out of gst
13875           and into libs/gst
13876
13877 2005-11-29  Andy Wingo  <wingo@pobox.com>
13878
13879         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13880
13881         * gst/gststructure.h (struct _GstStructure): Only one pointer of
13882         padding.
13883
13884         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13885
13886         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13887
13888         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13889
13890         * gst/gstobject.h: (struct _GstObject): Only one pointer of
13891         padding; reduces object size by about 30%. We don't expect
13892         anything else to go into gstobject.
13893
13894         * gst/gstminiobject.h (struct _GstMiniObject)
13895         (struct _GstMiniObjectClass): Only one pointer of padding; the
13896         payload is only a pointer and two ints anyway. For the class there
13897         are only two methods as well.
13898         
13899         * gst/gstelement.h (struct _GstElementClass): Removed
13900         the state_changed signal callback, it is not used.
13901
13902 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13903
13904         * docs/gst/gstreamer.types:
13905           fix includes, though they are a little dinky
13906
13907 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13908
13909         * check/Makefile.am:
13910           look in the right place for elements, a lot more chance of
13911           success
13912         * gst/Makefile.am:
13913           remove indexers and elements subdirs
13914         * plugins/Makefile.am:
13915           make indexers conditional
13916
13917 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13918
13919         * Makefile.am:
13920         * configure.ac:
13921         * plugins/elements/Makefile.am:
13922         * plugins/elements/gstcapsfilter.c:
13923         * plugins/elements/gstfilesink.c:
13924         * plugins/elements/gstfilesrc.c:
13925         * plugins/elements/gstidentity.c:
13926         * plugins/indexers/Makefile.am:
13927           do CVS surgery and related build fixery to move elements
13928           and indexers in a new gstreamer/plugins directory, out of the
13929           gst/ directory
13930
13931 2005-11-29  Andy Wingo  <wingo@pobox.com>
13932
13933         * check/Makefile.am:
13934         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13935         * pkgconfig/gstreamer-net.pc.in:
13936         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13937         #322257.
13938
13939 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13940
13941         * tools/Makefile.am:
13942         * tools/gst-complete.1.in:
13943         * tools/gst-complete.c:
13944         * tools/gst-compprep.1.in:
13945         * tools/gst-compprep.c:
13946           removing -compprep and -complete
13947
13948 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13949
13950         * gst/gstevent.c: (gst_event_new_new_segment),
13951         (gst_event_parse_new_segment):
13952         * gst/gstevent.h:
13953           fix #320529 - clean up new_segment API and structure.
13954           Let's hope everyone was using the methods, and not the structure.
13955
13956 2005-11-29  Edward Hervey  <edward@fluendo.com>
13957
13958         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13959         (gst_base_sink_event), (gst_base_sink_do_sync),
13960         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13961         Properly handle non GST_FORMAT_TIME segment
13962         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13963         Properly handle non GST_FORMAT_TIME segment
13964         * gst/gstsegment.c:
13965         This function is valid if the accumulator is 0 and the format
13966         is different from the requested format.
13967         
13968 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13969
13970         * docs/gst/gstreamer-sections.txt:
13971         Add gst_query_new_seeking and gst_query_parse_seeking to the
13972         docs.
13973
13974 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13975
13976         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13977           Treat a pad alloc with new caps the same as if we were not
13978           negotiated, in order to allow a changing upstream output
13979           to produce a new format of data.
13980
13981 2005-11-29  Edward Hervey  <edward@fluendo.com>
13982
13983         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13984         (gst_base_transform_event), (gst_base_transform_eventfunc):
13985         The event virtual method is now properly implemented, with a default
13986         handler
13987         Sub classes should call the parent_class event method. They should
13988         return FALSE if they had a problem handling the given event, or don't
13989         want GstBaseTransform to send that even downstream
13990         * gst/elements/gstidentity.c: (gst_identity_class_init),
13991         (gst_identity_init), (gst_identity_event),
13992         (gst_identity_transform_ip), (gst_identity_set_property),
13993         (gst_identity_get_property):
13994         * gst/elements/gstidentity.h:
13995         Added the single-segment boolean property.
13996         If set to TRUE, it will output a single segment of data, starting from
13997         0, will eat up all incoming newsegment, and modify the timestamp of the
13998         buffers accordingly
13999
14000 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14001
14002         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14003           Don't ref NULL target pad (#322751). Improve docs.
14004
14005 2005-11-29  Michael Smith  <msmith@fluendo.com>
14006
14007         * gst/gstregistryxml.c: (load_plugin):
14008           Don't crash if we failed to load a feature from a plugin. 
14009
14010 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14011
14012         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14013         (GST_START_TEST):
14014           use more check API and less GLib API
14015
14016 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14017
14018         * Makefile.am:
14019           don't run checks if we don't have check
14020         * common/check.mak:
14021           remove the registry when running make torture
14022         * docs/gst/gstreamer-sections.txt:
14023           remove second multiply
14024         * gst/gstqueue.c: (gst_queue_loop):
14025           fix a compile warning when disabling debug
14026
14027 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14028
14029         * gst/gstinfo.h:
14030         Hey! Let's print the pad name if the pointer != NULL instead
14031         of when it == NULL :-)
14032
14033 2005-11-28  Wim Taymans  <wim@fluendo.com>
14034
14035         * check/gst/gstutils.c: (GST_START_TEST):
14036         Updated check, add some scaling accuracy checking code.
14037
14038         * gst/gstutils.c: (gst_util_div128_64),
14039         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14040         (gst_util_uint64_scale_int):
14041         Fix 6 times faster division code. Optimize for common 
14042         1/1 and less common X/1 cases.
14043
14044 2005-11-28  Wim Taymans  <wim@fluendo.com>
14045
14046         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14047         More checks.
14048
14049         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14050         (do_linear_regression), (gst_clock_add_observation):
14051         Cleanups.
14052         Release lock when the clock cannot be slaved.
14053         Catch the case where the regression returned an invalid denominator.
14054
14055         * gst/gstutils.c: (gst_util_div128_64_iterate),
14056         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14057         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14058         Add protentially more performant non-iterative 128/64 divide function
14059         that unfortunatly does not work yet.
14060         Shortcut the trivial 0/X = 0 case.
14061         Remove the warnings on overflow.
14062
14063 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14064
14065         * gst/gstplugin.c: (gst_plugin_register_func):
14066           everything causing a plugin not to load should be at least a WARNING
14067
14068 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14069
14070         * docs/random/ensonic/dparams.txt:
14071           some TODOs for the next dev cycle
14072         * libs/gst/controller/gstcontroller.c:
14073         (gst_controlled_property_set_interpolation_mode),
14074         (gst_controlled_property_new):
14075         * libs/gst/controller/gstcontroller.h:
14076           use base type to assign acccessor functions
14077
14078 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14079
14080         * check/Makefile.am:
14081         Oops, that should have been top_srcdir
14082
14083 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14084
14085         * check/Makefile.am:
14086         * check/elements/fdsrc.c: (GST_START_TEST):
14087         Use a cmdline define to specify the location of a file to use for
14088         testing, to avoid breaking distcheck.
14089
14090 2005-11-28  Andy Wingo  <wingo@pobox.com>
14091
14092         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14093
14094 2005-11-28  Edward Hervey  <edward@fluendo.com>
14095
14096         * tools/gst-launch.c: (main):
14097         Clarify the output strings, makes it easier to translate.
14098         Fixes #322626
14099
14100 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14101
14102         * gst/Makefile.am:
14103           don't try and build net if we don't even have <sys/socket.h>
14104
14105 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14106
14107         * check/Makefile.am:
14108         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14109         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14110           Add tests for fdsrc seekability
14111
14112         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14113         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14114         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14115         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14116         * gst/elements/gstfdsrc.h:
14117           fdsrc should not be a 'live' source.
14118           Implement seeking on seekable fd's.
14119
14120         * gst/gstquery.c: (gst_query_new_seeking),
14121         (gst_query_parse_seeking):
14122         * gst/gstquery.h:
14123           Implement SEEKING query functions: 
14124             *_new_seeking and *_parse_seeking
14125
14126 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14127
14128         * gst/gstelement.c: (gst_element_dispose):
14129           don't loop forever
14130
14131         * gst/gstiterator.c:
14132         * gst/gststructure.c:
14133           doc fixes
14134
14135         * libs/gst/controller/gstcontroller.c:
14136         (gst_controlled_property_set_interpolation_mode):
14137         * libs/gst/controller/gstcontroller.h:
14138         * libs/gst/controller/gstinterpolation.c:
14139         (interpolate_none_get_enum_value_array):
14140           support controlling enums
14141
14142 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14143
14144         * gst/gstvalue.c:
14145           Improve documentation for gst_value_union().
14146
14147         * gst/gstvalue.h:
14148           Change return value for union, intersect and subtract functions
14149           from gint to gboolean.
14150
14151 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14152
14153         * gst/gstvalue.c: (gst_value_serialize_any_list),
14154         (gst_value_transform_any_list_string),
14155         (gst_value_deserialize_list), (gst_value_deserialize_array),
14156         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14157         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14158         (gst_value_set_fraction_range_full),
14159         (gst_value_deserialize_fraction_range),
14160         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14161         (gst_value_deserialize_boolean),
14162         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14163         (gst_value_serialize_float), (gst_value_deserialize_float),
14164         (gst_string_wrap), (gst_value_deserialize_string),
14165         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14166         (gst_value_union_int_range_int_range),
14167         (gst_value_intersect_int_range_int_range),
14168         (gst_value_intersect_double_range_double_range),
14169         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14170         (gst_value_subtract_int_range_int_range),
14171         (gst_value_subtract_double_double_range),
14172         (gst_value_subtract_double_range_double_range),
14173         (gst_value_deserialize_fraction):
14174         * gst/gstvalue.h:
14175           Use gint, gdouble and gchar in our API instead of int, double and
14176           char (and make usage in gstvalue.c more consistent).
14177
14178 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14179
14180         * check/Makefile.am:
14181         * libs/gst/controller/Makefile.am:
14182         * libs/gst/dataprotocol/Makefile.am:
14183           fix up Makefile.am and remove GST_ENABLE_NEW
14184
14185 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14186
14187         * configure.ac:
14188         * gst/Makefile.am:
14189         * gst/base/Makefile.am:
14190         * gst/check/Makefile.am:
14191         * gst/elements/Makefile.am:
14192         * gst/net/Makefile.am:
14193           update LDFLAGS use some more
14194
14195 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14196
14197         * common/m4/gst-doc.m4:
14198           Fixes #312589
14199
14200 2005-11-26  Edward Hervey  <edward@fluendo.com>
14201
14202         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14203         This shouldn't issue a g_warning since it returns NULL if it
14204         couldn't find the plugin, and all functions using this behave
14205         properly on a NULL return. Switching to a GST_WARNING.
14206
14207 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14208
14209         * gst/gstbin.c: (gst_bin_handle_message_func):
14210         Don't leak clock messages.
14211
14212 2005-11-25  Wim Taymans  <wim@fluendo.com>
14213
14214         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14215         (gst_util_uint64_scale_int):
14216         Optimisations, remove unneeded vars.
14217
14218 2005-11-25  Wim Taymans  <wim@fluendo.com>
14219
14220         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14221         Added more checks for the high precision uint64 cases.
14222
14223         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14224         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14225         Implement high precision (guint64 * guint64) / guint64.
14226
14227 2005-11-24  Wim Taymans  <wim@fluendo.com>
14228
14229         * gst/base/gstbasesrc.c: (gst_base_src_query):
14230         Fix wrong percentage query.
14231
14232         * gst/gstutils.c: (gst_util_uint64_scale),
14233         (gst_util_uint64_scale_int):
14234         Add some more common cases that can be handled 
14235         efficiently to _scale.
14236
14237 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14238
14239         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14240         (gst_mini_object_suite):
14241           don't use check calls from threads; check probably isn't
14242           threadsafe and using a lock to make it threadsafe would
14243           defeat the purpose of this check
14244         * gst/check/gstcheck.c:
14245         * gst/check/gstcheck.h:
14246           use GST_DEBUG some more
14247
14248 2005-11-24  Wim Taymans  <wim@fluendo.com>
14249
14250         * gst/gstutils.c: (gst_util_uint64_scale),
14251         (gst_util_uint64_scale_int):
14252         Chain trivial case to _scale_int.
14253
14254 2005-11-24  Wim Taymans  <wim@fluendo.com>
14255
14256         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14257         Added test for scaling.
14258
14259         * gst/gstclock.h:
14260         Small doc fix.
14261
14262         * gst/gstutils.c: (gst_util_uint64_scale_int):
14263         Implemented high precision scaling code.
14264
14265 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14266
14267         * gst/gstinfo.h:
14268           do not crash on pad==NULL
14269
14270 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14271
14272         Patch by: Stefan Kost
14273
14274         * common/gtk-doc.mak:
14275         * docs/gst/Makefile.am:
14276         * docs/libs/Makefile.am:
14277           Fix distcheck issues for the libraries docs build
14278           Closes #319599.
14279
14280 2005-11-24  Michael Smith <msmith@fluendo.com>
14281
14282         * docs/manual/basics-helloworld.xml:
14283           Fix bug #315027: memory leak in example code in docs.
14284
14285 2005-11-24  Michael Smith <msmith@fluendo.com>
14286
14287         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14288           Unlock the PREROLL_LOCK in a failure case.
14289
14290 2005-11-24  Wim Taymans  <wim@fluendo.com>
14291
14292         * docs/gst/gstreamer-sections.txt:
14293         * gst/base/gstadapter.h:
14294         * gst/base/gstbasesink.h:
14295         * gst/base/gstbasesrc.h:
14296         * gst/base/gstbasetransform.h:
14297         * gst/base/gstpushsrc.h:
14298         * gst/elements/gstfakesink.h:
14299         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14300         * gst/elements/gstfakesrc.h:
14301         * gst/elements/gstfilesink.h:
14302         * gst/elements/gstfilesrc.h:
14303         * gst/gst.c:
14304         * gst/gstbin.c:
14305         * gst/gstbuffer.c: (_gst_buffer_copy):
14306         * gst/gstbus.h:
14307         * gst/gstcaps.c:
14308         * gst/gstchildproxy.c:
14309         * gst/gstclock.c:
14310         * gst/gstelement.c:
14311         * gst/gstelementfactory.c:
14312         * gst/gstelementfactory.h:
14313         * gst/gstevent.c:
14314         * gst/gstghostpad.h:
14315         * gst/gstindex.h:
14316         * gst/gstinterface.h:
14317         * gst/gstminiobject.c:
14318         * gst/gstminiobject.h:
14319         * gst/gstpad.c:
14320         * gst/gstpad.h:
14321         * gst/gstpadtemplate.h:
14322         * gst/gstpipeline.h:
14323         * gst/gstpluginfeature.h:
14324         * gst/gstquery.h:
14325         * gst/gstqueue.h:
14326         * gst/gsttaglist.c:
14327         * gst/gsttaglist.h:
14328         * gst/gsttagsetter.c:
14329         * gst/gsttagsetter.h:
14330         * gst/gsttrace.c:
14331         * gst/gsttrace.h:
14332         * gst/gsttypefind.h:
14333         * gst/gsturi.h:
14334         * gst/gstvalue.c:
14335         * gst/net/gstnetclientclock.c:
14336         * gst/net/gstnetclientclock.h:
14337         * gst/net/gstnettimepacket.c:
14338         * gst/net/gstnettimeprovider.c:
14339         * gst/net/gstnettimeprovider.h:
14340         Doc fixes.
14341
14342 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14343
14344         * configure.ac: back to HEAD
14345
14346 === release 0.9.6 ===
14347
14348 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14349
14350         * configure.ac:
14351           releasing 0.9.6, "Always On Time"
14352
14353 2005-11-23  Wim Taymans  <wim@fluendo.com>
14354
14355         * docs/gst/gstreamer-sections.txt:
14356         * gst/glib-compat.c:
14357         * gst/gsttagsetter.c:
14358         * gst/gstvalue.c:
14359         * gst/net/gstnetclientclock.c:
14360         * gst/net/gstnettimepacket.h:
14361         Doc updates.
14362
14363 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14364
14365         * docs/faq/using.xml:
14366         * docs/libs/tmpl/gstcontrol.sgml:
14367         * docs/manual/advanced-dparams.xml:
14368         * docs/manual/appendix-checklist.xml:
14369         * docs/manual/basics-elements.xml:
14370         * docs/pwg/other-source.xml:
14371         * docs/random/moving-plugins:
14372         * gst/gstpad.c:
14373         * tools/gst-launch.1.in:
14374           remove mentions of sinesrc
14375
14376 2005-11-23  Michael Smith <msmith@fluendo.com>
14377
14378         * docs/gst/gstreamer-sections.txt:
14379           Update for new API and API changes.
14380         * gst/gstobject.h:
14381           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14382         * gst/gstvalue.c:
14383           Documentation typo fix.
14384         * gst/net/gstnettimepacket.c:
14385           Documentation fixes for arguments.
14386
14387 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14388
14389         * gst/gststructure.c: (gst_structure_get_fraction),
14390         (gst_structure_parse_value),
14391         (gst_structure_fixate_field_nearest_fraction):
14392         * gst/gststructure.h:
14393         * gst/gstutils.c: (gst_util_uint64_scale_int):
14394         * gst/gstutils.h:
14395         * scripts/update-funcnames:
14396         API Changes. 
14397         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14398         Make gst_structure_fixate_field_nearest_fraction take a numerator
14399         and denominator argument instead of a GValue
14400         add gst_structure_get_fraction helper function.
14401
14402 2005-11-23  Wim Taymans  <wim@fluendo.com>
14403
14404         * docs/design/part-TODO.txt:
14405         Update TODO.
14406
14407         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14408         * gst/net/gstnetclientclock.h:
14409         Use parent fields for timeout and window_size.
14410
14411 2005-11-23  Andy Wingo  <wingo@pobox.com>
14412
14413         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14414         rate_num/rate_denom change.
14415
14416         * gst/net/gstnetclientclock.c
14417         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14418         OBJECT_LOCK. Don't call add_observation with the lock.
14419
14420         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14421         fraction.
14422         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14423         rate fraction.
14424         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14425         deal with rate as a fraction whose numerator and denominator are
14426         GstClockTime values.
14427         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14428         master; the other fields are protected by the SLAVE_LOCK.
14429         (do_linear_regression): Note that this must be called with the
14430         SLAVE_LOCK.
14431         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14432         OBJECT_LOCK. Call set_calibration instead of touching the
14433         variables directly.
14434         (gst_clock_set_property, gst_clock_get_property): Protect
14435         master/slave parameters with the SLAVE_LOCK.
14436
14437         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14438         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14439         note that all of the instance variables that add_observation and
14440         the set_master functions use are protected by that lock and not
14441         the OBJECT_LOCK.
14442         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14443
14444         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14445         the caller to take the object lock.
14446
14447 2005-11-23  Wim Taymans  <wim@fluendo.com>
14448
14449         * gst/gsterror.c: (_gst_core_errors_init):
14450         * gst/gsterror.h:
14451         Add error for clock stuff.
14452
14453         * gst/gstpipeline.c: (gst_pipeline_change_state),
14454         (gst_pipeline_set_clock):
14455         Post clock error when clock cannot be used in a pipeline.
14456
14457 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14458
14459         * docs/gst/gstreamer-sections.txt:
14460           make two symbols from gstinfo private for the docs
14461         * gst/base/gstcollectpads.h:
14462         * gst/gstutils.c:
14463           fix doc typos, update docs
14464
14465 2005-11-22  Wim Taymans  <wim@fluendo.com>
14466
14467         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14468         (gst_base_sink_wait), (gst_base_sink_do_sync),
14469         (gst_base_sink_handle_event):
14470         * gst/base/gstbasesink.h:
14471         No need to store the clock, the parent element class already
14472         has it.
14473
14474         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14475         Updates for clock_set returning a gboolean
14476
14477         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14478         (gst_clock_id_wait_async), (gst_clock_class_init),
14479         (gst_clock_init), (gst_clock_finalize),
14480         (gst_clock_get_internal_time), (gst_clock_get_time),
14481         (gst_clock_slave_callback), (gst_clock_set_master),
14482         (gst_clock_get_master), (do_linear_regression),
14483         (gst_clock_add_observation), (gst_clock_set_property),
14484         (gst_clock_get_property):
14485         * gst/gstclock.h:
14486         Implement master/slave. When setting a clock as a slave, a
14487         periodic timeout is scheduled to sample master and slave times.
14488         Then the slave clock is recalibrated to match offset and rate
14489         of the master clock.
14490         Update logging a bit.
14491         Add flag so that a clock can state that is cannot be slaved to
14492         another clock.
14493
14494         * gst/gstelement.c: (gst_element_set_clock):
14495         * gst/gstelement.h:
14496         The set clock returns a gboolean for when an element cannot
14497         deal with the selected clock in the pipeline. 
14498
14499         * gst/gstpipeline.c: (gst_pipeline_change_state),
14500         (gst_pipeline_set_clock):
14501         * gst/gstpipeline.h:
14502         Handle the case where the selected clock cannot be set on
14503         the pipeline.
14504
14505         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14506         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14507         (gst_net_client_clock_set_property),
14508         (gst_net_client_clock_get_property),
14509         (gst_net_client_clock_observe_times):
14510         * gst/net/gstnetclientclock.h:
14511         Use regression code in GstClock parent, remove duplicated
14512         functionality.
14513
14514 2005-11-22  Michael Smith <msmith@fluendo.com>
14515
14516         * gst/gstutils.c: (gst_util_clock_time_scale):
14517         * gst/gstutils.h:
14518         * docs/gst/gstreamer-sections.txt:
14519           Rename method to have extra underscore.
14520
14521 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14522
14523         * gst/elements/Makefile.am:
14524         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14525         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14526         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14527         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14528         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14529         * gst/elements/gstfakesrc.h:
14530         * gst/gstqueue.c: (queue_leaky_get_type):
14531           correctly fix GEnumValues so that nick is the short lowercase
14532           dashed tag
14533         * tools/gst-inspect.c: (print_element_properties_info):
14534           also show the nick, since it's useful to use from parse_launch
14535           syntax
14536           Fixes #322139
14537
14538 2005-11-22  Michael Smith <msmith@fluendo.com>
14539
14540         * gst/gstutils.c: (gst_util_clocktime_scale):
14541         * gst/gstutils.h:
14542         * docs/gst/gstreamer-sections.txt:
14543           Add util method for scaling a clocktime by a fraction. Useful 
14544           implementation is left as an exercise for the reader.
14545
14546 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14547
14548         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14549         If needed, allocate storage in the destination value during
14550         collection.
14551
14552 2005-11-22  Edward Hervey  <edward@fluendo.com>
14553
14554         * docs/gst/gstreamer-sections.txt:
14555         * gst/Makefile.am:
14556         * gst/gst.h:
14557         * gst/gsturitype.c:
14558         * gst/gsturitype.h:
14559         * gst/gstutils.c: (gst_util_set_object_arg):
14560         * tools/gst-compprep.c: (main):
14561         * tools/gst-inspect.c: (print_element_properties_info):
14562         Removed GstURI, closes bug #321061
14563
14564 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14565
14566         * check/gst/gststructure.c: (GST_START_TEST):
14567         * gst/gststructure.c: (gst_structure_parse_value):
14568           Oops, broke automatic string type parsing.
14569           Add a test to catch it in future.
14570
14571 2005-11-22  Andy Wingo  <wingo@pobox.com>
14572
14573         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14574         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14575         Actually rename the function implementations. Grr.
14576
14577 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14578
14579         * check/gst/capslist.h:
14580           Comment test cases
14581         * check/gst/gststructure.c: (GST_START_TEST),
14582         (gst_structure_suite):
14583           Test automatic value type detection in gst_structure_from_string.
14584         * gst/gststructure.c: (gst_structure_parse_value):
14585           Add fraction as a type we try and guess automatically in
14586           caps/structure strings.
14587
14588 2005-11-22  Andy Wingo  <wingo@pobox.com>
14589
14590         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14591
14592         * gst/gsttagsetter.h:
14593         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14594         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14595         (gst_tag_setter_add_tag_valist)
14596         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14597         _add_values, _add_valist, and _add_valist_values. Since this is an
14598         interface the function suffixes should be more explicit so
14599         language binding don't end up with element.add_valist ->
14600         gst_tag_setter_add_valist, for example. Fixes #322069.
14601
14602 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14603
14604         * check/gst/gstcaps.c: (GST_START_TEST):
14605           Extend caps string tests to check that a caps to string
14606           conversion is reversible and produces the same caps.
14607
14608         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14609           Output "fraction" as the generic type fraction range, so caps
14610           serialisation and deserialisation works.
14611         * check/gst/capslist.h:
14612         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14613           Support 'MIN' and 'MAX' for deserialising fractions.
14614
14615 2005-11-22  Andy Wingo  <wingo@pobox.com>
14616
14617         * gst/gstevent.h (gst_event_new_new_segment)
14618         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14619         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14620         Renamed from *_newsegment, *_buffersize, *_notarget.
14621
14622         * scripts/update-funcnames: New script, performs the changes
14623         listed above.
14624
14625 2005-11-22  Wim Taymans  <wim@fluendo.com>
14626
14627         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14628         Make sure the GstFlowReturn is returned.
14629
14630         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14631         (gst_bus_add_signal_watch):
14632         * gst/gstbus.h:
14633         add gst_bus_add_signal_watch_full.
14634
14635         * gst/gstplugin.c: (gst_plugin_load_file):
14636         Small style cleanup.
14637
14638 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14639
14640         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14641           Block the fakesrc srcpad when we send an event, to avoid
14642           contention on the stream_lock causing random test failures.
14643
14644 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14645
14646         * check/gst/gstvalue.c: (GST_START_TEST):
14647         * gst/gstvalue.c: (gst_value_fraction_subtract):
14648           Fix subtraction.
14649
14650 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14651
14652         * gst/gst.h:
14653           include "gstchildproxy.h"
14654         * gst/gstchildproxy.h:
14655         * libs/gst/controller/gstcontroller.h:
14656           use G_GNUC_NULL_TERMINATED
14657
14658 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14659
14660         * check/gst/capslist.h:
14661         * check/gst/gstcaps.c: (GST_START_TEST):
14662         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14663         * gst/gststructure.c: (gst_structure_parse_range),
14664         (gst_structure_fixate_field_nearest_fraction):
14665         * gst/gststructure.h:
14666         * gst/gstvalue.c: (gst_value_init_fraction_range),
14667         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14668         (gst_value_collect_fraction_range),
14669         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14670         (gst_value_set_fraction_range_full),
14671         (gst_value_get_fraction_range_min),
14672         (gst_value_get_fraction_range_max),
14673         (gst_value_serialize_fraction_range),
14674         (gst_value_transform_fraction_range_string),
14675         (gst_value_compare_fraction_range),
14676         (gst_value_deserialize_fraction_range),
14677         (gst_value_intersect_fraction_fraction_range),
14678         (gst_value_intersect_fraction_range_fraction_range),
14679         (gst_value_subtract_fraction_fraction_range),
14680         (gst_value_subtract_fraction_range_fraction),
14681         (gst_value_subtract_fraction_range_fraction_range),
14682         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14683         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14684         (gst_value_transform_string_fraction), (_gst_value_initialize):
14685         * gst/gstvalue.h:
14686           Implement fraction ranges and extend GstFraction to support
14687           arithmetic subtraction, as well as deserialization from integer
14688           strings such as "100"
14689           Add a testsuite as for int and double range set operations
14690
14691 2005-11-21  Andy Wingo  <wingo@pobox.com>
14692
14693         * gst/gsttaglist.h: 
14694         * gst/gstcaps.h: 
14695         * gst/gststructure.h: Add glib-compat.h.
14696
14697 2005-11-21  Wim Taymans  <wim@fluendo.com>
14698
14699         * gst/gstbin.c: (gst_bin_change_state_func):
14700         Fix for #321595
14701
14702 2005-11-21  Wim Taymans  <wim@fluendo.com>
14703
14704         * gst/gstsegment.h:
14705         And add a nice define too.
14706
14707 2005-11-21  Wim Taymans  <wim@fluendo.com>
14708
14709         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14710         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14711         (gst_segment_set_duration), (gst_segment_set_last_stop),
14712         (gst_segment_set_seek), (gst_segment_set_newsegment),
14713         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14714         (gst_segment_clip):
14715         * gst/gstsegment.h:
14716         Make binding friendly.
14717
14718 2005-11-21  Andy Wingo  <wingo@pobox.com>
14719
14720         * gst/gsttagsetter.h: 
14721         * gst/gsttaglist.h: 
14722         * gst/gststructure.h: 
14723         * gst/gstcaps.h: 
14724         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14725         #319940.
14726
14727         * gst/gsterror.c (_gst_core_errors_init):
14728         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14729         category.
14730
14731         * gst/Makefile.am (gst_headers): Add glib-compat.h.
14732         (noinst_HEADERS): noinst the -private.
14733
14734 2005-11-21  Michael Smith <msmith@fluendo.com>
14735
14736         * gst/gstplugin.h:
14737         * gst/gstregistry.h:
14738           Remove unimplemented declarations for which we can see no sensible
14739           use.
14740
14741 2005-11-21  Andy Wingo  <wingo@pobox.com>
14742
14743         * gst/gst.h: Include glib-compat.h.
14744
14745         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14746
14747         * gst/glib-compat.c: Include the public and the private header.
14748
14749         * gst/glib-compat-private.h: Copied here from glib-compat.h.
14750
14751         * gst/gstvalue.c: 
14752         * gst/gstpad.c: 
14753         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14754
14755         * check/gst/gstevent.c (create_custom_events): Check that
14756         FLUSH_STOP is serialized.
14757
14758         * check/elements/identity.c (event_func): 
14759         * check/elements/fakesrc.c (event_func): No stream lock, the core
14760         takes it.
14761
14762         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14763         stream lock taking, yay.
14764
14765         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14766         ensure that core takes the stream lock.
14767
14768         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14769         lock name change.
14770
14771         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14772         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14773         it already. For the flush start we do take it though so we get the
14774         right preroll state change messages.
14775
14776         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14777         the stream lock here, the core does it for us.
14778
14779         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14780         GST_STREAM_GET_LOCK.
14781         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
14782         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
14783         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14784         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14785         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
14786         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14787
14788         * gst/gstpad.c: Update for stream lock name change.
14789
14790         * gst/base/gstbasesink.c: Update for preroll lock name change.
14791
14792 2005-11-21  Wim Taymans  <wim@fluendo.com>
14793
14794         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14795         (gst_clock_get_master):
14796         * gst/gstclock.h:
14797         * gst/gstsystemclock.c: (gst_system_clock_init):
14798         Convert Clock flags to object flags.
14799         Added methods to manage master/slave clocks.
14800
14801 2005-11-21  Wim Taymans  <wim@fluendo.com>
14802
14803         * check/gst/gstsegment.c: (GST_START_TEST):
14804         * docs/design/part-TODO.txt:
14805         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14806         (gst_base_sink_event), (gst_base_sink_do_sync),
14807         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14808         (gst_base_sink_query), (gst_base_sink_change_state):
14809         * gst/base/gstbasesink.h:
14810         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14811         (gst_base_src_default_newsegment),
14812         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14813         (gst_base_src_get_range), (gst_base_src_loop),
14814         (gst_base_src_change_state):
14815         * gst/base/gstbasesrc.h:
14816         * gst/base/gstbasetransform.c:
14817         (gst_base_transform_prepare_output_buf),
14818         (gst_base_transform_event), (gst_base_transform_change_state):
14819         * gst/base/gstbasetransform.h:
14820         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14821         (gst_collect_pads_event):
14822         * gst/base/gstcollectpads.h:
14823         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14824         (gst_fake_src_create):
14825         * gst/elements/gstfakesrc.h:
14826         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14827         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14828         (gst_segment_set_last_stop), (gst_segment_set_seek),
14829         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14830         (gst_segment_to_running_time), (gst_segment_clip):
14831         * gst/gstsegment.h:
14832         More segment updates, replace code in plugins with segment
14833         helper functions.
14834
14835 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14836
14837         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14838         Don't ignore sscanf results
14839
14840 2005-11-21  Andy Wingo  <wingo@pobox.com>
14841
14842         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14843
14844         * *.h:
14845         * *.c: Ran scripts/update-macros. Oh yes.
14846
14847         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14848         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14849         GST_GET_LOCK, etc.
14850
14851         * scripts/update-macros: New script. Run it on your files to
14852         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14853         well.
14854
14855 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14856
14857         * docs/gst/Makefile.am:
14858         * docs/gst/gstreamer-docs.sgml:
14859         * docs/gst/gstreamer-sections.txt:
14860         * docs/gst/gstreamer.types:
14861         * gst/gstinfo.h:
14862           more docs fixes, add new api to the docs
14863
14864 2005-11-21  Andy Wingo  <wingo@pobox.com>
14865
14866         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14867         state_broadcast call.
14868
14869         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14870
14871 2005-11-21  Julien MOUTTE  <julien@moutte.net>
14872
14873         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14874         function calls for arrays.
14875
14876 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14877
14878         * docs/random/ensonic/media-device-daemon.txt:
14879           wild idea, can this be done?
14880         * docs/gst/gstreamer-sections.txt:
14881         * gst/gsterror.h:
14882         * gst/gstfilter.c:
14883         * gst/gstfilter.h:
14884         * gst/gstplugin.h:
14885         * gst/gstpluginfeature.c:
14886         * gst/gsttrace.c:
14887         * gst/gstvalue.c:
14888         * gst/gstvalue.h:
14889           doc fixes and additions
14890
14891 2005-11-21  Andy Wingo  <wingo@pobox.com>
14892
14893         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
14894         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
14895         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
14896         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14897         private to the basesrc implementation.
14898
14899         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14900         behalf of event function if necessary. It should no longer be
14901         necessary to take the stream lock in pad's event functions. Fixes
14902         #320299.
14903
14904 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14905         * docs/gst/gstreamer-sections.txt:
14906         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14907         (gst_structure_fixate_field_nearest_double),
14908         (gst_structure_fixate_field_boolean):
14909         * gst/gststructure.h:
14910         * win32/common/libgstreamer.def:
14911         * win32/gstreamer.def:
14912
14913         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14914         (#322027)
14915
14916 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14917
14918         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14919         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14920         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14921         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14922         (gst_fdsrc_uri_handler_init):
14923         * gst/elements/gstfdsrc.h:
14924           Port fd:// URI handler from 0.8 to fdsrc
14925
14926 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14927
14928         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14929         (gst_value_serialize_fourcc):
14930         * gst/gstvalue.h:
14931           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14932           consistent with our other format defines (#320324).
14933
14934 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14935
14936         * gst/gstvalue.c: (gst_value_is_fixed):
14937           Revert previous commit. Value lists are by definition
14938           not fixed, as they are a list of possible values.
14939
14940 2005-11-21  Andy Wingo  <wingo@pobox.com>
14941
14942         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14943         during the stable series if we need it. Fixes #319178.
14944
14945         * gst/gstevent.c (gst_event_new_filler): Removed.
14946
14947         * check/gst/gstevent.c: Update comment about filler events.
14948
14949 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14950
14951         * gst/gstvalue.c: (gst_value_is_fixed):
14952           Should handle both value arrays and value lists.
14953
14954 2005-11-21  Andy Wingo  <wingo@pobox.com>
14955
14956         patch by: Alessandro Dessina <alessandro nnva org>
14957
14958         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14959         functions to access arrays. Fixes #321962.
14960
14961 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14962
14963         * docs/gst/gstreamer.types:
14964           gst_collectpads_get_type => gst_collect_pads_get_type.
14965           
14966         * gst/base/gstbasetransform.c:
14967           Remove unused SIGNAL_HANDOFF enum.
14968
14969 2005-11-21  Andy Wingo  <wingo@pobox.com>
14970
14971         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14972         the event type (upstream, downstream, serialized). Renamed
14973         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14974         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14975         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14976
14977         * gst/gstevent.c: Update for new CUSTOM event names.
14978
14979         * check/gst/gstevent.c: Update check for new CUSTOM event names.
14980
14981         * gst/gstevent.h:
14982         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14983         bug #319392.
14984
14985 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14986
14987         * docs/gst/gstreamer-sections.txt:
14988         * win32/common/libgstbase.def:
14989         * win32/libgstbase.def:
14990         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14991         (gst_collect_pads_class_init), (gst_collect_pads_init),
14992         (gst_collect_pads_finalize), (gst_collect_pads_new),
14993         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14994         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14995         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14996         (gst_collect_pads_start), (gst_collect_pads_stop),
14997         (gst_collect_pads_peek), (gst_collect_pads_pop),
14998         (gst_collect_pads_available), (gst_collect_pads_read),
14999         (gst_collect_pads_flush), (gst_collect_pads_event),
15000         (gst_collect_pads_chain):
15001         * gst/base/gstcollectpads.h:
15002           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15003           unimplemented functions as unimplemented. Add padding to
15004           GstCollectData. (#320766, #320423)
15005
15006 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15007
15008         * gst/gstmessage.c:
15009           Improve docs for DURATION message (usage of duration parameter)
15010           (#320113)
15011
15012 2005-11-20  Wim Taymans  <wim@fluendo.com>
15013
15014         * check/Makefile.am:
15015         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15016         (main):
15017         * gst/Makefile.am:
15018         * gst/gst.h:
15019         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15020         (gst_segment_set_seek), (gst_segment_set_newsegment),
15021         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15022         (gst_segment_clip):
15023         * gst/gstsegment.h:
15024         Added segment helper structure and methods. Not fully implemented
15025         yet.
15026         Added segment check.
15027
15028 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15029
15030         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15031           Add a deserialisation test for fractions
15032         * examples/metadata/read-metadata.c: (message_loop),
15033         (make_pipeline), (main):
15034           Fix up metadata reading sample.
15035         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15036           Debug format fix
15037         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15038           Don't try and fixate empty caps
15039         * gst/gst_private.h:
15040           Wrap in G_BEGIN_DECLS/G_END_DECLS
15041         * gst/gstvalue.c: (gst_value_collect_fraction),
15042         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15043         (gst_value_transform_string_fraction),
15044         (gst_value_compare_fraction):
15045           Add some extra guards to ensure that we don't end up 
15046           with an invalid denominator of 0 in a gstfraction and
15047           that fractions always get reduced.
15048
15049 2005-11-20  Wim Taymans  <wim@fluendo.com>
15050
15051         * docs/gst/gstreamer-sections.txt:
15052         * gst/gstbuffer.h:
15053         * gst/gstelement.c:
15054         * gst/gstformat.c:
15055         * gst/gstformat.h:
15056         * gst/gstindex.h:
15057         * gst/gstquery.c:
15058         * gst/gstquery.h:
15059         * gst/gstvalue.c:
15060         Doc fixes.
15061
15062 2005-11-20  Wim Taymans  <wim@fluendo.com>
15063
15064         * docs/design/part-TODO.txt:
15065         * gst/gstcaps.h:
15066         Make a proper enum of the flag.
15067
15068 2005-11-19  Wim Taymans  <wim@fluendo.com>
15069
15070         * docs/design/part-TODO.txt:
15071         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15072         (gst_format_to_quark), (gst_format_register):
15073         * gst/gstformat.h:
15074         * gst/gstquery.c: (_gst_query_initialize),
15075         (gst_query_type_get_name), (gst_query_type_to_quark),
15076         (gst_query_type_register):
15077         * gst/gstquery.h:
15078         Add type to quark and type to string conversions.
15079
15080 2005-11-19  Andy Wingo  <wingo@pobox.com>
15081
15082         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15083         #320097.
15084
15085 2005-11-19  Wim Taymans  <wim@fluendo.com>
15086
15087         * docs/design/part-TODO.txt:
15088         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15089         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15090         (gst_bin_handle_message_func):
15091         * gst/gstbin.h:
15092         Make message handling overridable.
15093
15094 2005-11-19  Andy Wingo  <wingo@pobox.com>
15095
15096         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15097
15098         * gst/gstclock.h:
15099         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15100         be a GstClockTime.
15101         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15102         is a GstClockTime. Fixes #321710.
15103
15104         * gst/gstclock.h (GstClock): Remove offset property. Add
15105         internal_calibration and external_calibration. Fix padding. Pad
15106         also by GstClockTime so we don't run into problems.
15107
15108         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15109         (gst_clock_get_rate_offset): Remove.
15110         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15111
15112         * gst/gstutils.h:
15113         * gst/gstutils.c (g_static_rec_cond_wait)
15114         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15115
15116         * gst/gstbin.c: Remove terrible continue_state prototype.
15117
15118         * gst/gstelement.h (gst_element_continue_state): Make public.
15119
15120         * gst/gstelement.h:
15121         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15122         by continue_state. Fixes #319389.
15123
15124         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15125         Really fixes #168438. However I don't see anywhere where the
15126         filter function is called... stupid GStreamer...
15127         
15128         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15129         don't have a dispose function, so it won't get called when the
15130         object is unreffed, but oh well!
15131
15132         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15133         allows a destroy function to be set so user_data can be freed.
15134         Fixes #168438.
15135         (gst_index_set_filter): Call gst_index_set_filter_full.
15136
15137         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15138
15139         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15140         string should produce an error, given the lack of a way to
15141         represent NULL strings. Fixes #165650.
15142         
15143         * gst/gstvalue.h: 
15144         * gst/gstvalue.c (gst_value_array_append_value) 
15145         (gst_value_array_prepend_value, gst_value_array_get_size) 
15146         (gst_value_array_get_value): New API, copied from
15147         gst_value_list_*, only operates on arrays.
15148         (gst_value_list_append_value, gst_value_list_prepend_value) 
15149         (gst_value_list_concat, gst_value_list_get_size) 
15150         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15151
15152         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15153         init_list, because it works on both.
15154         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15155         (gst_value_copy_list_or_array): Renamed from copy_list.
15156         (gst_value_free_list_or_array): Renamed from free_list.
15157         (gst_value_collect_list_or_array): Renamed from collect_list.
15158         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15159         (gst_value_list_or_array_peek_pointer): Renamed from
15160         list_peek_pointer.
15161         (_gst_value_array_value_table, _gst_value_list_value_table):
15162         Update value table functions.
15163         (gst_value_compare_list_or_array): Renamed from compare_list.
15164
15165         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15166         some constness.
15167
15168         * gst/gsttaglist.c:
15169         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15170         GstTagList*. Fixes #143472.
15171
15172         * gst/gststructure.h: Clarify what the foreach/map functions can
15173         or can't do to their arguments.
15174
15175 2005-11-18  Wim Taymans  <wim@fluendo.com>
15176
15177         * gst/gstclock.c: (gst_clock_set_calibration),
15178         (gst_clock_get_calibration):
15179         Doc and API fixes.
15180         Calibration can be set with internal time equal to current
15181         internal time too.
15182
15183 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15184
15185         * gst/gsterror.c:
15186         * gst/gsterror.h:
15187           document
15188
15189 2005-11-18  Andy Wingo  <wingo@pobox.com>
15190
15191         * configure.ac: 
15192         * pkgconfig/gstreamer-net.pc.in:
15193         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15194         * pkgconfig/Makefile.am: Add net pkgconfig files.
15195
15196 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15197
15198         * gst/gstcaps.c:
15199         * gst/gstghostpad.c:
15200         * gst/gsttrace.c:
15201         * gst/gstvalue.c:
15202         * gst/gstvalue.h:
15203           docs fixes
15204
15205 2005-11-18  Andy Wingo  <wingo@pobox.com>
15206
15207         * gst/net/gstnetclientclock.c: Turn off debugging.
15208
15209         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15210         times connverge somewhat. Can't make a real test.
15211
15212         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15213         integer arithmetic. Return the minimum of the domain, which can be
15214         set as "internal" for gst_clock_set_calibration.
15215         (gst_net_client_clock_observe_times): Call _set_calibration.
15216         (gst_net_client_clock_new): Call _set_calibration instead of
15217         rate_offset.
15218
15219         * check/net/gstnetclientclock.c (test_functioning): Use the right
15220         adjustment api.
15221
15222         * gst/gstclock.h:
15223         * gst/gstclock.c (gst_clock_get_calibration) 
15224         (gst_clock_set_calibration): New functions, obsolete the ones I
15225         added yesterday. Doh. Precision issues mean we have to extrapolate
15226         from a point in the more recent past than 1970.
15227         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15228         obsolete.
15229         (gst_clock_adjust_unlocked): Use the right calibration data.
15230
15231 2005-11-18  Edward Hervey  <edward@fluendo.com>
15232
15233         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15234         Also reset the ->current_* values in READY->PAUSED
15235
15236 2005-11-18  Andy Wingo  <wingo@pobox.com>
15237
15238         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15239         Whoops, check the right fd. Also add some debugging.
15240         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15241         (do_linear_regression): Add a crapload of debugging. Subtract off
15242         the minimum values from the input series to discard unneeded bits.
15243         Use only int arithmetic. There is still double arithmetic when
15244         calculating the intercept that needs fixing. Return boolean to
15245         indicate success; FALSE would mean the domain or range is too
15246         great. Still needs fixes.
15247
15248 2005-11-18  Wim Taymans  <wim@fluendo.com>
15249
15250         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15251         For the current position in stream time, we need to subtract
15252         accumulated time.
15253         
15254         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15255         Release lock before calling the callback function of async
15256         entries.
15257
15258 2005-11-18  Andy Wingo  <wingo@pobox.com>
15259
15260         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15261         Port goes all the way to MAXUINT16.
15262
15263         * gst/net/gstnettimeprovider.c: Make the port range the same as
15264         for the kernel: 0 assigns, otherwise ports are less than
15265         MAXUINT16.
15266
15267         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15268         port change.
15269
15270         * check/net/gstnetclientclock.c (test_functioning): Add the start
15271         of another test. 
15272
15273 2005-11-18  Wim Taymans  <wim@fluendo.com>
15274
15275         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15276         (gst_bin_remove_func), (bin_bus_handler):
15277         * gst/gstbin.h:
15278         Removing a clock provider from a bin, triggers a clock lost message
15279         so that a new clock will be selected.
15280         Adding a clock to a bin triggers a clock provider message.
15281         Make sure we reselect a clock when we received a clock lost message.
15282         Keep a reference to the element that provided the clock.
15283
15284 2005-11-18  Andy Wingo  <wingo@pobox.com>
15285
15286         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15287         the clock initially so it produces values around the base time.
15288         (gst_net_client_clock_class_init): Typo fix.
15289         (gst_net_client_clock_thread): Add note on when the socket gets
15290         closed.
15291
15292 2005-11-17  Wim Taymans  <wim@fluendo.com>
15293
15294         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15295         Free remote and local time arrays.
15296
15297 2005-11-17  Wim Taymans  <wim@fluendo.com>
15298
15299         * gst/net/gstnetclientclock.c: (do_linear_regression),
15300         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15301         Fix compilation, uninitialized vars and a forgotten continue.
15302
15303 2005-11-17  Andy Wingo  <wingo@pobox.com>
15304
15305         * check/Makefile.am (check_PROGRAMS): 
15306         * check/net/gstnetclientclock.c: Add a most minimal test for the
15307         net client clock. More to come later.
15308
15309         * gst/net/gstnet.h: 
15310         * gst/net/Makefile.am: Add netclientclock.
15311
15312         * gst/net/gstnetclientclock.h:
15313         * gst/net/gstnetclientclock.c: New files, implement an untested
15314         GstClock that takes its time from a network time provider.
15315         Implements the algorithm in network-clock.scm.
15316
15317         * tests/network-clock.scm (*window-size*): Rename from
15318         *queue-length*.
15319         * tests/network-clock.scm (network-time): 
15320         * tests/network-clock-utils.scm (q-push): Update callers.
15321
15322 2005-11-17  Wim Taymans  <wim@fluendo.com>
15323
15324         * gst/gstbin.c: (gst_bin_provide_clock_func),
15325         (gst_bin_sort_iterator_new):
15326         And unref the child too..
15327
15328 2005-11-17  Wim Taymans  <wim@fluendo.com>
15329
15330         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15331         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15332         Refactor the sort iterator so it can be used while holding the
15333         LOCK too.
15334         Make clock selection select a clock closest to the source.
15335
15336 2005-11-17  Michael Smith <msmith@fluendo.com>
15337
15338         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15339         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15340         * gst/gstclock.h:
15341           Anonymous structs are a gcc (and some other compilers) extension, so
15342           don't use them. Since this is only for ABI-compatibility, and our
15343           API/ABI freeze is over in a few days, this whole thing will only
15344           last a few days, so don't bother trying to think up a meaningful
15345           name for the struct.
15346
15347 2005-11-17  Andy Wingo  <wingo@pobox.com>
15348
15349         * gst/gstclock.h (GstClock): Add rate and offset properties,
15350         preserving ABI stability. Add rate/offset accessors. Will file bug
15351         for the freeze break.
15352
15353         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15354         and offset, trying to keep precision and avoiding
15355         underflow/overflow.
15356         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15357         functions. Make gst_clock_set_time_adjust obsolete.
15358         (gst_clock_set_time_adjust): Note that this function is obsolete.
15359         Will file bug soon.
15360
15361         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15362         greppable by using GST_PADDING-1+1.
15363
15364 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15365
15366         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15367
15368         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15369           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15370
15371         * gst/gstpadtemplate.h:
15372         * gst/gstpluginfeature.h:
15373           Don't use c++ style comments in headers (#321638).
15374
15375 2005-11-16  Andy Wingo  <wingo@pobox.com>
15376
15377         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15378         buffer.
15379
15380         * check/net/gstnettimeprovider.c: Check to see that the time
15381         provider actually provides times. Works, yo!
15382
15383 2005-11-16  Wim Taymans  <wim@fluendo.com>
15384
15385         * check/Makefile.am:
15386         Enable more tests.
15387
15388         * check/elements/fakesrc.c: (GST_START_TEST):
15389         Set element to NULL before disposing it.
15390
15391 2005-11-16  Andy Wingo  <wingo@pobox.com>
15392
15393         * gst/net/Makefile.am:
15394         * gst/net/gstnet.h:
15395         * gst/net/gstnettimeprovider.c: 
15396         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15397         provider, include it from gstnet.h, and add it to the build.
15398
15399         * gst/net/gstnettimepacket.h: 
15400         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15401         sending and receiving.
15402
15403 2005-11-16  Wim Taymans  <wim@fluendo.com>
15404
15405         * check/Makefile.am:
15406         Enable valgrind check.
15407
15408         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15409         (gst_fake_src_alloc_buffer):
15410         Fix memleak.
15411
15412 2005-11-16  Wim Taymans  <wim@fluendo.com>
15413
15414         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15415         Call parent finalize too.
15416
15417 2005-11-16  Wim Taymans  <wim@fluendo.com>
15418
15419         * check/Makefile.am:
15420         Enable valgrind check that should work fine now.
15421
15422         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15423         * gst/gstqueue.c: (gst_queue_init):
15424         Fix memleaks in pad allocation.
15425
15426 2005-11-16  Andy Wingo  <wingo@pobox.com>
15427
15428         * gst/net/Makefile.am:
15429         * gst/net/gstnet.h: New part of core to hold network elements and
15430         objects. Put in core because it exposes API that applications want
15431         to use. The library is named libgstnet-tempname right now because
15432         of the existing libgstnet in gst-plugins-base. Solution is
15433         probably to rename the one in plugins-base; will file a bug for
15434         the freeze break.
15435
15436         * gst/net/gstnettimeprovider.c: 
15437         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15438         get_time call over the network.
15439
15440         * configure.ac: 
15441         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15442
15443         * check/Makefile.am:
15444         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15445         get additions shortly.
15446
15447 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15448
15449         * gst/gstpad.c: (gst_pad_new_from_static_template):
15450         * gst/gstpad.h:
15451           add gst_pad_new_from_static_template functions
15452         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15453         (gst_check_setup_sink_pad):
15454         * gst/elements/gsttee.c: (gst_tee_init):
15455           and use them
15456
15457 2005-11-16  Wim Taymans  <wim@fluendo.com>
15458
15459         * gst/gstpad.c: (gst_pad_pause_task):
15460         Removed warning, it's not really an error either.
15461
15462 2005-11-16  Wim Taymans  <wim@fluendo.com>
15463
15464         * gst/base/gstbasetransform.c:
15465         (gst_base_transform_prepare_output_buf),
15466         (gst_base_transform_event):
15467         Check if the caps are NULL, this can happen if the element
15468         is shutting down and the pad caps are set to NULL.
15469
15470 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15471
15472         * gst/elements/gsttee.c: (gst_tee_init):
15473           fix pad template leak in tee
15474
15475 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15476
15477         * gst/glib-compat.c: (g_value_dup_gst_object):
15478         * gst/glib-compat.h:
15479         * gst/gstpad.c: (gst_pad_set_property):
15480           use gst_object_ref when setting the pad template; this will
15481           trigger the pad template leaks on GLib 2.6 and the slaves
15482
15483 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15484
15485         * gst/glib-compat.c: (gst_flags_get_first_value):
15486         * gst/glib-compat.h:
15487         * gst/gstregistryxml.c:
15488           remove functions copied from GLib 2.6
15489
15490 2005-11-16  Michael Smith <msmith@fluendo.com>
15491
15492         * gst/Makefile.am:
15493           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15494           do, but only breaks with newer valgrind versions. We're not a
15495           valgrind tool, we have no link-time dependencies on libcoregrind.
15496
15497 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15498
15499         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15500           some debug changes
15501         * gst/gstmessage.h:
15502           typo fixes
15503
15504 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15505
15506         * gst/base/gstbasesrc.c: (gst_base_src_init):
15507         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15508         * gst/gstqueue.c: (gst_queue_init):
15509         * gst/gstregistryxml.c: (load_feature):
15510           Revert all these unrefs, they don't even pass make check !
15511
15512 2005-11-15  Johan Dahlin  <johan@gnome.org>
15513
15514         * gst/base/gstbasesrc.c: (gst_base_src_init):
15515         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15516         * gst/gstqueue.c: (gst_queue_init): 
15517         Free pad templates, fixes a couple of leaks.
15518
15519 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15520
15521         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15522
15523         * gst/gstpad.c: (gst_pad_get_property):
15524           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15525           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15526           (#321452)
15527
15528 2005-11-15  Wim Taymans  <wim@fluendo.com>
15529
15530         * gst/gstevent.c:
15531         Small doc update.
15532
15533 2005-11-15  Andy Wingo  <wingo@pobox.com>
15534
15535         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15536
15537         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15538         using GST_CLOCK_TIME_NONE to disable base time management.
15539         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15540         time if it was NONE before.
15541         (gst_pipeline_change_state): Only munge the base time if
15542         stream_time != GST_CLOCK_TIME_NONE.
15543
15544         * check/gst/gstpipeline.c (test_base_time): Punt around the
15545         problem of the probe not being called, because that's not the
15546         issue I'm looking at. Add a check that setting stream_time to NONE
15547         disables base time management.
15548         
15549 2005-11-15  Wim Taymans  <wim@fluendo.com>
15550
15551         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15552         segment_stop == -1 at startup.
15553
15554         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15555         (gst_base_transform_change_state):
15556         Init segment values at start.
15557
15558 2005-11-15  Wim Taymans  <wim@fluendo.com>
15559
15560         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15561         0 segment values are 0 in any format.
15562
15563         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15564         * gst/base/gstbasetransform.h:
15565         Parse newsegment correctly in basetransform
15566
15567         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15568         Sync to clock using updated segment values.
15569
15570 2005-11-15  Andy Wingo  <wingo@pobox.com>
15571
15572         * check/gst/gstpipeline.c (test_base_time): Add check that the
15573         base time and stream time are reset correctly.
15574
15575 2005-11-15  Wim Taymans  <wim@fluendo.com>
15576
15577         * docs/design/part-TODO.txt:
15578         Some more TODO items.
15579
15580 2005-11-15  Andy Wingo  <wingo@pobox.com>
15581
15582         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15583         error if the user selected "no clock" as the clocking method.
15584
15585         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15586         timestamps with live capture.
15587
15588         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15589         is 0 but we are a live source, timestamp the buffers using the
15590         element's clock.
15591
15592 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15593
15594         * docs/gst/gstreamer-sections.txt:
15595         * gst/gsterror.c:
15596         * gst/gstghostpad.c:
15597         * gst/gstobject.h:
15598         * gst/gstxml.c:
15599           more section docs
15600
15601 2005-11-14  Wim Taymans  <wim@fluendo.com>
15602
15603         * common/gst.supp:
15604           add suppressions from Wim's Debian machine
15605
15606 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15607
15608         * common/gst.supp:
15609           add suppressions from Andy's AMD64 Ubuntu machine
15610
15611 2005-11-14  Andy Wingo  <wingo@pobox.com>
15612
15613         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15614         STATE_LOCK not necessary. Fixes #311489.
15615
15616         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15617         #305291.
15618
15619         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15620         this function is not implemented.
15621
15622 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15623
15624         * gst/base/gstbasetransform.c:
15625         (gst_base_transform_prepare_output_buf):
15626         Ref the source pad caps while we need them.
15627         Fixes (#321386)
15628
15629 2005-11-11  Wim Taymans  <wim@fluendo.com>
15630
15631         * docs/gst/gstreamer-sections.txt:
15632         Added some docs for GstCollectData.
15633
15634         * gst/base/gstadapter.c:
15635         Some small code example fix.
15636
15637         * gst/base/gstcollectpads.c:
15638         * gst/base/gstcollectpads.h:
15639         Document some more.
15640
15641 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15642
15643         * configure.ac: back to HEAD
15644
15645 === release 0.9.5 ===
15646
15647 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15648
15649         * configure.ac:
15650           releasing 0.9.5, "Bike Lunch Day"
15651
15652 2005-11-11  Wim Taymans  <wim@fluendo.com>
15653
15654         * gst/gstbuffer.c: (_gst_buffer_copy):
15655         Copy more flags.
15656
15657         * gst/gstcaps.c: (gst_caps_is_equal):
15658         Fix some docs.
15659         Make _is_equal fast in the trivial cases.
15660
15661         * gst/gstminiobject.c:
15662         * gst/gstminiobject.h:
15663         More docs. Spifify .h file.
15664
15665         * gst/gstutils.c:
15666         Small doc update.
15667
15668 2005-11-11  Wim Taymans  <wim@fluendo.com>
15669
15670         * gst/base/gstbasetransform.c:
15671         (gst_base_transform_prepare_output_buf),
15672         (gst_base_transform_handle_buffer):
15673         Small cleanups.
15674         If we're processing a buffer and need to allocate an output
15675         buffer, we cannot accept a format change. If we did get a 
15676         format change, we have to alloc a buffer ourselves of the 
15677         right size.
15678
15679 2005-11-11  Wim Taymans  <wim@fluendo.com>
15680
15681         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15682         While checking the flag for reentrancy in the gstcaps function
15683         is nice to detect recursive invocations, it also makes it 
15684         impossible to call getcaps from multiple threads, which must be
15685         possible. So, checking for recursive calls has to go.
15686
15687 2005-11-11  Michael Smith <msmith@fluendo.com>
15688
15689         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15690           Don't sync on buffers that fall partially outside our current
15691           segment. Prevents an assertion failure/abort playing some files.
15692
15693 2005-11-10  Andy Wingo  <wingo@pobox.com>
15694
15695         * check/gst/gstbin.c (test_message_state_changed_children): Style
15696         fix..
15697
15698         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15699         gst_bus_poll with the signal watch. Ensures that poll and a signal
15700         watch see the same messages.
15701
15702         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15703         a poll and a watch at the same time get the same messages.
15704
15705 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15706
15707         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15708         * gst/gstcaps.c: (gst_caps_intersect):
15709           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15710           and it's not needed.
15711
15712 2005-11-10  Wim Taymans  <wim@fluendo.com>
15713
15714         * docs/design/part-TODO.txt:
15715         Updated todo.
15716
15717 2005-11-10  Wim Taymans  <wim@fluendo.com>
15718
15719         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15720         * gst/base/gstbasesrc.c: (gst_base_src_wait),
15721         (gst_base_src_do_sync), (gst_base_src_get_range):
15722         Implement clock sync in base class.
15723
15724 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15725
15726         patch by: Tim-Philipp Müller <tim at centricular dot net>
15727
15728         * gst/gststructure.c: (gst_structure_parse_field),
15729         (gst_structure_from_string):
15730           Forward-port a 0.8 patch to handle escaped spaces in structure string,
15731           so that gst_parse_launch() can deal with spaces in filtered link
15732           caps (fixes #164479)
15733         * check/gst/capslist.h:
15734         * check/gst/gststructure.c: (GST_START_TEST):
15735           add unit tests for this change
15736
15737 2005-11-10  Wim Taymans  <wim@fluendo.com>
15738
15739         * docs/gst/gstreamer-sections.txt:
15740         * gst/gstelement.c:
15741         * gst/gstelement.h:
15742         Fix docs, move some STATE macros to private.
15743
15744 2005-11-10  Wim Taymans  <wim@fluendo.com>
15745
15746         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15747         Added check for bug #317341
15748
15749         * gst/gstbuffer.c:
15750         * gst/gstbuffer.h:
15751         Some more spiffifying.
15752
15753         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15754         Call peer linkfunction if we are a source pad. Totally fixes
15755         #317341
15756
15757         * gst/gstpad.c:
15758         Update docs, source pads should call the peer linkfunction
15759         so they can atomically perform the pad link.
15760
15761 2005-11-09  Wim Taymans  <wim@fluendo.com>
15762
15763         * gst/gstbuffer.c:
15764         * gst/gstbuffer.h:
15765         Uber-spiffy-spiffify some more.
15766
15767 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
15768
15769         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15770         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15771         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15772         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15773         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15774         * gst/gstpad.c: (gst_pad_init):
15775           Use GST_DEBUG_FUNCPTR() more extensively.
15776
15777 2005-11-09  Wim Taymans  <wim@fluendo.com>
15778
15779         * gst/gstobject.c: (gst_object_class_init):
15780         * gst/gstobject.h:
15781         Documentation fixes.
15782
15783 2005-11-09  Edward Hervey  <edward@fluendo.com>
15784
15785         * gst/gsttypefindfactory.c:
15786         Fix docs.
15787         
15788 2005-11-09  Edward Hervey  <edward@fluendo.com>
15789
15790         * gst/base/gsttypefindhelper.c:
15791         * gst/gsttypefind.c:
15792         * gst/gsttypefind.h:
15793         Fix docs.
15794
15795 2005-11-09  Wim Taymans  <wim@fluendo.com>
15796
15797         * gst/gstiterator.c:
15798         Fix revision data.
15799
15800         * gst/gsttask.c:
15801         * gst/gsttask.h:
15802         Fix docs.
15803
15804 2005-11-09  Wim Taymans  <wim@fluendo.com>
15805
15806         * gst/gstevent.h:
15807         * gst/gsturi.h:
15808         Fix docs.
15809
15810 2005-11-09  Wim Taymans  <wim@fluendo.com>
15811
15812         * docs/gst/gstreamer-sections.txt:
15813         Moved the message async delivery private lock and cond
15814         to the private section.
15815
15816         * gst/gstmessage.c:
15817         * gst/gstmessage.h:
15818         Fixed docs.
15819
15820 2005-11-09  Edward Hervey  <edward@fluendo.com>
15821
15822         * docs/gst/gstreamer-sections.txt:
15823         * gst/gsturi.c:
15824         * gst/gsturi.h:
15825         Document GstURIHandler
15826
15827 2005-11-09  Wim Taymans  <wim@fluendo.com>
15828
15829         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15830         (gst_iterator_find_custom):
15831         * gst/gstiterator.h:
15832         Fix iterator docs.
15833
15834 2005-11-09  Wim Taymans  <wim@fluendo.com>
15835
15836         * gst/gstbin.h:
15837         Document another field.
15838
15839         * gst/gststructure.c:
15840         * gst/gststructure.h:
15841         Document.
15842
15843 2005-11-09  Wim Taymans  <wim@fluendo.com>
15844
15845         * gst/gstbin.h:
15846         Documented structs.
15847
15848 2005-11-09  Wim Taymans  <wim@fluendo.com>
15849
15850         * docs/gst/gstreamer-sections.txt:
15851         Added some new macros.
15852
15853         * gst/gstclock.c:
15854         * gst/gstclock.h:
15855         * gst/gstobject.h:
15856         Docs updates.
15857
15858 2005-11-09  Wim Taymans  <wim@fluendo.com>
15859
15860         * docs/design/part-TODO.txt:
15861         Some more items for the TODO
15862
15863         * gst/gstcaps.c:
15864         * gst/gstcaps.h:
15865         Document GstCaps.
15866
15867 2005-11-09  Andy Wingo  <wingo@pobox.com>
15868
15869         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15870         to work on something else now tho...
15871
15872         * gst/base/gstadapter.c: More adapter docs.
15873
15874         * gst/elements/gstfilesink.c (gst_file_sink_start) 
15875         (gst_file_sink_stop): New functions, replace the state change
15876         handler.
15877         (gst_file_sink_class_init): Hook up the start and stop functions.
15878         (gst_file_sink_base_init): Don't set the state change handler any
15879         more. It was a bit ugly too, being set from here...
15880         (gst_file_sink_get_property, gst_file_sink_set_property):
15881         Cleanups...
15882         (gst_file_sink_set_location): More robust check that doesn't call
15883         GST_STATE. Ugggggg.
15884
15885 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
15886
15887         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15888           Hold STREAM_LOCK while pushing newsegment or tag events as well.
15889
15890 2005-11-08  Wim Taymans  <wim@fluendo.com>
15891
15892         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15893         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15894         (gst_base_sink_chain), (gst_base_sink_change_state):
15895         * gst/base/gstbasesink.h:
15896         * gst/base/gstbasesrc.h:
15897         * gst/gstelement.h:
15898         * gst/gstevent.h:
15899         Avoid excessive typechecking in macros.
15900
15901         * gst/gstminiobject.c: (gst_mini_object_get_type),
15902         (gst_mini_object_init), (gst_mini_object_new),
15903         (gst_mini_object_free):
15904         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15905         (gst_object_finalize):
15906         Remove cruft code, optimize alloc_trace.
15907
15908 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15909
15910         * docs/faq/gst-uninstalled:
15911           fix up PS1 for systems that try to reset it
15912
15913 2005-11-07  Wim Taymans  <wim@fluendo.com>
15914
15915         * gst/base/gstbasesrc.c: (gst_base_src_init),
15916         (gst_base_src_get_range):
15917         Set the segment_end to -1 initially. Fixed typefind.
15918
15919 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
15920
15921         * gst/base/gstadapter.c:
15922           Debug category should be 'adapter', not 'GstAdapter'.
15923           
15924         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15925         (gst_collectpads_class_init), (gst_collectpads_init),
15926         (gst_collectpads_peek), (gst_collectpads_pop),
15927         (gst_collectpads_event), (gst_collectpads_chain):
15928           Add debug category and some debugging output. Use boilerplate
15929           macros. Remove some extraneous words from docs.
15930
15931 2005-11-05  Andy Wingo  <wingo@pobox.com>
15932
15933         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15934         macro.
15935
15936 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15937
15938         * docs/gst/gstreamer-sections.txt:
15939         * gst/gstcaps.h:
15940         * gst/gstinfo.c:
15941         * gst/gstminiobject.h:
15942         * gst/gstobject.h:
15943         * gst/gstutils.h:
15944           more docs added
15945
15946 2005-11-04  Wim Taymans  <wim@fluendo.com>
15947
15948         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15949         Small update to stop at the configured segment_end
15950         position.
15951
15952 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15953
15954         * gst/gstregistry.c:
15955         * gst/gstregistry.h:
15956           added missing docs
15957
15958 2005-11-04  Edward Hervey  <edward@fluendo.com>
15959
15960         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15961         Check if we are doing a segment seek and have arrived at the
15962         end of that segment.
15963
15964 2005-11-04  Wim Taymans  <wim@fluendo.com>
15965
15966         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15967         Don't leak a mutex unlock in case of an error.
15968
15969         * gst/gstbus.h:
15970         Doc fixes.
15971
15972 2005-11-04  Wim Taymans  <wim@fluendo.com>
15973
15974         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15975         (gst_bus_post):
15976         Get the context to wake up only once.
15977
15978 2005-11-03  Wim Taymans  <wim@fluendo.com>
15979
15980         * check/states/sinks.c: (GST_START_TEST):
15981         Uncomment fixed check.
15982
15983         * docs/design/part-TODO.txt:
15984         Updated TODO.
15985
15986         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15987         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15988         (gst_base_sink_get_position):
15989         If we are going to PLAYING, post the right pending state
15990         when we post the intermediate paused message.
15991
15992         * gst/gstelement.c: (gst_element_continue_state),
15993         (gst_element_set_state_func), (gst_element_change_state):
15994         Don't post state changes that were between the same state
15995         and were not ASYNC.
15996
15997 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15998
15999         * docs/gst/gstreamer-sections.txt:
16000         * gst/gstcaps.h:
16001         * gst/gstinfo.c:
16002         * gst/gstminiobject.h:
16003         * gst/gstobject.h:
16004         * gst/gstutils.h:
16005           more docs and doc style fixes
16006
16007 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16008
16009         * docs/gst/gstreamer-sections.txt:
16010         * gst/gstelement.c:
16011         * gst/gstminiobject.c:
16012         doc fixes
16013
16014 2005-11-03  Andy Wingo  <wingo@pobox.com>
16015
16016         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16017         state-changed messages actually have the right order and the right
16018         values.
16019
16020 2005-11-03  Wim Taymans  <wim@fluendo.com>
16021
16022         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16023         Added some more checks. Specifically the case where NO_PREROLL
16024         elements are in the pipeline.
16025
16026         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16027         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16028         (gst_base_sink_get_position):
16029         Post READY->PAUSED state change messages too.
16030         Fix bug where VOID was posted as pending state...
16031
16032         * gst/gstbin.c: (gst_bin_recalc_state):
16033         use _element_continue_state() to continue the state change.
16034
16035         * gst/gstelement.c: (gst_element_continue_state),
16036         (gst_element_commit_state), (gst_element_set_state_func),
16037         (gst_element_change_state), (gst_element_change_state_func):
16038         Lots of state change cleanups, assign the STATE_RETURN in
16039         a new continue_state() function that also propagates the
16040         last return value from a state change to the app.
16041         Update some debug statements with proper category.
16042
16043 2005-11-03  Wim Taymans  <wim@fluendo.com>
16044
16045         * docs/design/part-events.txt:
16046         * docs/design/part-gstpipeline.txt:
16047         * docs/design/part-messages.txt:
16048         * docs/design/part-overview.txt:
16049         * docs/design/part-seeking.txt:
16050         * docs/design/part-states.txt:
16051         * docs/design/part-trickmodes.txt:
16052         * docs/manual/advanced-position.xml:
16053         Small docs updates.
16054
16055         * gst/gstobject.h:
16056         People think !! is ugly, this looks better.
16057
16058         * gst/gstpad.c: (gst_pad_set_blocked_async):
16059         Remove !! since it's fixed elsewhere now.
16060
16061 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16062
16063         * gst/gstminiobject.h:
16064         * gst/gstobject.h:
16065           Add !! to _FLAG_IS_SET macros to make the result boolean.
16066
16067 2005-11-03  Edward Hervey  <edward@fluendo.com>
16068
16069         * gst/gstpad.c: (gst_pad_set_blocked_async):
16070         comparing a flag and a gboolean rarely returns coherent results...
16071         Added two characters (!!) to make that work correctly.
16072         
16073 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16074
16075         * gst/gstbus.c: (gst_bus_class_init):
16076           Fix some typos.
16077           
16078         * gst/gstqueue.c: (gst_queue_loop):
16079           Don't assume a miniobject that isn't a buffer is an
16080           event (it could be that there is a refcounting
16081           problem somewhere and the pointer is stale and
16082           refers to an already destroyed miniobject).
16083
16084 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16085
16086         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16087
16088 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16089
16090         * docs/manual/advanced-position.xml:
16091           Update seek example and explanations to current 0.9 API.
16092
16093         * gst/elements/gsttypefindelement.c:
16094         (gst_type_find_element_activate):
16095           Remove FIXME comment now that the found caps
16096           are unreffed.
16097
16098 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16099
16100         * gst/gstregistryxml.c: (load_feature):
16101           Add another GST_STR_NULL instance
16102
16103 2005-11-02  Edward Hervey  <edward@fluendo.com>
16104
16105         * gst/gstpad.c: (handle_pad_block):
16106         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16107         
16108 2005-11-02  Wim Taymans  <wim@fluendo.com>
16109
16110         * gst/gstbin.c:
16111         Fix typo in docs.
16112
16113         * gst/gstelement.c: (gst_element_commit_state):
16114         Remove unused value.
16115
16116         * gst/gstiterator.c:
16117         Mention that the returned element is reffed in the docs.
16118
16119 2005-11-02  Wim Taymans  <wim@fluendo.com>
16120
16121         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16122         (gst_pad_push), (gst_pad_push_event):
16123         Unlock blocked pads when they are flushed.
16124
16125 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16126
16127         * docs/README:
16128         * docs/gst/gstreamer-sections.txt:
16129         * gst/gstbin.c:
16130           doc updates
16131         * gst/gstregistry.c: (gst_registry_scan_path_level):
16132           fix for a nasty little missed situation where an installed plug-in
16133           which was in the cache did not get overridden by an uninstalled one
16134           which was earlier in the plugin path because the newly created plugin
16135           for the uninstalled one (not in the registry) didn't get its
16136           ->registered set to TRUE
16137
16138 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16139
16140         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16141         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16142         (gst_collectpads_is_active), (gst_collectpads_collect),
16143         (gst_collectpads_collect_range), (gst_collectpads_start),
16144         (gst_collectpads_stop), (gst_collectpads_peek),
16145         (gst_collectpads_pop), (gst_collectpads_available),
16146         (gst_collectpads_read), (gst_collectpads_flush):
16147           Guard public API with assertions.
16148         
16149         * gst/gstpad.c:
16150           Fix docs for gst_pad_set_link_function().
16151
16152 2005-11-02  Johan Dahlin  <johan@gnome.org>
16153
16154         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16155         Unref found_caps after we used it.
16156
16157 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16158
16159         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16160           Don't try to ref NULL.
16161
16162 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16163
16164         * win32/common/config.h.in:
16165           provide a GST_FUNCTION that just gives a string for now
16166
16167 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16168
16169         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16170         (gst_object_flags_get_type), (register_gst_bin_flags),
16171         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16172         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16173         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16174         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16175         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16176         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16177         (gst_clock_flags_get_type), (register_gst_state),
16178         (gst_state_get_type), (register_gst_state_change_return),
16179         (gst_state_change_return_get_type), (register_gst_state_change),
16180         (gst_state_change_get_type), (register_gst_element_flags),
16181         (gst_element_flags_get_type), (register_gst_core_error),
16182         (gst_core_error_get_type), (register_gst_library_error),
16183         (gst_library_error_get_type), (register_gst_resource_error),
16184         (gst_resource_error_get_type), (register_gst_stream_error),
16185         (gst_stream_error_get_type), (register_gst_event_type),
16186         (gst_event_type_get_type), (register_gst_seek_type),
16187         (gst_seek_type_get_type), (register_gst_seek_flags),
16188         (gst_seek_flags_get_type), (register_gst_format),
16189         (gst_format_get_type), (register_gst_index_certainty),
16190         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16191         (gst_index_entry_type_get_type),
16192         (register_gst_index_lookup_method),
16193         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16194         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16195         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16196         (gst_index_flags_get_type), (register_gst_debug_level),
16197         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16198         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16199         (gst_iterator_result_get_type), (register_gst_iterator_item),
16200         (gst_iterator_item_get_type), (register_gst_message_type),
16201         (gst_message_type_get_type), (register_gst_mini_object_flags),
16202         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16203         (gst_pad_link_return_get_type), (register_gst_flow_return),
16204         (gst_flow_return_get_type), (register_gst_activate_mode),
16205         (gst_activate_mode_get_type), (register_gst_pad_direction),
16206         (gst_pad_direction_get_type), (register_gst_pad_flags),
16207         (gst_pad_flags_get_type), (register_gst_pad_presence),
16208         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16209         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16210         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16211         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16212         (gst_plugin_flags_get_type), (register_gst_rank),
16213         (gst_rank_get_type), (register_gst_query_type),
16214         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16215         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16216         (gst_tag_flag_get_type), (register_gst_task_state),
16217         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16218         (gst_alloc_trace_flags_get_type),
16219         (register_gst_type_find_probability),
16220         (gst_type_find_probability_get_type), (register_gst_uri_type),
16221         (gst_uri_type_get_type), (register_gst_parse_error),
16222         (gst_parse_error_get_type):
16223         * win32/common/gstversion.h:
16224           update win32 copies
16225
16226 2005-11-01  Luca Ognibene  <luogni@tin.it>
16227
16228         * gst/gst.c:
16229           fix docs. popt is dead, long live GOption.
16230
16231 2005-10-31  Wim Taymans  <wim@fluendo.com>
16232
16233         * gst/gstbuffer.h:
16234         Small doc fix.
16235
16236 2005-10-31  Andy Wingo  <wingo@pobox.com>
16237
16238         * Boo!
16239
16240         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16241
16242         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16243         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16244         the possibility of deadlocks here if code calling notify() or
16245         set() has a lock that can be taken in another notify handler (ABBA
16246         with class lock and e.g. python GIL state lock).
16247
16248 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16249
16250         * gst/gstbus.c: Doc updates.
16251
16252 2005-10-28  Wim Taymans  <wim@fluendo.com>
16253
16254         * docs/design/part-TODO.txt:
16255         * gst/gstiterator.c:
16256         * gst/gstsystemclock.c:
16257         * gst/gstsystemclock.h:
16258         Doc updates.
16259
16260 2005-10-28  Edward Hervey  <edward@fluendo.com>
16261
16262         * docs/gst/gstreamer-docs.sgml:
16263         * docs/gst/gstreamer-sections.txt:
16264         the GstURIType documentation page is private, it only defines GstURIType
16265         which should be defined in the GstURIHandler page
16266         
16267 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16268
16269         * gst/gstbin.c: (gst_bin_class_init):
16270         * gst/gstbin.h:
16271         * gst/gstutils.c:
16272         Documentation updates.
16273
16274 2005-10-28  Wim Taymans  <wim@fluendo.com>
16275
16276         * docs/gst/gstreamer-sections.txt:
16277         * gst/gstclock.c:
16278         * gst/gstclock.h:
16279         Documented the clocks.
16280
16281 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16282
16283         * docs/gst/gstreamer-sections.txt:
16284           move some macros to private sections
16285         * gst/gstminiobject.c:
16286         * gst/gstminiobject.h:
16287           add descriptions provided by ds and some more
16288         * gst/gstpad.h:
16289           mark macro as to be removed
16290
16291 2005-10-28  Wim Taymans  <wim@fluendo.com>
16292
16293         * docs/design/part-TODO.txt:
16294         Add an item to TODO.
16295
16296         * gst/gstiterator.c: (gst_iterator_fold),
16297         (gst_iterator_find_custom):
16298         * gst/gstiterator.h:
16299         Add iterator docs.
16300
16301 2005-10-28  Wim Taymans  <wim@fluendo.com>
16302
16303         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16304         (gst_base_transform_init):
16305         Don't leak class.
16306
16307         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16308         An EOS event marks the queue as completely filled.
16309
16310 2005-10-27  Wim Taymans  <wim@fluendo.com>
16311
16312         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16313         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16314         Some more debugging.
16315
16316         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16317         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16318         (gst_base_transform_event), (gst_base_transform_getrange),
16319         (gst_base_transform_chain):
16320         * gst/base/gstbasetransform.h:
16321         Fix debugging,
16322         Protect transform and concurrent buffer alloc with a new lock.
16323         Try not to break ABI/API.
16324
16325 2005-10-27  Wim Taymans  <wim@fluendo.com>
16326
16327         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16328         (gst_base_src_init), (gst_base_src_query),
16329         (gst_base_src_default_newsegment),
16330         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16331         (gst_base_src_send_event), (gst_base_src_event_handler),
16332         (gst_base_src_pad_get_range), (gst_base_src_loop),
16333         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16334         (gst_base_src_start), (gst_base_src_deactivate),
16335         (gst_base_src_activate_push), (gst_base_src_change_state):
16336         Move some stuff around and cleanup things.
16337
16338 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16339
16340         * gst/base/gstbasesrc.c: (gst_base_src_query):
16341           Add missing break statements.
16342
16343 2005-10-27  Wim Taymans  <wim@fluendo.com>
16344
16345         * check/gst/gstbin.c: (GST_START_TEST):
16346         An extra refcount is taken in basesrc.
16347
16348         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16349         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16350         (gst_base_src_loop):
16351         Small cleanups, check for flushing after being unlocked from the 
16352         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16353         Don't send out EOS when going to READY.
16354
16355 2005-10-27  Wim Taymans  <wim@fluendo.com>
16356
16357         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16358         (gst_base_sink_get_position):
16359         Some more debug.
16360
16361         * gst/gstbin.c: (message_check), (bin_replace_message),
16362         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16363         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16364         (bin_query_duration_init), (bin_query_duration_fold),
16365         (bin_query_duration_done), (bin_query_generic_fold),
16366         (gst_bin_query):
16367         * tools/gst-launch.c: (main):
16368         Remove old option.
16369
16370 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16371
16372         * examples/controller/audio-example.c: (main):
16373         * examples/queue/queue.c: (event_loop):
16374         * gst/base/gstbasetransform.h:
16375         * gst/gstelement.c: (gst_element_send_event):
16376         * gst/gstevent.h:
16377         * gst/gstpad.c: (gst_pad_send_event):
16378           fixing examples
16379           fixing docs typos
16380           changing log priority in error situations
16381
16382 2005-10-25  Wim Taymans  <wim@fluendo.com>
16383
16384         * gst/gstbin.c: (message_check), (bin_replace_message),
16385         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16386         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16387         (bin_query_duration_init), (bin_query_duration_fold),
16388         (bin_query_duration_done), (bin_query_generic_fold),
16389         (gst_bin_query):
16390         Some doc and debug updates.
16391         Cache previously requested query DURATION for speed. invalidate
16392         cached duration if element posts a DURATION message.
16393
16394 2005-10-25  Wim Taymans  <wim@fluendo.com>
16395
16396         * docs/design/part-TODO.txt:
16397         Update TODO.
16398
16399         * gst/gstbin.c: (message_check), (bin_replace_message),
16400         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16401         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16402         (bin_query_duration_init), (bin_query_duration_fold),
16403         (bin_query_duration_done), (bin_query_generic_fold),
16404         (gst_bin_query):
16405         Handle SEGMENT_START/DONE messages correctly.
16406         More evolved query algorithm that handles duration queries
16407         correctly.
16408
16409         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16410         (gst_element_get_state_func), (gst_element_abort_state),
16411         (gst_element_commit_state), (gst_element_lost_state):
16412         Some more debugging.
16413
16414         * gst/gstmessage.h:
16415         Added doc.
16416
16417 2005-10-25  Wim Taymans  <wim@fluendo.com>
16418
16419         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16420         Don't use invalid stream_time.
16421
16422         * gst/gstevent.c: (gst_event_new_newsegment):
16423         stream_time in newsegment cannot be undefined.
16424
16425 2005-10-24  Wim Taymans  <wim@fluendo.com>
16426
16427         * gst/gstbus.c:
16428         Doc fix.
16429
16430         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16431         (gst_queue_loop):
16432         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16433
16434 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16435
16436         * docs/libs/tmpl/gstdparam.sgml:
16437         * docs/libs/tmpl/gstdplinint.sgml:
16438         * docs/libs/tmpl/gstdpman.sgml:
16439         * docs/libs/tmpl/gstdpsmooth.sgml:
16440         * docs/libs/tmpl/gstunitconvert.sgml:
16441           these are obsolete
16442
16443 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16444
16445         * configure.ac:
16446           back to HEAD
16447
16448 === release 0.9.4 ===
16449
16450 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16451
16452         * configure.ac:
16453           releasing 0.9.4, "Tyrannosaurus Rex"
16454
16455 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16456
16457         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16458         (gst_file_sink_get_current_offset):
16459           Use fseeko() and ftello() if available. When falling back on
16460           lseek() to get the current offset, fflush() first to make sure
16461           everything is up-to-date and we get the right offset.
16462
16463 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16464
16465         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16466         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16467         * gst/gsterror.c: (_gst_stream_errors_init):
16468         * gst/gsterror.h:
16469         * gst/gstqueue.c: (gst_queue_loop):
16470         * po/POTFILES.in:
16471           remove prematurely added error category and clean up the instances
16472
16473 2005-10-21  Wim Taymans  <wim@fluendo.com>
16474
16475         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16476         (gst_base_sink_get_position), (gst_base_sink_query),
16477         (gst_base_sink_change_state):
16478         Simply set the right flag when going to playing, that's all
16479         we need to do instead of calling a function inside the object
16480         lock (that could take the lock as well and deadlock)
16481
16482 2005-10-21  Wim Taymans  <wim@fluendo.com>
16483
16484         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16485         (gst_base_src_loop):
16486         Don't warn, the peer element knows what to do best when
16487         the seek failed, it might try something else.
16488
16489 2005-10-21  Wim Taymans  <wim@fluendo.com>
16490
16491         * gst/base/gstbasesrc.c: (gst_base_src_init),
16492         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16493         Fix seeking.
16494
16495 2005-10-21  Wim Taymans  <wim@fluendo.com>
16496
16497         * docs/design/part-segments.txt:
16498         More docs.
16499
16500         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16501         Correctly set caps, even on the subbufer.
16502
16503 2005-10-21  Wim Taymans  <wim@fluendo.com>
16504
16505         * docs/gst/gstreamer-docs.sgml:
16506         * docs/gst/gstreamer-sections.txt:
16507         * gst/gstelement.h:
16508         * gst/gstevent.c:
16509         * gst/gstevent.h:
16510         * gst/gstmessage.h:
16511         * gst/gstpad.h:
16512         * gst/gstparse.h:
16513         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16514         * gst/gsttask.h:
16515         * gst/gstutils.c:
16516         * gst/gstutils.h:
16517         And 2% more doc coverage.
16518
16519 2005-10-21  Andy Wingo  <wingo@pobox.com>
16520
16521         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16522         position reporting.
16523
16524 2005-10-20  Wim Taymans  <wim@fluendo.com>
16525
16526         * gst/gsterror.c: (gst_error_get_message):
16527         * gst/gstparse.h:
16528         * gst/gstquery.h:
16529         * gst/gststructure.c:
16530         * gst/gsttrace.c:
16531         * gst/gstutils.c:
16532         More docs.
16533
16534 2005-10-20  Wim Taymans  <wim@fluendo.com>
16535
16536         * gst/gstbuffer.h:
16537         * gst/gstpad.c:
16538         * gst/gstparse.c:
16539         Another 1% more coverage.
16540
16541 2005-10-20  Wim Taymans  <wim@fluendo.com>
16542
16543         * docs/gst/gstreamer-sections.txt:
16544         * gst/gstelement.c: (gst_element_get_state_func),
16545         (gst_element_abort_state), (gst_element_commit_state),
16546         (gst_element_lost_state):
16547         * gst/gstevent.h:
16548         * gst/gstquery.c: (gst_query_set_position),
16549         (gst_query_parse_position), (gst_query_set_duration),
16550         (gst_query_parse_duration), (gst_query_new_convert):
16551         * gst/gstutils.c:
16552         Yay! 1% more docs coverage.
16553
16554 2005-10-20  Wim Taymans  <wim@fluendo.com>
16555
16556         * gst/gstpad.h:
16557         * gst/gstquery.c: (gst_query_set_position),
16558         (gst_query_parse_position), (gst_query_set_duration),
16559         (gst_query_parse_duration), (gst_query_new_convert):
16560         * gst/gstquery.h:
16561         * gst/gstutils.c: (gst_element_query_convert):
16562         * gst/gstutils.h:
16563         Docs and consistency fixes.
16564
16565 2005-10-20  Wim Taymans  <wim@fluendo.com>
16566
16567         * gst/gsttask.c:
16568         * gst/gsttask.h:
16569         More docs.
16570
16571 2005-10-20  Wim Taymans  <wim@fluendo.com>
16572
16573         * gst/gstbin.c: (message_check), (bin_replace_message),
16574         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16575         (update_degree), (gst_bin_sort_iterator_next),
16576         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16577         Reworked the message handling a bit, cache the messages instead of
16578         only the senders. alows us to do more in the future.
16579
16580 2005-10-20  Wim Taymans  <wim@fluendo.com>
16581
16582         * docs/design/part-TODO.txt:
16583         Update TODO
16584
16585         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16586         (gst_base_sink_query):
16587         Don't use clock time to report position when in EOS.
16588
16589 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16590
16591         * tools/gst-inspect.c: (print_interfaces),
16592         (print_element_properties_info), (print_element_info):
16593           Fix interface output with gst-inspect -a; don't print
16594           newlines after double/float properties.
16595
16596 2005-10-20  Wim Taymans  <wim@fluendo.com>
16597
16598         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16599         (gst_base_sink_query):
16600         Speed up current position calculation.
16601
16602         * gst/base/gstbasesrc.c: (gst_base_src_query),
16603         (gst_base_src_default_newsegment):
16604         Correctly set stream position in newsegment.
16605
16606         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16607         (update_degree), (gst_bin_sort_iterator_next),
16608         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16609         * gst/gstmessage.c: (gst_message_new_custom):
16610         Clean up debugging info
16611
16612         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16613         (gst_queue_loop), (gst_queue_handle_src_query):
16614         Pause task faster.
16615
16616 2005-10-19  Wim Taymans  <wim@fluendo.com>
16617
16618         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16619         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16620         Fix query handling again.
16621
16622 2005-10-19  Wim Taymans  <wim@fluendo.com>
16623
16624         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16625         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16626         * gst/base/gstbasesrc.c: (gst_base_src_query):
16627         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16628         * gst/elements/gsttypefindelement.c:
16629         (gst_type_find_handle_src_query), (find_element_get_length),
16630         (gst_type_find_element_activate):
16631         API change fix.
16632
16633         * gst/gstquery.c: (gst_query_new_position),
16634         (gst_query_set_position), (gst_query_parse_position),
16635         (gst_query_new_duration), (gst_query_set_duration),
16636         (gst_query_parse_duration), (gst_query_set_segment),
16637         (gst_query_parse_segment):
16638         * gst/gstquery.h:
16639         Bundling query position/duration is not a good idea since duration
16640         does not change much and we don't want to recalculate it for every
16641         position query, so they are separated again..
16642         Base value in segment query is not needed.
16643
16644         * gst/gstqueue.c: (gst_queue_handle_src_query):
16645         * gst/gstutils.c: (gst_element_query_position),
16646         (gst_element_query_duration), (gst_pad_query_position),
16647         (gst_pad_query_duration):
16648         * gst/gstutils.h:
16649         Updates for query API change.
16650         Added some docs here and there.
16651
16652 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16653
16654         * check/gst/gstbin.c: (GST_START_TEST):
16655         * check/gst/gstghostpad.c: (GST_START_TEST):
16656         * check/pipelines/cleanup.c: (GST_START_TEST):
16657           wait on thread to die so we can check refcount correctly
16658
16659 2005-10-18  Wim Taymans  <wim@fluendo.com>
16660
16661         * check/pipelines/stress.c: (GST_START_TEST):
16662         Make check a little more time consuming.
16663
16664 2005-10-18  Wim Taymans  <wim@fluendo.com>
16665
16666         * check/Makefile.am:
16667         * check/pipelines/stress.c: (GST_START_TEST),
16668         (simple_launch_lines_suite), (main):
16669         Small state change torture test.
16670
16671         * docs/design/part-states.txt:
16672         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16673         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16674         (gst_base_sink_change_state):
16675         Never take state lock from streaming thread, clean up ugly
16676         hacks. Unfortunatly core does not yet support nice ways to
16677         async commit state.
16678         
16679         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16680         (bin_bus_handler):
16681         Start state recalc if a STATE_DIRTY message is posted, but only
16682         on the toplevel bin.
16683
16684         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16685         (gst_element_get_state_func), (gst_element_abort_state),
16686         (gst_element_commit_state), (gst_element_lost_state),
16687         (gst_element_set_state_func), (gst_element_change_state):
16688         * gst/gstelement.h:
16689         State variables are now protected with the LOCK, the state
16690         lock is only used to serialize _set_state().
16691
16692 2005-10-18  Wim Taymans  <wim@fluendo.com>
16693
16694         * check/gst/gstbin.c: (GST_START_TEST):
16695         * check/gst/gstmessage.c: (GST_START_TEST):
16696         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16697         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16698         (bin_bus_handler):
16699         * gst/gstelement.c: (gst_element_abort_state),
16700         (gst_element_commit_state), (gst_element_lost_state):
16701         * gst/gstmessage.c: (gst_message_new_state_changed),
16702         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16703         (gst_message_new_segment_done), (gst_message_new_duration),
16704         (gst_message_parse_state_changed),
16705         (gst_message_parse_segment_start),
16706         (gst_message_parse_segment_done), (gst_message_parse_duration):
16707         * gst/gstmessage.h:
16708         * tools/gst-launch.c: (event_loop):
16709         Seriously, this is better than a previous commit as we only need
16710         to notify the fact that an element changed state in a streaming
16711         thread, marking the state of the parents dirty, hence the 
16712         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16713         message.
16714
16715 2005-10-18  Wim Taymans  <wim@fluendo.com>
16716
16717         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16718         (gst_bin_recalc_func):
16719         * gst/gstelement.c: (gst_element_set_clock),
16720         (gst_element_abort_state), (gst_element_lost_state):
16721         Cleanups, prepare for state change fixes.
16722
16723 2005-10-18  Wim Taymans  <wim@fluendo.com>
16724
16725         * gst/gstbin.h:
16726         * gst/gstelement.c: (gst_element_class_init),
16727         (gst_element_set_state), (gst_element_set_state_func):
16728         * gst/gstelement.h:
16729         Pending ABI changes.
16730         GThreadPool in GstBinClass to monitor async state changes.
16731         state_cookie in GstElement to detect concurrent gst/set state.
16732         set_state is now virtual too in case a very complicated element
16733         has to be constructed.
16734
16735 2005-10-18  Wim Taymans  <wim@fluendo.com>
16736
16737         * check/gst/gstbin.c: (GST_START_TEST):
16738         * check/gst/gstmessage.c: (GST_START_TEST):
16739         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16740         * gst/gstbin.c: (bin_bus_handler):
16741         * gst/gstelement.c: (gst_element_commit_state),
16742         (gst_element_lost_state):
16743         * gst/gstmessage.c: (gst_message_new_state_changed),
16744         (gst_message_new_segment_start), (gst_message_new_segment_done),
16745         (gst_message_new_duration), (gst_message_parse_state_changed),
16746         (gst_message_parse_segment_start),
16747         (gst_message_parse_segment_done), (gst_message_parse_duration):
16748         * gst/gstmessage.h:
16749         * tools/gst-launch.c: (event_loop):
16750         Make messages future proof.
16751         state-change gets a flag if it was a message comming from the
16752         streaming thread.
16753         segment-start/stop can also be specified in other formats.
16754         A message to notify an app that a pipeline changed playback 
16755         duration.
16756         Also fix a GstMessage leak in -launch
16757
16758 2005-10-18  Andy Wingo  <wingo@pobox.com>
16759
16760         * gst/gstelement.c (gst_element_dispose): More helpful message.
16761
16762 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16763
16764         reviewed by: <delete if not using a buddy>
16765
16766         * common/gtk-doc.mak:
16767
16768 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16769
16770         * gst/gstregistry.c: (gst_registry_scan_path_level):
16771           unref a plug-in we get that was already initialized
16772
16773 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
16774
16775         * docs/gst/gstreamer-sections.txt:
16776         * docs/libs/gstreamer-libs-sections.txt:
16777         * gst/gstelement.h:
16778           add new api entries
16779           hide internal macro
16780
16781 2005-10-17  Andy Wingo  <wingo@pobox.com>
16782
16783         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16784         cleanup.
16785
16786         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16787
16788         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16789
16790         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16791         (gst_element_get_state_func): Better debug message.
16792         (gst_element_commit_state): s/INFO/DEBUG/.
16793         (gst_element_lost_state, gst_element_change_state): 
16794
16795         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16796         (gst_message_new_custom): s/INFO/LOG/.
16797
16798 2005-10-17  Michael Smith <msmith@fluendo.com>
16799
16800         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16801           Check if end time is valid using end time, not start time.
16802
16803 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
16804
16805         * check/gst-libs/controller.c: (GST_START_TEST),
16806         (gst_controller_suite):
16807         * libs/gst/controller/gstcontroller.c:
16808         (gst_controlled_property_set_interpolation_mode):
16809         * libs/gst/controller/gstcontroller.h:
16810         * libs/gst/controller/gstinterpolation.c:
16811         * testsuite/controller/.cvsignore:
16812         * testsuite/controller/Makefile.am:
16813         * testsuite/controller/interpolator.c:
16814           merge controller testsuites
16815           fix broken tests
16816           remove mem-chunk from docs
16817
16818 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16819
16820         * gst/gstmemchunk.c:
16821         * gst/gstmemchunk.h:
16822         * gst/gsttrashstack.c:
16823         * gst/gsttrashstack.h:
16824           out.  get out.  you're fired.  to the Attic !
16825
16826 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16827
16828         * gst/gstcaps.c: (gst_caps_intersect):
16829           fix signedness issues in a (hopefully) correct way
16830         * gst/gstelement.c: (gst_element_pads_activate):
16831           some debugging
16832         * gst/gstobject.c: (gst_object_set_parent):
16833           some debugging
16834
16835 2005-10-17  Julien MOUTTE  <julien@moutte.net>
16836
16837         * gst/gstvalue.h: Fix prototypes.
16838
16839 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16840
16841         * docs/gst/gstreamer-sections.txt:
16842         * gst/gst.c: (gst_version_string):
16843         * gst/gst.h:
16844         * gst/gstversion.h.in:
16845         * win32/common/libgstreamer.def:
16846           add gst_version_string ()
16847
16848 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16849
16850         * configure.ac:
16851           clean up further
16852         * gst/gst.c: (init_post):
16853         * win32/common/config.h.in:
16854           it's PLUGINDIR now
16855         * gst/gstcaps.c: (gst_caps_intersect):
16856           use gint64, the range could be bigger than a guint
16857
16858 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16859
16860         * gst/gstclock.h:
16861           document potential problem in 2038
16862
16863 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16864
16865         * gst/gstcaps.c: (gst_caps_intersect):
16866           Fix guint j diving under 0
16867
16868 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16869
16870         * configure.ac:
16871         * win32/common/config.h:
16872         * win32/common/config.h.in:
16873           check for process.h, declares getpid() on Windows
16874         * gst/gstinfo.c:
16875           include process.h if we have it
16876         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16877         * gst/gstmemchunk.h:
16878           fix signedness issues
16879         * win32/common/libgstreamer.def:
16880           fix get_type's
16881
16882 2005-10-16  Julien MOUTTE  <julien@moutte.net>
16883
16884         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16885         fix. Because of unsigned ints, caps intersection was going nuts and
16886         trying to access structures with G_MAXUINT index. That fixes
16887         videotestsrc ! ffmpegcolorspace ! fakesink
16888         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16889         consistency.
16890
16891 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16892
16893         * configure.ac:
16894           use the gettext macro
16895         * gst/elements/gstelements.c:
16896         * gst/gst.c:
16897         * gst/indexers/gstindexers.c:
16898           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16899         * win32/common/config.h:
16900           updated config.h
16901         * win32/common/config.h.in:
16902           add the template to generate config.h
16903         * win32/common/gstenumtypes.c:
16904         * win32/common/gstversion.h:
16905           updated copies
16906
16907 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16908
16909         * gst/gst.c: (gst_version):
16910         * gst/gstversion.h.in:
16911           add the nano
16912
16913 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16914
16915         * gst/gstevent.h:
16916           Oops, add missing closing bracket.
16917
16918 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16919
16920         * configure.ac:
16921           use common m4's for argument checking
16922
16923 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16924
16925         * docs/gst/gstreamer-sections.txt:
16926         * gst/gstevent.h:
16927           Add GST_EVENT_TYPE_NAME() macro.
16928
16929 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16930
16931         * gst/gstinfo.c:
16932         * gst/gstpluginfeature.c:
16933         * gst/gsttask.c:
16934           privatize more symbols
16935
16936 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16937
16938         * configure.ac:
16939           add srcdir, builddir includes to GST_ALL_CFLAGS, since
16940           everything that uses GStreamer API should have the includes
16941
16942 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16943
16944         * docs/gst/gstreamer-sections.txt:
16945         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16946         * gst/gstvalue.h:
16947           give each value a _get_type, removes the DATA exports
16948
16949 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16950
16951         * gst/gst.c:
16952         * gst/gst.h:
16953           remove _gst_registry_auto_load, not used anymore
16954         * gst/gstbin.c: (gst_bin_get_type):
16955         * gst/gstbin.h:
16956         * gst/gstelement.c: (gst_element_get_type):
16957         * gst/gstelement.h:
16958         * gst/gstobject.c: (gst_object_get_type):
16959         * gst/gstobject.h:
16960         * gst/gstpad.c: (gst_pad_get_type):
16961         * gst/gstpad.h:
16962           make _get_type functions similar, fixes data export from library
16963
16964 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16965
16966         * configure.ac:
16967           correctly make conditionals
16968         * gst/elements/Makefile.am:
16969         * gst/elements/gstelements.c:
16970           fix typo causing fdsrc not to build
16971
16972 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16973
16974         * testsuite/Makefile.am:
16975         * testsuite/bytestream/.cvsignore:
16976         * testsuite/bytestream/Makefile.am:
16977         * testsuite/bytestream/filepadsink.c:
16978         * testsuite/bytestream/gstbstest.c:
16979         * testsuite/bytestream/test1.c:
16980         * testsuite/bytestream/testfile1:
16981         * testsuite/caps/normalisation.c:
16982         * testsuite/caps/random.c: (main):
16983         * testsuite/cleanup/.cvsignore:
16984         * testsuite/cleanup/Makefile.am:
16985         * testsuite/cleanup/cleanup1.c:
16986         * testsuite/cleanup/cleanup2.c:
16987         * testsuite/cleanup/cleanup3.c:
16988         * testsuite/cleanup/cleanup4.c:
16989         * testsuite/cleanup/cleanup5.c:
16990         * testsuite/controller/interpolator.c:
16991         * testsuite/debug/printf_extension.c: (main):
16992         * testsuite/elements/tee.c:
16993         * testsuite/negotiation/.cvsignore:
16994         * testsuite/negotiation/Makefile.am:
16995         * testsuite/negotiation/pad_link.c:
16996         * testsuite/pad/Makefile.am:
16997         * testsuite/pad/chainnopull.c:
16998         * testsuite/pad/getnopush.c:
16999         * testsuite/pad/link.c:
17000         * testsuite/refcounting/sched.c: (create_pipeline):
17001         * testsuite/registry/Makefile.am:
17002         * testsuite/registry/gst-print-formats.c:
17003         * testsuite/schedulers/.cvsignore:
17004         * testsuite/schedulers/142183-2.c:
17005         * testsuite/schedulers/142183.c:
17006         * testsuite/schedulers/143777-2.c:
17007         * testsuite/schedulers/143777.c:
17008         * testsuite/schedulers/147713.c:
17009         * testsuite/schedulers/147819.c:
17010         * testsuite/schedulers/147894-2.c:
17011         * testsuite/schedulers/147894.c:
17012         * testsuite/schedulers/Makefile.am:
17013         * testsuite/schedulers/group_link.c:
17014         * testsuite/schedulers/queue_link.c:
17015         * testsuite/schedulers/relink.c:
17016         * testsuite/schedulers/unlink.c:
17017         * testsuite/schedulers/unref.c:
17018         * testsuite/schedulers/useless_iteration.c:
17019         * testsuite/states/bin.c:
17020           clean out/remove some stuff from the testsuite directories
17021
17022 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17023
17024         * configure.ac:
17025           check for some headers
17026         * gst/elements/Makefile.am:
17027         * gst/elements/gstelements.c:
17028           don't compile fdsrc without sys/socket.h
17029         * gst/indexers/Makefile.am:
17030         * gst/indexers/gstindexers.c: (plugin_init):
17031           don't compile fileindex without mmap
17032
17033 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17034
17035         * configure.ac:
17036           reorganize
17037           clean up
17038           document more
17039           remove cruft
17040         * check/Makefile.am:
17041         * docs/gst/Makefile.am:
17042         * examples/helloworld/Makefile.am:
17043         * gst/Makefile.am:
17044         * gst/base/Makefile.am:
17045         * gst/check/Makefile.am:
17046         * gst/elements/Makefile.am:
17047         * gst/indexers/Makefile.am:
17048         * gst/parse/Makefile.am:
17049         * libs/gst/controller/Makefile.am:
17050         * libs/gst/dataprotocol/Makefile.am:
17051         * examples/helloworld/helloworld.c: (event_loop):
17052           compile fixes, though it's not being compiled currently
17053
17054 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17055
17056         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17057           Add some simple tests for the new taglist date API.
17058
17059 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17060
17061         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17062         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17063           Beautify 'last-message' output: print 'none' for buffer timestamps
17064           and durations if none is set; improve alignment with next messages.
17065
17066 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17067
17068         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17069         * gst/gstpluginfeature.h:
17070         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17071         * gst/gstregistry.h:
17072         * docs/gst/gstreamer-sections.txt:
17073           Add new API to check plugin feature version requirements.
17074
17075         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17076           Some basic tests for the above.         
17077
17078 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17079
17080         * gst/gststructure.c: (gst_structure_to_string):
17081           guard against NULL printf - happens when for example
17082           a message structure with GstClock gets serialized
17083
17084 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17085
17086         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17087           Fix presumable copy'n'pasto.
17088
17089 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17090
17091         * gst/elements/gstfakesrc.h:
17092         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17093         * gst/elements/gsttypefindelement.c:
17094           fix some signedness
17095         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17096           I wonder if this could actually write +2GB files before
17097
17098 2005-10-13  Andy Wingo  <wingo@pobox.com>
17099
17100         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17101         Fix Timmeke Waymans bug.
17102         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17103         string of the proper length to gst_caps_from_string. There's a
17104         potential for, before this fix, that this could cause someone
17105         connecting over the network to cause a segfault if the payload is
17106         not NUL-terminated.
17107
17108 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17109
17110         * docs/design/draft-push-pull.txt:
17111         * docs/design/part-overview.txt:
17112         * docs/random/TODO-pre-0.9:
17113         * docs/random/old/ChangeLog.gstreamer:
17114         * gst/base/gstpushsrc.c:
17115         * gst/gstclock.c:
17116           fixed typos
17117
17118 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17119
17120         * gst/glib-compat.c: (gst_flags_get_first_value):
17121         * gst/glib-compat.h:
17122         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17123         (gst_value_compare_double), (gst_value_serialize_flags):
17124           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17125           infinite loop
17126
17127 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17128
17129         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17130         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17131           fix up debugging
17132         * tools/gst-launch.c: (event_loop):
17133           print out clock nicely
17134
17135 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17136
17137         * docs/gst/gstreamer-sections.txt:
17138         * gst/gsttaglist.h:
17139         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17140         (gst_tag_list_get_date_index):
17141           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17142           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17143
17144 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17145
17146         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17147         (gst_collectpads_chain):
17148         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17149         in CollectData.
17150
17151 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17152
17153         * docs/gst/gstreamer-sections.txt:
17154         * gst/gst.c:
17155         * gst/gsterror.h:
17156         * tools/gst-inspect.c: (main):
17157         * tools/gst-launch.c: (main):
17158         * tools/gst-run.c: (main):
17159         * tools/gst-xmlinspect.c: (main):
17160           fix GOption context leaks
17161           doc fixes
17162
17163 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17164
17165         * gst/gstbus.c:
17166           use HAVE_UNISTD_H
17167         * win32/common/config.h:
17168           update config
17169         * win32/vs6/grammar.dsp:
17170         * win32/vs6/libgstelements.dsp:
17171         * win32/vs6/libgstreamer.dsp:
17172           update vs6 files
17173
17174 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17175
17176         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17177         * gst/base/gstbasesrc.c: (gst_base_src_query):
17178           fix more guint64<->gdouble conversions
17179
17180 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17181
17182         * Makefile.am:
17183           add win32-update target
17184         * win32/common/gstconfig.h:
17185         * win32/common/gstenumtypes.c:
17186         * win32/common/gstenumtypes.h:
17187         * win32/common/gstversion.h:
17188           add files that visual studio can't generate
17189
17190 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17191
17192         * Makefile.am:
17193           add a win32-update target
17194         * configure.ac:
17195
17196 2005-10-12  Wim Taymans  <wim@fluendo.com>
17197
17198         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17199         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17200         * gst/gstelement.c: (gst_element_commit_state),
17201         (gst_element_set_state):
17202         Protect flags with proper lock.
17203         unref provided cached clock in dispose.
17204
17205 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17206
17207         * gst/gst.c:
17208         * gst/gstminiobject.h:
17209         * gst/gstpad.h:
17210         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17211           removed unused flags from miniobject
17212           doc fixes
17213
17214 2005-10-12  Wim Taymans  <wim@fluendo.com>
17215
17216         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17217         (gst_file_sink_event), (gst_file_sink_render):
17218         Flush before seeking.
17219
17220 2005-10-12  Andy Wingo  <wingo@pobox.com>
17221
17222         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17223         always been the case.
17224
17225 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17226
17227         * check/gst/gstbin.c: (GST_START_TEST):
17228         * docs/gst/gstreamer-sections.txt:
17229         * gst/base/gstbasesink.c: (gst_base_sink_init):
17230         * gst/base/gstbasesrc.c: (gst_base_src_init),
17231         (gst_base_src_get_range), (gst_base_src_check_get_range),
17232         (gst_base_src_start), (gst_base_src_stop):
17233         * gst/base/gstbasesrc.h:
17234         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17235         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17236         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17237         (bin_bus_handler):
17238         * gst/gstbin.h:
17239         * gst/gstbuffer.h:
17240         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17241         * gst/gstbus.h:
17242         * gst/gstelement.c: (gst_element_is_locked_state),
17243         (gst_element_set_locked_state), (gst_element_commit_state),
17244         (gst_element_set_state):
17245         * gst/gstelement.h:
17246         * gst/gstindex.c: (gst_index_init):
17247         * gst/gstindex.h:
17248         * gst/gstminiobject.h:
17249         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17250         (gst_object_set_parent):
17251         * gst/gstobject.h:
17252         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17253         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17254         * gst/gstpad.h:
17255         * gst/gstpadtemplate.h:
17256         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17257         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17258         * gst/gstpipeline.h:
17259         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17260         (gst_file_index_commit):
17261         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17262         * testsuite/pad/link.c: (gst_test_src_init),
17263         (gst_test_filter_init), (gst_test_sink_init):
17264         * testsuite/states/locked.c: (main):
17265           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17266           moved bitshift from macro to enum definition
17267
17268 2005-10-12  Wim Taymans  <wim@fluendo.com>
17269
17270         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17271         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17272         (gst_file_sink_render):
17273         Some more debugging info.
17274
17275 2005-10-12  Wim Taymans  <wim@fluendo.com>
17276
17277         * docs/design/part-states.txt:
17278         * tools/gst-launch.c: (main):
17279         Some doc updates.
17280         Revert non-intentional change.
17281
17282 2005-10-12  Wim Taymans  <wim@fluendo.com>
17283
17284         * check/gst/gstbin.c: (GST_START_TEST):
17285         * check/gst/gstelement.c: (GST_START_TEST):
17286         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17287         * check/gst/gstghostpad.c: (GST_START_TEST):
17288         * check/gst/gstpipeline.c: (GST_START_TEST):
17289         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17290         * check/states/sinks.c: (GST_START_TEST):
17291         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17292         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17293         (gst_bin_remove_func), (gst_bin_get_state_func),
17294         (gst_bin_recalc_state), (gst_bin_change_state_func),
17295         (bin_bus_handler):
17296         * gst/gstelement.c: (gst_element_get_state_func),
17297         (gst_element_get_state), (gst_element_abort_state),
17298         (gst_element_commit_state), (gst_element_set_state),
17299         (gst_element_change_state), (gst_element_change_state_func):
17300         * gst/gstelement.h:
17301         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17302         (gst_pipeline_provide_clock_func):
17303         * gst/gstutils.c: (gst_element_link_pads_filtered):
17304         * tools/gst-launch.c: (main):
17305         * tools/gst-typefind.c: (main):
17306         Use GstClockTime in _get_state() instead of GTimeVal.
17307         Remove old code in gstutils.c
17308
17309 2005-10-12  Andy Wingo  <wingo@pobox.com>
17310
17311         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17312         removed.
17313
17314         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17315         there is no task. Shouldn't affect any code, as nothing in our
17316         plugins checks this return value.
17317         (gst_pad_stop_task): Also take the stream lock if the pad has no
17318         task. Docs updated.
17319
17320 2005-10-12  Wim Taymans  <wim@fluendo.com>
17321
17322         * gst/gstpad.c: (pre_activate), (post_activate),
17323         (gst_pad_activate_pull), (gst_pad_activate_push):
17324         Cleanup activation code. Reset old state if
17325         activation failed.
17326
17327 2005-10-12  Wim Taymans  <wim@fluendo.com>
17328
17329         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17330         (gst_base_sink_change_state):
17331         No need to prerol after receiving EOS.
17332
17333         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17334         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17335         * gst/elements/gstidentity.c: (gst_identity_event):
17336         Print events more verbosely.
17337
17338 2005-10-12  Wim Taymans  <wim@fluendo.com>
17339
17340         * check/Makefile.am:
17341         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17342         * check/states/sinks2.c:
17343         Moved sinks2 testcode in sinks check.
17344
17345         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17346         (gst_bin_remove_func), (gst_bin_recalc_state),
17347         (gst_bin_change_state_func), (bin_bus_handler):
17348         Fix potential race condition when _get_state() iterated over an
17349         ASYNC element right before it posted a state completion.
17350
17351         * gst/gstclock.h:
17352         Do proper cast here.
17353
17354         * gst/gstevent.c: (gst_event_new_newsegment),
17355         (gst_event_parse_newsegment):
17356         A playback rate of 0.0 is not allowed.
17357
17358 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17359
17360         * win32/common/config.h:
17361         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17362         (_trewinddir), (_ttelldir), (_tseekdir):
17363         * win32/common/dirent.h:
17364         * win32/common/gtchar.h:
17365         * win32/common/libgstbase.def:
17366         * win32/common/libgstreamer.def:
17367         * win32/vs6/grammar.dsp:
17368         * win32/vs6/gst_inspect.dsp:
17369         * win32/vs6/gst_launch.dsp:
17370         * win32/vs6/gstreamer.dsw:
17371         * win32/vs6/libgstbase.dsp:
17372         * win32/vs6/libgstelements.dsp:
17373         * win32/vs6/libgstreamer.dsp:
17374           Visual Studio 6 project files, and a new common directory.
17375           Phear.
17376
17377 2005-10-11  Wim Taymans  <wim@fluendo.com>
17378
17379         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17380         (gst_base_sink_do_sync), (gst_base_sink_query),
17381         (gst_base_sink_change_state):
17382         * gst/base/gstbasesink.h:
17383         Correctly parse newsegment info.
17384
17385 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17386
17387         * gst/gst.c: (init_post):
17388           split plugin paths correctly
17389
17390 2005-10-11  Wim Taymans  <wim@fluendo.com>
17391
17392         * check/gst/gstevent.c: (GST_START_TEST):
17393         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17394         (gst_base_sink_change_state):
17395         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17396         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17397         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17398         * gst/gstevent.c: (gst_event_new_newsegment),
17399         (gst_event_parse_newsegment):
17400         * gst/gstevent.h:
17401         Added extra flag to newsegment for future API freeze.
17402         Updated check and base elements.
17403
17404 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17405
17406         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17407         (gst_collectpads_add_pad), (gst_collectpads_pop),
17408         (gst_collectpads_event), (gst_collectpads_chain):
17409         * gst/base/gstcollectpads.h: Handle EOS correctly.
17410
17411 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17412
17413         * tools/gst-launch.c: (main):
17414           more null protecting
17415
17416 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17417
17418         * gst/gst-i18n-lib.h:
17419           check for ENABLE_NLS, not GETTEXT_PACKAGE
17420         * gst/gstregistry.c: (gst_registry_add_plugin),
17421         (gst_registry_scan_path_level),
17422         (_gst_registry_remove_cache_plugins):
17423           protect possibly NULL strings
17424         * gst/parse/types.h:
17425           config.h already included before
17426         * tools/gst-inspect.c: (main):
17427           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17428           check for ENABLE_NLS, not GETTEXT_PACKAGE
17429         * tools/gst-launch.c: (main):
17430           check for ENABLE_NLS, not GETTEXT_PACKAGE
17431
17432 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17433
17434         * configure.ac:
17435           if we don't have glib, fail before testing 2.8
17436         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17437           fix a leak, should fix plugins-base testsuite
17438
17439 2005-10-11  Andy Wingo  <wingo@pobox.com>
17440
17441         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17442         take the mode we're going to as an arg. Go head and set the mode
17443         and flushing flags now, so that if the activate function starts a
17444         thread all the flags will be in the right state.
17445         (post_activate): Renamed also. Just handle making sure streaming
17446         finishes for the deactivation case, and setting the deactivated
17447         mode.
17448         (gst_pad_set_active): Complain loudly if deactivation fails.
17449         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17450         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17451         remove the terrible hack.
17452
17453 2005-10-11  Wim Taymans  <wim@fluendo.com>
17454
17455         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17456         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17457         (gst_bin_recalc_state), (gst_bin_change_state_func),
17458         (gst_bin_dispose), (bin_bus_handler):
17459         * gst/gstbin.h:
17460         Prepare to make current EOS message queue more generic.
17461         Fix some typos.
17462
17463         * gst/gstevent.c: (gst_event_new_newsegment),
17464         (gst_event_parse_newsegment):
17465         * gst/gstevent.h:
17466         Rename base to stream_time.
17467
17468         * gst/gstmessage.h:
17469         Fix typo in docs.
17470
17471 2005-10-11  Wim Taymans  <wim@fluendo.com>
17472
17473         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17474         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17475         (gst_bin_change_state_func), (bin_bus_handler):
17476         * gst/gstbin.h:
17477         Work on proper clock selection.
17478
17479 2005-10-11  Edward Hervey  <edward@fluendo.com>
17480
17481         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17482         * libs/gst/controller/gstcontroller.h:
17483         Added GList* version of _remove_properties() in order to be able to wrap
17484         it in bindings.
17485
17486 2005-10-11  Wim Taymans  <wim@fluendo.com>
17487
17488         * docs/design/part-states.txt:
17489         Some more docs.
17490
17491         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17492         (gst_bin_change_state_func), (bin_bus_handler):
17493         Doc updates. Don't distribute the same clock over and over again.
17494
17495         * gst/gstclock.c:
17496         * gst/gstclock.h:
17497         Doc updates.
17498
17499         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17500         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17501         (gst_pad_send_event):
17502         * gst/gstpad.h:
17503         Make probe emission threadsafe again.
17504         Register quarks and move _get_name() from utils.
17505         Doc updates.
17506
17507         * gst/gstpipeline.c: (gst_pipeline_class_init),
17508         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17509         Only redistribute the clock of it changed.
17510
17511         * gst/gstsystemclock.h:
17512         Doc updates. 
17513
17514         * gst/gstutils.c:
17515         * gst/gstutils.h:
17516         Moved the _flow_get_name() to GstPad.
17517
17518 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17519
17520         * check/gst-libs/gdp.c: (GST_START_TEST):
17521         * check/gst/gstcaps.c: (GST_START_TEST):
17522         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17523         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17524         (gst_dp_packet_from_caps):
17525           fix more valgrind warnings before turning up the heat
17526
17527 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17528
17529         * gst/parse/grammar.y:
17530           some cleanup before the hacking
17531
17532 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17533
17534         * gst/base/gstbasesrc.c: (gst_base_src_query):
17535           use conversions
17536         * gst/gstutils.c: (gst_guint64_to_gdouble),
17537         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17538         * gst/gstutils.h:
17539           externalize, basesrc uses it
17540           obviously the implementation needs testing
17541
17542 2005-10-10  Wim Taymans  <wim@fluendo.com>
17543
17544         * tests/sched/Makefile.am:
17545         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17546         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17547
17548 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17549
17550         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17551           apparently converting from guint64 to double is not implemented
17552           on MSVC
17553
17554 2005-10-10  Wim Taymans  <wim@fluendo.com>
17555
17556         * check/Makefile.am:
17557         * check/generic/states.c: (GST_START_TEST):
17558         * check/gst/gstbin.c: (GST_START_TEST):
17559         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17560         * check/states/sinks.c: (GST_START_TEST):
17561         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17562         (main):
17563         Check fixes, use API as stated in design docs, remove hacks.
17564
17565         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17566         (gst_base_sink_change_state):
17567         Catch stopping our task while we're shutting down.
17568
17569         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17570         (gst_bin_remove_func), (gst_bin_get_state_func),
17571         (gst_bin_recalc_state), (gst_bin_change_state_func),
17572         (bin_bus_handler):
17573         * gst/gstbin.h:
17574         * gst/gstelement.c: (gst_element_init),
17575         (gst_element_get_state_func), (gst_element_abort_state),
17576         (gst_element_commit_state), (gst_element_lost_state),
17577         (gst_element_set_state), (gst_element_change_state),
17578         (gst_element_change_state_func):
17579         * gst/gstelement.h:
17580         New state change algorithm (see #318116)
17581
17582         * gst/gstpipeline.c: (gst_pipeline_class_init),
17583         (gst_pipeline_init), (gst_pipeline_set_property),
17584         (gst_pipeline_get_property), (do_pipeline_seek),
17585         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17586         * gst/gstpipeline.h:
17587         Remove crude state change hacks.
17588
17589         * gst/gstutils.h:
17590         Remove crude hacks.
17591
17592         * tools/gst-launch.c: (main):
17593         Fixes for state change. Needs some more work to fully use the
17594         new stuff.
17595
17596 2005-10-10  Andy Wingo  <wingo@pobox.com>
17597
17598         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17599
17600         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17601         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17602         issue.
17603
17604 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17605
17606         * gst/gstiterator.c: (gst_iterator_new):
17607           Fix my previous commit: GTypes passed to gst_iterator_new()
17608           can be fundamental types.
17609
17610 2005-10-10  Wim Taymans  <wim@fluendo.com>
17611
17612         * gst/gstelement.c: (gst_element_iterate_pad_list),
17613         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17614         (gst_element_iterate_sink_pads):
17615         Use src/sink pads lists for the respective iterators instead
17616         of filtering.
17617
17618 2005-10-10  Andy Wingo  <wingo@pobox.com>
17619
17620         Merged in popt removal + GOption addition patch from Ronald, bug
17621         #169772.
17622
17623         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17624         GstElement macros around, remove popt-related symbols, add goption
17625         stuff.
17626
17627         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17628         
17629         * docs/gst/Makefile.am:
17630         * docs/libs/Makefile.am: No POPT_CFLAGS.
17631         
17632         * examples/manual/Makefile.am:
17633         * docs/manual/basics-init.xml: Doc updates with an example.
17634         
17635         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17636         (gst_init), (parse_one_option), (parse_goption_arg):
17637         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17638         bit of hand merging and debugging to get the GOption stuff working
17639         tho.
17640         
17641         * tests/Makefile.am:
17642         * tools/Makefile.am:
17643         * tools/gst-inspect.c: (main):
17644         * tools/gst-launch.c: (main):
17645         * tools/gst-run.c: (main):
17646         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17647
17648 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17649
17650         * gst/gstiterator.c: (gst_iterator_new):
17651           Add assertions to make sure passed GType is likely to really
17652           be a GType (as the compiler won't catch it if the size and
17653           GType arguments get mixed up, see #318447).
17654
17655 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17656
17657         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17658
17659         * gst/gstbin.c: (gst_bin_iterate_sorted):
17660           Pass GType and size arguments to gst_iterator_new() in the right
17661           order (maybe we should make _new() take the GType as first argument
17662           just like _new_list()?) (#318447).
17663           
17664
17665 2005-10-10  Wim Taymans  <wim@fluendo.com>
17666
17667         * gst/gstelement.c: (gst_element_finalize):
17668         And free the GStaticRecMutex too
17669
17670 2005-10-10  Andy Wingo  <wingo@pobox.com>
17671
17672         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17673         Allocate and free the mutex properly.
17674
17675         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17676         New macros.
17677         (GstElement): The state_lock is now recursive. Rebuild your
17678         plugins, suckers. Old macros adapted.
17679
17680         * docs/gst/gstreamer-sections.txt: Doc updates.
17681
17682         * gst/gstutils.h:
17683         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17684         (g_static_rec_cond_wait): Ported from state changes patch, while
17685         we wait on bug #317802 to be solved in a well-distributed GLib.
17686
17687         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17688         gst_element_change_state, variable name changes.
17689         (gst_element_change_state): Split out of gst_element_set_state in
17690         preparation for the state change merge. Doesn't pay attention to
17691         the 'transition' argument.
17692         (gst_element_set_state): Updates, hopefully purely cosmetic.
17693         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17694         state change patch.
17695         (gst_element_get_state_func): Renamed from get_state, cosmetic
17696         changes.
17697
17698 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17699
17700         * gst/elements/gstelements.c:
17701         * win32/GStreamer.vcproj:
17702         * win32/config.h:
17703         * win32/dirent.c: (_tseekdir):
17704         * win32/gst-inspect.vcproj:
17705         * win32/gst-launch.vcproj:
17706         * win32/gstconfig.h:
17707         * win32/gstelements.vcproj:
17708         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17709         * win32/gstreamer.def:
17710         * win32/msvc71.sln:
17711           updates for the win32 build (patch from Sebastien Moutte)
17712
17713 2005-10-10  Andy Wingo  <wingo@pobox.com>
17714
17715         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17716         gst_bin_get_state, cleaned up (but no logic changes).
17717         (bin_element_is_sink): Comment updates.
17718         (sink_iterator_filter): Remove needless cast.
17719         (gst_bin_iterate_sinks): Doc update.
17720         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17721         cleaned up (but no logic changes).
17722
17723         * check/states/sinks.c (test_src_sink): Cleanups from the state
17724         change patch.
17725         (test_livesrc_sink): Sync on the state.
17726
17727         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17728         the state change patch.
17729
17730         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17731         change patch.
17732
17733         * check/gst/gstbin.c: Merge in some style fixes and additional
17734         checks from Wim's state change patch.
17735
17736 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17737
17738         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17739         (gst_type_find_helper):
17740           Check whether we have the requested data already in our list of
17741           cached buffers before pulling a new buffer; also make the buffer
17742           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17743
17744 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17745
17746         * gst/gstcaps.c:
17747         * gst/gstevent.c:
17748           doc updates
17749         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17750           don't use long long, it's not portable.  Replacing with
17751           gint64 seems to work; let's hope no skeletons fall out of the closet.
17752
17753 2005-10-10  Andy Wingo  <wingo@pobox.com>
17754
17755         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17756
17757 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
17758
17759         * docs/gst/gstreamer-sections.txt:
17760         * gst/gstevent.c:
17761         * gst/gstevent.h:
17762         * gst/gstinfo.c:
17763         * gst/gstinfo.h:
17764         * gst/gstmessage.c: (gst_message_parse_state_changed):
17765         * gst/gstpad.c:
17766         * gst/gstpad.h:
17767           more docs, fix compilation
17768
17769 2005-10-09  Philippe Khalaf <burger@speedy.org>
17770         * gst/gstmessage.c:
17771           Fixed a few forgotten variables on previous commit
17772
17773 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
17774
17775         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17776           Fix evil typefind crasher: getrange() might return a short
17777           buffer at the end of a file, but gst_type_find_peek() must
17778           either return the full data as requested or NULL, but
17779           never a short buffer.
17780
17781 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17782
17783         * gst/gstmessage.c: (gst_message_new_state_changed),
17784         (gst_message_parse_state_changed):
17785         * gst/gstmessage.h:
17786           don't use "new", it's a C++ keyword
17787
17788 2005-10-08  Wim Taymans  <wim@fluendo.com>
17789
17790         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17791         * gst/gstelement.c: (gst_element_post_message):
17792         * gst/gstpipeline.c: (gst_pipeline_change_state):
17793         Small docs and debug updates.
17794
17795 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17796
17797         * docs/gst/gstreamer-sections.txt:
17798         * gst/gstelementfactory.c:
17799         * gst/gstevent.c:
17800         * gst/gsttaglist.c:
17801           more docs
17802
17803 2005-10-08  Wim Taymans  <wim@fluendo.com>
17804
17805         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17806         (gst_bin_dispose), (bin_bus_handler):
17807         Fix typos, add comments.
17808         Clear EOS list when going to PAUSED from any direction and do it
17809         in a threadsafe way.
17810         Get base time in a threadsafe way too.
17811         Fix confusing debug in the change_state function.
17812         Various other small cleanups.
17813         
17814         * gst/gstelement.c: (gst_element_post_message):
17815         Fix very verbose bus posting code.
17816
17817         * gst/gstpipeline.c: (gst_pipeline_class_init),
17818         (gst_pipeline_set_property), (gst_pipeline_get_property),
17819         (gst_pipeline_change_state):
17820         Small ARG_ -> PROP_ cleanup
17821
17822 2005-10-08  Wim Taymans  <wim@fluendo.com>
17823
17824         * gst/gstbin.c: (is_eos), (bin_bus_handler):
17825         Do a less CPU demanding EOS check because we can.
17826
17827 2005-10-08  Wim Taymans  <wim@fluendo.com>
17828
17829         * libs/gst/dataprotocol/dataprotocol.c:
17830         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17831         (gst_dp_packet_from_event):
17832         * libs/gst/dataprotocol/dataprotocol.h:
17833         * libs/gst/dataprotocol/dp-private.h:
17834         It's about time we bump the version number.
17835         Since event types don't fit in the guint8 anymore describing
17836         the payload type, make payload type 16 bits wide.
17837
17838 2005-10-08  Wim Taymans  <wim@fluendo.com>
17839
17840         * docs/design/part-TODO.txt:
17841         * docs/design/part-clocks.txt:
17842         * docs/design/part-events.txt:
17843         * docs/design/part-gstbin.txt:
17844         * docs/design/part-gstelement.txt:
17845         * docs/design/part-gstpipeline.txt:
17846         * docs/design/part-live-source.txt:
17847         * docs/design/part-messages.txt:
17848         * docs/design/part-overview.txt:
17849         * docs/design/part-states.txt:
17850         Many doc updates.
17851
17852 2005-10-08  Wim Taymans  <wim@fluendo.com>
17853
17854         * gst/gstevent.c:
17855         * gst/gstevent.h:
17856         Fix event quark registration.
17857         Add some space between events so we can insert them in the
17858         right groups.
17859
17860 2005-10-08  Wim Taymans  <wim@fluendo.com>
17861
17862         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17863         (gst_base_sink_handle_buffer):
17864         Better log message.
17865
17866         * gst/gstbus.h:
17867         * gst/gstelement.h:
17868         More docs.
17869
17870         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17871         (gst_queue_set_property), (gst_queue_get_property):
17872         * gst/gstqueue.h:
17873         Remove old unused properties.
17874
17875 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17876         * docs/gst/gstreamer-sections.txt:
17877         * gst/gstmessage.c:
17878         * gst/gstmessage.h:
17879         * gst/gstminiobject.c:
17880         * gst/gstminiobject.h:
17881         * gst/gstobject.h:
17882         * gst/gstpad.h:
17883         * gst/gstutils.h:
17884           lots of new docs and doc fixes
17885
17886 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17887
17888         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17889         * gst/gstplugin.h:
17890         * gst/gstregistry.c: (gst_registry_lookup_locked),
17891         (gst_registry_scan_path_level):
17892         * gst/gstregistryxml.c: (load_plugin):
17893           Only ever load one plugin for a given plugin basename.
17894           This ensures correct overriding of GST_PLUGIN_PATH over
17895           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17896           system installed plugins.
17897
17898 2005-10-08  Wim Taymans  <wim@fluendo.com>
17899
17900         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17901         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17902         Prepare for doing QOS.
17903
17904 2005-10-08  Wim Taymans  <wim@fluendo.com>
17905
17906         * check/gst/gstbin.c: (GST_START_TEST):
17907         * check/pipelines/cleanup.c: (GST_START_TEST):
17908         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17909         Allow new clock message too.
17910
17911 2005-10-08  Wim Taymans  <wim@fluendo.com>
17912
17913         * gst/gstmessage.c: (gst_message_new_error),
17914         (gst_message_new_warning), (gst_message_new_tag),
17915         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17916         (gst_message_new_clock_lost), (gst_message_new_new_clock),
17917         (gst_message_new_segment_start), (gst_message_new_segment_done),
17918         (gst_message_parse_state_changed),
17919         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17920         (gst_message_parse_new_clock):
17921         * gst/gstmessage.h:
17922         Also carry the clock in question.
17923
17924 2005-10-08  Wim Taymans  <wim@fluendo.com>
17925
17926         * gst/gstmessage.c: (gst_message_new_custom),
17927         (gst_message_new_eos), (gst_message_new_error),
17928         (gst_message_new_warning), (gst_message_new_tag),
17929         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17930         (gst_message_new_new_clock), (gst_message_new_segment_start),
17931         (gst_message_new_segment_done), (gst_message_parse_state_changed),
17932         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17933         * gst/gstmessage.h:
17934         Clean up.
17935         Added clock related messages.
17936
17937         * gst/gstpipeline.c: (gst_pipeline_change_state):
17938         Post message when the clock changed.
17939
17940         * tools/gst-launch.c: (event_loop):
17941         Print new clock.
17942
17943 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
17944
17945         * tools/gst-inspect.c: (print_element_properties_info):
17946           Can't pass NULL strings to g_print() on windows.
17947
17948 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17949
17950         * docs/Makefile.am:
17951         * docs/gst/Makefile.am:
17952         * docs/gst/gstreamer-docs.sgml:
17953         * docs/gst/running.xml:
17954         * docs/version.entities.in:
17955           add a chapter on running GStreamer.
17956           document GST_DEBUG and GST_PLUGIN* env vars
17957
17958 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17959
17960         * Makefile.am:
17961           remove include dir
17962         * configure.ac:
17963           remove PLUGINS_BUILDDIR stuff
17964         * gst/gst.c: (init_post):
17965           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17966         * idiottest.mak:
17967           remove, it was condescending and not needed
17968
17969 2005-10-08  Wim Taymans  <wim@fluendo.com>
17970
17971         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17972         (gst_base_sink_handle_object), (gst_base_sink_event),
17973         (gst_base_sink_wait), (gst_base_sink_handle_event),
17974         (gst_base_sink_change_state):
17975         * gst/base/gstbasesink.h:
17976         Repost EOS message while going to PLAYING if still EOS.
17977         Make sure that when receiving a FLUSH_START we don't attempt
17978         to sync on the clock anymore.
17979
17980 2005-10-08  Wim Taymans  <wim@fluendo.com>
17981
17982         * tools/gst-launch.c: (event_loop):
17983         Better message printout.
17984
17985 2005-10-08  Wim Taymans  <wim@fluendo.com>
17986
17987         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17988         (gst_bin_child_proxy_get_children_count):
17989         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17990         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17991         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17992         (gst_child_proxy_set_valist):
17993         * gst/parse/grammar.y:
17994         Make ChildProxy threadsafe and fix mem leaks.
17995
17996 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17997
17998         * gst/gst.c: (init_post):
17999           debug the GST_PLUGIN_ env vars
18000
18001 2005-10-08  Wim Taymans  <wim@fluendo.com>
18002
18003         * check/gst/gstbin.c: (GST_START_TEST):
18004         * check/gst/gstmessage.c: (GST_START_TEST):
18005         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18006         * gst/gstelement.c: (gst_element_commit_state),
18007         (gst_element_lost_state):
18008         * gst/gstmessage.c: (gst_message_new_state_changed),
18009         (gst_message_parse_state_changed):
18010         * gst/gstmessage.h:
18011         * tools/gst-launch.c: (event_loop):
18012         Added extra field to STATE_CHANGE message with the pending
18013         state, which will be different from the new state soon.
18014
18015 2005-10-08  Wim Taymans  <wim@fluendo.com>
18016
18017         * gst/gstbus.c: (gst_bus_pop):
18018         * gst/gstclock.c:
18019         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18020         Small cleanups and doc updates.
18021
18022 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18023
18024         * gst/gst.c: (init_pre):
18025         * gst/gstbin.c: (gst_bin_add_func):
18026           log distributing clocks and base time
18027         * gst/gstregistry.c: (gst_registry_add_plugin),
18028         (gst_registry_scan_path_level), (gst_registry_scan_path):
18029           clean up the debugging output a little
18030         * gst/gstutils.c: (gst_element_state_get_name):
18031           warn about a memleak (I've actually seen this be used, though
18032           it was probably a bug)
18033
18034 2005-10-07  Wim Taymans  <wim@fluendo.com>
18035
18036         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18037         (gst_base_src_init), (gst_base_src_default_newsegment),
18038         (gst_base_src_newsegment), (gst_base_src_do_seek),
18039         (gst_base_src_loop), (gst_base_src_start):
18040         * gst/base/gstbasesrc.h:
18041         Make the newsegment event customizable by subclasses.
18042
18043 2005-10-07  Wim Taymans  <wim@fluendo.com>
18044
18045         * gst/gstevent.c: (gst_event_new_buffersize),
18046         (gst_event_parse_buffersize):
18047         * gst/gstevent.h:
18048         New event for future idea.
18049
18050 2005-10-07  Andy Wingo  <wingo@pobox.com>
18051
18052         * gst/gstelement.c (gst_element_post_message): Doc update.
18053
18054         * docs/gst/gstreamer-sections.txt: Update.
18055
18056         * gst/gstmessage.c (gst_message_new_application): Made into a
18057         function like honest API calls.
18058         (gst_message_new_element): New message type.
18059
18060         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18061
18062         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18063         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18064         times.
18065
18066         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18067         NO_PREROLL from gst_element_change_state to fall through.
18068
18069 2005-10-07  Wim Taymans  <wim@fluendo.com>
18070
18071         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18072         (gst_ghost_pad_do_activate_push):
18073         Activating a ghostpad with no internal pad in push mode
18074         is ok.
18075
18076 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18077
18078         * gst/gstobject.h:
18079           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18080           Fixes compilation on Windows.
18081
18082 2005-10-07  Michael Smith <msmith@fluendo.com>
18083
18084         * tools/gst-inspect.c:
18085           Print out feature and plugin count at the end when printing out
18086           all features.
18087
18088 2005-10-04  Michael Smith <msmith@fluendo.com>
18089
18090         * gst/gsterror.c: (_gst_stream_errors_init):
18091           Add another error string used in a few existing plugins.
18092
18093         * gst/gstplugin.c:
18094         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18095         * tools/gst-inspect.c: (print_element_info):
18096           When a feature disappears from a plugin (and the feature exists in
18097           the cached registry file), things went horribly wrong. This isn't a
18098           complete fix, we should actually be removing the 'missing' features
18099           from the features list when we load the actual plugin. That's not
18100           yet implemented. 
18101
18102 2005-10-04  Johan Dahlin  <johan@gnome.org>
18103
18104         * check/gst/gstiterator.c: (GST_START_TEST):
18105         * gst/gstbin.c: (gst_bin_iterate_elements),
18106         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18107         * gst/gstelement.c: (gst_element_iterate_pads):
18108         * gst/gstformat.c: (gst_format_iterate_definitions):
18109         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18110         (gst_iterator_new_list), (gst_iterator_filter):
18111         * gst/gstiterator.h:
18112         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18113         Add a GType to GstIterator, update callsites and tests.
18114
18115 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18116
18117         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18118           give events a chance to be handled by event probes when the pad
18119           is not linked
18120
18121 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18122
18123         * gst/gstevent.c: (gst_event_type_get_name),
18124         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18125         * gst/gstevent.h:
18126           add string representations for event types
18127
18128 2005-10-06  Wim Taymans  <wim@fluendo.com>
18129
18130         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18131         Don't use NULL pointers.
18132
18133 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18134
18135         * gst/gst_private.h:
18136         * gst/gstbus.c:
18137         * gst/gstelement.c:
18138         * gst/gstinfo.c:
18139         * gst/gstpluginfeature.c:
18140           widen the debug category in output to fit the biggest one we have
18141           add a bus category and use it
18142           play with the colors
18143           fix up some categories
18144
18145 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18146
18147         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18148           add push activation of sink ghost pads.
18149           Andye, please verify
18150
18151 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18152
18153         * gst/gstutils.c: (gst_element_link_pads):
18154           fix a bug in the case where neither element has a pad
18155         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18156           add a test for that case
18157
18158 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18159
18160         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18161           emit have-data before checking for peers.  This allows
18162           for probe handlers to connect elements.  This helps autopluggers.
18163         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18164         (gst_pad_suite):
18165           add six checks, linked/unlinked with no/true/false probe
18166
18167 2005-10-04  Wim Taymans  <wim@fluendo.com>
18168
18169         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18170         (gst_fake_sink_event), (gst_fake_sink_preroll),
18171         (gst_fake_sink_render), (gst_fake_sink_change_state):
18172         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18173         (gst_fake_src_get_property), (gst_fake_src_create),
18174         (gst_fake_src_stop):
18175         * gst/elements/gstidentity.c: (gst_identity_stop):
18176         Protect last_message with lock.
18177
18178 2005-10-04  Edward Hervey  <edward@fluendo.com>
18179
18180         * gst/gstformat.h: 
18181         Added precision in the comments for GST_FORMAT_DEFAULT
18182
18183 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18184
18185         * tools/gst-launch.c: (main):
18186           Don't try to run erroneous pipelines.
18187
18188 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18189
18190         * gst/gstbus.c: We don't need this header.
18191
18192 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18193
18194         * configure.ac:
18195           back to development
18196
18197 === release 0.9.3 ===
18198
18199 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18200
18201         * README:
18202         * configure.ac:
18203           Releasing 0.9.3, "Unregistered"
18204
18205 2005-10-03  Andy Wingo  <wingo@pobox.com>
18206
18207         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18208         whereby calling a pad's activatepush() function can start a thread
18209         that starts to push or pull before the pad gets the FLUSHING flag
18210         unset. Hack around it by holding the stream lock until the flag is
18211         set. Need to replace this with a proper solution. Together with
18212         the ghost pad fixes, this fixes mp3 playing/tagreading.
18213
18214         * docs/design/part-gstghostpad.txt: Add a note about activation of
18215         proxy pads outside of ghost pads.
18216
18217         * gst/gstghostpad.c: Implement the ghost pad activation design.
18218
18219 2005-10-02  Andy Wingo  <wingo@pobox.com>
18220
18221         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18222         It is volatile, after all.
18223
18224         * docs/design/part-gstghostpad.txt: Flesh out activation with
18225         ghost pads.
18226
18227         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18228         GST_DEBUG_FUNCPTR.
18229
18230 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18231
18232         * configure.ac:
18233           Fix (unused) AM_CONDITIONAL tests.
18234
18235 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18236
18237         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18238
18239         * gst/gstutils.c: (gst_pad_query_convert):
18240           Add assertion that makes sure src_val is >=0, just like
18241           gst_query_new_convert() has. (#315895)
18242
18243 2005-09-30  Edward Hervey  <edward@fluendo.com>
18244
18245         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18246         Let's not iterate pads we're not interested in, it avoids getting 
18247         sky-high refcounts on sinkpad.
18248
18249 2005-09-30  Wim Taymans  <wim@fluendo.com>
18250
18251         * gst/gstelement.c: (gst_element_set_state),
18252         (gst_element_change_state):
18253         Small tweak, element in ASYNC remains ASYNC.
18254
18255 2005-09-30  Wim Taymans  <wim@fluendo.com>
18256
18257         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18258         Only error is an error.
18259
18260         * gst/gstbin.c: (gst_bin_change_state):
18261         Better debugging.
18262
18263         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18264         Also call pad_block in pad alloc.
18265
18266         * gst/gstutils.c: (gst_flow_get_name):
18267         Better debugging.
18268
18269 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18270
18271         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18272         (gst_base_src_get_range):
18273           Fix documentation typos. Add some more debug info.
18274
18275 2005-09-29  David Schleef  <ds@schleef.org>
18276
18277         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18278           more end-user friendly.
18279         * tools/gst-inspect.c: (main): Check if command-line argument is
18280           a file and attempt to load that file as a plugin.
18281
18282 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18283
18284         * check/gst/gstbin.c:
18285         * check/states/sinks.c:
18286           fix tests for the new warning
18287         * check/gst/gstpipeline.c:
18288           add a test for pipeline and bus interaction
18289         * gst/gstelement.c:
18290           elements should be NULL if they get disposed; add a warning if not
18291
18292 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18293
18294         * gst/gstobject.c:
18295           for 2.6 refcounting, make debug log more correct by printing
18296           the actual refcounts at the time of swap (Wim)
18297
18298 2005-09-29  Andy Wingo  <wingo@pobox.com>
18299
18300         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18301         removes signal watches previously added via
18302         gst_bus_add_signal_watch.
18303         (gst_bus_add_signal_watch): Don't return the source id, just store
18304         it on the bus if there wasn't an id already.
18305
18306         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18307         add_signal_watch and remove_signal_watch.
18308
18309 2005-09-29  Edward Hervey  <edward@fluendo.com>
18310
18311         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18312         Better if we actually iterate the list :)
18313
18314 2005-09-29  Wim Taymans  <wim@fluendo.com>
18315
18316         * check/gst/gstbin.c: (GST_START_TEST):
18317         Change for new bus API.
18318
18319         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18320         (send_messages), (GST_START_TEST), (gstbus_suite):
18321         Change for new bus signal API.
18322
18323         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18324         (gst_bus_source_prepare), (gst_bus_source_check),
18325         (gst_bus_create_watch), (gst_bus_add_watch_full),
18326         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18327         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18328         * gst/gstbus.h:
18329         Remove support for multiple GSources operating on different
18330         message types as it is too complex and unneeded when using
18331         signals.
18332         Added support for receiving signals from the bus.
18333
18334 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18335
18336         * docs/libs/tmpl/gstdataprotocol.sgml:
18337         * docs/manual/advanced-dataaccess.xml:
18338         * gst/elements/gstcapsfilter.c:
18339         * gst/gstutils.c:
18340           rename filter-caps to caps property
18341
18342 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18343
18344         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18345           More robust fraction string parsing.
18346
18347         * docs/pwg/appendix-porting.xml:
18348           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18349
18350 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18351
18352         * gst/gstcaps.c: (gst_caps_do_simplify):
18353           Thou shalt not free a structure and then continue using it
18354           in the next loop iteration.
18355
18356         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18357         (gst_caps_suite):
18358           Add test case for caps simplification.
18359
18360 2005-09-29  Wim Taymans  <wim@fluendo.com>
18361
18362         * check/gst/gstbin.c: (GST_START_TEST):
18363         Oops.
18364
18365 2005-09-29  Wim Taymans  <wim@fluendo.com>
18366
18367         * check/gst/gstbin.c: (GST_START_TEST):
18368         Add bus to bin.
18369
18370         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18371         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18372         (find_element), (gst_bin_sort_iterator_next),
18373         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18374         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18375         (gst_bin_change_state), (gst_bin_dispose):
18376         A bin does not have a bus, it gets the bus from the parent.
18377
18378         * gst/gstelement.c: (gst_element_requires_clock),
18379         (gst_element_provides_clock), (gst_element_is_indexable),
18380         (gst_element_is_locked_state), (gst_element_change_state),
18381         (gst_element_set_bus_func):
18382         Small cleanups.
18383
18384         * gst/gstpipeline.c: (gst_pipeline_class_init),
18385         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18386         The pipeline provides a bus.
18387
18388 2005-09-28  Johan Dahlin  <johan@gnome.org>
18389
18390         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18391         gst_structure_get_enum instead of gst_structure_get_int
18392
18393         * gst/gststructure.c (gst_structure_get_enum): Impl.
18394
18395         * gst/gststructure.h (gst_structure_get_enum): Add
18396
18397         * docs/gst/gstreamer-sections.txt: Ditto
18398
18399         * gst/gstmessage.c (gst_message_new_state_changed): Use
18400         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18401         which does introspection.
18402         Reviewed by Christian Schaller
18403
18404 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18405
18406         * gst/gstinfo.c: (gst_debug_log_default):
18407           don't do dummy g_strdup()s
18408         * libs/gst/controller/gstcontroller.c:
18409         (on_object_controlled_property_changed),
18410         (gst_controlled_property_new), (gst_controller_new_valist),
18411         (gst_controller_new_list),
18412         (gst_controller_remove_properties_valist), (gst_controller_set),
18413         (gst_controller_get), (gst_controller_sync_values),
18414         (gst_controller_get_value_array), (_gst_controller_class_init),
18415         (gst_controller_get_type):
18416         * libs/gst/controller/gstcontroller.h:
18417         * libs/gst/controller/gstinterpolation.c:
18418         (gst_controlled_property_find_timed_value_node):
18419           convert // to /**/ comments
18420
18421 2005-09-28  Wim Taymans  <wim@fluendo.com>
18422
18423         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18424         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18425         (gst_bus_sync_signal_handler):
18426         * gst/gstbus.h:
18427         Added async-message and sync-message signals to the bus.
18428         Added helper BusFunc to emit signals for all posted messages.
18429
18430         * gst/gstmessage.c: (gst_message_type_get_name),
18431         (gst_message_type_to_quark), (gst_message_get_type):
18432         * gst/gstmessage.h:
18433         Register quarks for message names.
18434
18435 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18436
18437         * docs/libs/gstreamer-libs-sections.txt:
18438         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18439         (gst_controller_new_list):
18440         * libs/gst/controller/gstcontroller.h:
18441           added another constructor for language bindings
18442
18443 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18444
18445         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18446           add another check
18447         * gst/gstbus.c:
18448           add some doc
18449         * gst/gstinfo.c: (_gst_debug_init):
18450           slightly more readable color for refcount debugging
18451
18452 2005-09-28  Wim Taymans  <wim@fluendo.com>
18453
18454         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18455         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18456         (find_element), (gst_bin_sort_iterator_next),
18457         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18458         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18459         (gst_bin_change_state), (gst_bin_dispose):
18460         Small doc fixes. get_clock -> provide_clock.
18461
18462         * gst/gstelement.c: (gst_element_class_init),
18463         (gst_element_provides_clock), (gst_element_provide_clock),
18464         (gst_element_get_clock), (gst_element_commit_state),
18465         (gst_element_lost_state):
18466         * gst/gstelement.h:
18467         Make get/set_clock() symetric. Add provide_clock vmethod since
18468         that is actually what this function does.
18469
18470         * gst/gstpipeline.c: (gst_pipeline_class_init),
18471         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18472         (gst_pipeline_get_clock):
18473         get_clock -> provide_clock.
18474
18475 2005-09-28  Andy Wingo  <wingo@pobox.com>
18476
18477         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18478         lieu of real docs...
18479
18480         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18481
18482 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18483
18484         * gst/elements/gstcapsfilter.c:
18485         * gst/elements/gstfakesink.c:
18486         * gst/elements/gstfakesrc.c:
18487         * gst/elements/gstfdsink.c:
18488         * gst/elements/gstfdsrc.c:
18489         * gst/elements/gstfilesink.c:
18490         * gst/elements/gstfilesrc.c:
18491         * gst/elements/gstidentity.c:
18492         * gst/elements/gsttee.c:
18493         * gst/elements/gsttypefindelement.c:
18494           Make element details static.
18495
18496 2005-09-28  Wim Taymans  <wim@fluendo.com>
18497
18498         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18499         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18500         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18501         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18502         (gst_bin_change_state), (gst_bin_dispose):
18503         Some documentation updates.
18504         Clean up dispose handlers.
18505
18506         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18507         * gst/gstpad.c: (gst_pad_dispose):
18508         Clean up dispose handler.
18509
18510         * gst/gstpipeline.c: (gst_pipeline_change_state):
18511         Removed spurious UNLOCK.
18512
18513 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18514
18515         * docs/gst/gstreamer-sections.txt:
18516         * gst/base/gstbasesrc.h:
18517         * gst/gstelement.h:
18518         * gst/gstevent.h:
18519         * gst/gstobject.h:
18520         * gst/gstpad.h:
18521         * gst/gstpipeline.c:
18522         * gst/gstpipeline.h:
18523         * gst/gstutils.h:
18524         * gst/gstxml.h:
18525           added two new functions to the docs
18526                 documents all undocumented GstXXXFlags
18527                 completed some incomplete docs 
18528
18529 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18530
18531         * gst/gstbin.c: (gst_bin_dispose):
18532         * gst/gstelement.c: (gst_element_dispose):
18533           remove now useless and leaky resurrection code in dispose
18534         * gst/base/gstbasesrc.c: (gst_base_src_init):
18535         * gst/gstelementfactory.c: (gst_element_factory_create):
18536         * gst/gstobject.c: (gst_object_set_parent):
18537           add some debugging
18538
18539 2005-09-27  Wim Taymans  <wim@fluendo.com>
18540
18541         * docs/design/part-TODO.txt:
18542         Update TODO.
18543
18544         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18545         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18546         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18547         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18548         (gst_bin_change_state):
18549         * gst/gstelement.h:
18550         Remove element variable, we keep element info in the iterator now.
18551
18552 2005-09-27  Andy Wingo  <wingo@pobox.com>
18553
18554         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18555         values.
18556
18557 2005-09-27  Wim Taymans  <wim@fluendo.com>
18558
18559         * check/gst/gstbin.c: (GST_START_TEST):
18560         Enable check that works now.
18561
18562         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18563         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18564         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18565         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18566         (gst_bin_change_state):
18567         * gst/gstbin.h:
18568         Redid the state change algorithm using a topological sort algo.
18569         Handles all cases correctly.
18570         Exposed iterator for state change order.
18571
18572         * gst/gstelement.h:
18573         Temp storage for state changes. Need to get rid of this soon.
18574
18575 2005-09-27  Wim Taymans  <wim@fluendo.com>
18576
18577         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18578         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18579         (link_fold_func), (gst_pad_proxy_setcaps):
18580         Leak fixes, the fold functions need to unref the passed object and
18581         _get_parent_*() returns ref to parent.
18582
18583 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18584
18585         * check/gst/gstbuffer.c: (test_make_writable):
18586           Plug leak in test case and fix 'make check-valgrind'
18587
18588 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18589
18590         * gst/gstbuffer.c: (gst_subbuffer_init):
18591           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18592           works correctly in all circumstances (we could have just copied
18593           the parent buffer's readonly flag, but conceptually it seems
18594           cleaner to mark all subbuffers as read-only). (based on patch
18595           by Alessandro Decina, #314710).
18596         
18597         * check/gst/gstbuffer.c: (create_read_only_buffer),
18598         (test_make_writable), (test_subbuffer_make_writable),
18599         (gst_test_suite):
18600           Add some tests for gst_buffer_make_writable().
18601
18602 2005-09-27  Wim Taymans  <wim@fluendo.com>
18603
18604         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18605         use gst_object_has_ancestor().
18606
18607         * gst/gstobject.c: (gst_object_has_ancestor):
18608         * gst/gstobject.h:
18609         gst_object_has_ancestor() copied from gstbin.c as it is a
18610         useful function.
18611
18612         * tests/instantiate/create.c: (create_all_elements):
18613         * tests/lat.c: (handoff_src), (handoff_sink):
18614         * tests/sched/runxml.c: (main):
18615         * tests/seeking/seeking1.c: (main):
18616         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18617         (main):
18618         Fix compilation of some tests.
18619
18620 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18621
18622         * gst/gsterror.h:
18623           Remove comment. GST_TYPE_G_ERROR is here to stay,
18624           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18625           (#316961, #300610).
18626
18627 2005-09-26  Wim Taymans  <wim@fluendo.com>
18628
18629         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18630         Added check that shows error in state change order.
18631
18632 2005-09-26  Wim Taymans  <wim@fluendo.com>
18633
18634         * gst/gstbin.c: (gst_bin_change_state):
18635         Make state change function use 3 queues again, we were
18636         adding elements in the wrong order.
18637
18638         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18639         Some debug info,
18640
18641         * gst/gstpad.c: (gst_pad_dispose):
18642         Added some debug info first.
18643
18644 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18645
18646         * docs/design/draft-push-pull.txt:
18647         * docs/design/part-events.txt:
18648         * docs/design/part-overview.txt:
18649         * docs/design/part-scheduling.txt:
18650           Replace all _pull_region() with _pull_range()
18651           
18652 2005-09-26  Andy Wingo  <wingo@pobox.com>
18653
18654         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18655
18656         * check/gst-libs/controller.c: Update for controller api change.
18657
18658         * configure.ac: 
18659         * tests/Makefile.am:
18660         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18661         over by GLib bug 118439.
18662         
18663         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18664         routines to a function.
18665
18666         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18667
18668         * libs/gst/controller/gsthelper.c:
18669         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18670         (gst_object_sync_values): Renamed from sink_values. Ugh.
18671
18672         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18673
18674         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18675         Renamed from controller_key, as it is exported.
18676
18677         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18678
18679 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18680
18681         * gst/Makefile.am:
18682         * gst/gst.h:
18683         * gst/gstpad.h:
18684         * gst/gstpadtemplate.h:
18685         * gst/gstquery.c:
18686         * gst/gstquery.h:
18687         * gst/gstqueryutils.c:
18688         * gst/gstqueryutils.h:
18689           remove queryutils headers after moving the two used functions
18690           to gstquery.  also fixes build problem for gstsiddec
18691
18692 2005-09-26  Michael Smith <msmith@fluendo.com>
18693
18694         * tools/gst-launch.1.in:
18695         Correct documentation in manpage of debug syntax
18696
18697 2005-09-26  Wim Taymans  <wim@fluendo.com>
18698
18699         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18700         (gst_base_src_is_seekable), (gst_base_src_change_state):
18701         Some more debugging info.
18702
18703 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18704
18705         * docs/gst/gstreamer-sections.txt:
18706         * gst/base/gstbasetransform.h:
18707         * gst/gstindex.h:
18708           added more docs
18709
18710 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18711
18712         * docs/gst/.cvsignore:
18713         * docs/gst/tmpl/.cvsignore:
18714         * docs/gst/tmpl/gstpipeline.sgml:
18715         * docs/gst/tmpl/gstplugin.sgml:
18716         * gst/gstpipeline.c:
18717         * gst/gstplugin.c:
18718         * gst/gstplugin.h:
18719           inlined the last two docs files
18720           removed the tmpl directory from cvs (no more conflicts here!)
18721
18722 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18723
18724         * docs/gst/gstreamer-sections.txt:
18725         * docs/gst/tmpl/.cvsignore:
18726         * docs/gst/tmpl/gstpad.sgml:
18727         * docs/gst/tmpl/gstpadtemplate.sgml:
18728         * gst/Makefile.am:
18729         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18730         (gst_pad_finalize), (gst_pad_set_pad_template):
18731         * gst/gstpad.h:
18732         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18733         (gst_pad_template_class_init), (gst_pad_template_init),
18734         (gst_pad_template_dispose), (name_is_valid),
18735         (gst_static_pad_template_get), (gst_pad_template_new),
18736         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18737         (gst_pad_template_pad_created):
18738         * gst/gstpadtemplate.h:
18739           inlined two more docs
18740           factored gstpadtemplate out of gstpad
18741
18742 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
18743
18744         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18745         (test_children_state_change_order_semi_sink):
18746           Fix test case: we can't rely on a fixed state change order when
18747           going from READY => PAUSED because the sink might commit its 
18748           new state first when the first buffer created by the source 
18749           reaches the sink before the source has finished its change state.
18750           (Test case still fails at times, see #316856, comment 5 onwards)
18751
18752 2005-09-24  Wim Taymans  <wim@fluendo.com>
18753
18754         * docs/design/part-events.txt:
18755         * docs/design/part-gstbus.txt:
18756         * docs/design/part-gstpipeline.txt:
18757         * docs/design/part-messages.txt:
18758         * docs/design/part-overview.txt:
18759         * docs/design/part-segments.txt:
18760         * gst/gstbin.c:
18761         * gst/gstbuffer.c:
18762         * gst/gstclock.c:
18763         * gst/gstelement.c:
18764         * gst/gstevent.c:
18765         * gst/gstfilter.c:
18766         * gst/gstiterator.c:
18767         Various documentation updates.
18768
18769 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18770
18771         * gst/gstclock.h:
18772           Well, that's embarassing.  Luckily we weren't using
18773           GST_CLOCK_DIFF anywhere.
18774
18775 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18776
18777         * common/gtk-doc.mak:
18778           don't fail on building XML, FC4 slave shows a bunch of doc
18779           missing bits that I don't get
18780         * gst/gstpad.c:
18781         * gst/gstpipeline.c:
18782         * gst/gststructure.c:
18783           some doc updates
18784
18785 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18786
18787         * docs/design/part-gstbin.txt:
18788         * docs/design/part-gstbus.txt:
18789         * gst/gstbus.c:
18790           Add blurb about how the bus goes into flushing mode and
18791           drops all messages when its bin goes from READY into NULL 
18792           state.
18793
18794 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18795
18796         * docs/gst/gstreamer-sections.txt:
18797         * gst/gststructure.c: (gst_structure_get_clock_time):
18798         * gst/gststructure.h:
18799           add a method to get a GstClockTime out of a structure
18800
18801 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18802
18803         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18804         (test_children_state_change_order_semi_sink), (gst_bin_suite):
18805           Added test to check state change order in bins (can still be made
18806           to fail here under heavy disk load; bails out with 'Push on pad
18807           fakesink:sink0, but it was not activated in push mode').
18808
18809         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18810           Fix state change order when there is only a semi sink (#316856)
18811
18812         * gst/gstbus.c: (gst_bus_class_init):
18813           Use _class_peek_parent(), not _class_ref(); fix docs to say
18814           'default main context' instead of 'mainloop' where that is
18815           what's meant.
18816
18817         * gst/gstelement.c: (gst_element_commit_state),
18818         (gst_element_set_state):
18819           Fix typos in debug messages
18820
18821 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18822
18823         * docs/README:
18824         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18825         * gst/gstpluginfeature.c:
18826         * gst/gstutils.c:
18827           various doc updates
18828         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18829           change an assert into an error until it gets fixed properly
18830
18831 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
18832
18833         * docs/gst/gstreamer-sections.txt:
18834         * docs/gst/tmpl/.cvsignore:
18835         * docs/gst/tmpl/gstelement.sgml:
18836         * docs/gst/tmpl/gstinfo.sgml:
18837         * docs/gst/tmpl/gstobject.sgml:
18838         * gst/gstelement.c:
18839         * gst/gstelement.h:
18840         * gst/gstinfo.c:
18841         * gst/gstinfo.h:
18842         * gst/gstobject.c: (gst_object_class_init):
18843         * gst/gstobject.h:
18844           inlined 3 more biiiig doc files and added some missing docs on the fly
18845
18846 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18847
18848         * check/gst/.cvsignore:
18849         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18850         * gst/gstregistryxml.c: (load_plugin),
18851         (gst_registry_xml_save_plugin):
18852           put back source in registry.  add checks for find_plugin.
18853         * testsuite/states/bin.c: (assert_state), (empty_bin),
18854         (test_adding_one_element), (main):
18855         * testsuite/states/locked.c: (main):
18856           some compile/run fixes
18857
18858 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18859
18860         * check/gst/gstvalue.c: (GST_START_TEST):
18861           fix leaks in the test itself
18862
18863 2005-09-22  Wim Taymans  <wim@fluendo.com>
18864
18865         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18866         (gst_base_sink_send_event), (gst_base_sink_peer_query),
18867         (gst_base_sink_query):
18868         Prepare for more accurate position reporting and query
18869         handling.
18870
18871         * gst/gstelement.c: (gst_element_send_event),
18872         (gst_element_set_state):
18873         Add some comment.
18874
18875 2005-09-22  Wim Taymans  <wim@fluendo.com>
18876
18877         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18878         (gst_query_parse_segment):
18879         * gst/gstquery.h:
18880         More documentation.
18881         Add segment query for future use.
18882
18883 2005-09-22  Wim Taymans  <wim@fluendo.com>
18884
18885         * gst/gstbin.c: (gst_bin_add_func):
18886         Some more debug info.
18887
18888         * gst/gstelement.c: (gst_element_send_event):
18889         Simplify send_event
18890
18891         * gst/gstelement.h:
18892         Don't know how flags got broken.
18893
18894         * gst/gstquery.h:
18895         Added new query.
18896
18897 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18898
18899         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18900           Add simplistic test suite for GST_TYPE_DATE serialisation and
18901           deserialisation.
18902
18903 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18904
18905         * docs/gst/gstreamer-sections.txt:
18906         * gst/gststructure.c: (gst_structure_set_valist),
18907         (gst_structure_get_date):
18908         * gst/gststructure.h:
18909         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18910         (gst_date_copy), (gst_value_compare_date),
18911         (gst_value_serialize_date), (gst_value_deserialize_date),
18912         (gst_value_transform_date_string),
18913         (gst_value_transform_string_date), (_gst_value_initialize):
18914         * gst/gstvalue.h:
18915           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18916           bunch of utility functions along with a hack that checks that
18917           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18918           is required. Part of the grand scheme in #170777.
18919
18920 2005-09-22  Andy Wingo  <wingo@pobox.com>
18921
18922         * gst/gstconfig.h.in: Psych out gtk-doc.
18923
18924         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18925
18926         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18927
18928         * tools/gst-inspect.c (print_element_list): Plug some
18929         inconsequential leaks.
18930
18931         * gst/gstregistry.c (gst_registry_get_default): Doc.
18932
18933         * check/gst/gstplugin.c: 
18934         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18935         * gst/gstelementfactory.c (gst_element_factory_create): 
18936         * gst/gstindexfactory.c (gst_index_factory_create): Update for
18937         refcount changes.
18938
18939         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18940         (gst_plugin_feature_load): Doc, don't eat refs.
18941
18942         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18943         (gst_plugin_list_free): Doc.
18944         (gst_plugin_load_file): Doc updates.
18945
18946         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18947         accessors returning refcounted objects, return a ref.
18948
18949         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18950         accessor for caps. IDEMPOTENCE. Oh yes.
18951
18952 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
18953
18954         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18955
18956         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18957         (_gst_debug_register_funcptr):
18958           Add mutex to serialise access to the hash table with
18959           the function pointer => function name string mapping;
18960           make that hash table static scope (#316809).
18961
18962         * gst/registries/.cvsignore:
18963           Remove left-over file.
18964
18965 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18966
18967         * docs/pwg/appendix-porting.xml:
18968           And something about newsegment events and caps-on-buffers to
18969           the porting guide (feel free to improve).
18970
18971 2005-09-21  Andy Wingo  <wingo@pobox.com>
18972
18973         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18974         data and event probes on the same pad.
18975         (test_buffer_probe_once): Test that removing probes from within
18976         the probe functions works.
18977
18978 2005-09-21  Andy Wingo  <wingo@pobox.com>
18979
18980         * check/gst/gstutils.c: New file.
18981         (test_buffer_probe_n_times): A simple buffer probe test. More to
18982         come, foolios.
18983
18984         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18985         have-data::buffer, not have-data.
18986         (gst_pad_add_event_probe): Likewise for have-data::event.
18987         (gst_pad_add_data_probe): More docs. The part about 'resolving the
18988         peer' isn't quite right yet though.
18989         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
18990         (gst_pad_remove_data_probe): Change to take the guint handler_id
18991         as their arg, not the function+data, which is more glib-like.
18992
18993         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18994         the signal emission to indicate if the data is a buffer or an
18995         event.
18996         (gst_pad_get_type): Initialize buffer and event quarks.
18997         (gst_pad_class_init): have-data is now a detailed signal, yes it
18998         is.
18999
19000 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19001
19002         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19003         * gst/gstutils.c: (gst_util_set_value_from_string),
19004         (gst_util_set_object_arg):
19005           Don't put functional code in g_return_if_fail() or
19006           g_return_val_if_fail() statements, otherwise things will 
19007           break when G_DISABLE_CHECKS is defined during compilation.
19008
19009 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19010
19011         * docs/gst/tmpl/.cvsignore:
19012         * docs/gst/tmpl/gstvalue.sgml:
19013         * gst/gstvalue.c:
19014         * gst/gstvalue.h:
19015           inlied another one and added  some obvious docs
19016
19017 2005-09-21  Wim Taymans  <wim@fluendo.com>
19018
19019         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19020         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19021         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19022         (gst_fdsrc_get_property), (gst_fdsrc_create):
19023         * gst/elements/gstfdsrc.h:
19024         Properly implement fdsrc. Removed signal and timeout,
19025         better implemented somewhere else.
19026
19027 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19028
19029         * docs/gst/tmpl/.cvsignore:
19030         * docs/gst/tmpl/gstimplementsinterface.sgml:
19031         * gst/gstinterface.c:
19032           inlined more docs
19033
19034 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19035
19036         * docs/gst/gstreamer-sections.txt:
19037         * docs/gst/tmpl/.cvsignore:
19038         * docs/gst/tmpl/gstenumtypes.sgml:
19039           remove obsolete doc file
19040
19041 2005-09-21  David Schleef  <ds@schleef.org>
19042
19043         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19044         little beer, fix a little leak.
19045
19046 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19047
19048         * docs/gst/gstreamer-docs.sgml:
19049         * docs/gst/gstreamer-sections.txt:
19050         * docs/gst/tmpl/.cvsignore:
19051         * gst/Makefile.am:
19052         * gst/gst.h:
19053         * gst/gstbin.c:
19054         * gst/gstelement.h:
19055         * gst/gstindex.c: (gst_index_class_init):
19056         * gst/gstindex.h:
19057         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19058         (gst_index_factory_class_init), (gst_index_factory_init),
19059         (gst_index_factory_finalize), (gst_index_factory_new),
19060         (gst_index_factory_destroy), (gst_index_factory_find),
19061         (gst_index_factory_create), (gst_index_factory_make):
19062         * gst/gstindexfactory.h:
19063         * gst/gstpluginfeature.c:
19064         * gst/gstpluginfeature.h:
19065         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19066           more docs inlined, splitted gstindex.{c,h}
19067
19068 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19069
19070         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19071           fix a leak
19072
19073 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19074
19075         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19076           Set sync to FALSE by default.
19077
19078 2005-09-20  Wim Taymans  <wim@fluendo.com>
19079
19080         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19081         (gst_base_sink_init):
19082         Make sync property settable from subclass.
19083
19084         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19085         (gst_fake_sink_change_state):
19086         Set sync to FALSE by default.
19087
19088 2005-09-20  Wim Taymans  <wim@fluendo.com>
19089
19090         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19091         * tools/gst-launch.c: (main):
19092         The timeout handler should have lower priority than the source
19093         so we don't timeout before popping a message with 0 timeout.
19094         Dump error messages after failed state change.
19095
19096 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19097
19098         * tools/gst-inspect.c: (print_element_properties_info):
19099           Fix two typos.
19100
19101 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19102
19103         * check/gst/gstevent.c:
19104         * gst/elements/gstfakesink.c:
19105         * gst/elements/gstfakesink.h:
19106           remove the sync property from fakesink.
19107           has the side effect of setting sync TRUE
19108           for fakesink, which is a change.  Anyone who knows how
19109           to fix this nicely in a GObject-y way, feel free.
19110
19111 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19112
19113         * docs/gst/gstreamer-docs.sgml:
19114           remove probe refsection
19115
19116 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19117
19118         * check/Makefile.am:
19119           disable valgrinding the controller test again
19120         * docs/gst/gstreamer-sections.txt:
19121           update for api-changes
19122
19123 2005-09-20  Wim Taymans  <wim@fluendo.com>
19124
19125         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19126         (gst_base_sink_set_property), (gst_base_sink_get_property),
19127         (gst_base_sink_do_sync):
19128         * gst/base/gstbasesink.h:
19129         Added sync property to basesink to disable clock sync.
19130
19131 2005-09-20  Andy Wingo  <wingo@pobox.com>
19132
19133         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19134         eating the caller's refcount.
19135
19136         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19137         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19138         refcount.
19139
19140         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19141         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19142         of GLib 2.8 public, so we can know which refcount to check in
19143         tests.
19144
19145         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19146         (gst_object_init): Only set the gst refcount if we're going ahead
19147         with the refcount hack.
19148
19149 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19150
19151         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19152         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19153           more leaks plumbed, added more debug-logging
19154         * gst/gstmacros.h:
19155           whitespace fix
19156
19157 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19158
19159         * gst/gstmessage.c:
19160           remove include of gstmemchunk.h
19161
19162 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19163
19164         * gst/gstclock.c: (_gst_clock_id_free):
19165           Commit from the Political Party For More Atomic CVS Commits,
19166           so that people don't waste too much of their day fishing
19167           out obvious leaks out of massive commits.
19168           Oh, and fix a pretty damn obvious leak in the memchunk
19169           removal code.
19170
19171 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19172
19173         * check/Makefile.am:
19174         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19175           plug mem-leak, re-add to valgrindable tests
19176
19177 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19178
19179         * gst/gstplugin.h:
19180           unbreak the build for those who have chronic arthritis
19181           and typing "make check" is just too taxing on the hands
19182
19183 2005-09-20  Andy Wingo  <wingo@pobox.com>
19184
19185         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19186         really want it out, you should fix plugins at the same time.
19187
19188 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19189
19190         * configure.ac:
19191         * docs/gst/gstreamer-sections.txt:
19192         * gst/gstobject.c:
19193           added missing symbols to api docs
19194           disable ref-count hack if we have glib >= 2.8
19195
19196 2005-09-19  David Schleef  <ds@schleef.org>
19197
19198         * docs/gst/Makefile.am: Ignore a few more internal headers
19199         * docs/gst/gstreamer-docs.sgml: Remove old sections
19200         * docs/gst/gstreamer-sections.txt: Remove old sections
19201         * docs/gst/tmpl/gstobject.sgml: update
19202         * docs/gst/tmpl/gstplugin.sgml: update
19203         * docs/gst/tmpl/gstpluginfeature.sgml: update
19204         * docs/random/ds/0.9-suggested-changes: update.
19205         * gst/Makefile.am: remove memchunk and trashstack, since they're
19206           not used.
19207         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19208         * gst/gst.h: don't include some headers
19209         * gst/gstchildproxy.c: add gstmarshal.h
19210         * gst/gstclock.c: Don't use memchunks
19211         * gst/gstminiobject.c: Add some docs
19212         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19213         * gst/gstobject.h: same
19214         * gst/gstplugin.c: include gstmacros.h
19215         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19216         * gst/gstquery.c: don't use memchunks
19217         * gst/gstregistry.c: rename gst_registry_deinit()
19218         * gst/gstregistry.h: same
19219
19220 2005-09-19  David Schleef  <ds@schleef.org>
19221
19222         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19223         * docs/libs/gstreamer-libs-sections.txt:
19224         * docs/libs/tmpl/gstgetbits.sgml:
19225         * docs/libs/tmpl/gstputbits.sgml:
19226
19227 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19228
19229         * win32/gstenumtypes.c:
19230         * win32/gstenumtypes.h:
19231           Update.
19232
19233 2005-09-19  Wim Taymans  <wim@fluendo.com>
19234
19235         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19236         Automatically PAUSE and RESUME a pipeline when a flushing seek
19237         is performed.
19238
19239 2005-09-19  Andy Wingo  <wingo@pobox.com>
19240
19241         * gst/gstregistry.h: Spacing fixen.
19242
19243 2005-09-19  Wim Taymans  <wim@fluendo.com>
19244
19245         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19246         Handle state change failure more correctly.
19247
19248 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19249
19250         * check/Makefile.am:
19251         * check/pipelines/cleanup.c: (run_pipeline):
19252         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19253         (GST_START_TEST):
19254           enable cleanup again after fixing the leak
19255         * docs/README:
19256           some more info on docs
19257
19258 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19259
19260         * check/Makefile.am:
19261           re-enable tests now that leaks are plugged
19262         * check/gst/gst.c:
19263         * check/gst/gstbin.c:
19264         * check/gst/gstpipeline.c:
19265           add some more tests while fixing leaks
19266         * common/check.mak:
19267           make sure binaries are uptodate when valgrinding/gdbing
19268         * gst/gst.c:
19269         * gst/gstelementfactory.c:
19270           remove a ref too many, and add a FIXME for when we get
19271           round to disposing of classes
19272         * gst/gstplugin.c:
19273           fix the refcounting when loading a plugin from a file and
19274           the code pretends that the pointer is the same even though
19275           of course it can change
19276         * gst/gstpluginfeature.c:
19277           unref plugins marked cached (a bit confusing as a name)
19278           as the docs state should be done
19279           various doc additions to explain refcounting
19280         * gst/gstregistry.c:
19281         * gst/gstregistryxml.c:
19282           debugging
19283
19284 2005-09-19  Wim Taymans  <wim@fluendo.com>
19285
19286         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19287         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19288         (send_messages), (GST_START_TEST), (gstbus_suite):
19289         * check/gst/gstpipeline.c: (GST_START_TEST):
19290         * check/pipelines/cleanup.c: (run_pipeline):
19291         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19292         (GST_START_TEST):
19293         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19294         (gst_bus_source_check), (gst_bus_source_dispatch),
19295         (gst_bus_create_watch), (gst_bus_add_watch_full),
19296         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19297         * gst/gstbus.h:
19298         * tools/gst-launch.c: (event_loop):
19299         * tools/gst-md5sum.c: (event_loop):
19300         GstBusHandler -> GstBusFunc, return value has the same meaning as
19301         any other GSource (FALSE == remove source).
19302         _add_watch() and _add_watch_full() now take a MessageType mask to
19303         only handle specific types of messages.
19304         _poll() returns the GstMessage instead of the message type to avoid
19305         race conditions.
19306         _have_pending() takes a MessageType mask now too.
19307         Added testsuite for multiple bus watches.
19308         Fix testsuites and applications for new bus API.
19309
19310 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19311
19312         * check/Makefile.am:
19313           mark a bunch of the tests as to fix until we fix them
19314
19315 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19316
19317         * common/check.mak:
19318           use GST_PLUGIN settings for valgrind tests as well, so we're
19319           valgrinding the correct thing
19320         * gst/gst.c: (init_post):
19321           plug another leak
19322
19323 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19324
19325         * gst/gst.c: (init_post), (gst_deinit):
19326         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19327         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19328         * gst/gstindex.c: (gst_index_factory_class_init),
19329         (gst_index_factory_finalize):
19330         * gst/gstobject.c: (gst_object_dispose):
19331         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19332         (gst_plugin_load_file), (gst_plugin_desc_free):
19333         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19334         (gst_plugin_feature_finalize):
19335         * gst/gstregistry.c: (gst_registry_class_init),
19336         (gst_registry_init), (gst_registry_finalize),
19337         (gst_registry_get_default), (gst_registry_deinit):
19338         * gst/gstregistry.h:
19339         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19340           various cleanups and memleak plugging.  make valgrind is happy now.
19341
19342 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19343
19344         * common/check.mak:
19345           add a check-valgrind target
19346
19347 2005-09-18  David Schleef  <ds@schleef.org>
19348
19349         * tools/gst-inspect.c: Revert the GOption code.
19350
19351 2005-09-17  David Schleef  <ds@schleef.org>
19352
19353         * check/Makefile.am: Fix environment variables.
19354         * check/gst/gstplugin.c: Fix for API changes.
19355         * tools/gst-inspect.c: Fix for API changes.
19356         * tools/gst-xmlinspect.c: Fix for API changes.
19357         * gst/gstelementfactory.c:
19358         * gst/gstplugin.c:
19359         * gst/gstplugin.h:
19360         * gst/gstpluginfeature.c:
19361         * gst/gstpluginfeature.h:
19362         * gst/gstregistry.c:
19363         * gst/gstregistry.h:
19364         * gst/gstregistryxml.c:
19365         * gst/gsttypefind.c:
19366         * gst/gsttypefindfactory.c:
19367         * gst/indexers/gstfileindex.c:
19368         * gst/indexers/gstmemindex.c:
19369         * gst/schedulers/Makefile.am:
19370           Change registry to keep track of both plugins and features,
19371           removing the feature tracking from plugins themselves.
19372
19373 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19374
19375         * check/Makefile.am:
19376         * tools/gst-register.1.in:
19377           remove gst-register
19378
19379 2005-09-15  David Schleef  <ds@schleef.org>
19380
19381         * check/gst/gstplugin.c:
19382         * gst/gstelementfactory.c:
19383         * gst/gstplugin.c:
19384         * gst/gstpluginfeature.c:
19385         * gst/gstregistry.c:
19386           Getting tired of debugging.  Disabled all the unreffing of
19387           plugins and features, which fixes the segfaults, but of
19388           course leaks like crazy.  At least playbin works.
19389
19390 2005-09-15  David Schleef  <ds@schleef.org>
19391
19392         * check/gst/gstplugin.c: (register_check_elements),
19393         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19394         More testing
19395         * gst/elements/gsttypefindelement.c: Fix refcounting.
19396         * gst/gsttypefind.c:
19397         * gst/gsttypefindfactory.c:
19398         * gst/gsttypefindfactory.h:
19399
19400 2005-09-15  David Schleef  <ds@schleef.org>
19401
19402         * gst/gstindex.c: get refcounting correct.
19403         * gst/gstregistry.c: Handle the case where a feature/plugin is
19404           not found.
19405
19406 2005-09-15  David Schleef  <ds@schleef.org>
19407
19408         * check/Makefile.am:
19409         * check/gst/gstplugin.c: Add test
19410         * gst/gstplugin.c: Fix problems noticed by testsuite
19411         * gst/gstplugin.h:
19412         * gst/gstregistry.c: 
19413         * gst/gstregistry.h:
19414
19415 2005-09-15  David Schleef  <ds@schleef.org>
19416
19417         * gst/gstplugin.c: Implement semi-decent recounting and locking
19418           in plugins and plugin features.
19419         * gst/gstplugin.h:
19420         * gst/gstpluginfeature.c:
19421         * gst/gstpluginfeature.h:
19422         * gst/gstregistry.c:
19423
19424 2005-09-15  Michael Smith <msmith@fluendo.com>
19425
19426         * gst/gstregistry.c: (gst_registry_get_feature_list):
19427           Implement this. Makes oggdemux work; decodebin still broken.
19428
19429 2005-09-14  David Schleef  <ds@schleef.org>
19430
19431         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19432           #316076)
19433         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19434         * gst/check/Makefile.am:
19435         * libs/gst/controller/Makefile.am:
19436         * libs/gst/dataprotocol/Makefile.am:
19437
19438 2005-09-14  David Schleef  <ds@schleef.org>
19439
19440         * configure.ac: Remove getbits library.  Nothing uses it, and
19441           it should be in something like liboil if someone did want
19442           to use it.
19443         * libs/gst/Makefile.am:
19444         * libs/gst/getbits/Makefile.am:
19445         * libs/gst/getbits/gbtest.c:
19446         * libs/gst/getbits/getbits.c:
19447         * libs/gst/getbits/getbits.h:
19448         * libs/gst/getbits/gstgetbits_generic.c:
19449         * libs/gst/getbits/gstgetbits_i386.s:
19450         * libs/gst/getbits/gstgetbits_inl.h:
19451
19452 2005-09-14  David Schleef  <ds@schleef.org>
19453
19454         * gst/Makefile.am: Dist glib-compat.h
19455
19456 2005-09-14  David Schleef  <ds@schleef.org>
19457
19458         * configure.ac: Remove gst/registries, since it's no longer used.
19459         * gst/registries/Makefile.am:
19460         * gst/registries/gstlibxmlregistry.c:
19461         * gst/registries/gstlibxmlregistry.h:
19462         * gst/registries/gstxmlregistry.c:
19463         * gst/registries/gstxmlregistry.h:
19464         * gst/registries/registrytest.c:
19465
19466 2005-09-14  David Schleef  <ds@schleef.org>
19467
19468         * gst/glib-compat.h:
19469         * gst/gstregistryxml.c:
19470           Convergence is near.  Seriously.
19471
19472 2005-09-14  David Schleef  <ds@schleef.org>
19473
19474         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19475         * gst/glib-compat.h:
19476           Attempt #4 to appease the buildbots.
19477
19478 2005-09-14  David Schleef  <ds@schleef.org>
19479
19480         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19481           Attempt #3.
19482
19483 2005-09-14  David Schleef  <ds@schleef.org>
19484
19485         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19486         Attempt #2.
19487
19488 2005-09-14  David Schleef  <ds@schleef.org>
19489
19490         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19491           the new functions.
19492
19493 2005-09-14  David Schleef  <ds@schleef.org>
19494
19495         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19496         * gst/glib-compat.h: Add some functions that are in newer versions
19497           of glib than we care to require.
19498         * gst/gstregistryxml.c: Use them.
19499
19500 2005-09-14  David Schleef  <ds@schleef.org>
19501
19502         * po/POTFILES.in: remove gst-register.c
19503
19504 2005-09-14  David Schleef  <ds@schleef.org>
19505
19506         * docs/gst/gstreamer-docs.sgml:
19507         * docs/gst/gstreamer-sections.txt:
19508         * docs/gst/gstreamer.types:
19509         * docs/gst/tmpl/gstelement.sgml:
19510         * docs/gst/tmpl/gstplugin.sgml:
19511         * docs/gst/tmpl/gstpluginfeature.sgml:
19512           Documentation updates for registry changes.
19513
19514 2005-09-14  David Schleef  <ds@schleef.org>
19515
19516         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19517           because we don't require glib-2.8.
19518
19519 2005-09-14  David Schleef  <ds@schleef.org>
19520
19521         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19522           registries directory.
19523
19524 2005-09-14  David Schleef  <ds@schleef.org>
19525
19526         * check/Makefile.am:
19527         * check/generic/states.c:
19528         * gst/Makefile.am:
19529         * gst/gst.c:
19530         * gst/gst.h:
19531         * gst/gst_private.h:
19532         * gst/gstelementfactory.c:
19533         * gst/gstindex.c:
19534         * gst/gstinfo.c:
19535         * gst/gstplugin.c:
19536         * gst/gstplugin.h:
19537         * gst/gstpluginfeature.c:
19538         * gst/gstpluginfeature.h:
19539         * gst/gstregistry.c:
19540         * gst/gstregistry.h:
19541         * gst/gstregistrypool.c: remove
19542         * gst/gstregistrypool.h: remove
19543         * gst/gsttypefind.c:
19544         * gst/gsttypefindfactory.c:
19545         * gst/gsturi.c:
19546         * tools/Makefile.am:
19547         * tools/gst-compprep.c:
19548         * tools/gst-inspect.c:
19549         * tools/gst-register.c: remove
19550         * tools/gst-xmlinspect.c:
19551           Registry rewrite.  Changes registry from being a file created
19552           by a tool into a simple cache file created automatically by 
19553           libgstreamer.  Removed gst-register (because it's no longer
19554           needed).  Remove registry pools, because we only have one
19555           registry implementation (XML).  Fix up other subsystems as
19556           necessary.
19557
19558 2005-09-13  Michael Smith <msmith@fluendo.com>
19559
19560         * gst/gstconfig.h.in:
19561           Don't Use windows linking attributes for MinGW. Fixes #316157
19562
19563 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19564
19565         * gst/gstutils.c: (set_state_async_thread_func),
19566         (gst_element_set_state_async):
19567           Apparently people think it's better if this function doesn't
19568           try to set the state to whatever state was asked for on the first
19569           call to this function for any object.  Seriously.
19570
19571 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19572
19573         * check/gst/gstpipeline.c: (GST_START_TEST):
19574         * docs/gst/gstreamer-sections.txt:
19575         * gst/gstutils.c: (set_state_async_thread_func),
19576         (gst_element_set_state_async):
19577         * gst/gstutils.h:
19578           add a "gst_element_set_state_async" method that
19579           sets the state and starts a thread to make sure the state
19580           change completes as best as it can
19581
19582 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19583
19584         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19585           codify design+behaviour in testsuite after discussion
19586
19587 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19588
19589         * docs/gst/tmpl/gstelement.sgml:
19590         * docs/manual/appendix-quotes.xml:
19591           add a quote
19592         * gst/gstelement.c: (gst_element_set_state):
19593           add some debug
19594
19595 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19596
19597         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19598         (gst_base_transform_prepare_output_buf),
19599         (gst_base_transform_handle_buffer):
19600         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19601         (gst_capsfilter_prepare_buf):
19602           Remove the requirement for sub-classes to call the parent
19603           implementation of prepare_output_buffer with a wrapper function.
19604           
19605         * gst/gsttaglist.h:
19606         * gst/gsttagsetter.h:
19607           Fix #define wrapper
19608
19609 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19610
19611         * docs/gst/gstreamer-sections.txt:
19612           more doc cleanups
19613
19614 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19615
19616         * docs/gst/gstreamer-sections.txt:
19617         * docs/gst/tmpl/gstelement.sgml:
19618         * docs/gst/tmpl/gstplugin.sgml:
19619         * gst/gstminiobject.c:
19620         * gst/gstvalue.h:
19621           docs now stop throwing warnings
19622
19623 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19624
19625         * docs/gst/gstreamer-sections.txt:
19626         * docs/gst/gstreamer.types:
19627         * docs/gst/tmpl/gstpad.sgml:
19628         * docs/gst/tmpl/gsttypes.sgml:
19629         * gst/base/gstadapter.h:
19630         * gst/base/gstbasesink.h:
19631         * gst/base/gstbasesrc.h:
19632         * gst/gstbin.h:
19633         * gst/gstbuffer.h:
19634         * gst/gstbus.h:
19635         * gst/gstcaps.h:
19636         * gst/gstclock.h:
19637         * gst/gstelement.h:
19638         * gst/gstevent.h:
19639         * gst/gstmessage.h:
19640         * gst/gstpad.h:
19641         * gst/gststructure.c:
19642         * gst/registries/gstlibxmlregistry.h:
19643           various documentation fixes
19644
19645 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19646
19647         * docs/gst/gstreamer-sections.txt:
19648         * docs/gst/tmpl/gstvalue.sgml:
19649           rearrange gstvalue section
19650         * gst/gstutils.c: (gst_element_state_get_name):
19651           NONE -> VOID
19652         * gst/gstvalue.c: (_gst_value_initialize):
19653         * gst/gstvalue.h:
19654           doc updates
19655
19656 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19657
19658         * check/gst-libs/controller.c:
19659           Header include fix.
19660         * gst/base/gstbasetransform.c:
19661         (gst_base_transform_default_prepare_buf),
19662         (gst_base_transform_handle_buffer):
19663         * gst/base/gstbasetransform.h:
19664           Some more basetransform changes and fixes to enable sub-classes
19665           that modify buffer metadata only.
19666         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19667         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19668         (gst_capsfilter_prepare_buf):
19669           If the output pad has fixed allowed caps and input buffers 
19670           don't have any, set the fixed caps on outgoing buffers.
19671
19672 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19673         * check/elements/identity.c: (GST_START_TEST):
19674           Make the error a little clearer when the test fails because
19675           identity made a copy of the buffer.
19676         * docs/gst/gstreamer-sections.txt:
19677           New symbols in gstbasetransform.h
19678         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19679         (gst_base_transform_init), (gst_base_transform_transform_size),
19680         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19681         (gst_base_transform_default_prepare_buf),
19682         (gst_base_transform_get_unit_size),
19683         (gst_base_transform_buffer_alloc),
19684         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19685         (gst_base_transform_change_state),
19686         (gst_base_transform_set_passthrough),
19687         (gst_base_transform_set_in_place),
19688         (gst_base_transform_is_in_place):
19689         * gst/base/gstbasetransform.h:
19690           Change BaseTransform to separate in_place operate from same_caps
19691           output. in_place implies that the element can perform the transform
19692           on incoming buffers in-place, even if the caps on the output are
19693           different.
19694           Sub-class elements can now implement special buffer allocation
19695           methods for outgoing buffers if they wish to.
19696           Big documentation addition.
19697         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19698         * gst/elements/gstelements.c:
19699           Changes for basetransform modifications.
19700         * gst/elements/Makefile.am:
19701         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19702           Compile fix. Extra debug output.
19703
19704 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19705
19706         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19707         (gst_pad_suite):
19708           add tests for valid pad naming
19709         * gst/check/gstcheck.c: (gst_check_log_message_func),
19710         (gst_check_log_critical_func):
19711           add ASSERT_WARNING
19712           remove printing of code, it is fragile when the code contains
19713           % and the line number is enough info
19714         * gst/check/gstcheck.h:
19715         * gst/gstpad.c: (gst_pad_template_new):
19716           fix memleaks
19717
19718 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19719
19720         * configure.ac:
19721           say what CHECK flags we use
19722         * docs/libs/gstreamer-libs.types:
19723         * libs/gst/controller/Makefile.am:
19724         * libs/gst/controller/gst-controller.c:
19725         * libs/gst/controller/gst-controller.h:
19726         * libs/gst/controller/gst-helper.c:
19727         * libs/gst/controller/gst-interpolation.c:
19728         * libs/gst/controller/gstcontroller.c:
19729         * libs/gst/controller/gsthelper.c:
19730         * libs/gst/controller/gstinterpolation.c:
19731         * tools/gst-inspect.c: (print_plugin_info):
19732           we don't use dashes in header names
19733
19734 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19735
19736         * check/Makefile.am:
19737         * check/gst/.cvsignore:
19738         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19739         (gst_pipeline_suite), (main):
19740           adding a test for pipelines and state changes
19741         * gst/gstutils.c: (get_state_func):
19742           add some debugging
19743         * gstreamer.spec.in:
19744           fix up spec file
19745
19746 2005-09-08  Michael Smith <msmith@fluendo.com>
19747
19748         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19749         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19750         (gst_file_src_is_seekable), (gst_file_src_get_size),
19751         (gst_file_src_start):
19752         * gst/elements/gstfilesrc.h:
19753           Various fixes for unseekable, unmmapable, and non-normal files, so
19754           that fallback to read() rather than mmap() works.
19755         * gst/gstevent.c: (gst_event_new_newsegment):
19756           Allow newsegment events with segment_start == segment_end, as will
19757           correctly happen if you use filesrc on a zero-size file, for
19758           example.
19759
19760 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19761
19762         * gst/gstplugin.c: (gst_plugin_load_file):
19763           Call g_module_close when we don't load the module
19764
19765         * gst/registries/gstlibxmlregistry.c:
19766         (gst_xml_registry_get_property):
19767           Port leak fix from 0.8
19768
19769 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19770
19771         * docs/gst/gstreamer-docs.sgml:
19772         * docs/gst/tmpl/.cvsignore:
19773         * docs/gst/tmpl/gsttrace.sgml:
19774         * docs/gst/tmpl/gsttrashstack.sgml:
19775         * gst/Makefile.am:
19776         * gst/gst.h:
19777         * gst/gstelement.h:
19778         * gst/gstevent.h:
19779         * gst/gstmessage.c:
19780         * gst/gstmessage.h:
19781         * gst/gsttag.c:
19782         * gst/gsttag.h:
19783         * gst/gsttaginterface.c:
19784         * gst/gsttaginterface.h:
19785         * gst/gsttaglist.c:
19786         * gst/gsttaglist.h:
19787         * gst/gsttagsetter.c:
19788         * gst/gsttagsetter.h:
19789         * gst/gsttrace.c:
19790         * gst/gsttrace.h:
19791         * gst/gsttrashstack.c:
19792           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19793           inlined docs for gsttrace, gsttrashstack
19794
19795 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19796
19797         * gst/Makefile.am:
19798         * gst/elements/gstbufferstore.h:
19799         * gst/elements/gsttypefindelement.c:
19800         * gst/elements/gsttypefindelement.h:
19801         * gst/gst.h:
19802         * gst/gsttypefind.c:
19803         * gst/gsttypefind.h:
19804         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19805         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19806         (gst_type_find_factory_dispose),
19807         (gst_type_find_factory_unload_thyself),
19808         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19809         (gst_type_find_factory_get_caps),
19810         (gst_type_find_factory_get_extensions),
19811         (gst_type_find_factory_call_function):
19812         * gst/gsttypefindfactory.h:
19813         * gst/registries/gstlibxmlregistry.c:
19814         * gst/registries/gstxmlregistry.c:
19815           splitted gsttypefind into gsttypefind, gsttypefindfactory
19816
19817 2005-09-07  Andy Wingo  <wingo@pobox.com>
19818
19819         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19820         condition whereby the pad's task function is entered before the
19821         pad_mode variable was set.
19822
19823 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19824
19825         * gst/gstpad.c: (gst_pad_alloc_buffer):
19826           Catch misbehaving pad_alloc functions that don't
19827           set up caps and do it for them.
19828
19829 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19830
19831         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19832           test for pipe!=NULL
19833         * docs/gst/tmpl/.cvsignore:
19834         * docs/gst/tmpl/gstmemchunk.sgml:
19835         * docs/gst/tmpl/gstparse.sgml:
19836         * docs/gst/tmpl/gsttaglist.sgml:
19837         * docs/gst/tmpl/gsttagsetter.sgml:
19838         * docs/gst/tmpl/gsttypefind.sgml:
19839         * docs/gst/tmpl/gsttypefindfactory.sgml:
19840         * gst/gstmemchunk.c:
19841         * gst/gstparse.c:
19842         * gst/gsttag.c:
19843         * gst/gsttaginterface.c:
19844         * gst/gsttypefind.c:
19845         * gst/gsttypefind.h:
19846           inlined more docs
19847
19848 === release 0.9.2 ===
19849
19850 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19851
19852         * NEWS:
19853         * RELEASE:
19854         * configure.ac:
19855           releasing 0.9.2, "South"
19856
19857 2005-09-05  Andy Wingo  <wingo@pobox.com>
19858
19859         * gst/registries/gstxmlregistry.h:
19860         * gst/registries/gstxmlregistry.c: Um... resurrect...
19861         
19862         * gst/registries/gstxmlregistry.h:
19863         * gst/registries/gstxmlregistry.c: and update to newer API.
19864         Incidentally they should be a bit faster now that they don't have
19865         to parse the caps.
19866         
19867 2005-09-05  Andy Wingo  <wingo@pobox.com>
19868
19869         * gst/registries/gstxmlregistry.h:
19870         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19871         replaced by the libxml registry a while back
19872
19873 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19874
19875         * docs/gst/tmpl/gstplugin.sgml:
19876         * gst/elements/gstelements.c:
19877         * gst/gst.c:
19878         * gst/gstplugin.c: (gst_plugin_register_func),
19879         (gst_plugin_desc_copy), (gst_plugin_desc_free),
19880         (gst_plugin_get_source):
19881         * gst/gstplugin.h:
19882         * gst/registries/gstlibxmlregistry.c: (load_plugin),
19883         (gst_xml_registry_save_plugin):
19884         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19885         (gst_xml_registry_save_plugin):
19886         * tools/gst-inspect.c: (print_plugin_info):
19887           add a "source" plugin description field, to represent the source
19888           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
19889           will set it to PACKAGE, which is automake's idea of the name of
19890           the source project.
19891
19892 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19893
19894         * Makefile.am:
19895         * autogen.sh:
19896         * configure.ac:
19897         * docs/Makefile.am:
19898         * docs/faq/Makefile.am:
19899         * docs/gst/tmpl/gstelement.sgml:
19900         * docs/gst/tmpl/gsttypes.sgml:
19901         * docs/htmlinstall.mak:
19902         * docs/manual/Makefile.am:
19903         * docs/pwg/Makefile.am:
19904           reorganize doc build a little
19905           split out docbook and gtk-doc stuff
19906           have two separate --enable's and enable them through autogen
19907           but disable by default in configure (to be similar to other
19908           projects)
19909         * gstreamer.spec.in:
19910           clean up docs install
19911         * po/af.po:
19912         * po/az.po:
19913         * po/ca.po:
19914         * po/cs.po:
19915         * po/de.po:
19916         * po/en_GB.po:
19917         * po/fr.po:
19918         * po/it.po:
19919         * po/nb.po:
19920         * po/nl.po:
19921         * po/ru.po:
19922         * po/sq.po:
19923         * po/sr.po:
19924         * po/sv.po:
19925         * po/tr.po:
19926         * po/uk.po:
19927         * po/vi.po:
19928           translation updates
19929
19930 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
19931
19932         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19933           Add comment.
19934           
19935         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19936         (gst_fake_sink_change_state):
19937           Make state change function thread-safe.
19938           
19939         * gst/gstpad.c: (gst_pad_alloc_buffer):
19940           Set offset on generic buffer allocated by fallback.
19941
19942 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
19943
19944         * docs/gst/gstreamer-sections.txt:
19945         * docs/gst/tmpl/gstelement.sgml:
19946         * gst/gstpad.c:
19947         * libs/gst/controller/gst-controller.c:
19948         (gst_controlled_property_set_interpolation_mode),
19949         (gst_controlled_property_new),
19950         (gst_controller_find_controlled_property):
19951          run the wingo-magic script against the docs
19952
19953 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19954
19955         * docs/gst/gstreamer-docs.sgml:
19956         * docs/gst/gstreamer-sections.txt:
19957         * docs/gst/tmpl/.cvsignore:
19958         * docs/gst/tmpl/gstelementdetails.sgml:
19959         * docs/gst/tmpl/gstelementfactory.sgml:
19960         * gst/gst.c:
19961         * gst/gstbus.c:
19962         * gst/gstelementfactory.c:
19963         * gst/gstelementfactory.h:
19964           merged elementdetails docs into elementfactory docs
19965           inlined both
19966
19967 2005-09-02  Andy Wingo  <wingo@pobox.com>
19968
19969         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19970         consider this enum an enum and not a flags.
19971
19972 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19973
19974         * docs/gst/gstreamer-docs.sgml:
19975         * docs/gst/tmpl/.cvsignore:
19976         * docs/gst/tmpl/gstghostpad.sgml:
19977         * docs/gst/tmpl/gstiterator.sgml:
19978         * docs/gst/tmpl/gstmacros.sgml:
19979         * docs/gst/tmpl/gstrealpad.sgml:
19980         * docs/gst/tmpl/gstregistry.sgml:
19981         * docs/gst/tmpl/gstregistrypool.sgml:
19982         * docs/gst/tmpl/gststructure.sgml:
19983         * docs/gst/tmpl/gstsystemclock.sgml:
19984         * docs/gst/tmpl/gsttrace.sgml:
19985         * gst/gstghostpad.c:
19986         * gst/gstmacros.h:
19987         * gst/gstmemchunk.c:
19988         * gst/gstmemchunk.h:
19989         * gst/gstqueue.c:
19990         * gst/gstregistry.c:
19991         * gst/gstregistrypool.c:
19992         * gst/gststructure.c:
19993         * gst/gstsystemclock.c:
19994           more docs inlined
19995
19996 2005-09-02  Andy Wingo  <wingo@pobox.com>
19997
19998         * gst/gstelement.h (GstState): Renamed from GstElementState,
19999         changed to be a normal enum instead of flags.
20000         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20001         munged to be GST_STATE_CHANGE_*.
20002         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20003         work with the new state representation.
20004         (GstStateChange): New enumeration of possible state transitions.
20005         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20006         (GstElementClass::change_state): Pass the GstStateChange along as
20007         an argument. Helps language bindings, so they don't have to use
20008         tricky lock-needing macros like GST_STATE_CHANGE ().
20009
20010         * scripts/update-states (file): New script. Run it on a file to
20011         update it for state naming and API changes. Updates files in
20012         place.
20013
20014         * All files updated for the new API.
20015
20016 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20017
20018         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20019         * gst/gstutils.c: (gst_util_set_value_from_string),
20020         (gst_util_set_object_arg):
20021           fix a bunch of unchecked return values
20022         * tools/gst-complete.c: (main):
20023         * gstreamer.spec.in:
20024           clean up a little
20025
20026 2005-09-01  Wim Taymans  <wim@fluendo.com>
20027
20028         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20029         (gst_base_sink_event), (gst_base_sink_do_sync),
20030         (gst_base_sink_handle_event):
20031         * gst/base/gstbasesink.h:
20032         Handle newsegments more correctly.
20033
20034         * gst/gstbus.c:
20035         Fix docs.
20036
20037         * gst/gstevent.c: (gst_event_new_newsegment):
20038         A newsegment cannot have a start_time of -1
20039
20040 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20041
20042         * win32/gstenumtypes.c:
20043         * win32/gstenumtypes.h:
20044           Update
20045
20046 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20047
20048         * libs/gst/controller/gst-controller.c:
20049         (gst_controlled_property_set_interpolation_mode),
20050         (gst_controlled_property_new):
20051          fixed boolean again
20052
20053 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20054
20055         * docs/faq/gst-uninstalled:
20056           add -good
20057         * gst/gstevent.c:
20058         * gst/gstevent.h:
20059           remove wrong docs
20060         * gst/gstutils.c: (gst_element_link_filtered):
20061         * gst/gstutils.h:
20062           add gst_element_link_filtered
20063
20064 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20065
20066         * docs/gst/gstreamer-docs.sgml:
20067         * docs/gst/gstreamer-sections.txt:
20068         * docs/gst/tmpl/.cvsignore:
20069         * docs/gst/tmpl/gsterror.sgml:
20070         * docs/gst/tmpl/gstfilter.sgml:
20071         * docs/gst/tmpl/gsturihandler.sgml:
20072         * docs/gst/tmpl/gsturitype.sgml:
20073         * docs/gst/tmpl/gstutils.sgml:
20074         * docs/gst/tmpl/gstxml.sgml:
20075         * gst/gsterror.c:
20076         * gst/gsterror.h:
20077         * gst/gstfilter.c:
20078         * gst/gsturi.c:
20079         * gst/gsturitype.c:
20080         * gst/gstutils.c:
20081         * gst/gstxml.c:
20082           inlined more docs, fixed double id-ref
20083
20084 2005-08-31  Wim Taymans  <wim@fluendo.com>
20085
20086         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20087         (gst_base_transform_handle_buffer):
20088         Passthrough elements don't need the caps as they don't care.
20089
20090 2005-08-31  Wim Taymans  <wim@fluendo.com>
20091
20092         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20093         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20094         Don't leak refcounts on buffers.
20095
20096 2005-08-31  Wim Taymans  <wim@fluendo.com>
20097
20098         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20099         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20100         (gst_base_transform_chain), (gst_base_transform_change_state):
20101         * gst/base/gstbasetransform.h:
20102         Handle the case where we are not negotiated more gracefully.
20103
20104 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20105
20106         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20107         (gst_file_src_map_region):
20108           Set READONLY flag on mmap'ed buffers, otherwise
20109           gst_buffer_make_writable() won't work properly (#314708).
20110
20111 2005-08-31  Wim Taymans  <wim@fluendo.com>
20112
20113         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20114         passthrough elements can even do inplace on non writable
20115         buffers (as they don't touch them).
20116
20117 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20118
20119         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20120         (gst_test_mono_source_set_property),
20121         (gst_test_mono_source_class_init), (GST_START_TEST),
20122         (gst_controller_suite):
20123           more tests (hehe I have the most)
20124         * gst/gstbus.c:
20125           describe popping messages whenusing mulltiple sources
20126         * libs/gst/controller/gst-controller.c:
20127         (gst_controlled_property_set_interpolation_mode),
20128         (gst_controlled_property_new):
20129         * libs/gst/controller/gst-controller.h:
20130         * libs/gst/controller/gst-interpolation.c:
20131           implement boolean properties
20132
20133 2005-08-31  Wim Taymans  <wim@fluendo.com>
20134
20135         * gst/gstminiobject.c: (gst_mini_object_ref):
20136         Cannot assert that the refcount has to be positive
20137         since a disposed object can be resurrected.
20138
20139 2005-08-31  Wim Taymans  <wim@fluendo.com>
20140
20141         * gst/gstpad.c: (gst_pad_init):
20142         Revert change, need to first fix badly behaving 
20143         apps.
20144
20145 2005-08-30  Wim Taymans  <wim@fluendo.com>
20146
20147         * check/elements/fakesrc.c: (setup_fakesrc):
20148         * check/elements/identity.c: (setup_identity):
20149         Activate pads before using them.
20150
20151 2005-08-30  Wim Taymans  <wim@fluendo.com>
20152
20153         * gst/base/gstadapter.c: (gst_adapter_flush):
20154         Flushing out 0 bytes is ok for this function.
20155
20156         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20157         no newsegment gives a warning and sets the start/stop to 
20158         invalid.
20159
20160         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20161         (gst_base_transform_set_passthrough):
20162         Some debug info.
20163
20164         * gst/gstminiobject.c: (gst_mini_object_ref):
20165         Check refcount here too.
20166
20167         * gst/gstpad.c: (gst_pad_init):
20168         Pads are initially flushing and refusing data.
20169
20170         * gst/gstutils.c: (gst_element_link_pads_filtered):
20171         When adding a capsfilter element make sure it has the
20172         same state as the parent bin.
20173
20174 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20175
20176         * docs/gst/tmpl/.cvsignore:
20177         * docs/gst/tmpl/gstformat.sgml:
20178         * docs/gst/tmpl/gstversion.sgml:
20179         * gst/gstbus.h:
20180         * gst/gstformat.c:
20181         * gst/gstformat.h:
20182         * gst/gstversion.h.in:
20183           more docs and two more inlined
20184
20185 2005-08-30  Wim Taymans  <wim@fluendo.com>
20186
20187         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20188         Don't sync to clock.
20189
20190 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20191
20192         * docs/gst/gstreamer-sections.txt:
20193           ultral33t func10ns deserve to appear in the docs actually
20194         * docs/gst/tmpl/.cvsignore:
20195         * docs/gst/tmpl/gstcompat.sgml:
20196         * docs/gst/tmpl/gstconfig.sgml:
20197         * gst/check/gstcheck.c:
20198         * gst/gstcompat.h:
20199         * gst/gstconfig.h.in:
20200           inlined more docs
20201
20202 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20203
20204         * docs/gst/tmpl/.cvsignore:
20205         * docs/gst/tmpl/gstquery.sgml:
20206         * docs/gst/tmpl/gstutils.sgml:
20207         * gst/gstquery.c:
20208         * gst/gstquery.h:
20209           inlined and extended docs
20210
20211 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20212
20213         * check/gst-libs/controller.c: (GST_START_TEST),
20214         (gst_controller_suite):
20215           more tests
20216         * docs/gst/tmpl/gstutils.sgml:
20217         * docs/libs/gstreamer-libs-sections.txt:
20218         * docs/libs/tmpl/gstdataprotocol.sgml:
20219           include path fixes
20220         * examples/controller/audio-example.c: (main):
20221           controller example works now
20222         * gst/gstclock.h:
20223           doc fixes
20224         * tools/gst-inspect.c: (print_element_properties_info):
20225           show param spec flags
20226
20227 2005-08-29  Andy Wingo  <wingo@pobox.com>
20228
20229         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20230
20231 2005-08-28  Andy Wingo  <wingo@pobox.com>
20232
20233         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20234         as having two arguments instead of just one. Allows superclasses
20235         to access information on subclasses -- see the terrible for() loop
20236         in gtype.c:g_type_create_instance for the reason why. All callers
20237         changed.
20238
20239 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20240
20241         * docs/design/part-messages.txt:
20242           update info
20243         * docs/gst/tmpl/.cvsignore:
20244         * docs/gst/tmpl/gstcaps.sgml:
20245         * docs/gst/tmpl/gstclock.sgml:
20246         * gst/gstbus.c:
20247         * gst/gstcaps.c:
20248         * gst/gstcaps.h:
20249         * gst/gstclock.c:
20250         * gst/gstclock.h:
20251         * gst/gstmessage.c:
20252           added descriptions for bus and message
20253           inline caps and clock docs
20254
20255 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20256
20257         * gst/gstmessage.c:
20258         * gst/gstmessage.h:
20259           doc fixes
20260
20261 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20262
20263         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20264           fix div-by-zero
20265
20266 2005-08-26  Andy Wingo  <wingo@pobox.com>
20267
20268         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20269         element_set_state's return val.
20270         (test_2_elements): Add test that's been disabled for months.
20271
20272         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20273         can-activate-pull properties.
20274
20275         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20276         can-activate-pull properties. Implement is_seekable so fakesrc can
20277         operate in pull mode.
20278
20279         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20280         properties.
20281         (gst_base_sink_activate, gst_base_sink_activate_pull)
20282         (gst_base_sink_activate_push): Make activation mode choosing work.
20283         Cleanups.
20284         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20285         is right. Make pull mode work. Post an eos before pausing in pull
20286         mode.
20287         (gst_base_sink_change_state): Pay attention to the core's
20288         change_state() return val.
20289         
20290         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20291         has-getrange properties. Cleanups.
20292         
20293         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20294         has_getrange and replace with can_activate_pull and
20295         can_activate_push.
20296
20297         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20298         locking comments. Remove has_loop, has_chain and replace with
20299         can_activate_pull and can_activate_push.
20300
20301 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20302
20303         * configure.ac:
20304         * examples/Makefile.am:
20305         * examples/metadata/Makefile.am:
20306         * examples/metadata/read-metadata.c: (message_loop),
20307         (have_pad_handler), (make_pipeline), (print_tag), (main):
20308           Add metadata reading example that loops over a list of filenames,
20309           dumping any tags found.
20310
20311         * gst/gstbus.c: (gst_bus_dispose):
20312         * gst/gstelement.c: (gst_element_dispose):
20313           Release a few potentially-held references in dispose.
20314
20315 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20316
20317         * docs/gst/tmpl/gstminiobject.sgml:
20318           do *not* add tmpl/*.sgml files to CVS!
20319
20320 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20321
20322         * libs/gst/bytestream/.cvsignore:
20323         * libs/gst/bytestream/Makefile.am:
20324         * libs/gst/bytestream/adapter.c:
20325         * libs/gst/bytestream/adapter.h:
20326         * libs/gst/bytestream/bytestream.c:
20327         * libs/gst/bytestream/bytestream.h:
20328         * libs/gst/bytestream/filepad.c:
20329         * libs/gst/bytestream/filepad.h:
20330           removing obsolete files
20331
20332 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20333
20334         * docs/gst/gstreamer-docs.sgml:
20335         * docs/libs/gstreamer-libs-docs.sgml:
20336           disabed additional index entries again, as this makes docs-gen just
20337           slow and they aren't useful yet
20338         * docs/libs/gstreamer-libs-sections.txt:
20339           little -section.txt cleanup for libs
20340
20341 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20342
20343         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20344         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20345           fix up some debugging
20346         (gst_base_transform_get_unit_size),
20347         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20348         (gst_base_transform_handle_buffer):
20349         * gst/base/gstbasetransform.h:
20350           handle and store timed NEWSEGMENT events so that subclasses that
20351           calculate time by counting samples have a segment_start time they
20352           need to add to their timestamps - see audioresample
20353
20354 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20355
20356         * gst/gstbin.h:
20357           removed ';' from the end of macro defs
20358         * docs/gst/gstreamer-docs.sgml:
20359         * docs/gst/gstreamer-sections.txt:
20360         * docs/gst/tmpl/.cvsignore:
20361         * gst/gstbus.h:
20362         * gst/gstelement.c: (gst_element_class_init),
20363         (gst_element_set_state), (activate_pads),
20364         (gst_element_save_thyself):
20365         * gst/gstevent.c: (gst_event_new_newsegment):
20366         * gst/gstevent.h:
20367         * gst/gstiterator.c:
20368         * gst/gstiterator.h:
20369         * gst/gstpad.c:
20370         * gst/gstprobe.h:
20371         * gst/gstutils.c: (gst_pad_query_convert):
20372         * gst/gstutils.h:
20373           fixed parameter name mismatches between source, header and docs
20374           added some more docs, resolved the last batch of unused elements in
20375           docs (now someone needs to doc them)
20376
20377 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20378
20379         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20380         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20381           don't walk through the plugins backwards.  Where is all this
20382           reversed logic coming from ?
20383
20384 2005-08-25  Wim Taymans  <wim@fluendo.com>
20385
20386         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20387         (gst_base_transform_transform_size),
20388         (gst_base_transform_configure_caps),
20389         (gst_base_transform_get_unit_size),
20390         (gst_base_transform_buffer_alloc),
20391         (gst_base_transform_change_state):
20392         * gst/base/gstbasetransform.h:
20393         Cache caps unit_size.
20394         Make sure we cannot negotiate up and downstream at the
20395         same time.
20396
20397 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20398
20399         * gst/gst.c: (init_pre), (init_post):
20400           register the installed plugin path after the env var
20401         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20402         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20403           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20404           directories, so the tests can prefer uninstalled over installed
20405
20406 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20407
20408         * gst/base/gstbasetransform.h:
20409           comment
20410         * gst/gstpad.c:
20411           add to docs
20412
20413 2005-08-25  Wim Taymans  <wim@fluendo.com>
20414
20415         * gst/gstbin.c: (bin_bus_handler):
20416         Be a bit more conservative about the posted message.
20417         
20418         * gst/gstbus.c: (gst_bus_post):
20419         Some cleanups, warn wrong return values.
20420
20421 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20422
20423         * check/gst/gstbin.c: (GST_START_TEST):
20424         * gst/gstbin.c: (bin_bus_handler):
20425         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20426         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20427         (gst_message_new_warning), (gst_message_new_tag),
20428         (gst_message_new_state_changed), (gst_message_new_segment_start),
20429         (gst_message_new_segment_done), (gst_message_new_custom):
20430         * gst/gstmessage.h:
20431         * tools/gst-launch.c: (event_loop):
20432         * tools/gst-md5sum.c: (event_loop):
20433           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20434
20435 2005-08-25  Wim Taymans  <wim@fluendo.com>
20436
20437         * check/generic/states.c: (GST_START_TEST):
20438         Cleanup can be done at the end.
20439
20440         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20441         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20442         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20443         Oh boy.. Thanks for finding this, Thomas. 
20444
20445 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20446
20447         * docs/gst/gstreamer.types:
20448           added missing types
20449
20450 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20451
20452         * docs/gst/gstreamer-docs.sgml:
20453         * docs/gst/gstreamer-sections.txt:
20454         * docs/gst/tmpl/.cvsignore:
20455         * gst/gstbin.c:
20456         * gst/gstiterator.c:
20457         * gst/gstutils.c:
20458         * gst/registries/gstxmlregistry.h:
20459           added missing classes and symbols (123 more to go)
20460           removed removed symbols from section file
20461           fixed many doc-comments
20462
20463 2005-08-24  Wim Taymans  <wim@fluendo.com>
20464
20465         * check/generic/states.c: (GST_START_TEST):
20466         Make sure all tasks are stopped.
20467
20468         * check/gst/gstbin.c: (GST_START_TEST):
20469         Unref after usage for proper valgrinding.
20470
20471         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20472         Really wait for the task to stop before destroying the
20473         mutex.
20474
20475         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20476         (gst_queue_src_activate_push):
20477         Small cleanups. Don't stop the task when we did not start
20478         it.
20479
20480         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20481         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20482         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20483         (gst_task_join):
20484         * gst/gsttask.h:
20485         Protect the stream lock with the object lock.
20486         Disallow setting the stream lock when running.
20487         Add cleanup_all to wait for the threadpool to finish.
20488         Remove code to autoallocate a mutex if none was provided.
20489         Add _join() to wait for a task to stop.
20490         Protect the thread pool with a global lock.
20491
20492 2005-08-24  Wim Taymans  <wim@fluendo.com>
20493
20494         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20495         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20496         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20497         * gst/base/gstbasesink.h:
20498         Handle newsegment events correctly.
20499         Drop buffers out of the segment range.
20500
20501 2005-08-22  Andy Wingo  <wingo@pobox.com>
20502
20503         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20504         macro, implements an interface and gstimplementsinterface for a
20505         new type.
20506
20507 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20508
20509         * check/Makefile.am:
20510         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20511           add a test that does a bunch of state changes on elements
20512           needs some fixing for valgrind
20513         * check/states/sinks.c: (gst_object_suite):
20514           whitespace
20515         * gst/gstcaps.h:
20516           add prototype for gst_caps_is_equal_fixed
20517         * gst/gstplugin.c:
20518         * gst/gstregistrypool.c:
20519           doc fixes
20520
20521 2005-08-24  Andy Wingo  <wingo@pobox.com>
20522
20523         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20524         convert a negative value. Doesn't make much sense. Mostly this is
20525         here to force callers to ensure -1 maps to -1.
20526
20527 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20528
20529         * docs/pwg/advanced-types.xml:
20530           Well done to Michael for catching my deliberate introduction
20531           of this spelling mistake. 
20532         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20533         * gst/gstelement.h:
20534           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20535           unlink pads before removing the element from the bin.
20536
20537 2005-08-24  Andy Wingo  <wingo@pobox.com>
20538
20539         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20540         the same thing as GST_DEBUG=*:4.
20541         (parse_debug_level, parse_debug_category): New helper parsers.
20542
20543 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20544
20545         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20546         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20547         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20548         (gst_base_transform_buffer_alloc),
20549         (gst_base_transform_handle_buffer):
20550           use gboolean return values and pointers to size so we can use the
20551           full GST_BUFFER_SIZE range (guint) for buffer sizes
20552           use GstPadDirection for transform_caps
20553         * gst/base/gstbasetransform.h:
20554           rename get_size to get_unit_size since that's what it is
20555         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20556           use GstPadDirection for transform_caps
20557         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20558         * gst/gstutils.h:
20559           cleanup and debugging
20560
20561 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20562
20563         * gst/gstelement.c: (gst_element_class_init),
20564         (gst_element_set_state), (activate_pads),
20565         (gst_element_save_thyself):
20566         * tools/gst-compprep.c: (main):
20567         * tools/gst-inspect.c: (print_element_properties_info):
20568         * tools/gst-xmlinspect.c: (print_element_properties):
20569           Fixed long standing mem-leak
20570
20571 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20572
20573         * check/gst/gstbin.c: (GST_START_TEST):
20574         * gst/gstbin.c: (bin_bus_handler):
20575         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20576         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20577         (gst_message_new_warning), (gst_message_new_tag),
20578         (gst_message_new_state_changed), (gst_message_new_segment_start),
20579         (gst_message_new_segment_done), (gst_message_new_custom):
20580         * gst/gstmessage.h:
20581         * tools/gst-launch.c: (event_loop):
20582         * tools/gst-md5sum.c: (event_loop):
20583           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20584           that applications can sensibly post custom messages with references
20585           to their own objects.
20586
20587 2005-08-24  Andy Wingo  <wingo@pobox.com>
20588
20589         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20590         already.
20591
20592 2005-08-24  Wim Taymans  <wim@fluendo.com>
20593
20594         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20595         (gst_base_transform_transform_caps),
20596         (gst_base_transform_transform_size),
20597         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20598         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20599         (gst_base_transform_handle_buffer):
20600         * gst/base/gstbasetransform.h:
20601         Many fixes and new features added by Thomas. Can now also do
20602         transforms with variable sizes and a custom fixate_caps function.
20603
20604 2005-08-24  Wim Taymans  <wim@fluendo.com>
20605
20606         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20607         Some debugging.
20608
20609         * gst/gstclock.h:
20610         Cast to ClockTime before formatting to time.
20611
20612         * gst/gstutils.h:
20613         Cleanups.
20614
20615 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20616
20617         * check/gst-libs/controller.c: (GST_START_TEST),
20618         (gst_controller_suite):
20619         * docs/gst/tmpl/gstcaps.sgml:
20620         * docs/gst/tmpl/gstghostpad.sgml:
20621         * docs/gst/tmpl/gstquery.sgml:
20622         * docs/gst/tmpl/gstutils.sgml:
20623         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20624         (gst_object_sink_values), (gst_object_get_value_arrays),
20625         (gst_object_get_value_array):
20626           gracefully handle helper method calls to objects that are not beeing
20627           controlled, added test case for that          
20628
20629 2005-08-23  Wim Taymans  <wim@fluendo.com>
20630
20631         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20632         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20633         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20634         (gst_event_parse_qos), (gst_event_new_seek),
20635         (gst_event_parse_seek):
20636         * gst/gstevent.h:
20637         Some more debugging output and doc cleanups.
20638
20639         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20640         Fix possible deadlock.
20641
20642 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20643
20644         * docs/gst/gstreamer-docs.sgml:
20645         * docs/gst/gstreamer-sections.txt:
20646         * docs/gst/gstreamer.types:
20647         * docs/gst/tmpl/.cvsignore:
20648         * gst/gstbin.h:
20649         * gst/gstbus.c:
20650         * gst/gstelement.c:
20651         * gst/gstevent.h:
20652           added 100 symbols from gstreamer-unused.txt to the right sections
20653           fixed more broken comments
20654           added GstBus to docs
20655
20656 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20657
20658         * docs/gst/gstreamer-sections.txt:
20659         * docs/gst/tmpl/.cvsignore:
20660         * docs/gst/tmpl/gstbin.sgml:
20661         * docs/gst/tmpl/gstbuffer.sgml:
20662         * gst/base/gstbasesrc.c:
20663         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20664         * gst/gstbuffer.c:
20665         * gst/gstbuffer.h:
20666         * tools/gst-launch.1.in:
20667           inlined more doc comments, added missing comments and fixed comments
20668           fixed typos
20669
20670 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20671
20672         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20673           some debugging
20674         * gst/gstcaps.h:
20675           whitespace fixes
20676         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20677           more debugging
20678         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20679         * gst/gststructure.h:
20680           add a fixate function for booleans; add a FIXME that these func
20681           names should probably be gst_structure_fixate_*
20682
20683 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20684
20685         * docs/gst/gstreamer-docs.sgml:
20686         * docs/gst/gstreamer-sections.txt:
20687         * gst/Makefile.am:
20688         * gst/gstbin.c: (gst_bin_get_type),
20689         (gst_bin_child_proxy_get_child_by_index),
20690         (gst_bin_child_proxy_get_children_count),
20691         (gst_bin_child_proxy_init):
20692         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20693         (gst_child_proxy_get_child_by_index),
20694         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20695         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20696         (gst_child_proxy_get), (gst_child_proxy_set_property),
20697         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20698         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20699         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20700         * gst/gstchildproxy.h:
20701         * gst/parse/grammar.y:
20702         * tools/gst-inspect.c: (print_interfaces),
20703         (print_element_properties_info), (print_element_info):
20704           ported gstchildproxy over from 0.8
20705           ported gst-inspect fixes and enhancements over from 0.8
20706
20707 2005-08-22  Wim Taymans  <wim@fluendo.com>
20708
20709         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20710         (gst_base_transform_handle_buffer):
20711         Also call the transform function if we have ANY caps.
20712
20713         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20714         Fix debug info.
20715
20716 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20717
20718         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20719           Don't pretend to handle seek events if the source is not seekable
20720
20721 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20722
20723         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20724           Remove extra parameter to debug output
20725
20726         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20727         (gst_base_src_do_seek), (gst_base_src_activate_push):
20728           Fix seek event handling.
20729
20730         * gst/gstpipeline.c: (gst_pipeline_change_state):
20731         * gst/gstqueue.c: (gst_queue_handle_sink_event),
20732         (gst_queue_src_activate_push):
20733           Don't start the src pad task on FLUSH_STOP if the pad
20734           isn't linked.
20735           Debug changes.
20736
20737 2005-08-22  Wim Taymans  <wim@fluendo.com>
20738
20739         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20740         Added check for gst_static_caps_get() refcounting.
20741
20742 2005-08-22  Wim Taymans  <wim@fluendo.com>
20743
20744         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20745         Make _static_caps_get() refcounting sane.
20746         
20747         * gst/gstelement.c: (gst_element_set_state):
20748         Add g_return_val_if_fail() to protect against segfaults.
20749
20750 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
20751
20752         * docs/gst/tmpl/gstevent.sgml:
20753         * gst/gstevent.c:
20754         * gst/gstevent.h:
20755           inlined remaining docs, added missing doc comments
20756
20757 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20758
20759         * check/gst/gstbin.c: (GST_START_TEST):
20760           since we don't know when preroll is done, use refcount range
20761           check for the sink
20762         * gst/check/gstcheck.h:
20763           add macro for checking refcount range
20764
20765 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20766
20767         * check/Makefile.am:
20768           clean up environment for when registry gets built versus
20769           when actual tests are run; valgrind seems to not report
20770           leaks if GST_PLUGIN_PATH is set to some specific values
20771         * check/gst/gstbin.c: (GST_START_TEST):
20772           add more refcounting checks; maybe this exposes a
20773           preroll lock bug ?
20774         * common/check.mak:
20775         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20776         * gst/check/gstcheck.h:
20777         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20778         (gst_bin_change_state):
20779         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20780           add/fix debugging/whitespace
20781
20782 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20783
20784         * check/gst/gstevent.c: (event_probe), (test_event),
20785         (GST_START_TEST):
20786          Er, don't call gst_bin_watch_for_state_change you idiot.
20787
20788 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20789
20790         * check/Makefile.am:
20791           Use CHECK_CFLAGS and CHECK_LIBS
20792         * check/gst/gstevent.c: (event_probe), (test_event),
20793         (GST_START_TEST):
20794           Don't leak events.
20795         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20796         (gst_base_src_start), (gst_base_src_stop),
20797         (gst_base_src_activate_push), (gst_base_src_activate_pull),
20798         (gst_base_src_change_state):
20799           Sprinkle gst_base_src_stop liberally around error paths to fix
20800           problems reusing a source after failed state changes.
20801         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20802         (helper_find_suggest), (gst_type_find_helper):
20803           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20804         * gst/gstevent.h:
20805         * docs/gst/tmpl/gstevent.sgml:
20806           Migrate part of the docs from the SGML file. Wait for ensonic to
20807           tell me how I did it wrong ;)
20808         * tools/gst-typefind.c: (main):
20809           Extra robustness to state changes between files.
20810
20811 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20812
20813         * check/Makefile.am:
20814           don't valgrind the controller test - it's leaking - Stefan, HELP
20815         * gst/check/gstcheck.c: (gst_check_message_error),
20816         (gst_check_chain_func), (gst_check_setup_element),
20817         (gst_check_teardown_element), (gst_check_setup_src_pad),
20818         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20819         (gst_check_teardown_sink_pad):
20820         * gst/check/gstcheck.h:
20821           add a bunch of methods to set up elements, and src and sink pads
20822         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20823         * check/elements/identity.c: (setup_identity), (cleanup_identity),
20824         (GST_START_TEST):
20825           use them
20826         * gst/gstmessage.c:
20827         * gst/gsttag.h:
20828           whitespace/doc fixes
20829
20830 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20831
20832         * gst/gstelement.h:
20833           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20834           be handled by the application and not always printed as well
20835
20836 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20837
20838         * check/Makefile.am:
20839           set GST_TOOLS_DIR
20840         * gst/check/gstcheck.c: (gst_check_message_error):
20841         * gst/check/gstcheck.h:
20842           add a fail_unless_equals_int
20843           add fail_unless for error messages
20844
20845 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20846
20847         * check/Makefile.am:
20848         * check/gst.supp:
20849         * common/Makefile.am:
20850         * common/check.mak:
20851         * common/gst.supp:
20852           factor out some of the common stuff so we can use it
20853
20854 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20855
20856         * check/Makefile.am:
20857         * check/gst/gstiterator.c: (GST_START_TEST):
20858         * check/gst/gstsystemclock.c: (GST_START_TEST),
20859         (gst_systemclock_suite):
20860         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20861         * gst/gstclock.c:
20862           valgrind more tests
20863
20864 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20865
20866         * check/elements/.cvsignore:
20867         * check/elements/gstfakesrc.c:
20868           rename to name of element
20869         * check/elements/identity.c: (chain_func), (event_func),
20870         (setup_identity), (cleanup_identity), (GST_START_TEST),
20871         (identity_suite), (main):
20872           add a test for identity
20873         * check/Makefile.am:
20874         * pkgconfig/Makefile.am:
20875         * pkgconfig/gstreamer-check.pc.in:
20876         * pkgconfig/gstreamer-check-uninstalled.pc.in:
20877         * gst/check:
20878         * gst/Makefile.am:
20879         * configure.ac:
20880           move the check stuff to a library that gets installed
20881         * check/gst-libs/controller.c: (GST_START_TEST):
20882         * check/gst-libs/gdp.c:
20883         * check/gst/gst.c: (GST_START_TEST):
20884         * check/gst/gstbin.c:
20885         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20886         * check/gst/gstbus.c:
20887         * check/gst/gstcaps.c: (GST_START_TEST):
20888         * check/gst/gstelement.c:
20889         * check/gst/gstghostpad.c:
20890         * check/gst/gstiterator.c:
20891         * check/gst/gstmessage.c:
20892         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20893         * check/gst/gstobject.c:
20894         * check/gst/gstpad.c: (GST_START_TEST):
20895         * check/gst/gststructure.c: (GST_START_TEST):
20896         * check/gst/gstsystemclock.c: (GST_START_TEST),
20897         (gst_systemclock_suite):
20898         * check/gst/gsttag.c: (gst_tag_suite):
20899         * check/gst/gstvalue.c:
20900         * check/pipelines/cleanup.c:
20901         * check/pipelines/simple_launch_lines.c:
20902         * check/states/sinks.c:
20903           change include statement
20904
20905         * docs/gst/gstreamer-sections.txt:
20906         * docs/gst/tmpl/gstpad.sgml:
20907           document more pad stuff
20908         * gst/gstminiobject.c: (gst_mini_object_ref),
20909         (gst_mini_object_unref):
20910           debug refcounting
20911
20912 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
20913
20914         * docs/gst/tmpl/gst.sgml:
20915         * gst/gst.c:
20916           eliminate another tmpl file, fix spelling in the long-description
20917
20918 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20919
20920         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20921         (test_event), (timediff), (gstevents_suite):
20922           Should fix build on 64-bit arch's
20923
20924 2005-08-18  Andy Wingo  <wingo@pobox.com>
20925
20926         Make sure that when a pipeline goes to PLAYING, that data has
20927         actually hit the sink.
20928
20929         * check/states/sinks.c (test_sink): A sink that doesn't get any
20930         data shouldn't return SUCCESS for going to either PLAYING or
20931         PAUSED. Test also the return values on the way back down.
20932
20933         * gst/gstelement.c (gst_element_set_state): When changing the
20934         state of an element currently changing state asynchronously, go to
20935         lost-state after commiting the pending state. Makes future calls
20936         to get_state continue to return ASYNC.
20937
20938         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20939         ASYNC when going to PLAYING if we still don't have preroll, as can
20940         happen with live sources.
20941
20942 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20943
20944         * docs/pwg/advanced-types.xml:
20945           Hack long paragraph into 2 chunks as a workaround for buggy
20946           jadetex version in sid and breezy that loops infinitely and
20947           eats all RAM.
20948
20949 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20950
20951         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20952         (test_event), (timediff), (gstevents_suite):
20953           Provide more error margin in clock measurements to allow for 
20954           g_get_current_time inaccuracies.
20955
20956 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20957
20958         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20959         (test_event), (timediff), (gstevents_suite):
20960            Fix error message output so I might be able to tell why the
20961            test works here but fails on the build farm.
20962
20963 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20964
20965         * check/Makefile.am:
20966         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20967         (test_event), (timediff), (gstevents_suite), (main):
20968           I wrote a test!
20969
20970         * docs/design/part-seeking.txt:
20971           Spelling correction
20972
20973         * docs/gst/tmpl/gstevent.sgml:
20974         * docs/gst/tmpl/gstfakesrc.sgml:
20975           Docs updates.
20976
20977         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20978           Treat a buffer-without-newsegment the same as a receiving 
20979           a newsegment not in time format, and disable syncing to the clock
20980           with a warning.
20981
20982         * gst/gstbus.c: (gst_bus_set_sync_handler):
20983           Assert if anyone tries to replace the existing sync_handler for bus, 
20984           as only the owner should be setting it.
20985
20986         * gst/gstevent.h:
20987           Have a fixed set of custom event enums with events identified by
20988           their structure name (as in 0.8), rather than a free-for-all
20989           allowing collisions between enum values from different plugins.
20990
20991         * gst/gstpad.c: (gst_pad_class_init):
20992           Docs change.
20993           
20994         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20995           Handle out-of-band downstream events from the sending thread.
20996
20997 2005-08-17  Andy Wingo  <wingo@pobox.com>
20998
20999         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21000         play-timeout==0 to mean no timeout at all. In that case, don't
21001         bother with a get_state or a warning, just return directly, even
21002         if it's ASYNC.
21003
21004         * gst/base/gstbasetransform.c: Debug changes.
21005
21006         * gst/gstutils.h:
21007         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21008         ensure bins post state change messages. A bit of a hack but I can't
21009         think of a way to avoid it.
21010
21011         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21012
21013 2005-08-16  Andy Wingo  <wingo@pobox.com>
21014
21015         * gst/base/gstadapter.h:
21016         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21017         peek() but you own the data. Not terribly efficient atm.
21018
21019 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21020
21021         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21022         (gst_element_found_tags):
21023         * gst/gstutils.h:
21024           Add two utility functions for tag handling.
21025
21026 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21027
21028         * docs/manual/advanced-dataaccess.xml:
21029         * docs/manual/basics-helloworld.xml:
21030           Fix docs to use _bin_add() before _link(), which fixes the examples
21031           with recent core versions (reported by Madhan Raj M
21032           <raj_madan@rediffmail.com>, #313199).
21033
21034 2005-08-16  Wim Taymans  <wim@fluendo.com>
21035
21036         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21037         Added subtract checks.
21038
21039         * docs/design/part-events.txt:
21040         Some more docs about newsegment
21041
21042         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21043         Fix FIXME
21044
21045         * gst/gstcaps.c: (gst_caps_to_string):
21046         Add comments, cleanups.
21047         
21048         * gst/gstelement.c: (gst_element_save_thyself):
21049         cleanups
21050         
21051         * gst/gstvalue.c: (gst_value_collect_int_range),
21052         (gst_string_unwrap), (gst_value_union_int_int_range),
21053         (gst_value_union_int_range_int_range),
21054         (gst_value_intersect_int_int_range),
21055         (gst_value_intersect_int_range_int_range),
21056         (gst_value_intersect_double_double_range),
21057         (gst_value_intersect_double_range_double_range),
21058         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21059         (gst_value_subtract_int_range_int),
21060         (gst_value_subtract_double_range_double),
21061         (gst_value_subtract_double_range_double_range),
21062         (gst_value_subtract_from_list), (gst_value_subtract_list),
21063         (gst_value_can_compare), (gst_value_compare_fraction):
21064         Cleanups, add comments, remove unneeded asserts.
21065
21066 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21067
21068         * tools/gst-launch.c: (event_loop):
21069           don't convert NULL structures to strings
21070
21071 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21072
21073         * docs/gst/gstreamer-sections.txt:
21074           made some defines private
21075         * docs/gst/tmpl/gstconfig.sgml:
21076         * docs/gst/tmpl/gstqueue.sgml:
21077         * docs/gst/tmpl/gsttaglist.sgml:
21078         * docs/gst/tmpl/gsttypes.sgml:
21079         * docs/gst/tmpl/gstutils.sgml:
21080         * docs/pwg/appendix-porting.xml:
21081         * gst/base/gstbasesink.h:
21082         * gst/base/gstbasesrc.c:
21083         * gst/base/gstbasesrc.h:
21084         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21085         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21086         * gst/gstelement.c: (gst_element_class_init):
21087         * gst/gstpad.c: (gst_pad_class_init):
21088         * gst/gstqueue.c: (gst_queue_class_init):
21089         * gst/gstxml.c: (gst_xml_class_init):
21090           documented all undocumented signal inline
21091         * libs/gst/controller/gst-controller.h:
21092           added padding
21093
21094 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21095
21096         * docs/pwg/appendix-porting.xml:
21097           Document _set_link_function -> _set_setcaps_function.
21098
21099 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21100
21101         * check/Makefile.am:
21102           add a .check target for running the check
21103         * check/gst-libs/controller.c: (GST_START_TEST):
21104           cosmetic fixups
21105         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21106           complete checks for gstbuffer; would be nice if I could get the
21107           gcov stuff to work so I can see if I actually completed gstbuffer.c
21108         * check/gstcheck.h:
21109           add ASSERT_BUFFER_REFCOUNT
21110
21111 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21112
21113         * docs/gst/gstreamer-sections.txt:
21114         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21115         * gst/gsttag.h:
21116           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21117           spew out a warning if a tag that is already registered
21118           is re-registered, unless it is re-registered with a 
21119           different type (#308438).
21120
21121 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21122
21123         * docs/pwg/appendix-porting.xml:
21124         * docs/pwg/building-state.xml:
21125           Add some paragraphs about state changes in 0.9 to the PWG
21126           and the porting guide, in particular about the new meaning
21127           of GST_STATE_PAUSED and how to write state change functions
21128           with concurrent access by multiple threads in mind.
21129
21130 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21131
21132         * docs/gst/gstreamer-docs.sgml:
21133         * docs/libs/gstreamer-libs-docs.sgml:
21134           added deprecation and since indexes
21135         * libs/gst/controller/gst-controller.c:
21136         * libs/gst/controller/gst-helper.c:
21137           added since tags
21138
21139
21140 2005-08-11  Wim Taymans  <wim@fluendo.com>
21141
21142         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21143         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21144         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21145         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21146         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21147         (gst_ghost_pad_set_target):
21148         Actually implement (re)setting the target on a ghostpad
21149         as described in the docs.
21150
21151 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21152
21153         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21154           Check whether GST_DEBUG_NO_COLOR environment variable is
21155           set and disable coloured debug output if that is the case.
21156
21157 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21158
21159         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21160         (gst_type_find_helper):
21161           The memory returned by gst_type_find_peek() needs to
21162           stay valid until the end of a typefind function, and
21163           typefind functions may keep results from different 
21164           offsets around, so we can't just unref the buffer from
21165           the previous _peek(), but have to save all buffers 
21166           returned by _peek() until typefinding is done and only
21167           free them then.
21168
21169 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21170
21171         * docs/gst/gstreamer-sections.txt:
21172         * gst/gstutils.h:
21173           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21174
21175 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21176
21177         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21178           Fix a pretty good memleak.
21179
21180 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21181
21182         * gst/gstiterator.h:
21183           Fix wrong include and 'make distcheck'.
21184
21185 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21186
21187         * gst/gstbin.c: (bin_bus_handler):
21188           Use gst_element_post_message() instead.
21189
21190 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21191
21192         * gst/base/gstadapter.h:
21193         * gst/base/gstbasesink.h:
21194         * gst/base/gstbasesrc.h:
21195         * gst/base/gstbasetransform.h:
21196         * gst/base/gstcollectpads.h:
21197         * gst/base/gstpushsrc.h:
21198         * gst/gstiterator.h:
21199           Add padding to our base elements' class and instance structs and
21200           to GstIterator (you will need to rebuild all plugins and apps!)
21201
21202 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21203
21204         * gst/gstbin.c: (bin_bus_handler):
21205           Make default message forwarding from child->bus to bin->bus
21206           threadsafe and make it not emit warnings if the parent has no bus.
21207
21208 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21209
21210         * gst/gstelement.c: (activate_pads):
21211           On paused->ready, set pad->caps to NULL, as is the documented
21212           behaviour in this state change. Fixes playback of series of
21213           media files when visualization is enabled in Totem.
21214
21215 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21216
21217         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21218           Allow NULL as filter-caps (which means "any").
21219
21220 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21221
21222         * docs/libs/gstreamer-libs-sections.txt:
21223         * libs/gst/controller/gst-controller.c:
21224         * libs/gst/controller/gst-controller.h:
21225         * libs/gst/controller/gst-helper.c:
21226           adding more entries to the docs and fix small doc-bugs
21227
21228 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21229
21230         * docs/gst/gstreamer-docs.sgml:
21231         * docs/gst/gstreamer-sections.txt:
21232         * docs/gst/gstreamer.types:
21233         * docs/gst/tmpl/gstbasesink.sgml:
21234         * docs/gst/tmpl/gstbasesrc.sgml:
21235         * docs/gst/tmpl/gstbasetransform.sgml:
21236         * docs/gst/tmpl/gstfakesrc.sgml:
21237         * gst/base/gstcollectpads.c:
21238         * gst/base/gstcollectpads.h:
21239         * libs/gst/controller/gst-controller.c:
21240         * libs/gst/controller/gst-controller.h:
21241         * libs/gst/controller/gst-helper.c:
21242         * libs/gst/controller/gst-interpolation.c:
21243         * libs/gst/controller/lib.c:
21244           added long/short desc for controller docs
21245           added collectpads base class docs
21246           added correct includes to base-class docs
21247
21248 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21249
21250         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21251         (gst_test_mono_source_set_property),
21252         (gst_test_mono_source_class_init), (GST_START_TEST),
21253         (gst_controller_suite):
21254         * docs/gst/gstreamer-docs.sgml:
21255         * docs/gst/gstreamer-sections.txt:
21256         * docs/gst/gstreamer.types:
21257         * docs/libs/gstreamer-libs-docs.sgml:
21258         * docs/libs/gstreamer-libs-sections.txt:
21259         * gst/base/gstadapter.c:
21260         * libs/gst/controller/gst-controller.c:
21261         (gst_controlled_property_new), (gst_controlled_property_free),
21262         (gst_controller_new_valist),
21263         (gst_controller_remove_properties_valist),
21264         (gst_controller_sink_values), (_gst_controller_finalize):
21265         * libs/gst/controller/gst-controller.h:
21266         * libs/gst/controller/gst-helper.c:
21267         (gst_object_control_properties), (gst_object_uncontrol_properties),
21268         (gst_object_get_controller), (gst_object_set_controller),
21269         (gst_object_sink_values), (gst_object_get_value_arrays),
21270         (gst_object_get_value_array):
21271           more tests (and fixes) for the controller
21272           more docs for the controller
21273           integrated companies docs for the adapter 
21274
21275 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21276
21277         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21278         (GST_START_TEST), (fakesrc_suite):
21279           add tests for sizetype
21280
21281 2005-08-04  Andy Wingo  <wingo@pobox.com>
21282
21283         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21284         fixes buffer_alloc proxying among other things.
21285
21286         * gst/base/gstbasetransform.c:
21287         * gst/base/gstbasetransform.h:
21288         Revert patch to gstbasetransform from 7-28 removing
21289         delay_configure.
21290
21291         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21292         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21293         Semantics changed, should return not the size of the output buffer
21294         but the byte size of a buffer with a given caps.
21295
21296         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21297         debug object.
21298         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21299         out) are not the pad caps until setcaps finishes.
21300         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21301         not-in-place case as well. Deal with changing from in-place to
21302         not-in-place within calling pad_alloc_buffer. Still a bit
21303         concerned about the overhead here...
21304
21305 2005-08-03  Andy Wingo  <wingo@pobox.com>
21306
21307         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21308         fixating is an error.
21309
21310 2005-08-04  Edward Hervey  <edward@fluendo.com>
21311
21312         * gst/base/gstadapter.h: 
21313         Added gst_adapter_get_type() to the header
21314
21315 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21316
21317         * check/Makefile.am:
21318         * check/gst-libs/controller.c:
21319         * libs/gst/controller/gst-controller.c:
21320         (gst_controller_new_valist):
21321           added check test suite for the controller
21322         * gst/base/gstpushsrc.c:
21323           fixed a doc typo
21324
21325 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21326
21327         * docs/gst/Makefile.am:
21328         * docs/gst/gstreamer-docs.sgml:
21329         * docs/gst/gstreamer-sections.txt:
21330         * docs/gst/gstreamer.types:
21331         * docs/gst/tmpl/gstfakesrc.sgml:
21332         * gst/base/README:
21333         * gst/base/gstbasesink.c:
21334         * gst/base/gstbasesink.h:
21335         * gst/base/gstbasesrc.c:
21336         * gst/base/gstbasesrc.h:
21337         * gst/base/gstbasetransform.c:
21338         * gst/base/gstpushsrc.c:
21339         * gst/base/gstpushsrc.h:
21340           add short/long description docs to base classes
21341           add pushsrc to the docs
21342           remove consolidated doc fragments
21343
21344 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21345
21346         * configure.ac:
21347         * docs/libs/Makefile.am:
21348         * docs/libs/gstreamer-libs-docs.sgml:
21349         * docs/libs/gstreamer-libs-sections.txt:
21350         * docs/libs/gstreamer-libs.types:
21351         * examples/Makefile.am:
21352         * examples/controller/.cvsignore:
21353         * examples/controller/Makefile.am:
21354         * examples/controller/audio-example.c: (main):
21355         * libs/gst/Makefile.am:
21356         * libs/gst/controller/.cvsignore:
21357         * libs/gst/controller/Makefile.am:
21358         * libs/gst/controller/gst-controller.c:
21359         (on_object_controlled_property_changed), (gst_timed_value_compare),
21360         (gst_timed_value_find),
21361         (gst_controlled_property_set_interpolation_mode),
21362         (gst_controlled_property_new), (gst_controlled_property_free),
21363         (gst_controller_find_controlled_property),
21364         (gst_controller_new_valist), (gst_controller_new),
21365         (gst_controller_remove_properties_valist),
21366         (gst_controller_remove_properties), (gst_controller_set),
21367         (gst_controller_set_from_list), (gst_controller_unset),
21368         (gst_controller_get), (gst_controller_get_all),
21369         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21370         (gst_controller_get_value_array),
21371         (gst_controller_set_interpolation_mode),
21372         (_gst_controller_finalize), (_gst_controller_init),
21373         (_gst_controller_class_init), (gst_controller_get_type):
21374         * libs/gst/controller/gst-controller.h:
21375         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21376         (g_object_uncontrol_properties), (g_object_get_controller),
21377         (g_object_set_controller), (g_object_sink_values),
21378         (g_object_get_value_arrays), (g_object_get_value_array):
21379         * libs/gst/controller/gst-interpolation.c:
21380         (gst_controlled_property_find_timed_value_node),
21381         (interpolate_none_get), (interpolate_trigger_get),
21382         (interpolate_trigger_get_value_array):
21383         * libs/gst/controller/lib.c: (gst_controller_init):
21384         * pkgconfig/Makefile.am:
21385         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21386         * pkgconfig/gstreamer-control.pc.in:
21387         * testsuite/Makefile.am:
21388         * testsuite/controller/.cvsignore:
21389         * testsuite/controller/Makefile.am:
21390         * testsuite/controller/interpolator.c: (main):
21391           added controller code
21392           removed dparam pc files
21393
21394 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21395         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21396         (gst_collectpads_stop):
21397           Broadcast the condition when shutting down, to make sure we wake all
21398           threads up. Shut down pads on finalize, for safety.
21399
21400 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21401         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21402         (gst_base_transform_handle_buffer),
21403         (gst_base_transform_change_state):
21404           Handle PAUSED->READY->PAUSED transition after negotiation
21405           occurred already.
21406         * gst/gstmessage.c: (gst_message_init):
21407           Extra piece of debug for new messages.
21408
21409 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21410
21411         * configure.ac:
21412         * docs/gst/tmpl/gstbasesrc.sgml:
21413         * docs/gst/tmpl/gstelement.sgml:
21414         * docs/gst/tmpl/gstevent.sgml:
21415         * docs/gst/tmpl/gstfakesrc.sgml:
21416         * docs/gst/tmpl/gstformat.sgml:
21417         * docs/gst/tmpl/gstghostpad.sgml:
21418         * docs/gst/tmpl/gstpad.sgml:
21419         * docs/gst/tmpl/gstquery.sgml:
21420         * docs/gst/tmpl/gststructure.sgml:
21421         * docs/gst/tmpl/gsttaglist.sgml:
21422         * docs/gst/tmpl/gstvalue.sgml:
21423         * docs/libs/gstreamer-libs-docs.sgml:
21424         * docs/libs/gstreamer-libs-sections.txt:
21425         * docs/libs/gstreamer-libs.types:
21426         * libs/gst/Makefile.am:
21427         * libs/gst/control/.cvsignore:
21428         * libs/gst/control/Makefile.am:
21429         * libs/gst/control/control.c:
21430         * libs/gst/control/control.h:
21431         * libs/gst/control/dparam.c:
21432         * libs/gst/control/dparam.h:
21433         * libs/gst/control/dparam_smooth.c:
21434         * libs/gst/control/dparam_smooth.h:
21435         * libs/gst/control/dparamcommon.h:
21436         * libs/gst/control/dparammanager.c:
21437         * libs/gst/control/dparammanager.h:
21438         * libs/gst/control/dplinearinterp.c:
21439         * libs/gst/control/dplinearinterp.h:
21440         * libs/gst/control/unitconvert.c:
21441         * libs/gst/control/unitconvert.h:
21442         * testsuite/Makefile.am:
21443         * testsuite/dynparams/.cvsignore:
21444         * testsuite/dynparams/Makefile.am:
21445         * testsuite/dynparams/dparamstest.c:
21446         * tools/Makefile.am:
21447         * tools/gst-inspect.c: (print_element_info), (main):
21448         * tools/gst-xmlinspect.c: (print_element_info), (main):
21449           deactivate and remove dparams (libgstcontrol)
21450
21451 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21452
21453         * gst/elements/gsttypefindelement.c:
21454         (gst_type_find_element_have_type), (gst_type_find_element_init),
21455         (stop_typefinding), (gst_type_find_element_handle_event),
21456         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21457         * gst/elements/gsttypefindelement.h:
21458           Set caps on all outgoing buffers, not just the first one.
21459
21460 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21461
21462         * gst/elements/gsttypefindelement.c:
21463         (gst_type_find_element_have_type),
21464         (gst_type_find_element_check_set_buffer_caps),
21465         (gst_type_find_element_init), (stop_typefinding),
21466         (gst_type_find_element_handle_event),
21467         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21468         * gst/elements/gsttypefindelement.h:
21469           Set caps on first outgoing buffer when we've found the type.
21470
21471 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21472
21473         * docs/gst/gstreamer-docs.sgml:
21474         * docs/gst/gstreamer-sections.txt:
21475         * docs/gst/tmpl/gstscheduler.sgml:
21476         * docs/gst/tmpl/gstschedulerfactory.sgml:
21477           Remove some old cruft from docs.
21478
21479 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21480
21481         * gst/gstpad.h:
21482           Fix inline docs for GstPadLinkReturn.
21483           
21484         * gst/gststructure.c: (gst_structure_has_name):
21485         * gst/gststructure.h:
21486         * docs/gst/gstreamer-sections.txt:
21487           New API: gst_structure_has_name().
21488
21489 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21490
21491         * configure.ac:
21492           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21493           and _LARGEFILE_SOURCE in config.h as required. Do not 
21494           export those flags in our .pc files any longer (#142209).
21495
21496           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21497
21498         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21499         (gst_file_sink_do_seek), (gst_file_sink_event),
21500         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21501           Redo seek/tell calls with large file support in mind; add some
21502           debugging messages; add log message that tells us when large
21503           file support is unavailable or not enabled for some reason.
21504
21505         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21506           Add log message that tells us when large file support 
21507           is unavailable or not enabled for some reason.
21508
21509 2005-07-29  Wim Taymans  <wim@fluendo.com>
21510
21511         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21512         Added test for removing an element with ghostpad from a bin.
21513         Fixed test as current implementation does the right thing.
21514
21515         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21516         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21517         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21518         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21519         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21520         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21521         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21522         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21523         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21524         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21525         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21526         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21527         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21528         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21529         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21530         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21531         * gst/gstghostpad.h:
21532         Clean up ghostpads, remove properties for internal stuff.
21533         Make threadsafe.
21534         Fix refcounting.
21535         Prepare for switching targets, not all use cases work yet.
21536
21537 2005-07-29  Wim Taymans  <wim@fluendo.com>
21538
21539         * docs/design/part-gstghostpad.txt:
21540         Small update.
21541
21542         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21543         (gst_bin_remove_func):
21544         Unlinking pads while holding the bin LOCK is not a good
21545         idea.
21546
21547         * gst/gstpad.c: (gst_pad_class_init),
21548         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21549         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21550         No prob setting template after creating the pad.
21551
21552 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21553
21554         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21555         (gst_bus_peek), (gst_bus_source_dispatch),
21556         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21557         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21558           gst_bus_poll may be called from other threads. Handle
21559           this nicely by not making poll_data disappear off the
21560           stack once gst_bus_poll returns.
21561           gst_bus_peek now increments the refcount on the returned
21562           message.
21563
21564 2005-07-29  Wim Taymans  <wim@fluendo.com>
21565
21566         * docs/design/part-gstghostpad.txt:
21567         Overview of current GhostPad datastructures and use
21568         cases for changing the target.
21569
21570 2005-07-28  Wim Taymans  <wim@fluendo.com>
21571
21572         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21573         Added checks for hierarchy consistency whan adding linked
21574         elements to bins.
21575
21576         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21577         Added check to test element scheduling without bin/pipeline.
21578
21579         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21580         First add elements to bin, then link.
21581         
21582         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21583         (gst_bin_remove_func):
21584         Unlink pads from elements added/removed from bin to maintain
21585         hierarchy consistency.
21586
21587 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21588
21589         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21590         (gst_base_transform_handle_buffer):
21591         * gst/base/gstbasetransform.h:
21592           Remove broken delay_configure (fixes renegotiation of software
21593           scaling pipelines); remove some leftover printf()s.
21594
21595 2005-07-28  Wim Taymans  <wim@fluendo.com>
21596
21597         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21598         Added some more tests for wrong hierarchy
21599
21600         * docs/design/part-overview.txt:
21601         Some updates.
21602
21603         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21604         Cleanups.
21605
21606         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21607         (gst_element_dispose):
21608         Some more cleanups.
21609
21610         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21611         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21612         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21613         (gst_pad_set_caps), (gst_pad_send_event):
21614         Check for correct hierarchy when linking pads. Moving to
21615         strict requirement for ghostpads when linking elements in
21616         different bins.
21617
21618         * gst/gstpad.h:
21619         Clean ups. Added WRONG_HIERARCHY return value.
21620
21621 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21622
21623         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21624           Better debug if no transform is possible.
21625
21626 2005-07-27  Wim Taymans  <wim@fluendo.com>
21627
21628         * docs/random/wtay/network-transp:
21629         Some old doc I had.
21630
21631 2005-07-27  Wim Taymans  <wim@fluendo.com>
21632
21633         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21634         (gst_dp_event_from_packet):
21635         Fix serialization of seek events.
21636
21637 2005-07-27  Wim Taymans  <wim@fluendo.com>
21638
21639         * check/gst-libs/gdp.c: (GST_START_TEST):
21640         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21641         Fix compilation and fix event serialization.
21642
21643 2005-07-27  Wim Taymans  <wim@fluendo.com>
21644
21645         * CHANGES-0.9:
21646         * docs/design/part-TODO.txt:
21647         * docs/design/part-events.txt:
21648         Some docs updates
21649
21650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21651         (gst_base_sink_event), (gst_base_sink_do_sync),
21652         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21653         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21654         (gst_base_src_do_seek), (gst_base_src_event_handler),
21655         (gst_base_src_loop):
21656         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21657         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21658         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21659         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21660         (gst_base_transform_set_passthrough),
21661         (gst_base_transform_is_passthrough):
21662         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21663         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21664         Event updates.
21665
21666         * gst/gstbuffer.h:
21667         Use faster casts.
21668
21669         * gst/gstelement.c: (gst_element_seek):
21670         * gst/gstelement.h:
21671         Update gst_element_seek.
21672
21673         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21674         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21675         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21676         (gst_event_new_eos), (gst_event_new_newsegment),
21677         (gst_event_parse_newsegment), (gst_event_new_tag),
21678         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21679         (gst_event_parse_qos), (gst_event_new_seek),
21680         (gst_event_parse_seek), (gst_event_new_navigation):
21681         * gst/gstevent.h:
21682         Make GstEvent use GstStructure. Add parsing code, make sure the
21683         API is sufficiently generic.
21684         Mark possible directions of events and serialization.
21685
21686         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21687         (_gst_message_copy), (gst_message_new_segment_start),
21688         (gst_message_new_segment_done), (gst_message_new_custom),
21689         (gst_message_parse_segment_start),
21690         (gst_message_parse_segment_done):
21691         Small cleanups.
21692
21693         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21694         (gst_pad_set_caps), (gst_pad_send_event):
21695         Update for new events. 
21696         Catch events sent in wrong directions.
21697
21698         * gst/gstqueue.c: (gst_queue_link_src),
21699         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21700         (gst_queue_handle_src_query):
21701         Event updates.
21702
21703         * gst/gsttag.c:
21704         * gst/gsttag.h:
21705         Remove event code from this file.
21706
21707         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21708         (gst_dp_event_from_packet):
21709         Event updates.
21710
21711 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21712
21713         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21714         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21715         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21716           Make debugging actually useful.
21717
21718 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21719
21720         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21721         (gst_pad_fixate_caps):
21722           Implement default fixation once again, so that gst_pad_fixate()
21723           actually does anything at all. This probably needs to be some
21724           sort of a last resort, and use profile-based fixation first, but
21725           since that doesn't exist yet, this is the best we have. Fixes
21726           visualization in Totem.
21727
21728 2005-07-22  Wim Taymans  <wim@fluendo.com>
21729
21730         * docs/design/part-events.txt:
21731         Small update.
21732
21733         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21734         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21735         (gst_base_sink_activate_pull):
21736         Some more comments.
21737
21738         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21739         (gst_fake_src_create):
21740         Fix handoff marshall.
21741
21742         * gst/elements/gstidentity.c: (gst_identity_class_init),
21743         (gst_identity_transform_ip):
21744         We're a real inplace element.
21745
21746         * gst/gstbus.c: (gst_bus_post):
21747         Added some comments.
21748
21749         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21750         * tests/muxing/case1.c: (main):
21751         * tests/sched/dynamic-pipeline.c: (main):
21752         * tests/sched/interrupt1.c: (main):
21753         * tests/sched/interrupt2.c: (main):
21754         * tests/sched/interrupt3.c: (main):
21755         * tests/sched/runxml.c: (main):
21756         * tests/sched/sched-stress.c: (main):
21757         * tests/seeking/seeking1.c: (event_received), (main):
21758         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21759         (main):
21760         * tests/threadstate/threadstate3.c: (main):
21761         * tests/threadstate/threadstate4.c: (main):
21762         * tests/threadstate/threadstate5.c: (main):
21763         Fix the tests.
21764
21765 2005-07-21  Wim Taymans  <wim@fluendo.com>
21766
21767         * docs/design/part-seeking.txt:
21768         Some small additions.
21769
21770         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21771         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21772         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21773         * gst/base/gstbasesink.h:
21774         discont values are gint64, handle the math correctly.
21775
21776         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21777         Make the basesrc report error if the source pad is not linked.
21778
21779         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21780         (gst_queue_loop), (gst_queue_handle_src_query),
21781         (gst_queue_src_activate_push):
21782         Make queue collect data even if the srcpad is not linked.
21783         Start pushing out data as soon as it is linked.
21784
21785         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21786         * gst/gstutils.h:
21787         Added gst_flow_get_name() to ease error reporting.
21788
21789 2005-07-20  Wim Taymans  <wim@fluendo.com>
21790
21791         * gst/gstmessage.c: (gst_message_new_segment_start),
21792         (gst_message_new_segment_done), (gst_message_parse_segment_start),
21793         (gst_message_parse_segment_done):
21794         * gst/gstmessage.h:
21795         Added a bunch of messages for advanced seeking.
21796
21797         * gst/parse/grammar.y:
21798         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21799         (gst_dpman_state_changed):
21800         Fix some new-pad -> pad-added signals
21801
21802 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21803
21804         * docs/manual/appendix-porting.xml:
21805         * docs/pwg/appendix-porting.xml:
21806           Document new-pad/state-change signal renames and the FixedList
21807           type rename.
21808
21809 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21810
21811         * docs/manual/advanced-autoplugging.xml:
21812         * docs/manual/basics-helloworld.xml:
21813         * docs/manual/basics-pads.xml:
21814         * docs/random/ds/0.9-suggested-changes:
21815         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21816         * gst/gstelement.h:
21817         * gst/gstevent.h:
21818         * gst/gstformat.h:
21819         * gst/gstquery.h:
21820         * gst/gststructure.c: (gst_structure_value_get_generic_type),
21821         (gst_structure_parse_array), (gst_structure_parse_value):
21822         * gst/gstvalue.c: (gst_type_is_fixed),
21823         (gst_value_list_prepend_value), (gst_value_list_append_value),
21824         (gst_value_list_get_size), (gst_value_list_get_value),
21825         (gst_value_transform_array_string), (gst_value_serialize_array),
21826         (gst_value_deserialize_array), (gst_value_intersect_array),
21827         (gst_value_is_fixed), (_gst_value_initialize):
21828         * gst/gstvalue.h:
21829           GstElement::new-pad -> pad-added, GstElement::state-change ->
21830           state-changed, GstValueFixedList -> GstValueArray, add format and
21831           flags as their own arguments in gst_element_seek() (should improve
21832           "bindeability"), remove function generators since they don't work
21833           under a whole bunch of compilers (they were deprecated already
21834           anyway).
21835
21836 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21837
21838         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21839         (_gst_debug_register_funcptr):
21840         * gst/gstinfo.h:
21841           Fix illegal cast on some platforms (#309253).
21842
21843 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21844
21845         * gst/gstmessage.c: (gst_message_new_custom):
21846         * gst/gstmessage.h:
21847           Add _new_custom, make _new_application a macro to _new_custom.
21848
21849 2005-07-20  Wim Taymans  <wim@fluendo.com>
21850
21851         * gst/base/gstbasesrc.c: (gst_base_src_init),
21852         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21853         * gst/base/gstbasesrc.h:
21854         Add a gboolean to decide when to push out a discont.
21855
21856         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21857         (gst_queue_loop), (gst_queue_handle_src_query),
21858         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21859         (gst_queue_set_property), (gst_queue_get_property):
21860         Some cleanups.
21861
21862         * tests/threadstate/threadstate1.c: (main):
21863         Make a thread test compile and run... very silly..
21864
21865
21866 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21867
21868         * docs/manual/appendix-porting.xml:
21869           Mention removal of libgstgconf-0.9.la and existence of gconf
21870           elements.
21871
21872 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21873
21874         * docs/pwg/advanced-clock.xml:
21875         * docs/pwg/appendix-porting.xml:
21876         * docs/pwg/intro-preface.xml:
21877         * docs/pwg/other-base.xml:
21878         * docs/pwg/other-manager.xml:
21879         * docs/pwg/other-nton.xml:
21880         * docs/pwg/other-ntoone.xml:
21881         * docs/pwg/other-oneton.xml:
21882         * docs/pwg/pwg.xml:
21883           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21884           demuxer), remove n-to-n (was never written), fix some code examples
21885           and links and update the porting section to include all this.
21886
21887 2005-07-19  Wim Taymans  <wim@fluendo.com>
21888
21889         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21890         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21891         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21892         (gst_queue_src_activate_push), (gst_queue_change_state),
21893         (gst_queue_get_property):
21894         * gst/gstqueue.h:
21895         Propagate GstFlowReturn more intelligently upstream and output
21896         an ERROR/EOS when streaming stopped due to fatal error.
21897
21898 2005-07-19  Wim Taymans  <wim@fluendo.com>
21899
21900         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21901         Don't block forever for the state change to complete, the
21902         pipeline already did with a sensible timeout.
21903
21904 2005-07-19  Wim Taymans  <wim@fluendo.com>
21905
21906         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21907         Make sure we never call the create function is we
21908         got deactivated.
21909
21910 2005-07-19  Andy Wingo  <wingo@pobox.com>
21911
21912         * gst/parse/parse.l: Attempt to solve bug #172815.
21913
21914 2005-07-19  Wim Taymans  <wim@fluendo.com>
21915
21916         * docs/design/part-clocks.txt:
21917         * docs/design/part-events.txt:
21918         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21919         Small docs updates.
21920         Only update the seeking values when we are not
21921         busy streaming.
21922
21923 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21924
21925         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21926           Oops, ignore the result of gst_pad_push_event here.
21927
21928 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21929
21930         * gst/base/gstbasesrc.c: (gst_base_src_loop),
21931         (gst_base_src_activate_push):
21932           Send discont event from the loop function, as pads
21933           aren't activated yet in the activate_push handler.
21934
21935         * gst/gstbin.c: (bin_bus_handler):
21936           Don't leak element name.
21937
21938 2005-07-18  Andy Wingo  <wingo@pobox.com>
21939
21940         * configure.ac: Use AS_LIBTOOL_TAGS.
21941
21942 2005-07-18  Wim Taymans  <wim@fluendo.com>
21943
21944         * docs/gst/gstreamer.types:
21945         Remove deleted types.
21946
21947 2005-07-18  Wim Taymans  <wim@fluendo.com>
21948
21949         * check/elements/gstfakesrc.c: (GST_START_TEST):
21950         * configure.ac:
21951         * gst/Makefile.am:
21952         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21953         (init_popt_callback):
21954         * gst/gst.h:
21955         * gst/gst_private.h:
21956         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21957         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21958         * gst/gstbin.h:
21959         * gst/gstbus.h:
21960         * gst/gstconfig.h.in:
21961         * gst/gstelement.c: (gst_element_class_init),
21962         (gst_element_set_base_time), (gst_element_get_base_time),
21963         (iterator_fold_with_resync), (gst_element_change_state),
21964         (gst_element_dispose), (gst_element_get_bus):
21965         * gst/gstelement.h:
21966         * gst/gstelementfactory.h:
21967         * gst/gsterror.c: (_gst_core_errors_init):
21968         * gst/gsterror.h:
21969         * gst/gstevent.h:
21970         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21971         * gst/gstindex.c:
21972         * gst/gstinfo.c: (_gst_debug_init):
21973         * gst/gstmessage.c: (_gst_message_copy):
21974         * gst/gstmessage.h:
21975         * gst/gstminiobject.h:
21976         * gst/gstobject.c:
21977         * gst/gstobject.h:
21978         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21979         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21980         * gst/gstpad.h:
21981         * gst/gstparse.h:
21982         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21983         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21984         (gst_pipeline_get_last_stream_time):
21985         * gst/gstpipeline.h:
21986         * gst/gstpluginfeature.h:
21987         * gst/gstquery.h:
21988         * gst/gstscheduler.c:
21989         * gst/gstscheduler.h:
21990         * gst/gststructure.h:
21991         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21992         (gst_task_finalize), (gst_task_func), (gst_task_create),
21993         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21994         (gst_task_stop), (gst_task_pause):
21995         * gst/gsttask.h:
21996         * gst/gsttypefind.h:
21997         * gst/gsttypes.h:
21998         * gst/registries/gstlibxmlregistry.c: (load_feature),
21999         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22000         * gst/registries/gstxmlregistry.c:
22001         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22002         * gst/schedulers/threadscheduler.c:
22003         * libs/gst/control/dparammanager.h:
22004         * tools/gst-inspect.c: (print_element_list),
22005         (print_plugin_features), (print_element_features):
22006         * tools/gst-xmlinspect.c: (print_element_list),
22007         (print_plugin_info), (main):
22008         Removed plugable schedulers.
22009         Removed Scheduler/Manager from elements.
22010         Removed gsttypes.h, rearranged includes.
22011         Removed dependency pad<->element, element<>pipeline, and
22012         various others,  fix includes.
22013         implement gst_pad_get_parent() with gst_object_get_parent()
22014         Make GstTask sefcontained.
22015         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22016         timeout.
22017         Fix endless loop in iterator_fold_with_resync.
22018
22019
22020 2005-07-18  Wim Taymans  <wim@fluendo.com>
22021
22022         * gst/Makefile.am:
22023         * gst/gstarch.h:
22024         Remove old file.
22025
22026 2005-07-18  Wim Taymans  <wim@fluendo.com>
22027
22028         * gst/Makefile.am:
22029         No more cothreads.h
22030
22031 2005-07-18  Wim Taymans  <wim@fluendo.com>
22032
22033         * gst/cothreads.c:
22034         * gst/cothreads.h:
22035         Let's remove these.
22036
22037 2005-07-18  Wim Taymans  <wim@fluendo.com>
22038
22039         * docs/design/part-dynamic.txt:
22040         * docs/design/part-events.txt:
22041         * docs/design/part-seeking.txt:
22042         Some more docs in the works.
22043
22044         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22045         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22046         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22047         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22048         (gst_base_transform_handle_buffer),
22049         (gst_base_transform_sink_activate_push),
22050         (gst_base_transform_src_activate_pull),
22051         (gst_base_transform_set_passthrough),
22052         (gst_base_transform_is_passthrough):
22053         Refcounting fixes.
22054
22055         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22056         Cleanups.
22057
22058         * gst/gstevent.c: (gst_event_finalize):
22059         Set SRC to NULL.
22060
22061         * gst/gstutils.c: (gst_element_unlink),
22062         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22063         (gst_pad_proxy_setcaps):
22064         * gst/gstutils.h:
22065         Add _get_parent_element() to get a pads parent as an element.
22066
22067 2005-07-18  Wim Taymans  <wim@fluendo.com>
22068
22069         * check/gst/gstbin.c: (GST_START_TEST):
22070         Remove bogus test.
22071
22072 2005-07-18  Wim Taymans  <wim@fluendo.com>
22073
22074         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22075         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22076         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22077         (gst_base_sink_event), (gst_base_sink_do_sync),
22078         (gst_base_sink_chain), (gst_base_sink_loop),
22079         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22080         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22081         Refcounting fixes.
22082         Fix logic for returning ASYNC when not prerolled.
22083
22084 2005-07-18  Wim Taymans  <wim@fluendo.com>
22085
22086         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22087         Fix nasty refcount bug.
22088
22089 2005-07-16 Philippe Khalaf <burger@speedy.org>
22090
22091         * gst/elements/gstfdsrc.c:
22092         * gst/elements/gstfdsrc.h:
22093         * gst/elements/gstelements.c:
22094         * gst/elements/Makefile.am:
22095         Ported fdsrc to 0.9.
22096
22097 2005-07-16  Wim Taymans  <wim@fluendo.com>
22098
22099         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22100         (gst_base_sink_do_sync):
22101         Fix compile error.
22102
22103 2005-07-16  Wim Taymans  <wim@fluendo.com>
22104
22105         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22106         (gst_base_sink_event), (gst_base_sink_get_times),
22107         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22108         * gst/base/gstbasesink.h:
22109         Store and use discont values when syncing buffers as described
22110         in design docs.
22111         
22112         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22113         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22114         (gst_base_src_activate_push):
22115         Push discont event when starting.
22116
22117         * gst/elements/gstidentity.c: (gst_identity_transform):
22118         Small cleanups.
22119
22120         * gst/gstbin.c: (gst_bin_change_state):
22121         Small cleanups in base_time  distribution.
22122
22123         * gst/gstelement.c: (gst_element_set_base_time),
22124         (gst_element_get_base_time), (gst_element_change_state):
22125         * gst/gstelement.h:
22126         Added methods for the base_time of the element.
22127         Some MT fixes.
22128
22129         * gst/gstpipeline.c: (gst_pipeline_send_event),
22130         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22131         (gst_pipeline_get_last_stream_time):
22132         * gst/gstpipeline.h:
22133         MT fixes.
22134         Handle seeking as described in design doc, remove stream_time
22135         hack.
22136         Cleanups clock and stream_time selection code. Added accessors
22137         for the stream_time.
22138         
22139
22140 2005-07-16  Andy Wingo  <wingo@pobox.com>
22141
22142         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22143         (#305291).
22144
22145 2005-07-16  Wim Taymans  <wim@fluendo.com>
22146
22147         * check/gst/gstbin.c: (GST_START_TEST):
22148         Make elements silent as the deep_notify refs the
22149         parent, which might make the test fail.
22150
22151         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22152         Don't hold the lock for too long.
22153
22154 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22155
22156         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22157           Don't unref the caps we passed to gst_caps_make_writable() after
22158           passing them. gst_caps_make_writable() will do that for us.
22159
22160 2005-07-15  Andy Wingo  <wingo@pobox.com>
22161
22162         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22163         (#157311).
22164
22165         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22166         own marshalling function for the handoff signal. Properly type the
22167         buffer as a buffer. Fixes some warnings. Should do a more general
22168         solution.
22169         (gst_identity_class_init): Plug into the right marshaller.
22170
22171 2005-07-15  Wim Taymans  <wim@fluendo.com>
22172
22173         * docs/design/part-TODO.txt:
22174         * docs/design/part-clocks.txt:
22175         * docs/design/part-element-sink.txt:
22176         * docs/design/part-events.txt:
22177         * docs/design/part-gstpipeline.txt:
22178         Updated docs, mostly DISCONT related.
22179
22180 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22181
22182         * docs/pwg/building-pads.xml:
22183           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22184
22185 2005-07-15  Andy Wingo  <wingo@pobox.com>
22186
22187         * tools/gst-typefind.c: Update, add copyright block.
22188
22189         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22190         Normalize and truncate caps before fixation.
22191
22192         * gst/gstcaps.h:
22193         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22194         discards all but the first structure from its argument.
22195
22196 2005-07-15  Wim Taymans  <wim@fluendo.com>
22197
22198         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22199         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22200         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22201         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22202         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22203         (gst_base_transform_chain), (gst_base_transform_change_state),
22204         (gst_base_transform_set_passthrough),
22205         (gst_base_transform_is_passthrough):
22206         * gst/base/gstbasetransform.h:
22207         Make passthrough work using the bufferpools.
22208         Changed API a bit, subclasses have to write into a buffer
22209         provided by the base class.
22210         More debug info in nego functions.
22211         
22212         * gst/elements/gstidentity.c: (gst_identity_init),
22213         (gst_identity_transform):
22214         Port to new base class.
22215
22216 2005-07-15  Wim Taymans  <wim@fluendo.com>
22217
22218         * gst/gstmessage.c: (gst_message_new_state_changed):
22219         * tools/gst-launch.c: (event_loop), (main):
22220         Totally dump messages in -launch with the -m option.
22221         Fix message name for State messages,
22222
22223 2005-07-14  Wim Taymans  <wim@fluendo.com>
22224
22225         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22226         Post error messages on errors.
22227
22228 2005-07-14  Wim Taymans  <wim@fluendo.com>
22229
22230         * gst/gstcaps.c: (gst_caps_do_simplify):
22231         Remove debug info.
22232
22233         * gst/gsterror.h:
22234         Define error for stream stopped.
22235
22236         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22237         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22238         Do proper return values.
22239
22240         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22241         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22242         (gst_pad_get_range):
22243         Better return values.
22244
22245         * gst/gstpad.h:
22246         Reorganise return values, add macro to check for fatal errors.
22247
22248         * gst/gstqueue.c: (gst_queue_chain):
22249         Return proper GstFlowReturn values,
22250
22251 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22252
22253         * docs/gst/gstreamer-sections.txt:
22254         * docs/gst/gstreamer.types:
22255         * docs/gst/tmpl/gst.sgml:
22256         * docs/gst/tmpl/gstbasesink.sgml:
22257         * docs/gst/tmpl/gstbasesrc.sgml:
22258         * docs/gst/tmpl/gstbasetransform.sgml:
22259         * docs/gst/tmpl/gstbin.sgml:
22260         * docs/gst/tmpl/gstbuffer.sgml:
22261         * docs/gst/tmpl/gstcaps.sgml:
22262         * docs/gst/tmpl/gstclock.sgml:
22263         * docs/gst/tmpl/gstcompat.sgml:
22264         * docs/gst/tmpl/gstconfig.sgml:
22265         * docs/gst/tmpl/gstelement.sgml:
22266         * docs/gst/tmpl/gstelementdetails.sgml:
22267         * docs/gst/tmpl/gstelementfactory.sgml:
22268         * docs/gst/tmpl/gstenumtypes.sgml:
22269         * docs/gst/tmpl/gsterror.sgml:
22270         * docs/gst/tmpl/gstevent.sgml:
22271         * docs/gst/tmpl/gstfakesink.sgml:
22272         * docs/gst/tmpl/gstfakesrc.sgml:
22273         * docs/gst/tmpl/gstfilesink.sgml:
22274         * docs/gst/tmpl/gstfilesrc.sgml:
22275         * docs/gst/tmpl/gstfilter.sgml:
22276         * docs/gst/tmpl/gstformat.sgml:
22277         * docs/gst/tmpl/gstghostpad.sgml:
22278         * docs/gst/tmpl/gstimplementsinterface.sgml:
22279         * docs/gst/tmpl/gstindex.sgml:
22280         * docs/gst/tmpl/gstindexfactory.sgml:
22281         * docs/gst/tmpl/gstinfo.sgml:
22282         * docs/gst/tmpl/gstiterator.sgml:
22283         * docs/gst/tmpl/gstmacros.sgml:
22284         * docs/gst/tmpl/gstmemchunk.sgml:
22285         * docs/gst/tmpl/gstminiobject.sgml:
22286         * docs/gst/tmpl/gstobject.sgml:
22287         * docs/gst/tmpl/gstpad.sgml:
22288         * docs/gst/tmpl/gstpadtemplate.sgml:
22289         * docs/gst/tmpl/gstparse.sgml:
22290         * docs/gst/tmpl/gstpipeline.sgml:
22291         * docs/gst/tmpl/gstplugin.sgml:
22292         * docs/gst/tmpl/gstpluginfeature.sgml:
22293         * docs/gst/tmpl/gstquery.sgml:
22294         * docs/gst/tmpl/gstqueue.sgml:
22295         * docs/gst/tmpl/gstregistry.sgml:
22296         * docs/gst/tmpl/gstregistrypool.sgml:
22297         * docs/gst/tmpl/gstscheduler.sgml:
22298         * docs/gst/tmpl/gstschedulerfactory.sgml:
22299         * docs/gst/tmpl/gststructure.sgml:
22300         * docs/gst/tmpl/gstsystemclock.sgml:
22301         * docs/gst/tmpl/gsttaglist.sgml:
22302         * docs/gst/tmpl/gsttagsetter.sgml:
22303         * docs/gst/tmpl/gsttrace.sgml:
22304         * docs/gst/tmpl/gsttrashstack.sgml:
22305         * docs/gst/tmpl/gsttypefind.sgml:
22306         * docs/gst/tmpl/gsttypefindfactory.sgml:
22307         * docs/gst/tmpl/gsttypes.sgml:
22308         * docs/gst/tmpl/gsturihandler.sgml:
22309         * docs/gst/tmpl/gsturitype.sgml:
22310         * docs/gst/tmpl/gstutils.sgml:
22311         * docs/gst/tmpl/gstvalue.sgml:
22312         * docs/gst/tmpl/gstversion.sgml:
22313         * docs/gst/tmpl/gstxml.sgml:
22314         * docs/libs/tmpl/gstcontrol.sgml:
22315         * docs/libs/tmpl/gstdataprotocol.sgml:
22316         * docs/libs/tmpl/gstdparam.sgml:
22317         * docs/libs/tmpl/gstdplinint.sgml:
22318         * docs/libs/tmpl/gstdpman.sgml:
22319         * docs/libs/tmpl/gstdpsmooth.sgml:
22320         * docs/libs/tmpl/gstgetbits.sgml:
22321         * docs/libs/tmpl/gstunitconvert.sgml:
22322         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22323         (gst_push_src_base_init), (gst_push_src_class_init),
22324         (gst_push_src_init), (gst_push_src_create):
22325         * gst/base/gstpushsrc.h:
22326         * gst/elements/gstelements.c:
22327         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22328         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22329         (gst_fake_sink_init), (gst_fake_sink_set_property),
22330         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22331         (gst_fake_sink_event), (gst_fake_sink_preroll),
22332         (gst_fake_sink_render), (gst_fake_sink_change_state):
22333         * gst/elements/gstfakesink.h:
22334         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22335         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22336         (gst_fake_src_base_init), (gst_fake_src_class_init),
22337         (gst_fake_src_init), (gst_fake_src_event_handler),
22338         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22339         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22340         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22341         (gst_fake_src_create_buffer), (gst_fake_src_create),
22342         (gst_fake_src_start), (gst_fake_src_stop):
22343         * gst/elements/gstfakesrc.h:
22344         * gst/elements/gstfilesink.c: (_do_init),
22345         (gst_file_sink_base_init), (gst_file_sink_class_init),
22346         (gst_file_sink_init), (gst_file_sink_dispose),
22347         (gst_file_sink_set_location), (gst_file_sink_set_property),
22348         (gst_file_sink_get_property), (gst_file_sink_open_file),
22349         (gst_file_sink_close_file), (gst_file_sink_query),
22350         (gst_file_sink_event), (gst_file_sink_render),
22351         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22352         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22353         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22354         * gst/elements/gstfilesink.h:
22355         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22356         (gst_file_src_class_init), (gst_file_src_init),
22357         (gst_file_src_finalize), (gst_file_src_set_location),
22358         (gst_file_src_set_property), (gst_file_src_get_property),
22359         (gst_file_src_map_region), (gst_file_src_map_small_region),
22360         (gst_file_src_create_mmap), (gst_file_src_create_read),
22361         (gst_file_src_create), (gst_file_src_is_seekable),
22362         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22363         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22364         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22365         (gst_file_src_uri_handler_init):
22366         * gst/elements/gstfilesrc.h:
22367           more autistic cleanliness in functions/names/defines
22368
22369 2005-07-13  Andy Wingo  <wingo@pobox.com>
22370
22371         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22372         source couldn't negotiate.
22373
22374         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22375         connections again.
22376
22377         * gst/gstutils.h:
22378         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22379         function. I am channeling Hades. Put your boots on suckers!!!
22380
22381 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22382
22383         * testsuite/caps/Makefile.am:
22384         * testsuite/caps/value_compare.c:
22385         * testsuite/caps/value_intersect.c:
22386         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22387           move two testsuite apps over to the check dir
22388
22389 2005-07-12  Wim Taymans  <wim@fluendo.com>
22390
22391         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22392         Added more debug info in the negotiate process.
22393
22394         * gst/gstmessage.h:
22395         Prepare for segment playback.
22396
22397         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22398         Better debugging.
22399
22400         * gst/gstutils.c:
22401         Some more docs.
22402
22403         * tools/gst-launch.c: (main):
22404         NULL pipeline on errors.
22405
22406 2005-07-12  Andy Wingo  <wingo@pobox.com>
22407
22408         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22409         not it comes from a malloc region. Make sure our copy gets freed.
22410
22411 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22412
22413         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22414         * check/gst/gstmessage.c: (GST_START_TEST):
22415         * check/gst/gststructure.c: (GST_START_TEST),
22416         (gst_structure_suite), (main):
22417           more testing
22418         * gst/gstelement.c: (gst_element_message_full):
22419           clean up GError and debug string now that they get copied
22420         * gst/gstmessage.c: (gst_message_new_error),
22421         (gst_message_new_warning), (gst_message_parse_error),
22422         (gst_message_parse_warning):
22423           use GST_TYPE_G_ERROR for structure_new, and take copies of
22424           arguments, so that we don't mess up refcounting
22425
22426 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22427
22428         * check/Makefile.am:
22429           add per-test valgrind targets
22430         * check/gst-libs/gdp.c: (GST_START_TEST),
22431         (gst_data_protocol_suite), (main):
22432           clean up
22433
22434 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22435
22436         * check/Makefile.am:
22437           instate more valgrindable tests
22438         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22439         (GST_START_TEST), (fakesrc_suite):
22440         * check/gst/gstpad.c: (GST_START_TEST):
22441         * check/gst/gststructure.c: (GST_START_TEST):
22442           fix test leaks
22443         * docs/gst/tmpl/gstminiobject.sgml:
22444         * gst/gstpad.c: (gst_pad_finalize):
22445           fix the static mutex leak
22446
22447 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22448
22449         * check/Makefile.am:
22450           add two more tests for valgrinding
22451         * check/gst/gstvalue.c: (GST_START_TEST):
22452           test refcount of deserialized buffer, found a leak
22453         * docs/gst/gstreamer-docs.sgml:
22454         * docs/gst/gstreamer-sections.txt:
22455         * docs/gst/gstreamer.types:
22456         * docs/gst/tmpl/gstminiobject.sgml:
22457           add miniobject to docs
22458         * gst/gstminiobject.c:
22459           add some docs
22460         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22461         (gst_string_unwrap):
22462           fix a hard-to-find invalid write for one of the tests
22463           fix a leak for deserialized buffers
22464
22465 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22466
22467         * docs/pwg/advanced-events.xml:
22468         * docs/pwg/advanced-request.xml:
22469         * docs/pwg/advanced-scheduling.xml:
22470         * docs/pwg/appendix-porting.xml:
22471         * docs/pwg/building-boiler.xml:
22472         * docs/pwg/intro-preface.xml:
22473         * docs/pwg/other-ntoone.xml:
22474           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22475           of example code and explanation for pad activation, loop() and
22476           getrange() functions and a bit more. Remove old comments pointing
22477           to loop-functions.
22478         * examples/pwg/Makefile.am:
22479           Add loop/getrange examples.
22480
22481 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22482
22483         * configure.ac:
22484           check for valgrind binary + some fixes
22485         * check/gst.supp:
22486           valgrind suppressions for the tests
22487         * check/Makefile.am:
22488           add a valgrind: target that valgrinds the unit tests
22489         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22490         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22491         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22492         * check/gst/gstghostpad.c:
22493           added some cleanup
22494         * check/gst/gstdata.c:
22495           removed
22496         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22497         (thread_unref), (gst_mini_object_suite), (main):
22498           added
22499         * gst/gst.c: (gst_deinit):
22500         * gst/gst.h:
22501           add a method to clean up.
22502         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22503         (gst_system_clock_obtain):
22504           allow for disposing the system clock.
22505         * tools/gst-launch.c: (main):
22506           deinit
22507
22508 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22509
22510         * docs/gst/tmpl/gstbasesrc.sgml:
22511         * docs/gst/tmpl/gstfakesrc.sgml:
22512         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22513         (gst_base_src_init), (gst_base_src_set_property),
22514         (gst_base_src_get_property), (gst_base_src_get_range),
22515         (gst_base_src_start):
22516         * gst/base/gstbasesrc.h:
22517           add num-buffers property
22518         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22519         (gst_fakesrc_init), (gst_fakesrc_set_property),
22520         (gst_fakesrc_get_property), (gst_fakesrc_create),
22521         (gst_fakesrc_start):
22522           remove num-buffers property
22523
22524 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22525
22526         * docs/gst/gstreamer-sections.txt:
22527         * docs/gst/tmpl/gstbasesink.sgml:
22528         * docs/gst/tmpl/gstbasesrc.sgml:
22529         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22530         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22531         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22532         (gst_base_sink_set_property), (gst_base_sink_get_property),
22533         (gst_base_sink_handle_object), (gst_base_sink_event),
22534         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22535         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22536         (gst_base_sink_loop), (gst_base_sink_deactivate),
22537         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22538         (gst_base_sink_change_state):
22539         * gst/base/gstbasesink.h:
22540         * gst/base/gstbasesrc.h:
22541         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22542         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22543         (gst_filesink_init):
22544           more macro splitting
22545
22546 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22547
22548         * gst/gstelement.c: (gst_element_get_bus):
22549           add debug
22550         * tools/gst-launch.c: (check_intr), (event_loop):
22551           fix bus leaks
22552
22553 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22554
22555         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22556           fix a caps leak
22557
22558 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22559
22560         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22561         (gst_base_src_finalize):
22562           add finalize method and clean up properly
22563         * gst/gstpipeline.c: (gst_pipeline_dispose):
22564           add debug
22565
22566 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22567
22568         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22569         (gst_bin_suite):
22570           add more things to check
22571         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22572         * gst/gstelement.c:
22573           more debug
22574
22575 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22576
22577         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22578         (GST_START_TEST), (fakesrc_suite):
22579         * check/gst-libs/gdp.c: (GST_START_TEST):
22580         * check/gst/gst.c: (GST_START_TEST):
22581         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22582         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22583         * check/gst/gstbus.c: (GST_START_TEST):
22584         * check/gst/gstcaps.c: (GST_START_TEST):
22585         * check/gst/gstdata.c: (GST_START_TEST):
22586         * check/gst/gstelement.c: (GST_START_TEST):
22587         * check/gst/gstghostpad.c: (GST_START_TEST):
22588         * check/gst/gstiterator.c: (GST_START_TEST):
22589         * check/gst/gstmessage.c: (GST_START_TEST):
22590         * check/gst/gstobject.c: (GST_START_TEST):
22591         * check/gst/gstpad.c: (GST_START_TEST):
22592         * check/gst/gststructure.c: (GST_START_TEST):
22593         * check/gst/gstsystemclock.c: (GST_START_TEST),
22594         (gst_systemclock_suite):
22595         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22596         * check/gst/gstvalue.c: (GST_START_TEST):
22597         * check/pipelines/cleanup.c: (GST_START_TEST):
22598         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22599         * check/states/sinks.c: (GST_START_TEST):
22600         * check/gstcheck.c: (gst_check_init):
22601         * check/gstcheck.h:
22602           add debugging category
22603           use GST_START_TEST now, so we add a debug line
22604
22605 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22606
22607         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22608           add test for state change message on a bin
22609         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22610           add another test
22611         * gst/gstbin.c: (gst_bin_init):
22612         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22613         * gst/gstelement.c: (gst_element_post_message),
22614         (gst_element_set_state):
22615         * gst/gstelementfactory.c: (gst_element_factory_create):
22616         * gst/gstmessage.c: (gst_message_new):
22617         * gst/gstscheduler.c:
22618           various debugging additions and cleanups
22619
22620 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22621
22622         * check/Makefile.am:
22623         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22624         (main):
22625           adding tests for elements
22626         * gst/gstelement.c: (gst_element_dispose):
22627
22628 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22629
22630         * gst/registries/gstlibxmlregistry.c: (load_feature):
22631           plug more leaks.  A simple gst_init() now is leakfree, yay.
22632
22633 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22634
22635         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22636         (gst_xml_registry_load):
22637           plug another memleak
22638
22639 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22640
22641         * configure.ac:
22642           use GST_SET_ERROR_CFLAGS
22643         * docs/faq/cvs.xml:
22644           change to ERROR_CFLAGS
22645
22646 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22647
22648         * configure.ac:
22649           make GST_ERROR_CFLAGS overridable and re-enable Werror
22650         * docs/faq/cvs.xml:
22651           add a note about error CFLAGS
22652         * docs/gst/tmpl/gstfakesrc.sgml:
22653         * gst/elements/gstfakesrc.c:
22654           comment out some unused code
22655         * gst/gst.c: (split_and_iterate):
22656         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22657         (load_feature):
22658           plug some memleaks
22659
22660 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22661
22662         * common/Makefile.am:
22663         * common/gtk-doc.mak:
22664         * docs/gst/Makefile.am:
22665           factor out gtk-doc.mak
22666
22667 2005-07-07  Wim Taymans  <wim@fluendo.com>
22668
22669         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22670         (gst_thread_scheduler_dispose):
22671         Unlock the STREAM_LOCK completely.
22672
22673 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22674
22675         * check/Makefile.am:
22676         * check/elements/.cvsignore:
22677         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22678         (START_TEST), (fakesrc_suite), (main):
22679         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22680         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22681         (gst_fakesrc_create), (gst_fakesrc_start):
22682         * gst/elements/gstfakesrc.h:
22683           adding a first element test
22684
22685 2005-07-07  Andy Wingo  <wingo@pobox.com>
22686
22687         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22688         debug message.
22689
22690 2005-07-07  Wim Taymans  <wim@fluendo.com>
22691
22692         * gst/gstquery.c:
22693         * gst/gstquery.h:
22694         Remove old types
22695
22696 2005-07-07  Wim Taymans  <wim@fluendo.com>
22697
22698         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22699         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22700         Allow subclasses to implement their own negotiation.
22701
22702 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22703
22704         * docs/design/part-gstbin.txt:
22705         * docs/design/part-gstpipeline.txt:
22706           Update design notes to reflect the movement of
22707           responsibility for bus handling from GstPipeline to
22708           GstBin
22709
22710 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22711
22712         * configure.ac:
22713           Remove unnecessary queue2/3/4 examples.
22714
22715 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22716
22717         * examples/Makefile.am:
22718         * examples/helloworld/helloworld.c: (event_loop), (main):
22719         * examples/queue/queue.c: (event_loop), (main):
22720         * examples/queue2/queue2.c: (main):
22721           Update a couple of the examples to work again.
22722
22723         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22724         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22725          Spelling corrections and extra debug.
22726         
22727         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22728         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22729         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22730         * gst/gstbin.h:
22731         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22732         (gst_pipeline_change_state):
22733         * gst/gstpipeline.h:
22734           Move the bus handler for children to the GstBin, and create a
22735           separate bus for receiving messages from children to the one the
22736           bus sends 'upwards' on.
22737
22738 2005-07-06  Wim Taymans  <wim@fluendo.com>
22739
22740         * gst/base/README:
22741         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22742         (gst_base_sink_handle_object), (gst_base_sink_loop),
22743         (gst_base_sink_change_state):
22744         * gst/base/gstbasesink.h:
22745         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22746         (gst_base_src_init), (gst_base_src_setcaps),
22747         (gst_base_src_getcaps), (gst_base_src_loop),
22748         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22749         (gst_base_src_start), (gst_base_src_change_state):
22750         * gst/base/gstbasesrc.h:
22751         Make basesrc negotiate.
22752         Handle the case where preroll fails in basesink.
22753         Update README.
22754
22755 2005-07-06  Wim Taymans  <wim@fluendo.com>
22756
22757         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22758         Implement the fixate function.
22759         Clean up acceptcaps.
22760
22761 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22762
22763         * docs/pwg/building-filterfactory.xml:
22764         * docs/pwg/pwg.xml:
22765           Remove never-written filter-factory chapter; I'll add the various
22766           base classes to part 4 ("other element types") later on.
22767
22768 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22769
22770         * docs/pwg/advanced-negotiation.xml:
22771         * docs/pwg/building-boiler.xml:
22772         * docs/pwg/building-pads.xml:
22773         * docs/pwg/pwg.xml:
22774         * examples/pwg/Makefile.am:
22775           Add a chapter on caps negotiation, simplify the original code
22776           samples a bit w.r.t. caps negotiation, add link to the advanced
22777           section. Add a bunch of examples showing different use cases of
22778           different types of caps negotiation. Upstream renegotiation isn't
22779           fully documented yet since nobody knows how that works.
22780
22781 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22782
22783         * check/gst/gstpad.c:
22784         * check/gstcheck.c:
22785         * gst/gstpad.c: (gst_pad_get_internal_links_default):
22786           if pad has no parent, return NULL as list of internal links
22787
22788 2005-07-05  Andy Wingo  <wingo@pobox.com>
22789
22790         * gst/elements/gstfilesrc.c:
22791         * gst/elements/gstfakesrc.c: 
22792         * gst/base/gstpushsrc.c:
22793         * gst/base/gstbasesrc.h: 
22794         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22795         
22796 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
22797
22798         * Makefile.am:
22799           better report generation target (lcov needs a patch)
22800
22801 2005-07-05  Andy Wingo  <wingo@pobox.com>
22802
22803         * gst/elements, testsuite: Null if we got it...
22804
22805 2005-07-05  Wim Taymans  <wim@fluendo.com>
22806
22807         * configure.ac:
22808         * libs/gst/dataprotocol/Makefile.am:
22809         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22810         * libs/gst/dataprotocol/dataprotocol.h:
22811         * pkgconfig/Makefile.am:
22812         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22813         * pkgconfig/gstreamer-dataprotocol.pc.in:
22814         Ported dataprotol to 0.9. 
22815         Added pkgconfig files.
22816
22817 2005-07-05  Andy Wingo  <wingo@pobox.com>
22818
22819         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22820         Default to returning TRUE for the case when tranform_caps returns
22821         a fixed caps, like for identity or volume.
22822
22823         * check/gst/gstbus.c (pound_bus_with_messages): 
22824         * check/gst/gstmessage.c (START_TEST): 
22825         * check/pipelines/simple_launch_lines.c (got_handoff): Application
22826         message API change.
22827
22828         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22829         logic weaks here: always run transform_caps, trying passthrough
22830         operation only if the original caps intersects with the transform.
22831
22832         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22833         source and sink caps.
22834
22835         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22836         Intersect the peer caps with the pad template before going into
22837         transform_caps.
22838         (gst_base_transform_transform_caps): More debugging.
22839
22840         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22841         src argument.
22842
22843 2005-07-04  Edward Hervey  <edward@fluendo.com>
22844
22845         * gst/gstutils.c:
22846         * gst/gstutils.h:
22847         (gst_pad_add_*_probe): now returns the signal id for better wrapping
22848         in bindings.
22849
22850 2005-07-04  Andy Wingo  <wingo@pobox.com>
22851
22852         * check/gst/gstpad.c: Only set explicit caps on pads.
22853
22854 2005-07-01  Andy Wingo  <wingo@pobox.com>
22855
22856         * tests/network-clock.scm: Commentary update.
22857
22858         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22859         Didn't really make sense, not implementable with basetransform,
22860         etc.
22861         (gst_identity_transform): Unref inbuf via make_writable. Feeble
22862         attempt at implementing the sync property, needs an unlock method.
22863
22864         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22865         New func, by default returns the same caps (the identity
22866         transformation).
22867         (gst_base_transform_getcaps): Uses transform_caps to return
22868         something sensible.
22869         (gst_base_transform_setcaps): Complicated logic to get caps on
22870         both pads, even if they are different, and to call set_caps once
22871         for every time both pads get their caps set.
22872         (gst_base_transform_handle_buffer): Give the ref to the transform
22873         function. Allows in-place modification of the buffer.
22874
22875         * gst/base/gstbasetransform.h (transform_caps): New class method.
22876         Given caps on one side, what can I do on the other.
22877         (set_caps): Take two caps, one for each side of the element.
22878
22879         * gst/gstpad.h:
22880         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22881         caps in place. This is safe because we can check the mutability of
22882         the caps, and a good idea because fixate functions are just called
22883         as a matter of last resort. (Not actually implemented.)
22884         (gst_pad_set_caps): If the caps we're setting is actually the same
22885         as the existing pad caps, just update the pointer without calling
22886         setcaps. Assert that caps is either NULL or fixed, as per the
22887         docs.
22888
22889         * gst/gstghostpad.c: Update for fixate changes.
22890
22891 2005-07-02  Andy Wingo  <wingo@pobox.com>
22892
22893         * gst/gstcaps.c:
22894         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22895         two refcounts makes it immutable, which is enough. Doc more.
22896
22897 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
22898
22899         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22900           Put the mini_object into GValue as a mini_object,
22901           not a gpointer, since that's how we declared
22902           the signal.
22903
22904 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22905
22906         * examples/pwg/Makefile.am:
22907           Fix buildbot again.
22908
22909 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22910
22911         * docs/pwg/building-testapp.xml:
22912           Add extra check.
22913         * examples/pwg/Makefile.am:
22914           Fix buildbot.
22915
22916 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22917
22918         * configure.ac:
22919         * examples/Makefile.am:
22920         * examples/pwg/Makefile.am:
22921         * examples/pwg/extract.pl:
22922           Enable building the PWG examples.
22923         * docs/pwg/advanced-interfaces.xml:
22924           Add URI interface stub.
22925         * docs/pwg/advanced-types.xml:
22926         * docs/pwg/other-autoplugger.xml:
22927         * docs/pwg/appendix-porting.xml:
22928         * docs/pwg/pwg.xml:
22929           Add porting guide (mostly stubs), remove autoplugging (see ADM).
22930         * docs/pwg/building-boiler.xml:
22931         * docs/pwg/building-chainfn.xml:
22932         * docs/pwg/building-pads.xml:
22933         * docs/pwg/building-props.xml:
22934         * docs/pwg/building-state.xml:
22935         * docs/pwg/building-testapp.xml:
22936           Update the building-*.xml parts for 0.9 changes. All examples
22937           code blocks compile in examples/pwg/*.
22938
22939 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22940
22941         * docs/manual/advanced-autoplugging.xml:
22942         * docs/manual/appendix-checklist.xml:
22943         * docs/manual/appendix-integration.xml:
22944         * docs/manual/highlevel-components.xml:
22945           Fix playbin/decodebin examples, update docs a bit, mention bus
22946           instead of signals in various places, mention kmplayer and
22947           kaffeine since they have a working GStreamer backend in the KDE
22948           section.
22949
22950 2005-06-30  Wim Taymans  <wim@fluendo.com>
22951
22952         * CHANGES-0.9:
22953         * docs/design/draft-ghostpads.txt:
22954         * docs/design/draft-push-pull.txt:
22955         * docs/design/draft-query.txt:
22956         * docs/design/part-TODO.txt:
22957         * docs/design/part-query.txt:
22958         Added CHANGES-0.9 doc, updated status of other docs.
22959         
22960         * gst/gstquery.h:
22961         Remove "hmm" macro
22962
22963 2005-06-30  Wim Taymans  <wim@fluendo.com>
22964
22965         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22966         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22967         (gst_base_sink_change_state):
22968         * gst/base/gstbasesink.h:
22969         Some tweaks, only EOS and a buffer complete a preroll.
22970
22971 2005-06-30  Andy Wingo  <wingo@pobox.com>
22972
22973         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22974         activate_push down to the internal pad as well.
22975
22976 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
22977
22978         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22979
22980         * gst/gsttaginterface.c:
22981           Some documentation fixes (#307394 and #307397).
22982
22983 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
22984
22985         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22986
22987         * gst/gstvalue.c: (gst_value_intersect_list):
22988           Fix memleak (#309125).
22989
22990 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22991
22992         * docs/manual/advanced-dataaccess.xml:
22993           Fix fakesrc example to compile; doesn't work, bug somewhere...?
22994         * docs/manual/basics-pads.xml:
22995           Add reference for filtered caps to above chapter.
22996
22997 2005-06-30  Wim Taymans  <wim@fluendo.com>
22998
22999         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23000         (gst_bin_change_state):
23001         Probes are gone.
23002         Lame attempt at making the state change function a bit
23003         more readable.
23004
23005 2005-06-30  Wim Taymans  <wim@fluendo.com>
23006
23007         * docs/design/part-clocks.txt:
23008         * docs/design/part-element-sink.txt:
23009         * docs/design/part-events.txt:
23010         * docs/design/part-preroll.txt:
23011         * docs/design/part-states.txt:
23012         Some more tweeks and additions to the docs.
23013
23014 2005-06-30  Wim Taymans  <wim@fluendo.com>
23015
23016         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23017         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23018         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23019         (gst_pad_check_pull_range), (gst_pad_get_range),
23020         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23021         * gst/gstpad.h:
23022         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23023         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23024         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23025         (gst_pad_remove_buffer_probe):
23026         Removed atomic operations, use existing LOCK.
23027         Move exception handling out of main code path.
23028
23029 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23030
23031         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23032         (silly_return_true_function), (gst_pad_class_init),
23033         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23034         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23035         (gst_pad_send_event):
23036           Fix accumulator, add default value by using _emitv() instead
23037           of _emit() for signal emission.
23038
23039 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23040
23041         * docs/manual/advanced-dataaccess.xml:
23042         * examples/manual/Makefile.am:
23043           Add probe example.
23044         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23045           Make work (??).
23046
23047 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23048
23049         * gst/elements/gstfilesink.c: (gst_filesink_render):
23050           Simplify code so that we don't have to handle short
23051           writes and return GST_FLOW_ERROR if an error occured.
23052
23053 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23054
23055         * docs/gst/gstreamer-docs.sgml:
23056           Remove probes more.
23057
23058 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23059
23060         * docs/gst/gstreamer-sections.txt:
23061         * docs/gst/tmpl/gstpad.sgml:
23062         * docs/gst/tmpl/gstprobe.sgml:
23063         * gst/Makefile.am:
23064         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23065         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23066         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23067         (gst_pad_push_event), (gst_pad_send_event):
23068         * gst/gstpad.h:
23069         * gst/gstutils.c: (gst_pad_add_data_probe),
23070         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23071         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23072         (gst_pad_remove_buffer_probe):
23073         * gst/gstutils.h:
23074           Remove old probes, add new g-signal-based probes and some utility
23075           functions.
23076
23077 2005-06-29  Edward Hervey  <edward@fluendo.com>
23078
23079         * gst/gstelementfactory.c:
23080         * gst/gstutils.h:
23081         * gst/gstutils.c:
23082         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23083         the definition to the header file.
23084
23085 2005-06-29  Andy Wingo  <wingo@pobox.com>
23086
23087         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23088         plugins from the source directory.
23089
23090 2005-06-29  Wim Taymans  <wim@fluendo.com>
23091
23092         * docs/gst/tmpl/gstbuffer.sgml:
23093         * docs/gst/tmpl/gstclock.sgml:
23094         Some fixings for blantently wrong text.
23095
23096 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23097
23098         * check/Makefile.am:
23099         * gst/gst.c: (add_path_func), (init_pre):
23100         * gst/gstregistry.c: (gst_registry_add_path):
23101           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23102           only scan the GST_PLUGIN_PATH locations, and not add
23103           system locations
23104
23105 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23106
23107         * docs/gst/gstreamer-sections.txt:
23108         * docs/gst/tmpl/gstbasesrc.sgml:
23109         * gst/gstelement.c:
23110         * gst/gstelement.h:
23111         * gst/gstevent.c:
23112         * gst/gstutils.c:
23113           doc fixes
23114
23115 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23116
23117         * docs/manual/advanced-autoplugging.xml:
23118           Fix autoplugging example.
23119
23120 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23121
23122         * docs/manual/advanced-autoplugging.xml:
23123         * docs/manual/mime-world.fig:
23124           Try to get autoplugging working, fix type detection. Fix text
23125           in hello-world image.
23126
23127 2005-06-29  Wim Taymans  <wim@fluendo.com>
23128
23129         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23130         (gst_base_sink_change_state):
23131         Small debug line.
23132
23133         * gst/gstclock.h:
23134         map SIGNAL and BROADCAST to the right function.
23135
23136         * gst/gstobject.h:
23137         Remove redundant braces.
23138
23139         * gst/gstpad.c: (gst_pad_set_caps):
23140         Don't call setcaps function when reseting caps to NULL.
23141
23142         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23143         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23144         (gst_system_clock_id_unschedule):
23145         Use BROADCAST as this is what we do.
23146
23147 2005-06-29  Wim Taymans  <wim@fluendo.com>
23148
23149         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23150         We are actually prerolling before commiting the state
23151         change. 
23152
23153 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23154
23155         * docs/manual/advanced-clocks.xml:
23156         * docs/manual/advanced-interfaces.xml:
23157         * docs/manual/advanced-metadata.xml:
23158         * docs/manual/advanced-position.xml:
23159         * docs/manual/advanced-schedulers.xml:
23160         * docs/manual/advanced-threads.xml:
23161         * docs/manual/appendix-porting.xml:
23162         * docs/manual/basics-bins.xml:
23163         * docs/manual/basics-bus.xml:
23164         * docs/manual/basics-elements.xml:
23165         * docs/manual/basics-helloworld.xml:
23166         * docs/manual/basics-pads.xml:
23167         * docs/manual/highlevel-components.xml:
23168         * docs/manual/manual.xml:
23169         * docs/manual/thread.fig:
23170           Update (until threads/scheduling) Application Development Manual;
23171           remove GstThread, add GstBus, add simple porting checklist, add
23172           documentation for tag writing, clocks, make all examples until this
23173           part compile and run.
23174         * examples/manual/Makefile.am:
23175           Update from changes to Application Development Manual; add bus
23176           example, remove thread example.
23177
23178 2005-06-28  Wim Taymans  <wim@fluendo.com>
23179
23180         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23181         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23182         (gst_bus_source_dispatch):
23183         Add debugging messages.
23184         Make internal methods static.
23185         Handle the case where the bus is flushed in the handler.
23186         
23187         * gst/gstelement.c: (gst_element_get_bus):
23188         Fix refcount in _get_bus();
23189
23190         * gst/gstpipeline.c: (gst_pipeline_change_state),
23191         (gst_pipeline_get_clock_func):
23192         Clock refcounting fixes.
23193         Handle the case where preroll timed out more gracefully.
23194         
23195         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23196         Clean up the internal thread in dispose. This is needed
23197         for subclasses that actually get disposed.
23198         
23199         * gst/schedulers/threadscheduler.c:
23200         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23201         (gst_thread_scheduler_dispose):
23202         Free thread pool in dispose.
23203
23204 2005-06-28  Andy Wingo  <wingo@pobox.com>
23205
23206         * tests/network-clock-utils.scm (debug, print-event): New utils.
23207
23208         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23209         (*packet-loss*): Unified loss probability.
23210         (network-time): Report out-of-band events.
23211
23212         * tests/plot-data: Add support for out-of-band events. Hack it
23213         into this script instead of passing it down the pipe; should fix
23214         this later.
23215
23216 2005-06-28  Wim Taymans  <wim@fluendo.com>
23217
23218         * docs/gst/gstreamer.types:
23219         * docs/gst/tmpl/gstbasesrc.sgml:
23220         * docs/gst/tmpl/gstpad.sgml:
23221         Docs fixes.
23222
23223 2005-06-28  Wim Taymans  <wim@fluendo.com>
23224
23225         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23226         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23227         (gst_proxy_pad_do_fixatecaps):
23228         Correctly proxy the check_pull_range function.
23229
23230 2005-06-28  Andy Wingo  <wingo@pobox.com>
23231
23232         * tests/network-clock.scm: Removed need for slib.
23233         
23234 2005-06-28  Wim Taymans  <wim@fluendo.com>
23235
23236         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23237         (gst_basesink_preroll_queue_flush):
23238         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23239         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23240         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23241         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23242         (gst_proxy_pad_set_property):
23243         * gst/gstpad.c:
23244         * gst/gstpad.h:
23245         * gst/gstqueue.c: (gst_queue_init):
23246         The deprecated pad loop function is removed now.
23247
23248 2005-06-28  Andy Wingo  <wingo@pobox.com>
23249
23250         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23251         New parameters, simulate network packet loss.
23252
23253         * tests/network-clock-utils.scm: Initialize the RNG.
23254
23255 2005-06-28  Wim Taymans  <wim@fluendo.com>
23256
23257         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23258         (gst_basesink_event), (gst_basesink_deactivate):
23259         Flushing the preroll queue always needs to unlock the waiters.
23260
23261 2005-06-28  Edward Hervey  <edward@fluendo.com>
23262
23263         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23264         Wheen a seek was successful on a pipeline, set the stream_time to the
23265         seek offset in order to have a synchronized stream_time.
23266
23267 2005-06-28  Wim Taymans  <wim@fluendo.com>
23268
23269         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23270         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23271         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23272         (gst_proxy_pad_do_fixatecaps):
23273         Call wrapper function instead of just calling the function
23274         pointers. This takes care of any locking and whatmore.
23275
23276 2005-06-28  Wim Taymans  <wim@fluendo.com>
23277
23278         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23279         (gst_pad_pull_range):
23280         * gst/gstpad.h:
23281         CONNECTED -> LINKED.
23282
23283 2005-06-28  Andy Wingo  <wingo@pobox.com>
23284
23285         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23286         source-munging commit!!!
23287
23288         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23289         (gst_object_sink): Take gpointer arguments, not GstObject --
23290         avoids casts. Like GLib.
23291
23292         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23293         activate.
23294
23295 2005-06-27  Andy Wingo  <wingo@pobox.com>
23296
23297         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23298         remaining buffer.
23299
23300         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23301         returns a sorted copy of the trace list.
23302         (gst_alloc_trace_print_live): New API, only prints traces with
23303         live objects. Sort the list.
23304         (gst_alloc_trace_print_all): Sort the list.
23305         (gst_alloc_trace_print): Align columns.
23306
23307         * gst/elements/gstttypefindelement.c:
23308         * gst/elements/gsttee.c:
23309         * gst/base/gstbasesrc.c:
23310         * gst/base/gstbasesink.c:
23311         * gst/base/gstbasetransform.c:
23312         * gst/gstqueue.c: Adapt for pad activation changes.
23313
23314         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23315         sched.
23316         (gst_pipeline_dispose): Drop ref on sched.
23317
23318         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23319         (gst_pad_activate_default): Push mode by default.
23320         (pre_activate_switch, post_activate_switch): New stubs, things to
23321         do before and after switching activation modes on pads.
23322         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23323         the pad's activate function to choose which mode to activate.
23324         Shortcut on deactivation and call the right function directly.
23325         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23326         mode.
23327         (gst_pad_activate_push): New API, same for push mode.
23328         (gst_pad_set_activate_function) 
23329         (gst_pad_set_activatepull_function) 
23330         (gst_pad_set_activatepush_function): Setters for new API.
23331
23332         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23333         Trace all miniobjects.
23334         (gst_mini_object_make_writable): Unref the arg if we copy, like
23335         gst_caps_make_writable.
23336
23337         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23338
23339         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23340         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23341         Adapt for new pad API.
23342
23343         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23344
23345         * gst/gstelement.h:
23346         * gst/gstelement.c (gst_element_iterate_src_pads) 
23347         (gst_element_iterate_sink_pads): New API functions.
23348         
23349         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23350         should fold into gstiterator.c in some form.
23351         (gst_element_pads_activate): Simplified via use of fold and
23352         delegation of decisions to gstpad->activate.
23353
23354         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23355         help in debugging.
23356
23357         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23358         class once in init, like gstmessage. Didn't run into this issue
23359         but it seems correct. Don't initialize a trace, gstminiobject does
23360         that.
23361
23362         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23363         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23364         to the bus.
23365         (assert_live_count): New util function, uses alloc traces to check
23366         cleanup.
23367
23368         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23369         To be modified when unlink drops the internal pad.
23370
23371 2005-06-27  Wim Taymans  <wim@fluendo.com>
23372
23373         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23374         (gst_bin_change_state):
23375         Cleanup the get_state() function a little, make sure it
23376         iterates the same set of elements.
23377         Added stub iterate_state_order().
23378
23379 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23380
23381         * docs/gst/gstreamer-docs.sgml:
23382         * docs/gst/gstreamer-sections.txt:
23383         * docs/gst/gstreamer.types:
23384         * docs/gst/tmpl/gstbasesink.sgml:
23385         * docs/gst/tmpl/gstbasesrc.sgml:
23386         * docs/gst/tmpl/gstbasetransform.sgml:
23387         * docs/gst/tmpl/gstelement.sgml:
23388         * docs/gst/tmpl/gstiterator.sgml:
23389         * gst/base/gstbasesrc.c:
23390         * gst/base/gstbasesrc.h:
23391         * gst/base/gstbasetransform.h:
23392         * gst/gstelement.c:
23393         * gst/gstiterator.h:
23394           adding basetransform and iterator docs
23395
23396 2005-06-27  Andy Wingo  <wingo@pobox.com>
23397
23398         * docs/design/part-activation.txt: Notes on how activation should
23399         work -- not quite implemented yet.
23400
23401 2005-06-25  Wim Taymans  <wim@fluendo.com>
23402
23403         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23404         At least get the chain function correct, needs more
23405         fixing.
23406
23407 2005-06-25  Wim Taymans  <wim@fluendo.com>
23408
23409         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23410         (gst_basesink_handle_object), (gst_basesink_event),
23411         (gst_basesink_do_sync), (gst_basesink_handle_event),
23412         (gst_basesink_change_state):
23413         * gst/gsttask.h:
23414         Right, two problems here: ghostpads don't take locks and
23415         glib _rec_mutex_lock_full() with depth==0 still locks.
23416         Catch illegal locking and g_warn them.
23417
23418 2005-06-25  Wim Taymans  <wim@fluendo.com>
23419
23420         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23421         Have to check for completion now...
23422
23423 2005-06-25  Wim Taymans  <wim@fluendo.com>
23424
23425         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23426         (gst_basesink_handle_object), (gst_basesink_event),
23427         (gst_basesink_do_sync), (gst_basesink_handle_event),
23428         (gst_basesink_change_state):
23429         * gst/gstpad.h:
23430         Unlock STREAM_LOCK whatever the recursion was.
23431
23432 2005-06-25  Wim Taymans  <wim@fluendo.com>
23433
23434         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23435         (gst_basesink_preroll_queue_empty),
23436         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23437         (gst_basesink_event), (gst_basesink_do_sync),
23438         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23439         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23440         (gst_basesink_change_state):
23441         Reworked the base sink, handle event and buffer serialisation
23442         correctly and removed possible deadlock.
23443         Handle EOS correctly.
23444
23445 2005-06-25  Wim Taymans  <wim@fluendo.com>
23446
23447         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23448         (gst_pipeline_change_state):
23449         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23450         Allow elements to post EOS in the state change function.
23451         Fix up -launch, make it exit the poll loop when the
23452         pipeline actually changed state.
23453         Fix up warning parsing in -launch.
23454
23455 2005-06-25  Wim Taymans  <wim@fluendo.com>
23456
23457         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23458         (gst_tee_sink_activate):
23459         Core takes STREAM_LOCK for us now.
23460
23461 2005-06-25  Wim Taymans  <wim@fluendo.com>
23462
23463         * gst/gstelement.c: (gst_element_get_state_func),
23464         (gst_element_set_state):
23465         * gst/gstelement.h:
23466         * gst/gstmessage.c: (gst_message_parse_error),
23467         (gst_message_parse_warning):
23468         Keep track of current target state while performing a state
23469         change so that subclasses can do something interesting.
23470         Fix parsing of warning/error messages when GError is NULL.
23471
23472 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23473
23474         * docs/gst/Makefile.am:
23475         * docs/gst/gstreamer-docs.sgml:
23476         * docs/gst/gstreamer-sections.txt:
23477         * docs/gst/gstreamer.types:
23478         * docs/gst/tmpl/gstbasesink.sgml:
23479         * docs/gst/tmpl/gstbasesrc.sgml:
23480         * docs/gst/tmpl/gstbin.sgml:
23481         * docs/gst/tmpl/gstcompat.sgml:
23482         * docs/gst/tmpl/gstfakesink.sgml:
23483         * docs/gst/tmpl/gstfakesrc.sgml:
23484         * docs/gst/tmpl/gstfilesink.sgml:
23485         * docs/gst/tmpl/gstfilesrc.sgml:
23486         * docs/gst/tmpl/gstindex.sgml:
23487         * docs/manual/appendix-quotes.xml:
23488         * gst/base/gstbasesrc.h:
23489         * gst/elements/gstfakesrc.h:
23490         * gst/gstmessage.h:
23491           start pulling in base classes and elements in our docs
23492
23493 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23494
23495         * docs/gst/Makefile.am:
23496         * docs/libs/Makefile.am:
23497           fixed make distcheck with gtk-doc 1.3
23498
23499 2005-06-23  Wim Taymans  <wim@fluendo.com>
23500
23501         * gst/gstelement.c: (gst_element_get_state_func),
23502         (gst_element_set_state), (gst_element_change_state):
23503         When the state did not change, also report NO_PREROLL
23504         when it matters.
23505
23506 2005-06-23  Wim Taymans  <wim@fluendo.com>
23507
23508         * gst/gstpad.c: (gst_pad_event_default):
23509         * gst/gstqueue.c: (gst_queue_loop):
23510         No unsafe task pausing please.
23511
23512 2005-06-23  Wim Taymans  <wim@fluendo.com>
23513
23514         * gst/schedulers/threadscheduler.c:
23515         (gst_thread_scheduler_task_start),
23516         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23517         Ref the task before pushing it on the threadpool. This
23518         makes sure that we have a ref when the threadfunction is
23519         actually called.
23520
23521 2005-06-23  Andy Wingo  <wingo@pobox.com>
23522
23523         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23524         offset is greater than the file's size.
23525
23526         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23527         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23528         * gst/gstobject.c (gst_object_class_init): Make the class lock
23529         recursive. Wim won't let me drop deep_notify. Decodebin works
23530         again, whoopdy doo.
23531
23532         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23533         internal pad, and hacks accordingly. Doesn't do it on the target
23534         pad because we change its caps. Probably catches all cases of
23535         interest tho.
23536         (gst_ghost_pad_set_property): Connect to notify::caps as
23537         appropritate.
23538
23539         * tests/network-clock.scm (plot-simulation): Pipe data to the
23540         elite python skript.
23541
23542         * tests/network-clock-utils.scm (define-parameter): New macro,
23543         defines a parameter that can be set via the command line.
23544         (set-parameter!, parse-parameter-arguments): Command line args
23545         parser.
23546
23547         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23548         stdin.
23549
23550 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23551
23552         * gst/elements/gsttypefindelement.c:
23553         (gst_type_find_element_handle_event):
23554           Don't restart typefinding on a discont.
23555         * gst/gstelement.c: (gst_element_set_state):
23556           Debug spelling fix.
23557         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23558           Allow changing mode of an active pad.
23559           Debug output fixes.
23560         * gst/registries/gstlibxmlregistry.c: (load_feature):
23561           Don't cast a static pad template to a normal pad template.
23562
23563 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23564
23565         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23566         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23567           remove gst_strtoll completely, since it didn't actually do
23568           anything more than what g_ascii_strtoull already does.
23569           check for range errors when deserializing
23570           do a cast for the unsigned cases; but further fixing needs
23571           a decision on what the interpretation of "(int)" and
23572           deserialization should be for values that fall outside the
23573           type's boundaries (ie, refuse, or interpret as casting)
23574
23575 2005-06-23  Wim Taymans  <wim@fluendo.com>
23576
23577         * check/Makefile.am:
23578         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23579         * docs/design/part-live-source.txt:
23580         * docs/design/part-states.txt:
23581         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23582         (gst_basesrc_set_live), (gst_basesrc_is_live),
23583         (gst_basesrc_get_range), (gst_basesrc_activate),
23584         (gst_basesrc_change_state):
23585         * gst/base/gstbasesrc.h:
23586         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23587         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23588         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23589         * gst/gstelement.c: (gst_element_get_state_func),
23590         (gst_element_set_state):
23591         * gst/gstelement.h:
23592         * gst/gsttypes.h:
23593         * tools/gst-launch.c: (event_loop), (main):
23594         Added support for live sources and other elements that
23595         cannot do preroll.
23596         Updated design docs, added live-source design doc.
23597         Implemented live source functionality in basesrc
23598         Fix error condition in _bin_get_state()
23599         Implement live source handling in -launch.
23600         Added check for live sources.
23601         Fixed case in GstBin where elements were changed state
23602         multiple times.
23603
23604
23605 2005-06-23  Andy Wingo  <wingo@pobox.com>
23606
23607         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23608         borken refcounting.
23609
23610         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23611         gst_caps_replace takes care of this for us.
23612
23613         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23614         gst_pad_set_caps on the target, not just its setcaps() function.
23615
23616         * tests/network-clock.scm: 
23617         * tests/network-clock-utils.scm: A network clock simulator.
23618         Something of an algorithmic testbed before doing something in C.
23619
23620 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23621
23622         * check/Makefile.am:
23623         * check/gst/capslist.h:
23624           copy over from 0.8, and add two with bitmasks specified with
23625           (int) 0xFF...
23626         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23627           add test to parse everything from capslist.h
23628         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23629         (main):
23630           add test for structure deserialization
23631         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23632           add tests for deserialization of strings to int types
23633         * gst/gststructure.c: (gst_structure_nth_field_name):
23634         * gst/gststructure.h:
23635           add a way to get the name of a field referenced by index
23636         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23637           instead of checking if the resulting long long lies between
23638           min and max, we check if the long long would fit into
23639           a number of bytes for the final type.
23640           This fixes cases where a string represents 2^32 - 1, which
23641           when cast to int would be the (valid) -1, but is bigger than
23642           G_MAXINT
23643
23644 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23645
23646         * gst/parse/grammar.y:
23647           add a log line for type deserialization
23648
23649 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23650
23651         * check/gst/gstvalue.c: (START_TEST):
23652         * gst/gstvalue.c: (gst_value_deserialize):
23653           return long long, not int, so gint64 deserialization actually
23654           works.  Is there any flag that makes the compiler check this ?
23655           Fixes #308559
23656
23657 2005-06-22  Wim Taymans  <wim@fluendo.com>
23658
23659         * gst/gstbuffer.h:
23660         Added convenience macros for setting buffers in GValue.
23661
23662 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23663
23664         * check/gst/.cvsignore:
23665         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23666           add a test deserializing int64, and comment part out because
23667           it fails, yay !
23668
23669 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23670
23671         * check/Makefile.am:
23672         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23673         * testsuite/Makefile.am:
23674         * testsuite/caps/Makefile.am:
23675         * testsuite/caps/value_serialize.c:
23676         * testsuite/test_gst_init.c:
23677           move a value_serialize test over
23678
23679 2005-06-20  Wim Taymans  <wim@fluendo.com>
23680
23681         * gst/gstpad.c:
23682         Small doc updates.
23683         
23684         * gst/gstvalue.c: (gst_value_compare_buffer),
23685         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23686         (gst_value_compare_flags), (gst_value_serialize_flags),
23687         (gst_value_deserialize_flags), (_gst_value_initialize):
23688         Fix serialisation of buffers, they are not boxed types anymore
23689
23690 2005-06-20  Wim Taymans  <wim@fluendo.com>
23691
23692         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23693         Testcase to show error in buffer-on-caps serialisation.
23694
23695 2005-06-20  Andy Wingo  <wingo@pobox.com>
23696
23697         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23698         will be adding to later.
23699
23700         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23701         if its socks fill with rocks.
23702         (gst_system_clock_obtain): Set the name on object construction.
23703         Avoid double-checked locking.
23704
23705 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23706
23707         * gst/gsturi.c: (gst_element_make_from_uri):
23708           Fix potential endless loop.
23709
23710 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23711
23712         * check/Makefile.am:
23713           add gsttag
23714         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23715         (main):
23716           move over from testsuite dir and clean up
23717         * configure.ac:
23718         * gst/gsttag.c:
23719         * testsuite/Makefile.am:
23720         * testsuite/tags/.cvsignore:
23721         * testsuite/tags/Makefile.am:
23722         * testsuite/tags/merge.c:
23723           remove testsuite/tags
23724
23725 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23726
23727         * docs/gst/gstreamer-sections.txt:
23728         * docs/gst/tmpl/gstenumtypes.sgml:
23729         * win32/gstenumtypes.c:
23730           clean up documentation build a little
23731
23732 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23733
23734         * check/gstcheck.h:
23735           add macros for checking refcounts on objects and caps
23736         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23737           add some more unit tests
23738         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23739         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23740           fix leaked refcounts (I hope :)) so unittest works
23741         * gst/gstpad.h:
23742           whitespace removal
23743
23744 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23745
23746         * configure.ac: back to HEAD
23747
23748 === release 0.9.1 ===
23749
23750 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23751
23752         * NEWS:
23753         * RELEASE:
23754           updated
23755
23756 2005-06-17  Andy Wingo  <wingo@pobox.com>
23757
23758         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23759         assert; it's always possible that the pad gets deactivated in
23760         between the checks in gstpad.c and the implementation. Rely on
23761         finish_preroll() to return a FLUSHING or similar instead of on the
23762         assert.
23763         
23764         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23765         clock and post an EOS message if we come out of finish_preroll in
23766         the playing state.
23767
23768 2005-06-16  David Schleef  <ds@schleef.org>
23769
23770         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23771         (gst_capsfilter_set_property): Allow NULL as possible value
23772         for filter_caps property, indicating GST_CAPS_ANY.
23773
23774 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23775
23776         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23777           fix debug output
23778         * gst/schedulers/Makefile.am:
23779           use libgst prefix
23780         * gstreamer.spec.in:
23781           fix spec for it
23782
23783 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23784
23785         * gstreamer.spec.in:
23786           clean up
23787
23788 2005-06-08  Andy Wingo  <wingo@pobox.com>
23789
23790         * gst/gstutils.c: RPAD fixes all around.
23791         (gst_element_link_pads): Refcounting fixes.
23792
23793         * tools/gst-inspect.c:
23794         * tools/gst-xmlinspect.c:
23795         * parse/grammar.y:
23796         * gst/base/gsttypefindhelper.c:
23797         * gst/base/gstbasesink.c:
23798         * gst/gstqueue.c: RPAD fixes.
23799
23800         * gst/gstghostpad.h:
23801         * gst/gstghostpad.c: New ghost pad implementation as full proxy
23802         pads. The tricky thing is they provide both source and sink
23803         interfaces, since they proxy the internal pad for the external
23804         pad, and vice versa. Implement with lower-level ProxyPad objects,
23805         with the interior proxy pad as a child of the exterior ghost pad.
23806         Should write a doc on this.
23807         
23808         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23809         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23810         gst_object API.
23811         
23812         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23813         pads are real pads. No ghost pads in this file. Not documenting
23814         the myriad s/RPAD/PAD/ and REALIZE fixes.
23815         (gst_pad_class_init): Add properties for "direction" and
23816         "template". Both are construct-only, so they can't change during
23817         the life of the pad. Fixes properly deriving from GstPad.
23818         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23819         derived objects, just set properties when creating the objects via
23820         g_object_new.
23821         (gst_pad_get_parent): Implement as a function, return NULL if the
23822         parent is not an element.
23823         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23824         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23825         
23826         * gst/gstobject.c (gst_object_class_init): Make name a construct
23827         property. Don't set it in the object init.
23828
23829         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23830         with UNKNOWN direction.
23831         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23832         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23833         (gst_element_remove_pad): Remove ghost-pad special cases.
23834         (gst_element_pads_activate): Remove rpad cruft.
23835
23836         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23837         catch the pad's-parent-not-an-element case.
23838
23839         * gst/gst.h: Include gstghostpad.h.
23840
23841         * gst/gst.c (init_post): No more real, ghost pads.
23842
23843         * gst/Makefile.am: Add gstghostpad.[ch].
23844
23845         * check/Makefile.am:
23846         * check/gst/gstbin.c:
23847         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23848         into a bin creates ghost pads, and that the refcounts are right.
23849         Partly moved from gstbin.c.
23850
23851 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23852
23853         * check/gst-libs/.cvsignore:
23854         * check/gst/.cvsignore:
23855         * check/pipelines/.cvsignore:
23856           ignore more
23857         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23858         (START_TEST), (cleanup_suite), (main):
23859           add some tests related to cleanup after running pipelines
23860
23861 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23862
23863         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23864           add a testsuite for GstBuffer
23865
23866 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23867
23868         * gst/gstminiobject.h:
23869           add defines for accessing the refcount
23870
23871 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
23872
23873         * Makefile.am: added support for html unit test coverage reports
23874
23875 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
23876
23877         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23878           Free existing caps if the capsfilter changes. Add a FIXME about
23879           setting those caps on the pads.
23880
23881         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23882           Before adding a ghost pad to a parent bin, check that there isn't
23883           already one for the element on the bin. Prevents infinite recursion
23884           when using decodebin in parse pipelines. Andy says he'll rewrite the
23885           way this works anyway, so ignore the hack.
23886
23887 2005-06-02  Andy Wingo  <wingo@pobox.com>
23888
23889         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23890         file size, pass it on to the type find helper.
23891
23892         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23893         segment_start and segment_end properly according to the seek
23894         method. Segment_end is still a bit flaky because offset can be
23895         negative for CUR and END cases, but it takes -1 as an "unset"
23896         value.
23897
23898 2005-06-02  Wim Taymans  <wim@fluendo.com>
23899
23900         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23901         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23902         (gst_basesink_activate):
23903         * gst/base/gstbasesink.h:
23904         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23905         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23906         (gst_pad_query), (gst_pad_start_task):
23907         * gst/gstpad.h:
23908         * gst/gstqueue.c: (gst_queue_bufferalloc),
23909         (gst_queue_handle_sink_event), (gst_queue_chain):
23910         Bufferalloc: return GstFlowReturn to more accuratly report
23911         why allocation failed.
23912
23913 2005-06-02  Wim Taymans  <wim@fluendo.com>
23914
23915         * gst/gstpipeline.c: (gst_pipeline_send_event):
23916         Take snapshot of state without blocking.
23917
23918 2005-06-02  Wim Taymans  <wim@fluendo.com>
23919
23920         * docs/design/part-TODO.txt:
23921         * docs/design/part-caps.txt:
23922         * docs/design/part-clocks.txt:
23923         * docs/design/part-negotiation.txt:
23924         * docs/design/part-preroll.txt:
23925         Small doc updates 
23926
23927 2005-05-30  Wim Taymans  <wim@fluendo.com>
23928
23929         * gst/elements/gstidentity.c: (gst_identity_event),
23930         (gst_identity_transform), (gst_identity_get_property):
23931         Protect last_message property as it is accessed from
23932         multiple threads.
23933
23934 2005-05-30  Wim Taymans  <wim@fluendo.com>
23935
23936         * gst/gstelement.c: (gst_element_init),
23937         (gst_element_pads_activate), (gst_element_change_state):
23938         Slicker pad activation code.
23939
23940 2005-05-30  Wim Taymans  <wim@fluendo.com>
23941
23942         * gst/Makefile.am:
23943         * gst/gstelement.h:
23944         * gst/gstelementfactory.h:
23945         * gst/gsttypes.h:
23946         Move elementfactory methods to separate .h file.
23947
23948 2005-05-30  Wim Taymans  <wim@fluendo.com>
23949
23950         * docs/design/part-overview.txt:
23951         * gst/gstsystemclock.h:
23952         Small typo fixes, doc updates.
23953
23954 2005-05-30  Wim Taymans  <wim@fluendo.com>
23955
23956         * gst/gst.c: (gst_init_get_popt_table), (init_post),
23957         (init_popt_callback):
23958         Remove cpu-opt flag.
23959
23960 2005-05-30  Wim Taymans  <wim@fluendo.com>
23961
23962         * gst/gstbuffer.c: (gst_subbuffer_finalize),
23963         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23964         * gst/gstbuffer.h:
23965         Avoid typechecking in places where not needed.
23966         Added accessor for malloc_data.
23967
23968 2005-05-30  Wim Taymans  <wim@fluendo.com>
23969
23970         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23971         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23972         (gst_pad_configure_sink), (gst_pad_configure_src),
23973         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23974         (gst_pad_start_task):
23975         Propagate errors from _set_caps() in configure_src/sink
23976         functions instead of returning TRUE.
23977         FLUSH events can travel up and downstream
23978
23979
23980 2005-05-30  Wim Taymans  <wim@fluendo.com>
23981
23982         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23983         (gst_basesink_activate):
23984         Handle EOS in preroll.
23985
23986 2005-05-30  Wim Taymans  <wim@fluendo.com>
23987
23988         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23989         (gst_queue_loop), (gst_queue_handle_src_event):
23990         Remove old pieces of code
23991         Flushing the queue in an upstream event is a very bad idea.
23992
23993 2005-05-26  Andy Wingo  <wingo@pobox.com>
23994
23995         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23996         gst_value_set_mini_object so as to add a ref on the object (which
23997         will be removed when the value is unset).
23998
23999         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24000         arg type in ::handoff.
24001
24002         * gst/gstelement.c (gst_element_change_state): Also deactivate
24003         pads in READY->NULL, just in case the element didn't make it to
24004         PAUSED. Wingo tested, Wim approved.
24005
24006 2005-05-26  Wim Taymans  <wim@fluendo.com>
24007
24008         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24009         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24010         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24011         A flushing pad cannot be used to alloc_buffer from.
24012
24013 2005-05-26  Wim Taymans  <wim@fluendo.com>
24014
24015         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24016         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24017         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24018         (gst_bus_create_watch), (gst_bus_add_watch_full):
24019         * gst/gstbus.h:
24020         Implement a real GSource and use g_main_context_wakeup() to
24021         signal new messages instead of the socketpair.
24022
24023 2005-05-25  Wim Taymans  <wim@fluendo.com>
24024
24025         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24026         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24027         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24028         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24029         (gst_pad_send_event), (gst_pad_start_task):
24030         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24031         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24032         (gst_queue_sink_activate), (gst_queue_src_activate),
24033         (gst_queue_change_state):
24034         * gst/gstqueue.h:
24035         Fix state changes for non sinks. We now change sinks, then elements
24036         with unconnected srcpads, then the rest.
24037         More efficient queue unlocking in flush and state changes.
24038         Set the pad activate mode even if it does not have an activate
24039         function.
24040
24041 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24042
24043         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24044           Don't go in pull mode for non-seekable sources.
24045         * gst/elements/gsttypefindelement.h:
24046         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24047         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24048         (free_entry), (stop_typefinding),
24049         (gst_type_find_element_handle_event), (find_peek),
24050         (gst_type_find_element_chain), (do_pull_typefind),
24051         (gst_type_find_element_change_state):
24052           Allow typefinding (w/o seeking) in push-mode, simplified version
24053           of what was in 0.8.
24054         * gst/gstutils.c: (gst_buffer_join):
24055         * gst/gstutils.h:
24056           gst_buffer_join() from 0.8.
24057
24058 2005-05-25  Wim Taymans  <wim@fluendo.com>
24059
24060         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24061         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24062         (gst_pad_send_event), (gst_pad_start_task):
24063         Disable attempt at mode switching until it is figured out.
24064
24065 2005-05-25  Wim Taymans  <wim@fluendo.com>
24066
24067         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24068         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24069         (gst_basesink_finish_preroll), (gst_basesink_chain),
24070         (gst_basesink_loop), (gst_basesink_activate),
24071         (gst_basesink_change_state):
24072         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24073         (gst_basesrc_get_range), (gst_basesrc_loop),
24074         (gst_basesrc_activate):
24075         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24076         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24077         (gst_real_pad_init), (gst_real_pad_set_property),
24078         (gst_real_pad_get_property), (gst_pad_set_active),
24079         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24080         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24081         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24082         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24083         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24084         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24085         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24086         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24087         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24088         (gst_pad_stop_task):
24089         * gst/gstpad.h:
24090         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24091         (gst_queue_loop), (gst_queue_src_activate):
24092         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24093         (gst_task_get_state):
24094         * gst/gsttask.h:
24095         * gst/schedulers/threadscheduler.c:
24096         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24097         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24098         in task function.
24099         Remove ACTIVE pad flag, use FLUSHING everywhere
24100         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24101         functions.
24102         Add locks around IS_FLUSHING when reading.
24103         Take STREAM lock in chain(), get_range() functions so plugins
24104         don't need to take it anymore.
24105         
24106
24107
24108 2005-05-25  Wim Taymans  <wim@fluendo.com>
24109
24110         * tools/gst-launch.c: (event_loop):
24111         Unref message after using its contents instead of
24112         before.
24113
24114 2005-05-24  Wim Taymans  <wim@fluendo.com>
24115
24116         * docs/design/draft-ghostpads.txt:
24117         * docs/design/draft-push-pull.txt:
24118         * docs/design/draft-query.txt:
24119         * docs/design/part-overview.txt:
24120         Docs updates, added general overview doc.
24121
24122 2005-05-21  David Schleef  <ds@schleef.org>
24123
24124         * docs/gst/tmpl/old/GstBin.sgml:
24125         * docs/gst/tmpl/old/GstBuffer.sgml:
24126         * docs/gst/tmpl/old/GstCaps.sgml:
24127         * docs/gst/tmpl/old/GstClock.sgml:
24128         * docs/gst/tmpl/old/GstCompat.sgml:
24129         * docs/gst/tmpl/old/GstData.sgml:
24130         * docs/gst/tmpl/old/GstElement.sgml:
24131         * docs/gst/tmpl/old/GstEvent.sgml:
24132         * docs/gst/tmpl/old/GstIndex.sgml:
24133         * docs/gst/tmpl/old/GstStructure.sgml:
24134         * docs/gst/tmpl/old/GstTag.sgml:
24135         * docs/gst/tmpl/old/cothreads.sgml:
24136         * docs/gst/tmpl/old/cothreads_compat.sgml:
24137         * docs/gst/tmpl/old/gettext.sgml:
24138         * docs/gst/tmpl/old/gobject2gtk.sgml:
24139         * docs/gst/tmpl/old/grammar.tab.sgml:
24140         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24141         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24142         * docs/gst/tmpl/old/gst_private.sgml:
24143         * docs/gst/tmpl/old/gstaggregator.sgml:
24144         * docs/gst/tmpl/old/gstarch.sgml:
24145         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24146         * docs/gst/tmpl/old/gstbufferstore.sgml:
24147         * docs/gst/tmpl/old/gstdata_private.sgml:
24148         * docs/gst/tmpl/old/gstdisksink.sgml:
24149         * docs/gst/tmpl/old/gstdisksrc.sgml:
24150         * docs/gst/tmpl/old/gstelementfactory.sgml:
24151         * docs/gst/tmpl/old/gstextratypes.sgml:
24152         * docs/gst/tmpl/old/gstfakesink.sgml:
24153         * docs/gst/tmpl/old/gstfakesrc.sgml:
24154         * docs/gst/tmpl/old/gstfdsink.sgml:
24155         * docs/gst/tmpl/old/gstfdsrc.sgml:
24156         * docs/gst/tmpl/old/gstfilesink.sgml:
24157         * docs/gst/tmpl/old/gstfilesrc.sgml:
24158         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24159         * docs/gst/tmpl/old/gstidentity.sgml:
24160         * docs/gst/tmpl/old/gstindexfactory.sgml:
24161         * docs/gst/tmpl/old/gstmarshal.sgml:
24162         * docs/gst/tmpl/old/gstmd5sink.sgml:
24163         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24164         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24165         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24166         * docs/gst/tmpl/old/gstpipefilter.sgml:
24167         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24168         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24169         * docs/gst/tmpl/old/gstshaper.sgml:
24170         * docs/gst/tmpl/old/gstspider.sgml:
24171         * docs/gst/tmpl/old/gstspideridentity.sgml:
24172         * docs/gst/tmpl/old/gststatistics.sgml:
24173         * docs/gst/tmpl/old/gsttee.sgml:
24174         * docs/gst/tmpl/old/gsttimecache.sgml:
24175         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24176         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24177         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24178         * docs/gst/tmpl/old/types.sgml:
24179           I didn't intend to add these or check them in.
24180
24181 2005-05-19  David Schleef  <ds@schleef.org>
24182
24183         * configure.ac: Use -no-common everywhere.  In a sane world, it
24184           would be the default in libtool, because without it, you can't
24185           build DLLs on Windows.
24186         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24187         * docs/gst/gstreamer-sections.txt:
24188         * docs/gst/tmpl/gstcpu.sgml:
24189         * docs/gst/tmpl/gstdata.sgml:
24190         * docs/gst/tmpl/gstthread.sgml:
24191
24192 2005-05-19  David Schleef  <ds@schleef.org>
24193
24194         * gst/gstminiobject.c: (gst_value_set_mini_object),
24195         (gst_value_take_mini_object), (gst_value_get_mini_object):
24196         * gst/gstminiobject.h: Add GValue set/get functions.
24197
24198 2005-05-19  Wim Taymans  <wim@fluendo.com>
24199
24200         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24201         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24202         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24203         * gst/gstbuffer.h:
24204         * gst/gstbus.c: (gst_bus_post):
24205         * gst/gstelement.c: (gst_element_get_random_pad):
24206         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24207         Make subbufer unref the parent in finalize.
24208         some more debugging info.
24209
24210
24211 2005-05-19  Wim Taymans  <wim@fluendo.com>
24212
24213         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24214         (gst_basesink_init), (gst_basesink_finalize),
24215         (gst_basesink_activate), (gst_basesink_change_state):
24216         Don't free preroll queue too early.
24217
24218 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24219
24220         * gst/Makefile.am:
24221         * gst/ROADMAP:
24222           Hi, I'm outdated. Please shoot me.
24223
24224 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24225
24226         * gst/gstpipeline.c: (gst_pipeline_send_event):
24227           Do not access variables after they have been deleted.
24228
24229 2005-05-19  Wim Taymans  <wim@fluendo.com>
24230
24231         * tools/gst-inspect.c: (print_plugin_features):
24232         A plugin feature does unfortunatly not use the
24233         object name yet...
24234
24235 2005-05-18  Wim Taymans  <wim@fluendo.com>
24236
24237         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24238         Port _span() functions to new subbuffers.
24239
24240 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24241
24242         * gst/gstbin.c: (gst_bin_add_func):
24243           Fix clock settery in bins when adding kids after the clock has
24244           been selected.
24245
24246 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24247
24248         * gst/elements/gstidentity.c: (gst_identity_class_init):
24249           Workaround until signals support GstMiniObject.
24250
24251 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24252
24253         * gst/gstbuffer.c:
24254         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24255
24256 2005-05-18  Wim Taymans  <wim@fluendo.com>
24257
24258         * gst/base/Makefile.am:
24259         * gst/base/gstadapter.c: (gst_adapter_base_init),
24260         (gst_adapter_class_init), (gst_adapter_init),
24261         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24262         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24263         (gst_adapter_flush), (gst_adapter_available),
24264         (gst_adapter_available_fast):
24265         * gst/base/gstadapter.h:
24266         Ported and added adapter to the base classes.
24267
24268 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24269
24270         * gst/gst.c:
24271         * gst/gstmessage.c:
24272           Make sure the class is reffed/unreffed once before threads can be
24273           used.  Fixes #304551.
24274
24275 2005-05-17  Wim Taymans  <wim@fluendo.com>
24276
24277         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24278         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24279         * gst/gstminiobject.c: (gst_mini_object_get_type),
24280         (gst_mini_object_free):
24281         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24282         (gst_pad_push), (gst_pad_push_event):
24283         * gst/gstqueue.c: (gst_queue_change_state):
24284         Don't queue buffers in basesink when we are flushing.
24285         Unref buffer when flushing in basesink.
24286         Flush queue when going to READY
24287         Unref buffer when _push() returns an error.
24288         Don't free MiniObject instance when refcount is incremented
24289         in _finalize() so that we can recover objects.
24290
24291 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24292
24293         * docs/manual/advanced-schedulers.xml:
24294         * docs/manual/appendix-checklist.xml:
24295         * docs/pwg/advanced-clock.xml:
24296         * docs/pwg/advanced-interfaces.xml:
24297         * docs/pwg/advanced-request.xml:
24298         * docs/pwg/advanced-types.xml:
24299         * docs/pwg/intro-preface.xml:
24300         * examples/plugins/example.c: (gst_example_get_type),
24301         (gst_example_class_init), (gst_example_chain),
24302         (gst_example_set_property), (gst_example_get_property),
24303         (gst_example_change_state), (plugin_init):
24304         * examples/plugins/example.h:
24305           small doc fixes
24306
24307 2005-05-17  Wim Taymans  <wim@fluendo.com>
24308
24309         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24310         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24311         * gst/gstqueue.c: (gst_queue_change_state):
24312         Clear queue when going to READY.
24313         Remove IN_SETCAPS flag too.
24314
24315 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24316
24317         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24318           Remove implicit cast from gboolean to GstElementStateReturn;
24319           make sure we still return failure in paused => ready case if
24320           the parent class fails to change state and our own stop 
24321           vfunc succeeds.
24322
24323 2005-05-17  Wim Taymans  <wim@fluendo.com>
24324
24325         * tools/gst-launch.c: (event_loop):
24326         Message was unreffed too soon.
24327
24328 2005-05-16  Andy Wingo  <wingo@pobox.com>
24329
24330         * gst/gstbin.c (sink_iterator_filter): Err... um...
24331
24332         * check/gst/gstbin.c (test_ghost_pads): New test for the
24333         ghosting-if-elements-not-in-same-bin behavior.
24334
24335 2005-05-16  David Schleef  <ds@schleef.org>
24336
24337         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24338         accessing refcount directly.
24339
24340 2005-05-15  David Schleef  <ds@schleef.org>
24341
24342         * check/Makefile.am: remove GstData checks
24343         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24344         * gst/Makefile.am: add miniobject, remove data
24345         * gst/gst.h: add miniobject, remove data
24346         * gst/gstdata.c: remove
24347         * gst/gstdata.h: remove
24348         * gst/gstdata_private.h: remove
24349         * gst/gsttypes.h: remove GstEvent and GstMessage
24350         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24351         * gst/gstmarshal.list: change BOXED -> OBJECT
24352
24353         Implement GstMiniObject.
24354         * gst/gstminiobject.c:
24355         * gst/gstminiobject.h:
24356
24357         Modify to be subclasses of GstMiniObject.
24358         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24359         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24360         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24361         (gst_subbuffer_get_type), (gst_subbuffer_init),
24362         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24363         (gst_buffer_span):
24364         * gst/gstbuffer.h:
24365         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24366         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24367         (_gst_event_copy), (gst_event_new):
24368         * gst/gstevent.h:
24369         * gst/gstmessage.c: (_gst_message_initialize),
24370         (gst_message_get_type), (gst_message_class_init),
24371         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24372         (gst_message_new), (gst_message_new_error),
24373         (gst_message_new_warning), (gst_message_new_tag),
24374         (gst_message_new_state_changed), (gst_message_new_application):
24375         * gst/gstmessage.h:
24376         * gst/gstprobe.c: (gst_probe_perform),
24377         (gst_probe_dispatcher_dispatch):
24378         * gst/gstprobe.h:
24379         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24380         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24381         (_gst_query_copy), (gst_query_new):
24382
24383         Update elements for GstData -> GstMiniObject changes
24384         * gst/gstquery.h:
24385         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24386         (gst_queue_chain), (gst_queue_loop):
24387         * gst/elements/gstbufferstore.c:
24388         (gst_buffer_store_add_buffer_func),
24389         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24390         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24391         (gst_fakesink_render):
24392         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24393         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24394         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24395         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24396         (gst_filesrc_create_read):
24397         * gst/elements/gstidentity.c: (gst_identity_class_init):
24398         * gst/elements/gsttypefindelement.c:
24399         (gst_type_find_element_src_event), (free_entry_buffers),
24400         (gst_type_find_element_handle_event):
24401         * libs/gst/dataprotocol/dataprotocol.c:
24402         (gst_dp_header_from_buffer):
24403         * libs/gst/dataprotocol/dataprotocol.h:
24404         * libs/gst/dataprotocol/dp-private.h:
24405
24406 2005-05-15  David Schleef  <ds@schleef.org>
24407
24408         * gst/elements/gstelements.c: Don't include headers that were
24409         just removed.
24410
24411 2005-05-15  David Schleef  <ds@schleef.org>
24412
24413         * gst/elements/Makefile.am: Remove some elements that don't
24414         need to be in the core (or even exist at all).
24415         * gst/elements/gstaggregator.c:
24416         * gst/elements/gstaggregator.h:
24417         * gst/elements/gstmd5sink.c:
24418         * gst/elements/gstmd5sink.h:
24419         * gst/elements/gstmultifilesrc.c:
24420         * gst/elements/gstmultifilesrc.h:
24421         * gst/elements/gstpipefilter.c:
24422         * gst/elements/gstpipefilter.h:
24423         * gst/elements/gstshaper.c:
24424         * gst/elements/gstshaper.h:
24425         * gst/elements/gststatistics.c:
24426         * gst/elements/gststatistics.h:
24427         * po/POTFILES.in: Remove above files.
24428
24429 2005-05-14  Andy Wingo  <wingo@pobox.com>
24430
24431         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24432         so as to get the refs right.
24433         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24434         unreffing objects that don't pass the filter.
24435
24436         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24437         gst_element_set_bus.
24438         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24439         normal cases, this will destroy the bus.
24440
24441         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24442         object.
24443
24444         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24445         has no sinks.
24446
24447 2005-05-13  Andy Wingo  <wingo@pobox.com>
24448
24449         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24450         gst_pad_link, call pad_link_maybe_ghosting,
24451         (pad_link_maybe_ghosting): Links pads, making sure that the
24452         elements being linked are in the same bin.
24453         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24454         Helpers for pad_link_maybe_ghosting.
24455
24456 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24457
24458         * configure.ac:
24459           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24460
24461 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24462
24463         * docs/design/part-element-source.txt:
24464           Mention GstPushSrc
24465
24466 2005-05-12  Wim Taymans  <wim@fluendo.com>
24467
24468         * gst/base/gstbasesink.c: (gst_basesink_init),
24469         (gst_basesink_activate):
24470         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24471         (gst_basesrc_is_seekable):
24472         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24473         (bin_element_is_sink), (gst_bin_change_state):
24474         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24475         * gst/gstelement.h:
24476         Identify sinks by their flag to avoid overly complicated
24477         checks (fow now).
24478         Do state changes even for elements not reachable from the
24479         sinks.
24480         BaseSink is a sink now :)
24481         Some more debugging info in the basesrc.
24482
24483
24484 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24485
24486         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24487           Implement _query on a bin, similar to _send_event.
24488
24489 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24490
24491         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24492           Discont event offset format should be GST_FORMAT_BYTES,
24493           not GST_FORMAT_TIME.
24494
24495 2005-05-12  Wim Taymans  <wim@fluendo.com>
24496
24497         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24498         Same fix as Ronald's but without the signal. 
24499
24500 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24501
24502         * gst/gstutils.c: (gst_element_query_position):
24503           No, an element is not a pad.
24504
24505 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24506
24507         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24508         (gst_bin_get_state):
24509           If a child is removed from a bin while we remove the child from
24510           the bin and while we're retrieving its state, signal this to the
24511           get_state function so we abort the wait (instead of waiting for
24512           a timeout) and can immediately re-iterate over all other elements.
24513
24514 2005-05-12  Wim Taymans  <wim@fluendo.com>
24515
24516         * gst/base/Makefile.am:
24517         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24518         (gst_basesrc_start):
24519         * gst/base/gstbasesrc.h:
24520         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24521         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24522         (gst_pushsrc_init), (gst_pushsrc_create):
24523         * gst/base/gstpushsrc.h:
24524         Added is_seekable to BaseSrc
24525         Added simple PushSrc.
24526
24527 2005-05-11  Wim Taymans  <wim@fluendo.com>
24528
24529         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24530         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24531         (gst_element_link_pads), (gst_element_query_position),
24532         (gst_element_query_convert), (intersect_caps_func),
24533         (gst_pad_query_position), (gst_pad_query_convert):
24534         Fix refcounting in utils function.
24535         No point in trying to activate a pad when it's added, it could
24536         be added from the state change function and then we deadlock, the
24537         element has to decide what to do.
24538
24539 2005-05-10  Andy Wingo  <wingo@pobox.com>
24540
24541         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24542         *all* the arguments.
24543
24544         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24545         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24546         lock (according to the docs -- if this is wrong change the docs).
24547
24548         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24549         flush messages in the NULL state.
24550
24551         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24552         message immediately and return.
24553         (gst_bus_set_flushing): New function. If a bus is flushing, it
24554         flushes out any queued messages and immediately unrefs new
24555         messages. This is so when an element goes to NULL, all of the
24556         unhandled messages coming from it can be freed, and their
24557         references to the element dropped. In other words: message source
24558         ref considered harmful :P
24559
24560         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24561         we're finished with it.
24562
24563         * gst/gstmessage.c (gst_message_new_state_changed): 
24564
24565 2005-05-10  Wim Taymans  <wim@fluendo.com>
24566
24567         * gst/gstvalue.c: (gst_value_compare_flags),
24568         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24569         (_gst_value_initialize):
24570         Added flags serialize/deserialize/compare code.
24571
24572 2005-05-09  Andy Wingo  <wingo@pobox.com>
24573
24574         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24575         Intersect the peer's caps with our caps.
24576
24577 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24578
24579         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24580         * gst/elements/gsttypefindelement.c: (find_peek):
24581           Handle negative offsets better. Fixes decodebin.
24582
24583 2005-05-09  Wim Taymans  <wim@fluendo.com>
24584
24585         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24586         (gst_base_transform_event):
24587         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24588         Implement accept_caps.
24589         Fix silly lock/unlock mismatch in base class.
24590
24591 2005-05-09  Wim Taymans  <wim@fluendo.com>
24592
24593         * docs/design/draft-push-pull.txt:
24594         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24595         * gst/elements/gstfilesink.c: (gst_filesink_init),
24596         (gst_filesink_query):
24597         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24598         (gst_type_find_handle_src_query), (find_element_get_length):
24599         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24600         * gst/gstelement.h:
24601         * gst/gstmessage.c:
24602         * gst/gstmessage.h:
24603         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24604         (gst_real_pad_get_caps_unlocked),
24605         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24606         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24607         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24608         (gst_real_pad_dispose), (gst_real_pad_finalize),
24609         (gst_pad_load_and_link), (gst_pad_save_thyself),
24610         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24611         (gst_pad_check_pull_range), (gst_pad_pull_range),
24612         (gst_pad_template_get_type), (gst_pad_template_class_init),
24613         (gst_pad_template_init), (gst_pad_template_dispose),
24614         (name_is_valid), (gst_static_pad_template_get),
24615         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24616         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24617         (gst_pad_get_element_private), (gst_pad_start_task),
24618         (gst_pad_pause_task), (gst_pad_stop_task),
24619         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24620         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24621         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24622         (gst_ghost_pad_new):
24623         * gst/gstpad.h:
24624         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24625         (gst_query_new_position), (gst_query_set_position),
24626         (gst_query_parse_position), (gst_query_new_convert),
24627         (gst_query_set_convert), (gst_query_parse_convert):
24628         * gst/gstquery.h:
24629         * gst/gstqueryutils.c:
24630         * gst/gstqueryutils.h:
24631         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24632         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24633         (gst_queue_handle_src_query):
24634         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24635         (gst_element_query_position), (gst_element_query_convert),
24636         (intersect_caps_func), (gst_pad_query_position),
24637         (gst_pad_query_convert):
24638         * gst/gstutils.h:
24639         * tools/gst-inspect.c: (print_pad_info):
24640         * tools/gst-xmlinspect.c: (print_element_info):
24641         Remove old query functions. Ported old code.
24642         Added position/convert helper functions to gstutils.
24643         Reordered gstpad.c code, grouping relevant things.
24644         Remove gst_message_new(), always need to speficy a specific
24645         message.
24646
24647
24648 2005-05-09  Andy Wingo  <wingo@pobox.com>
24649
24650         * gst/gstiterator.h: Add some includes.
24651
24652         * gst/gstqueryutils.h: Include more headers.
24653
24654         * gst/gstpad.h:
24655         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24656         some uses of gst_pad_query.
24657
24658         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24659         NULL out parameters.
24660         (gst_query_new_position): New proc, allocates a new position
24661         query.
24662
24663         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24664         gstqueryutils.c to the build.
24665
24666         * gst/gststructure.c (gst_structure_set_valist): Implement with
24667         the generic G_VALUE_COLLECT.
24668         
24669 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24670
24671         * gst/Makefile.am: (gst_headers):
24672         Added gstqueryutils.h to the list of headers to install, that was
24673         a 'nachty' move wingo :)
24674
24675 2005-05-06  Andy Wingo  <wingo@pobox.com>
24676
24677         * gst/gstquery.h
24678         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24679         GstData, init a memchunk.
24680         (standard_definitions): Add a few query types, deprecate a few.
24681         (gst_query_get_type): New proc.
24682         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24683         implementation.
24684         (gst_query_new_application, gst_query_get_structure): New public
24685         procs.
24686
24687         * docs/design/draft-query.txt: Removed LINKS from the query types,
24688         because all the rest can be dispatched to other pads -- seemed
24689         ugly to have a query that couldn't be dispatched. internal_links
24690         is fine as a pad method.
24691
24692         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24693         in gstpad.c, but maintain binary compatibility for the moment.
24694         Will fix before 0.9 is out.
24695
24696         * gst/gstqueryutils.c: 
24697         * gst/gstqueryutils.h: New files, implement 3 methods for each
24698         query type: parse_query, parse_response, and set. Probably need an
24699         allocator as well.
24700
24701         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24702
24703         * gst/elements/gstfilesink.c (gst_filesink_query2):
24704         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24705         query_types, and formats methods.
24706
24707         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24708         (gst_pad_set_query2_function): New functions.
24709         (gst_real_pad_init): Set query2_default as the default query2
24710         function. Basically just dispatches to internally linked pads.
24711
24712         Needs review!
24713         
24714         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24715         without using the atomic operations. Only one thread can possibly
24716         be accessing the data at this point. Changed so as to avoid
24717         gst_atomic operations.
24718
24719 2005-05-06  Wim Taymans  <wim@fluendo.com>
24720
24721         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24722         Also set caps if we use the fallback buffer alloc.
24723
24724 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
24725
24726         * docs/gst/Makefile.am:
24727         * docs/gst/gstreamer-docs.sgml:
24728         * docs/gst/gstreamer-sections.txt:
24729         * docs/gst/tmpl/gstatomic.sgml:
24730         * docs/gst/tmpl/gstmemchunk.sgml:
24731         * testsuite/elements/struct_i386.h:
24732         * win32/GStreamer.vcproj:
24733         * win32/Makefile:
24734           Purge GstAtomic stuff from docs and win32 makefiles as well
24735
24736 2005-05-06  Wim Taymans  <wim@fluendo.com>
24737
24738         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24739         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24740         * gst/gstpad.c: (gst_pad_peer_get_caps):
24741         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24742         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24743         (gst_queue_src_activate), (gst_queue_change_state):
24744         * gst/gstqueue.h:
24745         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24746         (intersect_caps_func):
24747         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24748         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24749         Some fixes for the peer_get_caps() change.
24750
24751 2005-05-06  Wim Taymans  <wim@fluendo.com>
24752
24753         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24754         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24755         (gst_basesink_activate):
24756         Actually do something with error codes returned from the push
24757         functions.
24758
24759 2005-05-06  Wim Taymans  <wim@fluendo.com>
24760
24761         * docs/design/part-element-sink.txt:
24762         * docs/design/part-element-source.txt:
24763         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24764         (gst_basesink_event), (gst_basesink_activate):
24765         * gst/base/gstbasesink.h:
24766         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24767         (gst_basesrc_activate):
24768         * gst/base/gstbasesrc.h:
24769         * gst/gstelement.c: (gst_element_pads_activate):
24770         Some more documentation.
24771         Fixed scheduling decision in _pads_activate().
24772
24773 2005-05-05  Andy Wingo  <wingo@pobox.com>
24774
24775         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24776         the test suite.
24777
24778 2005-05-05  Wim Taymans  <wim@fluendo.com>
24779
24780         * gst/base/Makefile.am:
24781         * gst/base/gstbasesink.h:
24782         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24783         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24784         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24785         (gst_collectpads_class_init), (gst_collectpads_init),
24786         (gst_collectpads_finalize), (gst_collectpads_new),
24787         (gst_collectpads_set_function), (gst_collectpads_add_pad),
24788         (find_pad), (gst_collectpads_remove_pad),
24789         (gst_collectpads_is_active), (gst_collectpads_collect),
24790         (gst_collectpads_collect_range), (gst_collectpads_start),
24791         (gst_collectpads_stop), (gst_collectpads_peek),
24792         (gst_collectpads_pop), (gst_collectpads_available),
24793         (gst_collectpads_read), (gst_collectpads_flush),
24794         (gst_collectpads_chain):
24795         * gst/base/gstcollectpads.h:
24796         * gst/elements/Makefile.am:
24797         * gst/elements/gstelements.c:
24798         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24799         (gst_fakesink_get_times), (gst_fakesink_event),
24800         (gst_fakesink_preroll), (gst_fakesink_render):
24801         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24802         (gst_filesink_init), (gst_filesink_set_location),
24803         (gst_filesink_open_file), (gst_filesink_close_file),
24804         (gst_filesink_pad_query), (gst_filesink_event),
24805         (gst_filesink_render), (gst_filesink_change_state):
24806         * gst/elements/gstfilesink.h:
24807         Added object to help in making collect pad based elements.
24808         Ported filesink.
24809         Make event function in sink baseclass return gboolean.
24810
24811 2005-05-05  Wim Taymans  <wim@fluendo.com>
24812
24813         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24814         (gst_bin_get_by_name):
24815         * gst/gstbuffer.h:
24816         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24817         (gst_clock_finalize):
24818         * gst/gstdata.c: (gst_data_replace):
24819         * gst/gstdata.h:
24820         * gst/gstelement.c: (gst_element_request_pad),
24821         (gst_element_pads_activate):
24822         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24823         (gst_object_unref):
24824         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24825         (gst_pad_set_checkgetrange_function),
24826         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24827         (gst_pad_check_pull_range), (gst_pad_pull_range),
24828         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24829         (gst_pad_pause_task), (gst_pad_stop_task):
24830         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24831         (gst_element_request_pad), (gst_pad_proxy_getcaps):
24832         Fix name lookup in GstBin.
24833         Added _data_replace() function and _buffer_replace()
24834         Use finalize method to clean up clock.
24835         Fix refcounting on request pads.
24836         Fix pad schedule mode error.
24837         Some more object refcounting debug info,
24838
24839
24840 2005-05-04  Andy Wingo <wingo@pobox.com>
24841
24842         * check/Makefile.am:
24843         * docs/gst/tmpl/gstatomic.sgml:
24844         * docs/gst/tmpl/gstplugin.sgml:
24845         * gst/base/gstbasesink.c: (gst_basesink_activate):
24846         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24847         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24848         (gst_basesrc_query), (gst_basesrc_set_property),
24849         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24850         (gst_basesrc_activate):
24851         * gst/base/gstbasesrc.h:
24852         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24853         (gst_base_transform_src_activate):
24854         * gst/elements/gstelements.c:
24855         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24856         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24857         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24858         * gst/elements/gsttypefindelement.c: (find_element_get_length),
24859         (gst_type_find_element_checkgetrange),
24860         (gst_type_find_element_activate):
24861         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24862         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24863         (gst_caps_load_thyself):
24864         * gst/gstelement.c: (gst_element_pads_activate),
24865         (gst_element_save_thyself), (gst_element_restore_thyself):
24866         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24867         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24868         * gst/gstpad.h:
24869         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24870         (gst_xml_parse_file), (gst_xml_parse_memory),
24871         (gst_xml_get_element), (gst_xml_make_element):
24872         * gst/indexers/gstfileindex.c: (gst_file_index_load),
24873         (_file_index_id_save_xml), (gst_file_index_commit):
24874         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24875         (read_enum), (load_pad_template), (load_feature), (load_plugin),
24876         (load_paths):
24877         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24878         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24879         * tools/gst-complete.c: (main):
24880         * tools/gst-compprep.c: (main):
24881         * tools/gst-inspect.c: (print_element_properties_info):
24882         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24883         * tools/gst-xmlinspect.c: (print_element_properties):
24884         GCC 4 fixen.
24885         
24886 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24887
24888         * gst/gstplugin.c: (gst_plugin_check_module),
24889         (gst_plugin_check_file), (gst_plugin_load_file):
24890             apply patch from #172526 to make register work on MacOSX
24891
24892 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24893
24894         * docs/gst/tmpl/gstconfig.sgml:
24895         * gst/gstconfig.h.in:
24896           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
24897         * testsuite/debug/printf_extension.c: (main):
24898           Do not use GST_PTR_FORMAT on pointers to types with
24899           sizeof < sizeof(gpointer).  Fixes test on 64-bit
24900         * testsuite/elements/property.h:
24901           use correct printf format
24902
24903 2005-05-02  Wim Taymans  <wim@fluendo.com>
24904
24905         * docs/design/draft-push-pull.txt:
24906         * docs/design/draft-query.txt:
24907         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24908         (gst_basesrc_start):
24909         Added draft for new query API.
24910         Added draft for better selecting scheduling methods.
24911         Make basesrc ignore length if the subclass does not support
24912         it.
24913
24914 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24915
24916         * gst/Makefile.am:
24917           possible fixes for automake-1.5 - _LIBADD is reserved
24918
24919 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24920
24921         * docs/faq/Makefile.am:
24922         * docs/manual/Makefile.am:
24923         * docs/manuals.mak:
24924         * docs/pwg/Makefile.am:
24925         * gst/Makefile.am:
24926           possible fixes for automake-1.5
24927
24928 2005-04-28  Wim Taymans  <wim@fluendo.com>
24929
24930         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24931         (gst_basesink_pad_getcaps), (gst_basesink_init),
24932         (gst_basesink_do_sync):
24933         * gst/gstclock.c: (gst_clock_entry_new):
24934         * gst/gstevent.c: (gst_event_discont_get_value):
24935         * gst/gstpipeline.c: (pipeline_bus_handler),
24936         (gst_pipeline_change_state):
24937         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24938         Better debugging of clocking info.
24939         Allow NULL values when getting discont values.
24940
24941 2005-04-27  Wim Taymans  <wim@fluendo.com>
24942
24943         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24944         * check/gst/gstpad.c: (gst_pad_suite):
24945         Increase timeout for checks.
24946
24947 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24948
24949         * check/Makefile.am:
24950           fix the broken rule for cleanup.  Apparently this rule is
24951           only needed on FC2, so maybe this warrants further autotool
24952           inspection.
24953
24954 2005-04-26  Wim Taymans  <wim@fluendo.com>
24955
24956         * gst/gsttrashstack.h:
24957         Ooohh. a nasty one! After having a failed pop() from the stack,
24958         it's possible that the stack is empty. In that case, don't
24959         follow the NULL pointer.
24960
24961 2005-04-25  Wim Taymans  <wim@fluendo.com>
24962
24963         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24964         (gst_pad_set_checkgetrange_function),
24965         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24966         (gst_pad_check_pull_range), (gst_pad_pull_range),
24967         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24968         (gst_pad_pause_task), (gst_pad_stop_task):
24969         * gst/gstplugin.c: (gst_plugin_load):
24970         * gst/gstplugin.h:
24971         Remove gst_library_load as it does more harm than good with
24972         the new g_module flags.
24973         Revert bogus caps template check in pad linking, pad caps
24974         are important when linking not the template, which is more
24975         general than the current caps.
24976
24977 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24978
24979         * gst/autoplug/.cvsignore:
24980         * gst/autoplug/Makefile.am:
24981         * gst/autoplug/gstsearchfuncs.c:
24982         * gst/autoplug/gstsearchfuncs.h:
24983         * gst/autoplug/gstspider.c:
24984         * gst/autoplug/gstspider.h:
24985         * gst/autoplug/gstspideridentity.c:
24986         * gst/autoplug/gstspideridentity.h:
24987         * gst/autoplug/spidertest.c:
24988           Die, spider, die.
24989
24990 2005-04-25  Wim Taymans  <wim@fluendo.com>
24991
24992         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24993         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24994         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24995         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24996         * gst/gstpad.h:
24997         Added stubs for unimplemented functions. 
24998
24999 2005-04-24  David Schleef  <ds@schleef.org>
25000
25001         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25002         please fix.
25003
25004 2005-04-24  David Schleef  <ds@schleef.org>
25005
25006         Convert everything from GstAtomicInt to g_atomic_int_*, and
25007         remove gstatomic.
25008         * gst/Makefile.am:
25009         * gst/gstatomic.c:
25010         * gst/gstatomic.h:
25011         * gst/gstatomic_impl.h:
25012         * gst/gstbuffer.c:
25013         * gst/gstcaps.c:
25014         * gst/gstcaps.h:
25015         * gst/gstclock.c:
25016         * gst/gstclock.h:
25017         * gst/gstdata.c:
25018         * gst/gstdata.h:
25019         * gst/gstdata_private.h:
25020         * gst/gstevent.c:
25021         * gst/gstinfo.c:
25022         * gst/gstinfo.h:
25023         * gst/gstmessage.c:
25024         * gst/gstobject.c:
25025         * gst/gstobject.h:
25026         * gst/gststructure.c:
25027         * gst/gststructure.h:
25028         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25029         * gst/gstutils.h:
25030
25031 2005-04-24  David Schleef  <ds@schleef.org>
25032
25033         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25034         make the regressions tests work.  Remove some code that is no
25035         longer true.
25036         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25037         Disable warning for pads without templates.
25038
25039 2005-04-24  David Schleef  <ds@schleef.org>
25040
25041         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25042         functions that handle filtered links.
25043         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25044         removed functions.
25045         * gst/gstutils.c: Fix/remove utility functions that handle
25046         filtered caps.
25047         * gst/gstutils.h:
25048         * gst/gstvalue.c: Add serialization/deserialization of caps
25049         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25050         requires fixing so that the filter caps notation creates
25051         a capsfilter element and sets the filter_caps property.  I
25052         think everyone probably wants to keep the shorthand notation.
25053         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25054         * docs/gst/tmpl/gstpad.sgml:
25055
25056         * gst/elements/gstelements.c: Register capsfilter element.
25057         * gst/Makefile.am: fix spacing
25058         * docs/random/ds/0.9-suggested-changes: random
25059
25060 2005-04-23  David Schleef  <ds@schleef.org>
25061
25062         * gst/elements/Makefile.am:
25063         * gst/elements/gstcapsfilter.c: New element that acts like an
25064         identity, but filters caps.  Will eventually replace filtered
25065         caps in pad linking.
25066         * gst/gstutils.c: (gst_element_create_all_pads): New function
25067         to create all the ALWAYS pads that are registered with an
25068         element class.  This functionality should eventually be
25069         merged in with GstElement initialization.
25070         * gst/gstutils.h:
25071         * testsuite/trigger/README: part of trigger test code that should
25072         have been checked in a long time ago.
25073
25074 2005-04-23  David Schleef  <ds@schleef.org>
25075
25076         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25077         needed with new versions of libtool (nobody will confirm this),
25078         and hard to carry around.
25079         * gst/autoplug/Makefile.am:
25080         * gst/base/Makefile.am:
25081         * gst/elements/Makefile.am:
25082         * gst/indexers/Makefile.am:
25083         * gst/schedulers/Makefile.am:
25084         * libs/gst/bytestream/Makefile.am:
25085         * libs/gst/control/Makefile.am:
25086         * libs/gst/dataprotocol/Makefile.am:
25087         * libs/gst/getbits/Makefile.am:
25088
25089 2005-04-21  Wim Taymans  <wim@fluendo.com>
25090
25091         * docs/design/draft-push-pull.txt:
25092         * docs/design/part-MT-refcounting.txt:
25093         * docs/design/part-TODO.txt:
25094         * docs/design/part-caps.txt:
25095         * docs/design/part-events.txt:
25096         * docs/design/part-gstbus.txt:
25097         * docs/design/part-gstpipeline.txt:
25098         * docs/design/part-messages.txt:
25099         * docs/design/part-push-pull.txt:
25100         * docs/design/part-query.txt:
25101         Some more docs.
25102
25103 2005-04-21  Wim Taymans  <wim@fluendo.com>
25104
25105         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25106         (gst_message_new), (gst_message_new_error),
25107         (gst_message_new_warning), (gst_message_new_tag),
25108         (gst_message_new_state_changed), (gst_message_new_application),
25109         (gst_message_get_structure):
25110         * gst/gstmessage.h:
25111         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25112         (gst_structure_copy_conditional):
25113         Use parent refcount in GstMessage to ensure GstStructure
25114         consistency.
25115         Cleaned up headers a bit.
25116         
25117
25118 2005-04-20  Wim Taymans  <wim@fluendo.com>
25119
25120         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25121         (gst_basesink_pad_getcaps), (gst_basesink_init),
25122         (gst_basesink_chain_unlocked):
25123         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25124         (gst_type_find_helper):
25125         * gst/elements/gsttypefindelement.c:
25126         (gst_type_find_element_have_type), (gst_type_find_element_init),
25127         (stop_typefinding), (gst_type_find_element_handle_event),
25128         (find_suggest), (gst_type_find_element_chain),
25129         (gst_type_find_element_checkgetrange),
25130         (gst_type_find_element_getrange), (do_typefind),
25131         (gst_type_find_element_activate):
25132         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25133         (gst_buffer_default_free), (gst_buffer_default_copy),
25134         (gst_buffer_set_caps):
25135         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25136         (gst_caps_replace):
25137         * gst/gstmessage.c: (gst_message_new),
25138         (gst_message_new_state_changed):
25139         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25140         (gst_pad_set_checkgetrange_function),
25141         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25142         (gst_pad_set_caps), (gst_pad_check_pull_range),
25143         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25144         * gst/gstpad.h:
25145         * gst/gsttypefind.c: (gst_type_find_register):
25146         Make gst_caps_replace() work like other _replace() functions.
25147         Use _caps_replace() where possible.
25148         Make sure _message_new() initialises its field.
25149         Add gst_static_pad_template_get_caps()
25150
25151
25152 2005-04-18  Andy Wingo  <wingo@pobox.com>
25153
25154         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25155         on the peer, not the pad. I think that was a typo. Pass an extra
25156         arg to see if random access is possible. Activate the pads as
25157         PULL_RANGE if possible.
25158
25159         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25160
25161         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25162         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25163         to PROP_....
25164
25165 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25166
25167         * docs/faq/using.xml:
25168           Add note on gstreamer-properties (#154996).
25169
25170 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25171
25172         * docs/random/bbb/optional-properties:
25173           Some analysis on optional properties.
25174
25175 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25176
25177         * docs/gst/tmpl/gstelementfactory.sgml:
25178         * gst/gstelement.h:
25179         * gst/gstelementfactory.c: (gst_element_factory_init),
25180         (gst_element_factory_cleanup), (gst_element_register),
25181         (__gst_element_factory_add_static_pad_template),
25182         (gst_element_factory_get_static_pad_templates),
25183         (gst_element_factory_can_src_caps),
25184         (gst_element_factory_can_sink_caps):
25185         * gst/registries/Makefile.am:
25186         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25187         (gst_xml_registry_class_init), (gst_xml_registry_init),
25188         (gst_xml_registry_new), (gst_xml_registry_set_property),
25189         (gst_xml_registry_get_property), (get_time), (make_dir),
25190         (gst_xml_registry_get_perms_func),
25191         (plugin_times_older_than_recurse), (plugin_times_older_than),
25192         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25193         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25194         (add_to_char_array), (read_string), (read_uint), (read_enum),
25195         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25196         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25197         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25198         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25199         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25200         (gst_xml_registry_rebuild):
25201         * gst/registries/gstlibxmlregistry.h:
25202         * tools/gst-compprep.c: (main):
25203         * tools/gst-inspect.c: (print_pad_templates_info):
25204         * tools/gst-xmlinspect.c: (print_element_info):
25205           Use libxml2 for registry parsing, use staticpadtemplates in
25206           elementfactories. Makes gst_init() +/- 10x faster.
25207
25208 2005-04-12  Wim Taymans  <wim@fluendo.com>
25209
25210         * gst/base/Makefile.am:
25211         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25212         (gst_basesink_pad_getcaps), (gst_basesink_init),
25213         (gst_basesink_event), (gst_basesink_change_state):
25214         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25215         (gst_basesrc_init), (gst_basesrc_query),
25216         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25217         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25218         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25219         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25220         (gst_basesrc_stop), (gst_basesrc_activate),
25221         (gst_basesrc_change_state):
25222         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25223         (helper_find_suggest), (gst_type_find_helper):
25224         * gst/base/gsttypefindhelper.h:
25225         * gst/elements/Makefile.am:
25226         * gst/elements/gstelements.c:
25227         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25228         (gst_fakesink_get_times), (gst_fakesink_event),
25229         (gst_fakesink_preroll), (gst_fakesink_render):
25230         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25231         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25232         (gst_fakesrc_get_property), (gst_fakesrc_create),
25233         (gst_fakesrc_start), (gst_fakesrc_stop):
25234         * gst/elements/gstfakesrc.h:
25235         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25236         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25237         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25238         (gst_filesrc_create_read), (gst_filesrc_create),
25239         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25240         (gst_filesrc_start):
25241         * gst/elements/gsttypefindelement.c:
25242         (gst_type_find_element_have_type), (gst_type_find_element_init),
25243         (start_typefinding), (stop_typefinding), (push_buffer_store),
25244         (gst_type_find_element_handle_event),
25245         (gst_type_find_element_chain),
25246         (gst_type_find_element_checkgetrange),
25247         (gst_type_find_element_getrange), (do_typefind),
25248         (gst_type_find_element_activate),
25249         (gst_type_find_element_change_state):
25250         * gst/elements/gsttypefindelement.h:
25251         * gst/gstpipeline.c: (pipeline_bus_handler):
25252         Added typefind helper.
25253         Small preroll fix in the base sink.
25254         Disable typefind code in basesrc.
25255         Crude port of typefindelement.
25256         Fakesrc cleanups.
25257
25258
25259 2005-04-11  Wim Taymans  <wim@fluendo.com>
25260
25261         * check/gst/gstbus.c: (gstbus_suite):
25262         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25263         * check/gstcheck.h:
25264           Fix up the timeout so that the test does not fail.
25265
25266 2005-04-06  Wim Taymans  <wim@fluendo.com>
25267
25268         * gst/base/README:
25269         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25270         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25271         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25272         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25273         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25274         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25275         (gst_basesrc_stop), (gst_basesrc_activate),
25276         (gst_basesrc_change_state), (basesrc_find_peek),
25277         (basesrc_find_suggest), (gst_basesrc_type_find):
25278         * gst/base/gstbasesrc.h:
25279         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25280         (gst_filesrc_class_init), (gst_filesrc_init),
25281         (gst_filesrc_finalize), (gst_filesrc_set_location),
25282         (gst_filesrc_set_property), (gst_filesrc_get_property),
25283         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25284         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25285         (gst_filesrc_create_read), (gst_filesrc_create),
25286         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25287         * gst/elements/gstfilesrc.h:
25288         * gst/gstelement.c: (gst_element_get_state_func),
25289         (gst_element_lost_state), (gst_element_pads_activate):
25290         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25291         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25292         (gst_pad_pull_range):
25293         * gst/gstpad.h:
25294         More work on the generic source base class, implement seeking,
25295         query.
25296         Make filesrc extend the base source class.
25297         Added gst_pad_set_checkgetrange_function to GstPad.
25298
25299 2005-04-06  Andy Wingo  <wingo@pobox.com>
25300
25301         * pkgconfig/gstreamer-base.pc.in:
25302         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25303
25304         * pkgconfig/Makefile.am:
25305         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25306
25307 2005-04-04  Wim Taymans  <wim@fluendo.com>
25308
25309         * gst/base/Makefile.am:
25310         * gst/base/README:
25311         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25312         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25313         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25314         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25315         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25316         (gst_basesrc_base_init), (gst_basesrc_class_init),
25317         (gst_basesrc_init), (gst_basesrc_get_formats),
25318         (gst_basesrc_get_query_types), (gst_basesrc_query),
25319         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25320         (gst_basesrc_set_property), (gst_basesrc_get_property),
25321         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25322         (gst_basesrc_loop), (gst_basesrc_activate),
25323         (gst_basesrc_change_state):
25324         * gst/base/gstbasesrc.h:
25325         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25326         (gst_fakesrc_class_init), (gst_fakesrc_init),
25327         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25328         (gst_fakesrc_get_property), (gst_fakesrc_create):
25329         * gst/elements/gstfakesrc.h:
25330         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25331         (gst_filesrc_open_file), (gst_filesrc_loop),
25332         (gst_filesrc_activate), (filesrc_find_peek),
25333         (gst_filesrc_type_find):
25334         Made base source class, make fakesrc extend it.
25335         Add comments to basesink class.
25336         Some filesrc cleanup.
25337
25338 2005-03-31  David Schleef  <ds@schleef.org>
25339
25340         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25341         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25342         expected to link against libgstreamer.
25343         * gst/base/Makefile.am: link against libgstreamer
25344         * gst/elements/Makefile.am: same
25345
25346 2005-03-31  Andy Wingo  <wingo@pobox.com>
25347
25348         * tests/instantiate/Makefile.am:
25349         * tests/instantiate/caps.c: Add test to test speed of caps copy
25350         and free.
25351
25352         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25353         GMemChunk to be fair.
25354
25355         * gst/gsttrashstack.h: Remove warning about using the fallback
25356         trash stack implementation, it's still faster than malloc.
25357
25358 2005-03-30  Andy Wingo  <wingo@pobox.com>
25359
25360         * tests/complexity.c: Add a copyright.
25361
25362 2005-03-31  Wim Taymans  <wim@fluendo.com>
25363
25364         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25365         (gst_base_transform_class_init), (gst_base_transform_init),
25366         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25367         (gst_base_transform_get_property),
25368         (gst_base_transform_sink_activate),
25369         (gst_base_transform_src_activate),
25370         (gst_base_transform_change_state):
25371         * gst/base/gstbasetransform.h:
25372         * gst/elements/gstidentity.c: (gst_identity_class_init),
25373         (gst_identity_event), (gst_identity_check_perfect),
25374         (gst_identity_transform), (gst_identity_start),
25375         (gst_identity_stop):
25376         Added start/stop methods to transform base class so subclasses 
25377         don't need to deal with state changes even.
25378
25379 2005-03-31  Wim Taymans  <wim@fluendo.com>
25380
25381         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25382         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25383         * gst/gstevent.h:
25384         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25385         (gst_pad_pull_range):
25386         Added rate to the discont event to prepare for variable speed
25387         and reverse playback.
25388
25389 2005-03-29  David Schleef  <ds@schleef.org>
25390
25391         * configure.ac:
25392         * testsuite/trigger/Makefile.am:
25393         * testsuite/trigger/trigger.c: A little example program to show
25394         how trigger-based elements can work.
25395
25396 2005-03-29  Wim Taymans  <wim@fluendo.com>
25397
25398         * gst/base/Makefile.am:
25399         * gst/base/README:
25400         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25401         (gst_basesink_base_init), (gst_basesink_class_init),
25402         (gst_basesink_pad_getcaps), (gst_basesink_init),
25403         (gst_basesink_activate), (gst_basesink_change_state):
25404         * gst/base/gstbasesink.h:
25405         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25406         (gst_base_transform_base_init), (gst_base_transform_finalize),
25407         (gst_base_transform_class_init), (gst_base_transform_init),
25408         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25409         (gst_base_transform_event), (gst_base_transform_getrange),
25410         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25411         (gst_base_transform_set_property),
25412         (gst_base_transform_get_property),
25413         (gst_base_transform_sink_activate),
25414         (gst_base_transform_src_activate),
25415         (gst_base_transform_change_state):
25416         * gst/base/gstbasetransform.h:
25417         * gst/elements/gstidentity.c: (gst_identity_finalize),
25418         (gst_identity_class_init), (gst_identity_init),
25419         (gst_identity_event), (gst_identity_check_perfect),
25420         (gst_identity_transform), (gst_identity_set_property),
25421         (gst_identity_get_property), (gst_identity_change_state):
25422         * gst/elements/gstidentity.h:
25423         * gst/gstelement.c: (gst_element_get_state_func),
25424         (gst_element_lost_state), (gst_element_pads_activate):
25425         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25426         (gst_pad_check_pull_range), (gst_pad_pull_range):
25427         * gst/gstpad.h:
25428         Simplify pad activation.
25429         Added function to check if pull_range can be performed.
25430         Error out when pulling inactive or flushing pads.
25431         Removed const from refcounted types as it does not make sense.
25432         Simplify pad templates in basesink
25433         Added base class for simple 1-to-1 transforms.
25434         Make identity subclass the base transform.
25435
25436 2005-03-29  Andy Wingo  <wingo@pobox.com>
25437
25438         * docs/libs/gstreamer-libs-overrides.txt: 
25439         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25440         really don't understand what's going on, but like whatever. I want
25441         green buildbot!
25442
25443         * docs/gst/Makefile.am:
25444         * docs/libs/Makefile.am: Dist the overrides files.
25445
25446         * check/Makefile.am (clean-local): Remove .libs directories.
25447
25448         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25449         elements to EXTRA_DIST, so po/ files are happy.
25450
25451         * po/POTFILES.in: Er, remove it here.
25452
25453         * po/POTFILES: Remove gstspider.c.
25454
25455         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25456
25457         * docs/libs/gstreamer-libs-docs.sgml: 
25458         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25459         bytestream.
25460
25461         * tests/complexity.c (main): Set the length of the preroll queue
25462         on the sinks to prevent a lockup.
25463
25464         * libs/gst/dataprotocol/Makefile.am: 
25465         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25466         the same as the one in check/gst-libs/gdp.c.
25467
25468         * po/, docs/gst/: Commit automatic changes to docs and po files.
25469
25470         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25471         the versioned libgstbase.
25472
25473         * check/Makefile.am: Depend on an unversioned gst-register, seems
25474         to make autoconf happier.
25475
25476         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25477
25478 2005-03-28  Wim Taymans  <wim@fluendo.com>
25479
25480         * configure.ac:
25481         * docs/design/part-gstelement.txt:
25482         * docs/design/part-negotiation.txt:
25483         * docs/design/part-preroll.txt:
25484         * docs/design/part-scheduling.txt:
25485         * docs/design/part-states.txt:
25486         * gst/Makefile.am:
25487         * gst/base/Makefile.am:
25488         * gst/base/README:
25489         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25490         (gst_basesink_base_init), (gst_basesink_class_init),
25491         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25492         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25493         (gst_basesink_set_pad_functions),
25494         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25495         (gst_basesink_set_property), (gst_basesink_get_property),
25496         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25497         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25498         (gst_basesink_preroll_queue_push),
25499         (gst_basesink_preroll_queue_empty),
25500         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25501         (gst_basesink_event), (gst_basesink_get_times),
25502         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25503         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25504         (gst_basesink_loop), (gst_basesink_activate),
25505         (gst_basesink_change_state):
25506         * gst/base/gstbasesink.h:
25507         * gst/elements/Makefile.am:
25508         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25509         (gst_fakesink_class_init), (gst_fakesink_init),
25510         (gst_fakesink_set_property), (gst_fakesink_get_property),
25511         (gst_fakesink_get_times), (gst_fakesink_event),
25512         (gst_fakesink_preroll), (gst_fakesink_render),
25513         (gst_fakesink_change_state):
25514         * gst/elements/gstfakesink.h:
25515         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25516         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25517         * gst/gstelement.c: (gst_element_add_pad),
25518         (gst_element_get_state_func), (gst_element_abort_state),
25519         (gst_element_commit_state), (gst_element_lost_state),
25520         (gst_element_set_state), (gst_element_pads_activate):
25521         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25522         * gst/gstpipeline.c: (gst_pipeline_send_event),
25523         (gst_pipeline_change_state):
25524         Added state change code.
25525         Added/updated docs.
25526         Added sink base class, make fakesink extend the base class.
25527         Small cleanups in GstPipeline.
25528
25529 2005-03-26  David Schleef  <ds@schleef.org>
25530
25531         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25532         is broken and should be implemented in a different library.
25533         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25534         * gst/gst.h: remove gstcpu.h
25535         * gst/gstcpu.c: remove
25536         * gst/gstcpu.h: remove
25537         * gst/Makefile.am.future: Remove this file.  It's ancient.
25538
25539 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25540
25541         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25542         (gst_bin_send_event):
25543           Add default event/set_manager handlers. The set_manager handler
25544           takes care that the manager is distributed over kids that were
25545           already in the bin before the manager was set. The event handler
25546           is a utility virtual function that sends the event over all sinks,
25547           so that gst_element_send_event (bin, event); has the expected
25548           behaviour.
25549         * gst/gstpad.c: (gst_pad_event_default):
25550           Re-install default event handling for discontinuities, so that
25551           seeking works without requiring hacks in applications or extra
25552           code in sinks.
25553         * gst/gstpipeline.c: (gst_pipeline_class_init),
25554         (gst_pipeline_send_event):
25555           Half hack, half utility: set a pipeline to PAUSED for seek events,
25556           since that is the only way we can guarantee a/v sync. Means that
25557           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25558           and it "just works".
25559
25560 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25561
25562         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25563           Lock/unlock mismatch.
25564
25565 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25566
25567         * docs/faq/gst-uninstalled:
25568           add gst-plugins-base
25569         * docs/gst/Makefile.am:
25570           don't error out until docs are fixed
25571         * docs/gst/gstreamer.types:
25572           remove thread
25573
25574 2005-03-22  Wim Taymans  <wim@fluendo.com>
25575
25576         * check/Makefile.am:
25577         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25578         * gst/gststructure.c: (gst_structure_set_valist),
25579         (gst_structure_copy_conditional):
25580         Activated more tests.
25581         Added message test.
25582         Added G_TYPE_POINTER to GstStructure.
25583         
25584
25585 2005-03-22  Wim Taymans  <wim@fluendo.com>
25586
25587         * docs/design/part-TODO.txt:
25588         * docs/design/part-events.txt:
25589         * docs/design/part-gstbin.txt:
25590         * docs/design/part-gstbus.txt:
25591         * docs/design/part-gstpipeline.txt:
25592         * docs/design/part-messages.txt:
25593         * gst/gstbus.c:
25594         * gst/gstmessage.c:
25595         Docs updates
25596
25597 2005-03-21  Wim Taymans  <wim@fluendo.com>
25598
25599         * gst/gstbus.c: (gst_bus_post):
25600         Fix copy-and-paste error.
25601
25602 2005-03-21  Wim Taymans  <wim@fluendo.com>
25603
25604         * check/Makefile.am:
25605         * gst/Makefile.am:
25606         * gst/elements/Makefile.am:
25607         * gst/elements/gstelements.c:
25608         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25609         (gst_fakesink_event), (gst_fakesink_chain):
25610         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25611         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25612         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25613         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25614         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25615         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25616         (gst_fakesrc_loop), (gst_fakesrc_activate),
25617         (gst_fakesrc_change_state):
25618         * gst/elements/gstfakesrc.h:
25619         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25620         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25621         (gst_filesrc_open_file), (gst_filesrc_loop),
25622         (gst_filesrc_activate), (gst_filesrc_change_state),
25623         (filesrc_find_peek), (filesrc_find_suggest),
25624         (gst_filesrc_type_find):
25625         * gst/elements/gstidentity.c: (gst_identity_finalize),
25626         (gst_identity_class_init), (gst_identity_init),
25627         (gst_identity_proxy_getcaps), (identity_queue_push),
25628         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25629         (gst_identity_getrange), (gst_identity_chain),
25630         (gst_identity_sink_loop), (gst_identity_src_loop),
25631         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25632         (gst_identity_set_property), (gst_identity_get_property),
25633         (gst_identity_change_state):
25634         * gst/elements/gstidentity.h:
25635         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25636         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25637         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25638         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25639         (gst_tee_sink_activate):
25640         * gst/elements/gsttee.h:
25641         * gst/gst.c: (gst_register_core_elements), (init_post):
25642         * gst/gst.h:
25643         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25644         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25645         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25646         (gst_bin_change_state):
25647         * gst/gstbin.h:
25648         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25649         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25650         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25651         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25652         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25653         (bus_watch_callback), (bus_watch_destroy),
25654         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25655         (poll_timeout), (gst_bus_poll):
25656         * gst/gstbus.h:
25657         * gst/gstcaps.h:
25658         * gst/gstdata.h:
25659         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25660         (gst_element_post_message), (gst_element_message_full),
25661         (gst_element_get_state_func), (gst_element_get_state),
25662         (gst_element_abort_state), (gst_element_commit_state),
25663         (gst_element_lost_state), (gst_element_set_state),
25664         (gst_element_pads_activate), (gst_element_change_state),
25665         (gst_element_dispose), (gst_element_set_manager_func),
25666         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25667         (gst_element_set_manager), (gst_element_get_manager),
25668         (gst_element_set_bus), (gst_element_get_bus),
25669         (gst_element_set_scheduler), (gst_element_get_scheduler):
25670         * gst/gstelement.h:
25671         * gst/gstevent.c: (gst_event_new_segment_seek),
25672         (gst_event_new_flush):
25673         * gst/gstevent.h:
25674         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25675         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25676         (gst_message_new_eos), (gst_message_new_error),
25677         (gst_message_new_warning), (gst_message_new_tag),
25678         (gst_message_new_state_changed), (gst_message_new_application),
25679         (gst_message_get_structure), (gst_message_parse_tag),
25680         (gst_message_parse_state_changed), (gst_message_parse_error),
25681         (gst_message_parse_warning):
25682         * gst/gstmessage.h:
25683         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25684         (gst_real_pad_set_property), (gst_pad_set_active),
25685         (gst_pad_is_active), (gst_pad_set_blocked_async),
25686         (gst_pad_set_blocked), (gst_pad_is_blocked),
25687         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25688         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25689         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25690         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25691         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25692         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25693         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25694         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25695         (gst_pad_set_caps), (gst_pad_configure_sink),
25696         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25697         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25698         (gst_real_pad_dispose), (gst_real_pad_finalize),
25699         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25700         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25701         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25702         * gst/gstpad.h:
25703         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25704         (pipeline_bus_handler), (gst_pipeline_change_state),
25705         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25706         * gst/gstpipeline.h:
25707         * gst/gstprobe.h:
25708         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25709         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25710         (gst_queue_link_src), (gst_queue_bufferalloc),
25711         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25712         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25713         (gst_queue_loop), (gst_queue_handle_src_event),
25714         (gst_queue_handle_src_query), (gst_queue_src_activate),
25715         (gst_queue_change_state):
25716         * gst/gstqueue.h:
25717         * gst/gstscheduler.c: (gst_scheduler_init),
25718         (gst_scheduler_dispose), (gst_scheduler_create_task),
25719         (gst_scheduler_factory_create):
25720         * gst/gstscheduler.h:
25721         * gst/gststructure.c: (gst_structure_get_type),
25722         (gst_structure_copy_conditional):
25723         * gst/gststructure.h:
25724         * gst/gsttaginterface.h:
25725         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25726         (gst_task_init), (gst_task_dispose), (gst_task_create),
25727         (gst_task_get_state), (gst_task_start), (gst_task_stop),
25728         (gst_task_pause):
25729         * gst/gsttask.h:
25730         * gst/gstthread.c:
25731         * gst/gstthread.h:
25732         * gst/gsttypes.h:
25733         * gst/schedulers/Makefile.am:
25734         * gst/schedulers/cothreads_compat.h:
25735         * gst/schedulers/entryscheduler.c:
25736         * gst/schedulers/faircothreads.c:
25737         * gst/schedulers/faircothreads.h:
25738         * gst/schedulers/fairscheduler.c:
25739         * gst/schedulers/gstbasicscheduler.c:
25740         * gst/schedulers/gstoptimalscheduler.c:
25741         * gst/schedulers/gthread-cothreads.h:
25742         * gst/schedulers/threadscheduler.c:
25743         (gst_thread_scheduler_task_get_type),
25744         (gst_thread_scheduler_task_class_init),
25745         (gst_thread_scheduler_task_init),
25746         (gst_thread_scheduler_task_start),
25747         (gst_thread_scheduler_task_stop),
25748         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25749         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25750         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25751         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25752         (plugin_init):
25753         * libs/gst/Makefile.am:
25754         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25755         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25756         (gst_file_pad_parent_set):
25757         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25758         (gst_dp_event_from_packet):
25759         * tests/complexity.c: (main):
25760         * tests/mass_elements.c: (main):
25761         * testsuite/states/locked.c: (message_received), (main):
25762         * testsuite/states/parent.c: (main):
25763         * tools/gst-inspect.c: (print_element_flag_info),
25764         (print_implementation_info), (print_pad_info):
25765         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25766         (main):
25767         * tools/gst-md5sum.c: (event_loop), (main):
25768         * tools/gst-typefind.c: (main):
25769         * tools/gst-xmlinspect.c: (print_element_info):
25770         Next big merge.
25771         Added GstBus for mainloop integration.
25772         Added GstMessage for sending notifications on the bus.
25773         Added GstTask as an abstraction for pipeline entry points.
25774         Removed GstThread.
25775         Removed Schedulers.
25776         Simplified GstQueue for multithreaded core.
25777         Made _link threadsafe, removed old capsnego.
25778         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25779         Added pad blocking functions.
25780         Reworked scheduling functions in GstPad to prepare for
25781         scheduling updates soon.
25782         Moved events out of data stream.
25783         Simplified GstEvent types.
25784         Added return values to push/pull.
25785         Removed clocking from GstElement.
25786         Added prototypes for state change function for next merge.
25787         Removed iterate from bins and state change management.
25788         Fixed some elements, disabled others for now.
25789         Fixed -inspect and -launch.
25790         Added check for GstBus.
25791
25792 2005-03-10  Wim Taymans  <wim@fluendo.com>
25793
25794         * docs/design/part-MT-refcounting.txt:
25795         * docs/design/part-clocks.txt:
25796         * docs/design/part-gstelement.txt:
25797         * docs/design/part-gstobject.txt:
25798         * docs/design/part-standards.txt:
25799         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25800         (gst_bin_remove_func), (gst_bin_remove):
25801         * gst/gstbin.h:
25802         * gst/gstbuffer.c:
25803         * gst/gstcaps.h:
25804         * testsuite/clock/clock1.c: (main):
25805         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25806         (main):
25807         * testsuite/dlopen/loadgst.c: (do_test):
25808         * testsuite/refcounting/bin.c: (add_remove_test1),
25809         (add_remove_test2), (main):
25810         * testsuite/refcounting/element.c: (main):
25811         * testsuite/refcounting/element_pad.c: (main):
25812         * testsuite/refcounting/pad.c: (main):
25813         * tools/gst-launch.c: (sigint_handler_sighandler):
25814         * tools/gst-typefind.c: (main):
25815         Doc updates.
25816         Added doc about clock.
25817         removed gst_bin_iterate_recurse_up(), marked methods
25818         for removal.
25819         Fix more testsuites.
25820
25821 2005-03-09  Wim Taymans  <wim@fluendo.com>
25822
25823         * gst/gstpad.c: (gst_pad_get_direction),
25824         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25825         (gst_pad_collect_valist):
25826         * testsuite/bins/interface.c: (main):
25827         * testsuite/caps/audioscale.c: (test_caps):
25828         * testsuite/caps/caps.c: (test1), (test2), (test3):
25829         * testsuite/caps/deserialize.c: (main):
25830         * testsuite/caps/enumcaps.c: (main):
25831         * testsuite/caps/filtercaps.c: (main):
25832         * testsuite/caps/intersect2.c: (main):
25833         * testsuite/caps/random.c: (main):
25834         * testsuite/caps/renegotiate.c: (my_fixate), (main):
25835         * testsuite/caps/sets.c: (check_caps):
25836         * testsuite/caps/simplify.c: (check_caps), (main):
25837         * testsuite/caps/subtract.c: (check_caps):
25838         Fix _pad_get_direction wrt ghostpads.
25839         Fix caps testsuite.
25840
25841 2005-03-09  Wim Taymans  <wim@fluendo.com>
25842
25843         * check/Makefile.am:
25844         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25845         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25846         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25847         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25848         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25849         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25850         (gst_bin_remove), (gst_bin_iterate_recurse_up),
25851         (bin_element_is_sink), (gst_bin_iterate_sinks),
25852         (gst_bin_iterate_all_by_interface):
25853         * gst/gstbin.h:
25854         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25855         (gst_element_change_state), (gst_element_dispose),
25856         (gst_element_finalize), (gst_element_set_loop_function):
25857         * gst/gstelement.h:
25858         * gst/gstiterator.c: (find_custom_fold_func):
25859         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25860         (gst_pad_collectv), (gst_pad_collect_valist),
25861         (gst_pad_template_new):
25862         * gst/gstpipeline.c: (gst_pipeline_class_init),
25863         (gst_pipeline_dispose), (gst_pipeline_set_property),
25864         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25865         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25866         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25867         * gst/gstutils.h:
25868         * gst/schedulers/entryscheduler.c:
25869         * gst/schedulers/gstbasicscheduler.c:
25870         (gst_basic_scheduler_cothreaded_chain),
25871         (gst_basic_scheduler_chain_add_element):
25872         * testsuite/bins/interface.c: (main):
25873         Added GstBin test.
25874         Added GstSystemClock test.
25875         Implemented clock distribution code in GstBin.
25876         Implemented iterate sinks method for future use.
25877         Rearranged gstelement.h
25878         Fix GstIterator comparison bug.
25879         Moved some code to GstPipeline, mostly clocking related.
25880
25881 2005-03-09  Wim Taymans  <wim@fluendo.com>
25882
25883         * configure.ac:
25884         * gst/gst_private.h:
25885         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25886         (gst_bin_remove_func), (gst_bin_remove),
25887         (gst_bin_get_by_name_recurse_up):
25888         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25889         (gst_clock_id_compare_func), (gst_clock_id_wait),
25890         (gst_clock_id_wait_async), (gst_clock_init),
25891         (gst_clock_adjust_unlocked), (gst_clock_get_time):
25892         * gst/gstelement.h:
25893         * gst/gstinfo.c: (_gst_debug_init):
25894         * gst/gstobject.h:
25895         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25896         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25897         * gst/gstpad.h:
25898         Bump version number, we're now 0.9.0
25899         Add future debugging category.
25900         Fix NULL _unref() in _get_by_name_recurse_up
25901         Rearrange gstpad.h.
25902         Update some docs.
25903
25904 2005-03-08  Wim Taymans  <wim@fluendo.com>
25905
25906         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25907         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25908         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25909         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25910         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25911         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25912         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25913         * gst/elements/gstidentity.c: (gst_identity_class_init):
25914         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25915         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25916         * gst/elements/gstshaper.c: (gst_shaper_class_init):
25917         * gst/elements/gststatistics.c: (gst_statistics_class_init):
25918         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25919         (gst_tee_link):
25920         * gst/gstelement.c: (gst_element_class_init),
25921         (gst_element_base_class_init), (gst_element_init),
25922         (gst_element_get_random_pad), (gst_element_wait_state_change),
25923         (gst_element_change_state), (gst_element_dispose),
25924         (gst_element_finalize), (gst_element_set_loop_function):
25925         * gst/gstelement.h:
25926         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25927         * gst/gstthread.c: (gst_thread_class_init),
25928         (gst_thread_release_children_locks), (gst_thread_change_state):
25929         * gst/schedulers/gstbasicscheduler.c:
25930         (gst_basic_scheduler_loopfunc_wrapper),
25931         (gst_basic_scheduler_chain_wrapper),
25932         (gst_basic_scheduler_src_wrapper),
25933         (gst_basic_scheduler_remove_element):
25934         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25935         Remove threadsafe properties. Fix elements because GObject
25936         complains when installing a property before declaring a
25937         set/get_property handler.
25938         Rearrange gstelement.h file, use STATE macros for state locks.
25939         Free mutexes in the finalize method instead of dispose.
25940
25941 2005-03-08  Wim Taymans  <wim@fluendo.com>
25942
25943         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25944         * gst/gstthread.c: (gst_thread_release_children_locks):
25945         Added parentage check.
25946         Fix build og GstThread again.
25947
25948 2005-03-08  Wim Taymans  <wim@fluendo.com>
25949
25950         * docs/design/part-MT-refcounting.txt:
25951         * docs/design/part-conventions.txt:
25952         * docs/design/part-gstobject.txt:
25953         * docs/design/part-relations.txt:
25954         * docs/design/part-standards.txt:
25955         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25956         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25957         (gst_bin_get_by_name), (gst_bin_get_by_interface),
25958         (gst_bin_iterate_all_by_interface):
25959         * gst/gstbuffer.h:
25960         * gst/gstclock.h:
25961         * gst/gstelement.c: (gst_element_class_init),
25962         (gst_element_change_state), (gst_element_set_loop_function):
25963         * gst/gstelement.h:
25964         * gst/gstiterator.c:
25965         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25966         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25967         (gst_object_dispatch_properties_changed), (gst_object_set_name),
25968         (gst_object_set_parent), (gst_object_unparent),
25969         (gst_object_check_uniqueness):
25970         * gst/gstobject.h:
25971         Docs updates, clean up some headers.
25972
25973 2005-03-07  Wim Taymans  <wim@fluendo.com>
25974
25975         * check/.cvsignore:
25976         * check/Makefile.am:
25977         * check/gst-libs/.cvsignore:
25978         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25979         * check/gst/.cvsignore:
25980         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25981         (START_TEST), (gstbus_suite), (main):
25982         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25983         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25984         (gst_data_suite), (main):
25985         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25986         (add_fold_func), (gstiterator_suite), (main):
25987         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25988         (thread_name_object), (thread_name_object_default),
25989         (gst_object_name_compare), (gst_object_suite), (main):
25990         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25991         (gst_pad_suite), (main):
25992         * check/gstcheck.c: (gst_check_log_message_func),
25993         (gst_check_log_critical_func), (gst_check_init):
25994         * check/gstcheck.h:
25995         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25996         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25997         Added checks.
25998
25999 2005-03-07  Wim Taymans  <wim@fluendo.com>
26000
26001         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26002         (gst_list_iterator_next), (gst_list_iterator_resync),
26003         (gst_list_iterator_free), (gst_iterator_new_list),
26004         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26005         (gst_iterator_free), (gst_iterator_push), (filter_next),
26006         (filter_resync), (filter_uninit), (filter_free),
26007         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26008         (gst_iterator_foreach), (find_custom_fold_func),
26009         (gst_iterator_find_custom):
26010         * gst/gstiterator.h:
26011         Added missing files.
26012
26013 2005-03-07  Wim Taymans  <wim@fluendo.com>
26014
26015         * Makefile.am:
26016         * configure.ac:
26017         * docs/design/part-MT-refcounting.txt:
26018         * docs/design/part-conventions.txt:
26019         * docs/design/part-gstobject.txt:
26020         * docs/design/part-relations.txt:
26021         * examples/mixer/mixer.c: (main):
26022         * examples/thread/thread.c: (eos), (main):
26023         * gst/Makefile.am:
26024         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26025         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26026         (gst_spider_plug_from_srcpad):
26027         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26028         (gst_spider_identity_change_state),
26029         (gst_spider_identity_sink_loop_type_finding):
26030         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26031         * gst/elements/gstidentity.c: (gst_identity_init):
26032         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26033         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26034         * gst/elements/gsttypefindelement.c: (free_entry):
26035         * gst/gst.c:
26036         * gst/gst.h:
26037         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26038         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26039         (gst_bin_set_index), (gst_bin_set_element_sched),
26040         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26041         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26042         (gst_bin_iterate_elements), (iterate_child_recurse),
26043         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26044         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26045         (compare_interface), (gst_bin_get_by_interface),
26046         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26047         * gst/gstbin.h:
26048         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26049         (gst_buffer_default_free), (gst_buffer_default_copy),
26050         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26051         (gst_buffer_create_sub):
26052         * gst/gstbuffer.h:
26053         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26054         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26055         (gst_caps_unref), (gst_static_caps_get),
26056         (gst_caps_remove_and_get_structure), (gst_caps_append),
26057         (gst_caps_append_structure), (gst_caps_remove_structure),
26058         (gst_caps_copy_nth), (gst_caps_set_simple),
26059         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26060         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26061         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26062         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26063         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26064         (gst_caps_structure_figure_out_union),
26065         (gst_caps_switch_structures), (gst_caps_do_simplify),
26066         (gst_caps_replace), (gst_caps_from_string),
26067         (gst_caps_copy_conditional):
26068         * gst/gstcaps.h:
26069         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26070         (_gst_clock_id_free), (gst_clock_id_unref),
26071         (gst_clock_id_compare_func), (gst_clock_id_wait),
26072         (gst_clock_id_wait_async), (gst_clock_class_init),
26073         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26074         (gst_clock_get_time), (gst_clock_set_time_adjust),
26075         (gst_clock_set_property), (gst_clock_get_property):
26076         * gst/gstclock.h:
26077         * gst/gstcompat.h:
26078         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26079         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26080         * gst/gstdata.h:
26081         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26082         (gst_element_requires_clock), (gst_element_provides_clock),
26083         (gst_element_set_clock), (gst_element_clock_wait),
26084         (gst_element_wait), (gst_element_set_time_delay),
26085         (gst_element_is_indexable), (gst_element_add_pad),
26086         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26087         (pad_compare_name), (gst_element_get_static_pad),
26088         (gst_element_request_pad), (gst_element_get_request_pad),
26089         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26090         (gst_element_class_get_pad_template_list),
26091         (gst_element_class_get_pad_template), (gst_element_error_func),
26092         (gst_element_get_random_pad), (gst_element_get_event_masks),
26093         (gst_element_send_event), (gst_element_seek),
26094         (gst_element_get_query_types), (gst_element_query),
26095         (gst_element_get_formats), (gst_element_convert),
26096         (gst_element_is_locked_state), (gst_element_set_locked_state),
26097         (gst_element_sync_state_with_parent), (gst_element_change_state),
26098         (gst_element_finalize), (gst_element_yield),
26099         (gst_element_interrupt), (gst_element_set_scheduler),
26100         (gst_element_get_scheduler), (gst_element_set_loop_function):
26101         * gst/gstelement.h:
26102         * gst/gstevent.h:
26103         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26104         (gst_format_get_by_nick), (gst_format_get_details),
26105         (gst_format_iterate_definitions):
26106         * gst/gstformat.h:
26107         * gst/gstindex.c: (gst_index_gtype_resolver):
26108         * gst/gstinfo.c:
26109         * gst/gstinfo.h:
26110         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26111         (gst_mem_chunk_free):
26112         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26113         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26114         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26115         (gst_object_dispatch_properties_changed),
26116         (gst_object_set_name_default), (gst_object_set_name),
26117         (gst_object_get_name), (gst_object_set_name_prefix),
26118         (gst_object_get_name_prefix), (gst_object_set_parent),
26119         (gst_object_get_parent), (gst_object_unparent),
26120         (gst_object_check_uniqueness), (gst_object_save_thyself),
26121         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26122         (gst_object_set_property), (gst_object_get_property),
26123         (gst_object_get_path_string):
26124         * gst/gstobject.h:
26125         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26126         (gst_real_pad_init), (gst_real_pad_get_property),
26127         (gst_pad_custom_new), (gst_pad_get_direction),
26128         (gst_pad_set_active), (gst_pad_is_active),
26129         (gst_pad_set_event_function), (gst_pad_is_linked),
26130         (gst_pad_link_free), (gst_pad_link_intersect),
26131         (gst_pad_link_fixate), (gst_pad_set_caps),
26132         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26133         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26134         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26135         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26136         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26137         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26138         (gst_pad_realize), (gst_pad_get_allowed_caps),
26139         (gst_real_pad_dispose), (gst_real_pad_finalize),
26140         (gst_pad_collectv), (gst_pad_collect_valist),
26141         (gst_pad_template_dispose), (gst_pad_template_new),
26142         (gst_pad_get_internal_links):
26143         * gst/gstpad.h:
26144         * gst/gstpipeline.c: (gst_pipeline_dispose),
26145         (gst_pipeline_change_state):
26146         * gst/gstpipeline.h:
26147         * gst/gstplugin.c:
26148         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26149         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26150         * gst/gstpluginfeature.h:
26151         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26152         * gst/gstquery.c: (_gst_query_type_initialize),
26153         (gst_query_type_register), (gst_query_type_get_by_nick),
26154         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26155         * gst/gstquery.h:
26156         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26157         * gst/gstscheduler.c: (gst_scheduler_add_element),
26158         (gst_scheduler_factory_create):
26159         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26160         (gst_structure_free), (gst_structure_set_name),
26161         (gst_structure_id_set_value), (gst_structure_set_value),
26162         (gst_structure_set_valist), (gst_structure_remove_field),
26163         (gst_structure_remove_fields),
26164         (gst_structure_remove_fields_valist),
26165         (gst_structure_remove_all_fields), (gst_structure_foreach),
26166         (gst_structure_map_in_place),
26167         (gst_caps_structure_fixate_field_nearest_int),
26168         (gst_caps_structure_fixate_field_nearest_double):
26169         * gst/gststructure.h:
26170         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26171         (gst_system_clock_init), (gst_system_clock_dispose),
26172         (gst_system_clock_async_thread),
26173         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26174         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26175         * gst/gstsystemclock.h:
26176         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26177         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26178         * gst/gsttaginterface.c:
26179         * gst/gstthread.c: (gst_thread_dispose),
26180         (gst_thread_release_children_locks), (gst_thread_change_state),
26181         (gst_thread_main_loop):
26182         * gst/gsttrashstack.h:
26183         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26184         * gst/gsttypes.h:
26185         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26186         (gst_element_request_pad), (gst_element_get_pad_from_template),
26187         (gst_element_request_compatible_pad),
26188         (gst_element_get_compatible_pad_filtered),
26189         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26190         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26191         (gst_element_link_many), (gst_element_link),
26192         (gst_element_link_pads), (gst_element_unlink_pads),
26193         (gst_element_unlink_many), (gst_element_unlink),
26194         (gst_pad_can_link_filtered), (gst_pad_can_link),
26195         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26196         (gst_object_default_error), (gst_bin_add_many),
26197         (gst_bin_remove_many), (gst_element_populate_std_props),
26198         (gst_element_class_install_std_props), (gst_buffer_merge),
26199         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26200         (link_fold_func), (gst_pad_proxy_setcaps):
26201         * gst/gstutils.h:
26202         * gst/gstvalue.c: (gst_value_deserialize_string):
26203         * gst/parse/grammar.y:
26204         * gst/schedulers/gstbasicscheduler.c:
26205         (gst_basic_scheduler_cothreaded_chain),
26206         (gst_basic_scheduler_chain_recursive_add),
26207         (gst_basic_scheduler_pad_link):
26208         * gst/schedulers/gstoptimalscheduler.c:
26209         (get_group_schedule_function),
26210         (gst_opt_scheduler_state_transition),
26211         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26212         * libs/gst/bytestream/bytestream.c:
26213         * libs/gst/dataprotocol/dataprotocol.c:
26214         (gst_dp_header_from_buffer):
26215         * po/nb.po:
26216         * po/ru.po:
26217         * tests/threadstate/threadstate2.c: (eos):
26218         * tools/gst-compprep.c: (main):
26219         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26220         (print_pad_info), (print_children_info):
26221         * tools/gst-launch.c: (idle_func), (main):
26222         * tools/gst-md5sum.c: (idle_func), (main):
26223         * tools/gst-xmlinspect.c: (print_element_info):
26224         First THREADED backport attempt, focusing on adding locks and
26225         making sure the API is threadsafe. Needs more work. More docs
26226         follow this week.
26227
26228 2005-02-24  Andy Wingo  <wingo@pobox.com>
26229
26230         * tests/bench-complexity.scm:
26231         * tests/complexity.gnuplot: New files, good for running complexity
26232         benchmarks.
26233
26234         * tests/Makefile.am:
26235         * tests/complexity.c: New test, sets up N elements, at each level
26236         teeing into M streams per element. Eeeenteresting.
26237
26238         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26239         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26240         running bench-mass_elements.scm.
26241
26242         * tests/bench-mass_elements.scm: New script, runs mass_elements
26243         for various numbers of identities, outputting the results to a
26244         file. Requires guile 1.6. Just for testing.
26245
26246 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26247
26248         * gst/schedulers/fairscheduler.c:
26249           compile with debug disabled
26250
26251 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26252
26253         * configure.ac:
26254           hunting season on 0.9 is now OPEN