win32/vs6/libgstreamer.dsp: Convert line endings back to DOS.
[platform/upstream/gstreamer.git] / ChangeLog
1 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
2
3         * win32/vs6/libgstreamer.dsp:
4         Convert line endings back to DOS.
5
6 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
7
8         * docs/design/draft-tagreading.txt:
9         * docs/random/ensonic/profiling.txt:
10         Update fast tagreading draft and performance profiling ideas.
11
12 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
13
14         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
15         Don't hold the object lock when unreffing a buffer because it could
16         cause a deadlock when the finalize function wants to grab the object
17         lock too. Fixes #495133.
18
19 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
20
21         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
22         (gst_segment_to_stream_time), (gst_segment_to_running_time):
23         Also accumulate time correctly when doing reverse playback. Fixes
24         #488201,
25         When converting to running and stream time, use default values for
26         start/stop/time/accum when comparing different formats. Fixes #494245.
27
28         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
29         Do running/stream time in TIME format.
30
31         * tests/check/gst/gstsegment.c: (GST_START_TEST),
32         (gst_segment_suite):
33         2 new unit tests for segment accumulation.
34
35 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
36
37         * gst/gst.c: (init_pre):
38         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
39           (_gst_debug_bin_to_dot_file):
40           Move getenv() back into gst_init, so everyone can live happily
41           ever after. Make sure the symbol isn't exported though.
42
43 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
44
45         Patch by: Sebastien Moutte  <sebastien moutte net>
46
47         * win32/common/gstenumtypes.c:
48         * win32/common/gstenumtypes.h:
49           Update enum types.
50
51         * win32/vs6/libgstreamer.dsp:
52           Update vs6 project files (#494343).
53
54 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
55
56         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
57         (gst_base_src_perform_seek), (gst_base_src_default_event),
58         (gst_base_src_set_flushing), (gst_base_src_activate_push),
59         (gst_base_src_activate_pull):
60         Unify flushing code, remove some old unlock code that is no longer used.
61         Take the streaming lock when seeking to avoid races. Fixes #492729.
62         Added some more comments.
63
64 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
65
66         * gst/gst.c: (_gst_disable_segtrap):
67           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
68           we can use gst_segtrap_is_enabled() there now that we have that API.
69           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
70           to do the getenv here (and export the variable).
71
72         * gst/gstdebugutils.c: (debug_dump_element),
73           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
74           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
75
76         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
77           (gst_debug_log_default):
78           Rename _gst_info_start_time to priv_gst_info_start_time so it
79           doesn't get exported (was never in any header).
80
81         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
82           (gst_plugin_loading_mutex):
83           Make static mutex gst_plugin_loading_mutex really static (was never
84           in any header), and use gst_segtrap_is_enabled() instead of
85           _gst_disable_segtrap.
86
87         * gst/gsttrace.c: (_gst_trace_default):
88           Make local _gst_trace_default static (was never in any header).
89
90 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
91
92         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
93
94         * win32/common/libgstbase.def:
95         * win32/common/libgstcontroller.def:
96         * win32/common/libgstdataprotocol.def:
97         * win32/common/libgstnet.def:
98         * win32/common/libgstreamer.def:
99           Add more missing symbols, remove some duplicates, and sort
100           as the 'sort' command sorts it (partially fixes #493983).
101
102 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
103
104         * gst/gstelement.c: (gst_element_set_state_func):
105         Only change the state cookie if a different state was set on the
106         element. See #492729.
107
108 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
109
110         * gst/gstvalue.c:
111           Remove unused and uninitialised type variables that were still
112           exported for some reason (they were never in any header files
113           though).
114
115 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
116
117         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
118         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
119         (gst_base_sink_event), (gst_base_sink_get_position_last),
120         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
121         (gst_base_sink_change_state):
122         Don't try to report a 0 position when we don't know, return -1 and FALSE
123         instead. This mostly happens when we are prerolling.
124         Make sure we can report the right position before we post the ASYNC_DONE
125         message so that a message handler can query position without races.
126
127         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
128         (async_done_handoff), (async_done_func), (send_buffer),
129         (async_done_eos_func), (gst_sinks_suite):
130         Add two tests for the above.
131
132 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
133
134         * MAINTAINERS:
135         Update with new email address.
136
137         * docs/design/part-TODO.txt:
138         Add some more info about future pad-block and negotiation changes.
139
140         * docs/design/part-buffering.txt:
141         Add some ideas about buffering reporting.
142
143 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
144
145         * tests/check/gst/gstobject.c:
146         Disable silly racy test that always fails on this combination of CPU
147         and kernel.
148
149 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
150
151         Patch by: Murray Cumming  <murrayc@murrayc.com>
152
153         * gst/gstobject.c:
154           Corrected the registration of the parent-set and parent-unset
155           signals: The parameter is a GstObject, not a GObject (#493134).
156
157 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
158
159         * gst/gst_private.h:
160         * gst/gstbuffer.h:
161         * gst/gstevent.h:
162         * gst/gstformat.h:
163         * gst/gstmessage.h:
164         * gst/gstplugin.h:
165         * gst/gstquery.h:
166         * gst/gsttaglist.h:
167         * gst/gstvalue.h:
168           Move declaration of private _gst_foo_initialize() functions into
169           our private header file where they should have been all along.
170
171 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
172
173         * docs/plugins/gstreamer-plugins-sections.txt:
174         * gst/gstdebugutils.h:
175         * gst/gstxml.h:
176         * plugins/elements/gstqueue.c:
177           gtk-doc fixes; trailing-comma-in-enum fix.
178
179 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
180
181         * gst/gst.c: (gst_deinit):
182           Clean up on deinit (not the external ones though, doesn't seem to be
183           needed for some reason).
184
185 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
186
187         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
188           Remove __declspec(dllimport) for MSVC that was copied over into core
189           from a plugin, obviously without ever having been tested (note the
190           single underscore in _declspec in the initial commit), and that doesn't
191           really make sense.  See #492077.
192
193 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
194
195         * gst/gst.c: (init_post):
196         * gst/gstevent.c: (_gst_event_initialize):
197         * gst/gstquery.c: (_gst_query_initialize):
198         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
199           g_type_class_ref() other types as well, see #349410 and #64764.
200
201         * gst/gstbuffer.c: (_gst_buffer_initialize):
202         * gst/gstmessage.c: (_gst_message_initialize):
203           Simplify existing g_type_class_ref().
204
205 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
206
207         * gst/gstformat.c: (_gst_format_initialize):
208           g_type_class_ref() our GstFormat type to make sure we avoid the
209           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
210           bug #64764. Should fix intermittent tee unit test failures (#474823).
211
212 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
213
214         * tests/check/elements/tee.c: (test_num_buffers):
215           Simplify, simplify, simplify - or not.  Rewrite unit test
216           not to use gst_parse_launch(); allow N sub-streams. Increasing
217           the number of sub-streams seems to reproduce #474823 more easily.
218
219 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
220
221         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
222
223         * gst/gsttrace.c:
224         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
225         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
226         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
227           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
228           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
229           so use _pipe() directly (#492077).
230
231         * win32/common/dirent.c: (_treaddir):
232           Add a couple of casts to make it build without warnings with MSVC.
233
234         * win32/common/libgstreamer.def:
235           Add some more symbols that need to be exported.
236
237 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
238
239         * tests/examples/metadata/read-metadata.c: (message_loop):
240           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
241           arriving in a second or third tag message are added to
242           the tag list as well.
243
244 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
245
246         * libs/gst/base/gstbasesrc.c:
247           Its "Since:" and not "@Since:". And remove an superflous cast.
248
249 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
250
251         * docs/libs/gstreamer-libs-sections.txt:
252         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
253         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
254         (gst_base_sink_get_property), (gst_base_sink_render_object),
255         (gst_base_sink_preroll_object),
256         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
257         (gst_base_sink_change_state):
258         * libs/gst/base/gstbasesink.h:
259         Add a new last-buffer property that contains the last buffer used in
260         basesink for preroll or rendering. useful for making snapshots.
261         API: gst_base_sink_get_last_buffer()
262         API: GstBaseSink::last-buffer
263
264 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
265
266         * docs/gst/running.xml:
267         * gst/gst.c:
268         * gst/gstdebugutils.c:
269         * gst/gstdebugutils.h:
270         * tools/gst-launch.c:
271           Improve bin graph dumping, by using the envvar to specify a path.
272           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
273
274 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
275
276         * plugins/elements/gsttypefindelement.c:
277           (gst_type_find_element_handle_event),
278           (gst_type_find_element_activate):
279           Post special error message if we can't determine the type of a stream
280           because it's empty.
281
282 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
283
284         * docs/gst/running.xml:
285         * gst/gstdebugutils.c:
286           Document new env-var. Add one log-line after dumpng a graph.
287
288 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
289
290         * configure.ac:
291           Ugly hack to put the (recently removed and non-portable, apparently)
292           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
293           GNU ld, because without that 'make check' fails miserably on my debian
294           stable box.  Someone with more knowledge of linker intricacies and
295           portability issues than me fix this properly please.
296
297 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
298
299         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
300         Reset last seen position after flushing so that we don't report the old
301         position anymore.
302
303 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
304
305         * gst/gstelementfactory.c: (gst_element_register):
306         * gst/gsturi.h:
307         Patch from Alessandro Decina adding get_type_full and
308         get_protocols_full private vfuncs to the URIHandler interface
309         to allow bindings to support creating URI handlers. 
310         Partially fixes: #339279
311         API: GstURIHandlerInterface::get_type_full
312         API: GstURIHandlerInterface::get_protocols_full
313
314 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
315
316         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
317         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
318         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
319         Make it so that pads are considered linked until a buffer is pushed
320         and discovered otherwise. This avoids problems with decodebin2 hanging
321         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
322         case.
323
324         Make sure we lock the multiqueue when updating the max-size properties.
325         
326         Fix a crash on Solaris in a debug statement in get_request_pad that
327         passes a NULL string to GST_DEBUG. 
328
329         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
330         (run_output_order_test):
331         Fix the test to allow the first buffer on not-linked pads to come out
332         of sequence while multiqueue discovers that they are not-linked.
333
334 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
335
336         * configure.ac:
337         * libs/gst/check/Makefile.am:
338         Use a custom export symbol regex for libgstcheck, as it needs
339         to export symbols that don't match the standard GStreamer gst_*
340         pattern, and  --export-dynamic is not portable (only works on 
341         GNU ld)
342
343         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
344         (gst_check_setup_sink_pad):
345         Make sure to pass a message parameter to the fail_* macros.
346
347         * tests/check/gst/gstinfo.c: (GST_START_TEST):
348         Fix some compiler warnings.
349
350 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
351
352         * tests/check/gst/gststructure.c: (test_to_string):
353           Disable test that checks that white spaces are not allowed
354           in structure names or field names, since we need to
355           support that for now for backwards compatibility reasons.
356
357 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
358
359         * docs/gst/gstreamer-sections.txt:
360         * gst/gsttaglist.c:
361         * gst/gsttaglist.h:
362           API: add GST_TAG_ARTIST_SORTNAME
363           API: add GST_TAG_ALBUM_SORTNAME
364           API: add GST_TAG_TITLE_SORTNAME
365           Add tag variants for sorting (#414539).
366
367 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
368
369         * gst/gststructure.c:
370           Also allow white space for names so we don't break
371           backwards compatibility.
372
373 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
374
375         * docs/design/part-TODO.txt:
376         * docs/design/part-segments.txt:
377         * docs/design/part-streams.txt:
378         Small updates.
379
380 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
381
382         * docs/gst/gstreamer-sections.txt:
383          Fixed documentation from my previous commit (added new API add
384          gst_value_set_structure(), add gst_value_get_structure() and
385          GST_VALUE_HOLDS_STRUCTURE).
386
387 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
388
389         * gst/gstdebugutils.c:
390           Reflow code to fix uninitialized variable warning.
391
392 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
393
394         * gst/gstcaps.c: (gst_caps_to_string),
395         (gst_caps_from_string_inplace):
396         * gst/gststructure.c: (gst_structure_get_abbrs),
397         (gst_structure_to_string), (gst_structure_from_string):
398         * gst/gstvalue.c: (gst_value_set_structure),
399         (gst_value_get_structure), (gst_value_serialize_structure),
400         (gst_value_deserialize_structure), (_gst_value_initialize):
401         * gst/gstvalue.h:
402         * tests/check/gst/gststructure.c: (GST_START_TEST),
403         (gst_structure_suite):
404         * tests/check/gst/gstvalue.c: (GST_START_TEST):
405          Added GstStructure to gst_value_table and its related functions.
406          Changed gst_structure_to_string to print ';' in the end.
407          Changed gst_caps_to_string to not print ';' beteween its
408          fields (structures) anymore and remove the lastes ';' from latest
409          structure. Now it is possible to have nested structures.
410          In addition, backward compatibilty is assured by accepting '\0' as
411          end delimiter. Fixes: #487969.
412          API: add gst_value_set_structure()
413          API: add gst_value_get_structure()
414          API: add GST_VALUE_HOLDS_STRUCTURE
415
416 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
417
418         * gst/gstbus.c:
419           When no GSource callback has been set up, tell developer
420           to use a function that actually exists.
421
422 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
423
424         * docs/gst/gstreamer-sections.txt:
425         * gst/Makefile.am:
426         * gst/gst.c:
427         * gst/gst.h:
428         * gst/gstdebugutils.c:
429         * gst/gstdebugutils.h:
430         * gst/gstinfo.c:
431         * gst/gstinfo.h:
432         * tools/gst-launch.c:
433           Allow dumping pipelines as dot graphs. Fixes #456573.
434
435 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
436
437         * gst/gststructure.c:
438           Allow '+' as well, it can be part of media or mime types
439           such as image/svg+xml.
440
441 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
442
443         * docs/gst/gstreamer-sections.txt:
444         * gst/gstbus.c:
445         * gst/gstbus.h:
446           API: add gst_bus_pop_filtered
447           API: add gst_bus_timed_pop_filtered
448           Two new functions for waiting for specific message types on the
449           bus for a specified amount of time without iterating any main
450           loops or main contexts.
451
452         * tests/check/gst/gstbus.c:
453           Some tests for the new functions.
454
455 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
456
457         * docs/libs/gstreamer-libs-sections.txt:
458           Make gtk-doc ignore stuff it should ignore.
459
460 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
461
462         * libs/gst/check/gstcheck.c:
463         * libs/gst/check/gstcheck.h:
464           Allow runtime selection of unit tests to run via the GST_CHECKS
465           environment variable (test case function names, comma-separated).
466
467 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
468
469         * gst/gststructure.c:
470         * tests/check/gst/gststructure.c:
471           Revert serialisation change and constrain structure-names after
472           consensus on irc. Update api documentation to reflect the change.
473
474 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
475
476         * gst/gststructure.c:
477           Improve serialization and fix tests.
478
479         * tests/check/gst/gststructure.c:
480           Add another test that covers why I actually did the previous structure
481           change.
482
483 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
484
485         * tools/gst-inspect.c: (print_element_info):
486         Don't crash when inspecting an element.
487
488 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
489
490         * tests/check/gst/gststructure.c:
491           Add unit test for escaping of structure name when serialising
492           and deserialising to/from strings.
493
494 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
495
496         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
497         (gst_single_queue_new):
498         * plugins/elements/gstqueue.c: (gst_queue_init),
499         (gst_queue_push_one):
500         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
501         upstream is tricked into thinking it can suggest a format downstream
502         while downstream does not support that format. The real problem is that
503         core calls acceptcaps when pushing a buffer with new caps, for which we
504         do a little workaround by setting the caps on the srcpad ourselves
505         before pushing the buffer (until this is figured out). Fixes #486758.
506
507 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
508
509         * gst/gststructure.c:
510         * gst/gstvalue.c:
511           Add some more comments and debug output. Quote structure name to fix
512           deserialisation of some strings.
513
514 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
515
516         * gst/gstbuffer.h:
517           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
518           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
519
520 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
521
522         * tools/gst-inspect.c:
523           Save approx. 400 1 byte allocs when printing. Use API to acces element
524           details.
525
526         * tools/gst-run.c:
527           Avoid a strdup.
528
529         * tools/gst-xmlinspect.c:
530           Use API to acces element details.
531
532 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
533
534         * gst/gstinfo.c:
535           Fix some spelling errors.
536
537 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
538
539         * gst/gstbin.c: (bin_handle_async_done):
540         Correctly set the next state if all of our async children commited their
541         state. This makes sure we can actually cancel the state change in
542         progress. Fixes a regression in Rhythmbox when seeking.
543
544 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
545
546         * gst/gstbin.c:
547           Don't shadow local variable.
548
549         * gst/gstinfo.c:
550           Don't shadow global function name.
551
552 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
553
554         * gst/gstelementfactory.c:
555         * gst/gstpluginfeature.c:
556         * gst/gstpluginfeature.h:
557         * gst/gstregistrybinary.c:
558         * gst/gstregistryxml.c:
559         * gst/gsttypefind.c:
560           Use already-interned string for the private GstPluginFeature
561           plugin_name field.
562
563 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
564
565         * docs/libs/gstreamer-libs-sections.txt:
566           Add new API to docs; fixes the build.
567
568 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
569         
570         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
571
572         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
573         (gst_base_sink_event):
574         * libs/gst/base/gstbasesink.h:
575         Add function to wait for EOS, subclasses can use this to correctly wait
576         for devices to drain before performing the EOS logic. Fixes #485343.
577         API: gst_base_sink_wait_eos()
578
579 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
580
581         * gst/gstplugin.h:
582           Cast description string constants in GST_PLUGIN_DEFINE macros
583           to a (gchar*) to make C++ code using these macros compile
584           without warning with g++-4.2 (see #462737).  Even if slightly
585           ugly, this seems preferable to putting the description strings
586           into the GLib quark table or making the structure member a
587           const gchar * and doing casts in core code that allocs and
588           frees these strings, or requiring a cast in the C++ code.
589
590 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
591
592         * gst/gstinfo.h:
593           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
594           to print the entire class/function signature into the log
595           file for C++ code.  This only affects C++ code, for C code
596           everything remains the same.
597
598 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
599
600         * gst/gstbin.c: (remove_from_queue):
601         Work around a problem with pipelines containing (semi)loops until a
602         proper, more complicated solution is ready. See #475455.
603
604 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
605
606         * gst/gstplugin.c:
607         * gst/gstplugin.h:
608         * gst/gstregistrybinary.c:
609         * gst/gstregistryxml.c:
610           Put more strings into the GLib quark table. No need to keep
611           a hundred-something copies of identical version strings,
612           license strings, package name strings and package origin
613           strings around. 
614
615 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
616
617         * docs/manual/advanced-dataaccess.xml:
618           Don't imply that it's okay to unconditionally change
619           buffer data or buffer metadata in a pad probe callback,
620           and a bunch of other comments. Fixes #430031.
621
622 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
623
624         * win32/common/gstenumtypes.c:
625         * win32/common/gstenumtypes.h:
626         * win32/common/gstversion.h:
627           Update generated files.
628
629 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
630
631         * docs/manual/advanced-autoplugging.xml:
632           Prefix section with broken code with a warning (see #342432).
633
634 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
635
636         * docs/manual/appendix-integration.xml:
637         * docs/manual/basics-init.xml:
638           Call g_thread_init() before g_option_context_new() to
639           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
640
641 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
642
643         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
644         (gst_base_sink_queue_object_unlocked),
645         (gst_base_sink_queue_object), (gst_base_sink_event),
646         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
647         When we received EOS and are waiting for when to post the EOS message,
648         our state is prerolled and we should not return ASYNC.
649         Reorganize some code paths to implement this behavior.
650
651         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
652         (gst_sinks_suite):
653         Add unit test to verify above EOS fix.
654
655 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
656
657         * plugins/elements/gsttypefindelement.c:
658         (gst_type_find_element_have_type), (gst_type_find_element_init),
659         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
660         Move detecting the input caps of the sinkpad to the setcaps function.
661         This allows us to update the output caps when we receive new input caps
662         instead of always using the first detected caps.
663
664 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
665
666         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
667         (gst_base_sink_get_position):
668         Don't try to preroll non-async elements after a flush.
669         Subtract latency form clock times when reporting position.
670
671 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
672
673         * gst/gstpad.c: (gst_pad_pause_task):
674         * gst/gstutils.c:
675         Small comment and documentation update.
676
677 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
678
679         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
680         (gst_base_src_set_live), (gst_base_src_is_live),
681         (gst_base_src_query_latency), (gst_base_src_perform_seek),
682         (gst_base_src_default_event), (gst_base_src_wait),
683         (gst_base_src_do_sync), (gst_base_src_get_range),
684         (gst_base_src_pad_get_range), (gst_base_src_loop),
685         (gst_base_src_unlock), (gst_base_src_unlock_stop),
686         (gst_base_src_set_flushing), (gst_base_src_set_playing),
687         (gst_base_src_activate_push), (gst_base_src_activate_pull),
688         (gst_base_src_change_state):
689         Rework the locking of basesrc in a similar fashion to basesink. We
690         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
691         us to handle live sources and semi live ones much better.
692         Simplify flushing.
693         Fix unlocking when seeking, shutting down and pausing in live sources.
694
695 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
696
697         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
698         Fix compilation again.
699
700 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
701
702         * gst/gstelement.c:
703           Use meaningful categories for the logs to clean the default one.
704
705 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
706
707         * tests/check/pipelines/cleanup.c:
708           Print message name and not just number.
709
710 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
711
712         * docs/design/draft-tagreading.txt:
713           Add some more thoughts.
714
715 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
716
717         * tests/check/pipelines/simple-launch-lines.c:
718           Print message name and not just number.
719
720 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
721
722         * libs/gst/base/gsttypefindhelper.c:
723           Speedup typefinding. This is work in progress (see #459862).
724
725 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
726
727         * gst/gstplugin.c:
728           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
729           Spotted by Josep Torra Valles <josep@fluendo.com>.
730
731 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
732
733         * gst/gstclock.h:
734           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
735           field has moved to GstObject.
736
737 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
738
739         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
740         (gst_base_src_get_range), (gst_base_src_change_state):
741         Call unlock for live sources so that they can't get stuck in _create and
742         produce a buffer before they are set back to PLAYING.
743
744 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
745
746         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
747         (gst_queue_locked_dequeue):
748         Comment the segment-related code... in the PROPER function.
749         See #482147 and my commit from yesterday.
750
751 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
752
753         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
754         Also initialize the counter that calculates the first timestamp on a
755         buffer correctly for non-live sources.
756
757 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
758
759         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
760         Disable code that's breaking the current-time-level reporting.
761         See #482147
762
763 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
764
765         * docs/gst/gstreamer-sections.txt:
766         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
767         as they shouldn't show up. Fixes the docs build.
768
769 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
770         
771         * gst/gstinfo.h:
772         Add an explicit variable importation needed on VS6 (only for MSC_VER)
773         Define M_PI which is used in files which are including gstinfo.h. 
774         VS6 includes doesn't define it.
775         * win32/common/libgstbase.def:
776         * win32/common/libgstcontroller.def:
777         * win32/common/libgstreamer.def:
778         Add new exported functions and variables.
779         * win32/vs6/libgstcontroller.dsp:
780         * win32/vs6/libgstreamer.dsp:
781         Update the list of files to build.
782         
783 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
784
785         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
786
787         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
788         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
789         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
790         Improve debugging. Fixes #480858.
791
792 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
793
794         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
795
796         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
797         First patch of code cleanups, use the macros and right arguments in the
798         macros to signal and lock the queue. See #480858.
799
800 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
801
802         * gst/gstbus.c: (poll_func):
803         Improve debugging when dealing with _poll().
804
805 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
806
807         * gst/gstregistryxml.c:
808           Fix memory leak I introduced a few days ago.
809
810 2007-09-26  Michael Smith <msmith@fluendo.com>
811
812         * gst/gstbuffer.c: (gst_buffer_finalize):
813           Make it once again possible to free GstBuffers in the default
814           build.
815           The poisoning scribbles on parts of the miniobject we need in
816           order to free it.
817           Fixes #480341
818
819 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
820
821         * docs/gst/gstreamer-sections.txt:
822         * gst/gsttaglist.c:
823         * gst/gsttaglist.h:
824         API: add GST_TAG_COMPOSER, fixes #459809.
825
826 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
827
828         * gst/gstplugin.c:
829         * gst/gstplugin.h:
830         Add the 3-clause BSD license and the MIT/X11 license to the license
831         list. Fixes #479784.
832
833 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
834
835         * docs/faq/getting.xml:
836           Add Q+A about different GStreamer versions (#364056).
837
838 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
839
840         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
841         (gst_base_sink_event), (gst_base_sink_change_state):
842         Return correct gboolean from query function.
843
844 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
845
846         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
847         (gst_base_sink_event), (gst_base_sink_query),
848         (gst_base_sink_change_state):
849         Simplify latency query.
850         When not synchronizing, we can report latency without querying the peer
851         element.
852
853 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
854
855         * gst/gstobject.h:
856         * gst/gstvalue.c:
857         Fix small typos in the docs.
858
859 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
860
861         * docs/design/draft-latency.txt:
862         * docs/design/draft-push-pull.txt:
863         * docs/design/draft-tagreading.txt:
864         * docs/design/part-MT-refcounting.txt:
865         * docs/design/part-activation.txt:
866         * docs/design/part-block.txt:
867         * docs/design/part-element-source.txt:
868         * docs/design/part-events.txt:
869         * docs/design/part-gstbin.txt:
870         * docs/design/part-gstelement.txt:
871         * docs/design/part-gstobject.txt:
872         * docs/design/part-gstpipeline.txt:
873         * docs/design/part-messages.txt:
874         * docs/design/part-preroll.txt:
875         * docs/design/part-push-pull.txt:
876         * docs/design/part-qos.txt:
877         * docs/design/part-query.txt:
878         * docs/design/part-scheduling.txt:
879         * docs/design/part-seeking.txt:
880         * docs/design/part-segments.txt:
881         * docs/design/part-states.txt:
882         Documentation updates and typo fixes.
883
884 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
885
886         * plugins/elements/gstfakesink.c:
887           Add some debug text to error message to indicate that
888           we errored out on request.
889
890         * tools/gst-launch.c:
891           When the state change to PLAYING fails, check for an
892           error message on the bus and print it.
893
894 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
895
896         translated by: Jorge González González <aloriel@gmail.com>
897
898         * po/LINGUAS:
899         * po/es.po:
900           Added Spanish translation.
901
902 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
903
904         * plugins/elements/gstqueue.c: (gst_queue_push_one):
905         Fix printf arguments.
906
907 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
908
909         * tests/check/generic/states.c:
910           Improved state change unit test.
911
912 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
913
914         * gst/gstbin.h:
915           Move priv to the right place.
916
917         * gst/gstsystemclock.c:
918           Add FIXME: and improve log.
919
920         * tests/check/Makefile.am:
921         * tests/examples/manual/Makefile.am:
922           Work with all types of registries.
923
924 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
925
926         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
927         Don't unref the event after pushing it. Fixes #478401.
928
929 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
930
931         * .cvsignore:
932         * tests/examples/manual/.cvsignore:
933           Ignore registries in any format.
934
935 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
936
937         * gst/glib-compat-private.h:
938           Add compatibility macro for g_intern_string() for
939           GLib-2.8 (any reason we can't just bump the
940           requirement to at least 2.10?)
941
942         * gst/gstpadtemplate.h:
943         * gst/gstelementfactory.c:
944         * gst/gstregistryxml.c:
945         * gst/gstregistrybinary.c:
946           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
947           up the internal code accordingly.  This shouldn't be a problem, since
948           there is no reason external code could ever assume the string in such
949           a structure is dynamically allocated unless it did that itself;  the
950           use of g_strdup() is private to element factories.  The new code also
951           saves some memory by putting pad template name strings into the GLib
952           quark table instead of allocating them dynamically.
953           Declaring this field constant fixes warnings with g++-4.2 when using
954           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
955
956 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
957
958         * gst/gstelementfactory.c:
959           Release static caps. Fixes #475723.
960
961 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
962
963         * gst/gstinfo.c:
964         * gst/gstinfo.h:
965           Make some internal API take const gchar * instead of just
966           gchar * to avoid compiler warnings with g++-4.2.2 when
967           passing string constants (partially fixes #478092).
968
969 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
970
971         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
972         A latency query fails when one of the sinks fail.
973
974         * gst/gstelement.c: (gst_element_set_base_time):
975         Improve debugging.
976
977 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
978
979         * gst/gstbin.c: (gst_bin_continue_func):
980         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
981         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
982         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
983
984         Fix minor compilation warnings shown with Forte.
985
986 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
987
988         * plugins/elements/gstqueue.c: (apply_buffer),
989         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
990         Measure queue level based on the diff between head and tail timestamps
991         even when pushing the first buffer.
992
993 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
994
995         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
996         (gst_base_sink_event), (gst_base_sink_change_state):
997         Sinks that don't preroll can always be queried for the latency.
998         Don't post ASYNC start when we are not async.
999
1000 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1001
1002         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1003         (gst_queue_handle_sink_event), (gst_queue_chain),
1004         (gst_queue_push_one), (gst_queue_handle_src_query),
1005         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1006         * plugins/elements/gstqueue.h:
1007         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1008         push more buffers but allow pushing of EOS and NEWSEGMENT.
1009         Add some more debug info here and there. Fixes #476514.
1010
1011 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1012
1013         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1014         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1015         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1016         (gst_base_sink_set_flushing), (gst_base_sink_query),
1017         (gst_base_sink_change_state):
1018         Latency query is allowed after we are prerolled. Introduce a new flag
1019         for this and stop abusing other variables.
1020
1021 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1022
1023         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1024         Push OOB events downstream when we get them in send_event. This allows
1025         the application to insert events in the pipeline.
1026         Add some more comments.
1027
1028 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1029
1030         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1031         (do_bin_latency), (gst_bin_change_state_func):
1032         * gst/gstpipeline.c: (gst_pipeline_change_state):
1033         Move latency query from GstPipeline to GstBin so that we can also
1034         use it when async-handling is enabled on bins.
1035
1036 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1037
1038         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1039         (gst_base_src_do_sync), (gst_base_src_change_state):
1040         Update docs.
1041         Clean up the timestamping and syncing code for pseudo live sources.
1042
1043 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1044
1045         Patch by: Steve Fink  <sphink gmail com>
1046
1047         * docs/manual/appendix-checklist.xml:
1048           Mention less -R switch in the section about debug output (#474055).
1049
1050 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1051
1052         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1053         Queue can latency to the pipeline up to the configured max size in time.
1054         Report this fact in the latency query.
1055
1056 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1057
1058         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1059
1060         * libs/gst/controller/gstinterpolation.c:
1061         * libs/gst/controller/gstlfocontrolsource.c:
1062         Use gst_guint64_to_gdouble() when converting from a uint64 or
1063         GstClockTime to double to fix the build on win32. Fixes #474371.
1064
1065 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1066
1067         * gst/gstbuffer.c: (gst_buffer_finalize):
1068         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1069         When finalizing a buffer the complete struct is filled with 0xff,
1070         thus making a use of the buffer after the final unref impossible.
1071
1072 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1073
1074         * tests/check/libs/controller.c: (GST_START_TEST):
1075         Use fail_unless_equals_int(a, b) instead of
1076         fail_unless_equals (a == b) to get better output on failures.
1077
1078 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1079
1080         * tests/check/gst/gsturi.c:
1081           Also check for the other file URI variant on win32.
1082
1083 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1084
1085         * gst/gsturi.c: (gst_uri_get_location):
1086           If there's no hostname, we want to return 'c:/foo/bar.txt'
1087           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1088
1089         * tests/check/gst/gsturi.c:
1090           Unit test for the above and a few more things.
1091
1092 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1093
1094         * docs/design/part-live-source.txt:
1095         Add docs on how live sources should timestamp.
1096
1097         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1098         Add some more debug info.
1099         For subclasses that are live and like to sync, add aditional startup
1100         latency to sync time and timestamps so that we timstamp according to the
1101         design doc.
1102
1103 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1104
1105         * gst/gstbuffer.c:
1106           Also do a g_type_class_ref() for the subbuffer type in
1107           the init function.
1108
1109 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1110
1111         * docs/gst/gstreamer-sections.txt:
1112         * gst/gstpad.c: (gst_pad_peer_query):
1113         * gst/gstpad.h:
1114         Add function to perform a query on the peer of a pad.
1115         API: gst_pad_peer_query()
1116
1117 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1118
1119         * tests/check/gst/gstsystemclock.c:
1120           Cleanup the test a little (use gst-logging and not g_message). Improve
1121           test to check if a wait reached the target.
1122
1123 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1124
1125         * docs/libs/gstreamer-libs-sections.txt:
1126           Add new API to docs and fix the build.
1127
1128 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1129
1130         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1131         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1132         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1133         (gst_base_src_get_property), (gst_base_src_do_sync):
1134         * libs/gst/base/gstbasesrc.h:
1135         Add property to make the basesrc timestamp buffers based on the current
1136         running time.
1137         API: GstBaseSrc::do-timestamp
1138         API: gst_base_src_set_do_timestamp()
1139         API: gst_base_src_get_do_timestamp()
1140
1141 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1142
1143         * docs/random/release:
1144           Really make sure translations are up-to-date before
1145           a release (#465010).
1146
1147 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1148
1149         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1150         Always destroy the timer, also in error cases.
1151
1152 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1153
1154         * docs/manual/highlevel-xml.xml:
1155         Fix XML example code. Fixes #472714.
1156
1157 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1158
1159         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1160         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1161         (gst_base_sink_query):
1162         Protect eos and have_preroll with the OBJECT lock so we don't need to
1163         take the PREROLL lock when querying the latency. Fixes #473846.
1164
1165 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1166
1167         * gst/gstelement.c:
1168           Give some log-messages a category.
1169
1170 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1171
1172         * gst/gststructure.c:
1173         (gst_structure_fixate_field_nearest_fraction):
1174         Fix fraction list fixation code. Take the fraction with the smallest
1175         difference with the target instead of the first one in the list.
1176
1177         * tests/check/gst/gststructure.c: (GST_START_TEST),
1178         (gst_structure_suite):
1179         Added test to verify correct fraction list fixation behaviour.
1180
1181 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1182
1183         * win32/common/libgstreamer.def:
1184           Export gst_bus_add_signal_watch too.
1185
1186 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1187
1188         * docs/libs/gstreamer-libs-sections.txt:
1189         Add new methods to docs.
1190
1191         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1192         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1193         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1194         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1195         * libs/gst/base/gstbasesink.h:
1196         Add ts-offset property to fine-tune the synchronisation.
1197         API: GstBaseSink::ts-offset property
1198         API: gst_base_sink_set_ts_offset()
1199         API: gst_base_sink_get_ts_offset()
1200
1201 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1202
1203         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1204         (gst_base_sink_init), (gst_base_sink_set_sync),
1205         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1206         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1207         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1208         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1209         (gst_base_sink_get_property), (gst_base_sink_change_state):
1210         * libs/gst/base/gstbasesink.h:
1211         Add async property to instruct the sink never to inform the parent about
1212         ASYNC state changes, update docs.
1213         Check argument with g_return_* for the public functions.
1214         API: GstBaseSink::async property
1215         API: gst_base_sink_set_async_enabled()
1216         API: gst_base_sink_is_async_enabled()
1217
1218 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1219
1220         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1221         Improve debugging.
1222
1223         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1224         (gst_base_src_default_query), (gst_base_src_wait),
1225         (gst_base_src_do_sync), (gst_base_src_change_state):
1226         Rearrange some code so that we can add support for measuring the 
1227         startup latency.
1228
1229 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1230
1231         * docs/random/ensonic/dynlink.txt:
1232           More thoughs on this.
1233
1234         * plugins/elements/gstcapsfilter.c:
1235           Add bugzilla ticket number to FIXME comment.
1236
1237 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1238
1239         * docs/design/part-TODO.txt:
1240         * docs/design/part-block.txt:
1241         Update some docs.
1242
1243 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1244
1245         * gst/Makefile.am:
1246           Revert patch which uses $(gst_headers) instead of $^ because it
1247           breaks make dist.
1248
1249 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1250
1251         * tests/check/gst/gstbin.c: (GST_START_TEST):
1252           Fix leaks in the new unit test.
1253
1254 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1255
1256         * gst/gst.c:
1257           Don't use GST_INFO before the debug system is actually initialised
1258           (shouldn't do any harm, but won't print anything either, so we can
1259           just as well remove it).
1260
1261         * gst/gstinfo.h:
1262           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1263           compilers that don't support variadic macros (such as MSVC), should
1264           check for debug_level <= __gst_debug_min as well, since that's the
1265           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1266           inline helper functions. Should improve performance a bit, but also
1267           makes sure uses of GST_INFO et.al are ignored if the debugging
1268           system isn't initialised yet (instead of printing an assertion
1269           failure).
1270
1271 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1272
1273         patch by: David Nečas <yeti@physics.muni.cz>
1274
1275         * gst/Makefile.am:
1276           Replace some non portable makefile constructs.
1277
1278 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1279
1280         * common/gtk-doc-plugins.mak:
1281           Grrrrr. Don't remove the types file on make clean.
1282
1283 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1284
1285         * tools/gst-launch.1.in:
1286         Add colorspace to example pipeline. Fixes #458274.
1287
1288 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1289
1290         * docs/random/release:
1291           The release manager should run 'make download-po' before making a
1292           release to make sure translations are up-to-date.
1293
1294         * po/LINGUAS:
1295         * po/be.po:
1296         * po/pl.po:
1297         * po/rw.po:
1298           Add some new translations.
1299
1300 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1301
1302         * tools/gst-launch.c: (event_loop), (main):
1303         Don´t try to do any state management when a live pipeline posts
1304         buffering messages.
1305         Also make the buffering string translatable.
1306
1307 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1308
1309         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1310         (bin_handle_async_start), (gst_bin_handle_message_func):
1311         Improve debugging.
1312         When adding elements, insert messages into the bus of the newly added
1313         element and make sure the element is the source of the message. This
1314         allows the parent bin to intercept the message and do the
1315         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1316         messages to the app (which is not allowed).
1317         Update some docs.
1318
1319         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1320         Fix testsuite so that is does not work around messages that should not
1321         have been posted in the first place.
1322
1323 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1324
1325         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1326         (update_degree), (gst_bin_sort_iterator_next):
1327         Fix annoying bug in the sorted iterator where a sink that is not really
1328         a sink (when it has downstream links) screwed up the iterator.
1329
1330         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1331         Unit test to verify the fix.
1332
1333 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1334
1335         * gst/gstmessage.h:
1336         Add some more docs for the messages.
1337
1338         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1339         (gst_base_sink_query):
1340         Add some more debugging.
1341
1342         * tools/gst-launch.c: (event_loop):
1343         When interrupting, don't try to set pipeline to PAUSED twice.
1344
1345 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1346
1347         
1348         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1349         (bin_handle_async_start), (gst_bin_handle_message_func):
1350         Move ASYNC_START message posting to where it belongs, similar to
1351         async_done. 
1352         Don't post ASYNC_START when we are in error. 
1353         Post ASYNC_START when we added an async element to a bin.
1354
1355 2007-08-14  Julien MOUTTE  <julien@moutte.net>
1356
1357         * gst/gstindex.c: (gst_index_add_association): Fix index entry
1358         generation from vargs. Fixes #466595.
1359
1360 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
1361
1362         * gst/gstbin.c: (gst_bin_element_set_state):
1363         Always change the state of a NO_PREROLL element even if it has ASYNC
1364         elements inside (in case of a bin).
1365
1366         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1367         Unit test for this case.
1368
1369 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
1370
1371         * libs/gst/check/gstbufferstraw.c:
1372         * libs/gst/check/gstcheck.h:
1373         * libs/gst/controller/gstcontroller.c:
1374         * libs/gst/controller/gstcontrolsource.h:
1375         * libs/gst/controller/gstlfocontrolsource.h:
1376         * plugins/elements/gstcapsfilter.h:
1377         * plugins/elements/gstfdsink.h:
1378         * plugins/elements/gstfdsrc.h:
1379           Add more missing docs.
1380
1381 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1382
1383         * gst/gststructure.c:
1384         Add Since tag to docs.
1385
1386 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1387
1388         * docs/gst/gstreamer-sections.txt:
1389         * gst/gststructure.c: (gst_structure_get_uint):
1390         * gst/gststructure.h:
1391         Add function to get uint from a structure.
1392         API: gst_structure_get_uint()
1393
1394 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
1395
1396         * gst/gstcaps.c: (gst_caps_set_simple_valist),
1397         (gst_caps_intersect):
1398         Fix proper check for simple caps.
1399
1400 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
1401
1402         * docs/gst/Makefile.am:
1403         * docs/libs/Makefile.am:
1404           Remove cruft and do some cleanups.
1405
1406         * docs/gst/gstreamer-docs.sgml:
1407         * docs/libs/gstreamer-libs-docs.sgml:
1408           Prepare for comming gtkdoc features (rebase against online docs).
1409
1410 2007-08-10  Michael Smith <msmith@fluendo.com>
1411
1412         * docs/gst/gstreamer-sections.txt:
1413           Add gst_registry_add_path to docs.
1414
1415 2007-08-10  Michael Smith <msmith@fluendo.com>
1416
1417         * gst/gstregistry.h:
1418           Add gst_registry_add_path, which was missing from this header.
1419
1420 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
1421
1422         * libs/gst/controller/gstlfocontrolsource.c:
1423           Printf format fix.
1424
1425 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1426
1427         * libs/gst/base/gstbasesink.c:
1428           Don't send an async_start message during downwards state change if 
1429           target state is less than READY
1430
1431 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1432
1433         translated by: Gabor Kelemen <kelemeng@gnome.hu>
1434
1435         * po/LINGUAS:
1436         * po/hu.po:
1437           Added Hungarian translation.
1438
1439 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1440
1441         * po/fi.po:
1442         * po/it.po:
1443         * po/nl.po:
1444         * po/sv.po:
1445         * po/uk.po:
1446           Updated translations.
1447
1448 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1449
1450         * libs/gst/controller/Makefile.am:
1451         Dist gstlfocontrolsourceprivate.h
1452
1453 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
1454
1455         * docs/libs/gstreamer-libs.types:
1456         Don't register the enum type gst_lfo_waveform_get_type() in the
1457         .types file - only GObject derived types belong.
1458
1459 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1460
1461         Patch by: <arenevier at fdn dot fr>
1462
1463         * gst/gstbuffer.h:
1464         Remove comma from last element in enum to avoid compile errors when
1465         using -pendantic. Fixes #464366.
1466
1467 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
1468
1469         * docs/design/part-TODO.txt:
1470         Add some more TODO items
1471
1472         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1473         Improve debugging.
1474
1475         * gst/gstcaps.c: (gst_caps_intersect):
1476         Optimize trivial intersection case between identical caps pointers.
1477
1478         * gst/gstelement.c: (gst_element_continue_state),
1479         (gst_element_set_state_func):
1480         * gst/gstpad.c:
1481         Fix spelling and grammar mistakes.
1482
1483 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
1484
1485         * po/POTFILES.in:
1486         * po/POTFILES.skip:
1487           Update POTFILES. Fixes #461599.
1488
1489 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1490
1491         * gst/gst.c:
1492         Fix confusing typo in debug output.
1493
1494 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
1495
1496         reviewed by: Stefan Kost <ensonic@users.sf.net>
1497
1498         * libs/gst/controller/Makefile.am:
1499         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1500         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1501         (gst_lfo_control_source_new),
1502         (gst_lfo_control_source_set_waveform),
1503         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1504         (gst_lfo_control_source_finalize),
1505         (gst_lfo_control_source_dispose),
1506         (gst_lfo_control_source_set_property),
1507         (gst_lfo_control_source_get_property),
1508         (gst_lfo_control_source_class_init):
1509         * libs/gst/controller/gstlfocontrolsource.h:
1510         * libs/gst/controller/gstlfocontrolsourceprivate.h:
1511         API: Add GstLFOControlSource, a control source that gives values
1512         for specific timestamps based on several periodic waveforms.
1513         Fixes #459717.
1514
1515         * tests/check/libs/controller.c: (GST_START_TEST),
1516         (gst_controller_suite):
1517         * docs/libs/gstreamer-libs-docs.sgml:
1518         * docs/libs/gstreamer-libs-sections.txt:
1519         * docs/libs/gstreamer-libs.types:
1520         Add documentation and unit tests for GstLFOControlSource.
1521
1522 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
1523
1524         * configure.ac:
1525         Back to CVS
1526
1527 === release 0.10.14 ===
1528
1529 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
1530
1531         * configure.ac:
1532           releasing 0.10.14, "Breathing Vacuum"
1533
1534 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
1535
1536         * gst/gstelement.c: (gst_element_class_set_details_simple):
1537         * gst/gstelement.h:
1538           Make strings passed to gst_element_class_set_details_simple()
1539           constant, as they should be (#462752).
1540
1541 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
1542
1543         * gst/gstbin.c: (gst_bin_change_state_func),
1544         (bin_handle_async_done), (gst_bin_handle_message_func):
1545         Don't forget about the fact that some element went ASYNC even after a
1546         resync. This makes us post the ASYNC_DONE message correctly.
1547         Fixes #462558.
1548
1549 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1550
1551         * gst/gstregistry.c: (gst_registry_add_feature):
1552         When replacing an existing feature in the registry, make sure to
1553         continue holding a reference until we've replaced the name string
1554         within our feature hash table. Make sure to use g_hash_table_replace
1555         instead of g_hash_table_insert to ensure the new name string is used
1556         as a key instead of the old one that we're about to free.
1557         Fixes: #462085
1558
1559 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1560
1561         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1562         (gst_plugin_feature_set_name):
1563         Revert patch from #459466 until after the release and we can work
1564         out exactly what the problem is (if any).
1565
1566 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1567
1568         * docs/gst/gstreamer-sections.txt:
1569         * gst/gsttaglist.c:
1570         * gst/gsttaglist.h:
1571           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1572
1573 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1574
1575         * docs/libs/Makefile.am:
1576         Include our build-prefix libs and includes before the generic ones to
1577         avoid linking against the installed libs when we want the build-tree
1578         ones.
1579
1580 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1581
1582         Patch by: Steve Fink  <sphink gmail com>
1583
1584         * docs/pwg/building-testapp.xml:
1585           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1586           if people try to build or install the example from the plugin
1587           template against a GStreamer from package using the configure
1588           defaults.
1589
1590 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1591
1592         Patch by: Steve Fink  <sphink gmail com>
1593
1594         * tools/gst-inspect.1.in:
1595           Document --print-all and --print-plugin-auto-install-info command
1596           line options in man page.
1597
1598 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1599
1600         * docs/gst/gstreamer-sections.txt:
1601         Add docs for new api function.
1602
1603 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
1604
1605         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1606         * gst/gstelementfactory.h:
1607         API: gst_element_factory_has_interface()
1608         Added method to check if an element factory implements a named
1609         interface.
1610
1611 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
1612
1613         * configure.ac:
1614         * docs/gst/gstreamer.types.in:
1615           Another conditional doc check.
1616
1617         * gst/gstmessage.c:
1618         * gst/gstparamspecs.h:
1619         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1620         * gst/gstvalue.c:
1621         * gst/gstxml.h:
1622           API-doc fixes.
1623
1624 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1625
1626         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
1627         (gst_registry_binary_load_feature),
1628         (gst_registry_binary_load_plugin),
1629         (gst_registry_binary_read_cache):
1630           Print error just once and with additional info.
1631
1632 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1633
1634         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
1635         (helper_find_suggest), (helper_find_get_length),
1636         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
1637         (gst_type_find_helper_for_buffer):
1638           Cleanup the typefindhelper code and add private doc comments.
1639
1640 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
1641
1642         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1643         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
1644         Fix capsfilter for cases where the caps set on capsfilter will provide
1645         additional information.
1646         Fixes #449197
1647
1648 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
1649
1650         * gst/gsttypefindfactory.c:
1651           Fix docs that recommened wrong function to use.
1652
1653 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1654
1655         * tools/gst-inspect.c: (print_plugin_features):
1656           Also give media-type for typefinders in element output.
1657
1658 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1659
1660         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
1661         (gst_registry_remove_features_for_plugin_unlocked),
1662         (gst_registry_add_feature), (gst_registry_remove_feature),
1663         (gst_registry_lookup_feature_locked):
1664         * gst/gstregistry.h:
1665           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
1666           Fixes #459501.
1667
1668 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
1669
1670         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1671         (gst_plugin_feature_set_name):
1672           Avoid double memory usage for pluginfeature names. Fixes #459466.
1673
1674 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1675
1676         * gst/gstpad.h:
1677           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
1678           driving the pipeline may need to explicitly check for NOT_LINKED as
1679           well, since IS_FATAL doesn't cover that.
1680
1681 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
1682
1683         * docs/pwg/advanced-types.xml:
1684           Fix typo and duplicate entry in video formats list.
1685
1686 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
1687
1688         * libs/gst/controller/gstinterpolation.c:
1689         Also round to the nearest int when using cubic interpolation.
1690
1691 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
1692
1693         * libs/gst/controller/gstinterpolation.c:
1694         When linearly interpolating integer types, round to the nearest int
1695         by adding 0.5. Don't do it for float/double types.
1696         Fixes the failing controller test on my machine, which is somehow
1697         rounding differently than on the buildbots.
1698
1699 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1700
1701         * tools/gst-plot-timeline.py:
1702           Better log parsing (categories can have -). Adjust text vs. lines, so
1703           that they span the same y-range.        
1704
1705 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1706
1707         * docs/random/ensonic/audiobaseclasses.txt:
1708         * docs/random/ensonic/dynlink.txt:
1709         * docs/random/ensonic/profiling.txt:
1710           Save my thoughts.
1711
1712         * docs/random/moving-plugins:
1713           Add note to use g_assert type macros.
1714
1715 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
1716
1717         * configure.ac:
1718         * libs/gst/check/Makefile.am:
1719           Add libm check as we use in for plugins.
1720
1721 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
1722
1723         * gst/gstbin.c: (gst_bin_continue_func):
1724         Check that the state_cookie hasn't changed since the continue_func
1725         was scheduled. Avoids problems where the state changes back to
1726         something it shouldn't be because it was changed in the meantime.
1727
1728 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
1729
1730         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
1731         (gst_registry_binary_save_string),
1732         (gst_registry_binary_save_pad_template),
1733         (gst_registry_binary_save_feature),
1734         (gst_registry_binary_save_plugin),
1735         (gst_registry_binary_load_feature),
1736         (gst_registry_binary_load_plugin),
1737         (gst_registry_binary_read_cache):
1738           Fix memory leak. Be less verbose in the log.
1739
1740 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1741
1742         * tests/check/elements/.cvsignore:
1743         Add file to cvsignore as commanded.
1744
1745 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1746
1747         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1748         (mq_dummypad_event), (run_output_order_test):
1749         Use a GStaticMutex to protect all cases where libcheck
1750         fail_if/fail_unless macros might be called from multiple threads
1751         simultaneously to avoid errors like:
1752           "check_pack.c:107: :-1081725400:Bad message type arg"
1753
1754 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1755
1756         * tests/check/pipelines/stress.c: (GST_START_TEST):
1757         Make sure we set the pipeline back to the NULL state before
1758         dropping our final reference.
1759
1760 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
1761
1762         * tests/check/elements/tee.c: (GST_START_TEST):
1763         Make the tee stress-test a little less stressful so it doesn't just
1764         time out on slow-machines, and remove a small race when it's starting 
1765         up by adding a get_state() call.
1766
1767 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
1768
1769         * gst/gst.c:
1770           Avoid reading registry twice on startup. Fixes #457322.
1771
1772 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1773
1774         * pkgconfig/gstreamer-check-uninstalled.pc.in:
1775         * pkgconfig/gstreamer-check.pc.in:
1776         Substitute the CFLAGS for libcheck into our .pc file too so that
1777         dependent modules will pick it up properly if libcheck is installed
1778         into some other prefix.
1779
1780 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
1781
1782         * configure.ac:
1783         Revert the pkg-config check for libcheck, since it pulls in the
1784         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
1785         a proper solution, either from the check project, or something else.
1786
1787 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
1788
1789         * configure.ac:
1790           Use pkg-config to locate check.
1791
1792 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
1793
1794         * gst/gsttaglist.c:
1795           Fix doc syntax.
1796
1797         * gst/gstutils.c:
1798         * gst/gstutils.h:
1799           Add deprecation guards.
1800
1801         * libs/gst/base/gstcollectpads.h:
1802           Don't document object (this is implicitly private).
1803
1804 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
1805
1806         * gst/gststructure.c: (gst_structure_parse_value):
1807           When deserialising foo=bar without a type cast, check if it's a
1808           boolean before falling back to a string type, otherwise things like
1809           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
1810           because the filtercaps end up having a signed=(string)true field,
1811           which causes problems later when intersection caps.
1812
1813         * tests/check/gst/gststructure.c: (GST_START_TEST):
1814           Add a unit test for this.
1815
1816 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
1817
1818         Reviewed by: Stefan Kost <ensonic@users.sf.net>
1819
1820         * libs/gst/controller/Makefile.am:
1821         * libs/gst/controller/gstcontroller.c:
1822         (gst_controlled_property_add_interpolation_control_source),
1823         (gst_controlled_property_new), (gst_controlled_property_free),
1824         (gst_controller_find_controlled_property),
1825         (gst_controller_new_valist), (gst_controller_new_list),
1826         (gst_controller_new), (gst_controller_remove_properties_valist),
1827         (gst_controller_remove_properties_list),
1828         (gst_controller_remove_properties),
1829         (gst_controller_set_property_disabled),
1830         (gst_controller_set_disabled), (gst_controller_set_control_source),
1831         (gst_controller_get_control_source), (gst_controller_get),
1832         (gst_controller_sync_values), (gst_controller_get_value_array),
1833         (_gst_controller_dispose), (gst_controller_get_type),
1834         (gst_controlled_property_set_interpolation_mode),
1835         (gst_controller_set), (gst_controller_set_from_list),
1836         (gst_controller_unset), (gst_controller_unset_all),
1837         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
1838         * libs/gst/controller/gstcontroller.h:
1839         * libs/gst/controller/gstcontrollerprivate.h:
1840         * libs/gst/controller/gstcontrolsource.c:
1841         (gst_control_source_class_init), (gst_control_source_init),
1842         (gst_control_source_get_value),
1843         (gst_control_source_get_value_array), (gst_control_source_bind):
1844         * libs/gst/controller/gstcontrolsource.h:
1845         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
1846         (gst_object_get_control_source):
1847         * libs/gst/controller/gstinterpolation.c:
1848         (gst_interpolation_control_source_find_control_point_node),
1849         (gst_interpolation_control_source_get_first_value),
1850         (_interpolate_none_get), (interpolate_none_get),
1851         (interpolate_none_get_boolean_value_array),
1852         (interpolate_none_get_enum_value_array),
1853         (interpolate_none_get_string_value_array),
1854         (_interpolate_trigger_get), (interpolate_trigger_get),
1855         (interpolate_trigger_get_boolean_value_array),
1856         (interpolate_trigger_get_enum_value_array),
1857         (interpolate_trigger_get_string_value_array):
1858         * libs/gst/controller/gstinterpolationcontrolsource.c:
1859         (gst_control_point_free), (gst_interpolation_control_source_reset),
1860         (gst_interpolation_control_source_new),
1861         (gst_interpolation_control_source_set_interpolation_mode),
1862         (gst_interpolation_control_source_bind),
1863         (gst_control_point_compare), (gst_control_point_find),
1864         (gst_interpolation_control_source_set_internal),
1865         (gst_interpolation_control_source_set),
1866         (gst_interpolation_control_source_set_from_list),
1867         (gst_interpolation_control_source_unset),
1868         (gst_interpolation_control_source_unset_all),
1869         (gst_interpolation_control_source_get_all),
1870         (gst_interpolation_control_source_get_count),
1871         (gst_interpolation_control_source_init),
1872         (gst_interpolation_control_source_finalize),
1873         (gst_interpolation_control_source_dispose),
1874         (gst_interpolation_control_source_class_init):
1875         * libs/gst/controller/gstinterpolationcontrolsource.h:
1876         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1877         API: Refactor GstController into the core controller which can take
1878         a GstControlSource for providing actual values for timestamps.
1879         Implement a interpolation control source and use this for backward
1880         compatibility, deprecate a bunch of functions that are now handled
1881         by GstControlSource or GstInterpolationControlSource.
1882         Make it possible to disable the controller completely or only for
1883         specific properties. Fixes #450711.
1884         * docs/libs/gstreamer-libs-docs.sgml:
1885         * docs/libs/gstreamer-libs-sections.txt:
1886         * docs/libs/gstreamer-libs.types:
1887         Add new functions and classes to the docs.
1888         * tests/check/libs/controller.c: (GST_START_TEST),
1889         (gst_controller_suite):
1890         * tests/examples/controller/audio-example.c: (main):
1891         Port unit test and example to the new API and add some new
1892         unit tests.
1893
1894 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
1895
1896         Patch by: Mark Nauwelaerts <manauw at skynet be>
1897
1898         * plugins/elements/gstmultiqueue.c:
1899         (gst_multi_queue_get_internal_links), (apply_buffer),
1900         (single_queue_overrun_cb), (gst_single_queue_new):
1901         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
1902         the pipeline layout can be tracked correctly. Fixes #453732.
1903
1904 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
1905
1906         * docs/gst/Makefile.am:
1907         * docs/libs/Makefile.am:
1908         * docs/plugins/Makefile.am:
1909           Simplify --extra-dir as gtkdoc scans recursively.
1910
1911 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1912
1913         * tools/gst-launch.c: (main):
1914         When we got an error, there is no point in waiting for preroll when
1915         shutting down.
1916
1917 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
1918
1919         * plugins/elements/gsttee.c: (gst_tee_base_init),
1920         (gst_tee_request_new_pad), (gst_tee_release_pad),
1921         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
1922         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
1923         (gst_tee_chain):
1924         Be a lot smarter when deciding what srcpad to use for proxying
1925         the buffer_alloc. Also handle pad added/removed when doing so.
1926         Fixes #357959.
1927         Keep track of what pads we already pushed on in case we have pads
1928         added/removed while pushing. Fixes #374639 
1929
1930         * tests/check/Makefile.am:
1931         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
1932         (tee_suite):
1933         Added unit test for pad resync.
1934
1935 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1936
1937         * po/nl.po:
1938         * po/sv.po:
1939           Updated translations.
1940
1941 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1942
1943         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
1944
1945         * po/LINGUAS:
1946         * po/fi.po:
1947           Added new Finnish translation.
1948
1949 2007-06-28  Wim Taymans  <wim@fluendo.com>
1950
1951         * plugins/elements/gstmultiqueue.c: (apply_buffer),
1952         (single_queue_overrun_cb):
1953         When figuring out when a queue is filled, use our internal time estimate
1954         based on segments, just like check_full does.
1955
1956 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1957
1958         * gst/gstminiobject.c: (gst_mini_object_get_type):
1959           Remove 3 do-nothing methods.
1960
1961 2007-06-27  Wim Taymans  <wim@fluendo.com>
1962
1963         Patch by: Tim Angus <tim at ngus dot net>
1964
1965         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1966         (gst_capsfilter_set_property):
1967         Take a reference instead of a copy when setting "caps".
1968         Fix documentation to clarify this behaviour. Fixes #449414.
1969
1970 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
1971
1972         * gst/gstindexfactory.c: (gst_index_factory_get_type):
1973         * gst/gstplugin.c: (gst_plugin_init):
1974         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
1975         * gst/gstquery.c: (gst_query_get_type):
1976         * gst/gstregistry.c: (gst_registry_init):
1977         * gst/gsturi.c: (gst_uri_handler_base_init):
1978           Remove empty instance_init() functions to save relocs and lessen the
1979           noise. Remove some of the function prototypes that are doubled by
1980           G_DEFINE_TYPE.
1981           
1982 2007-06-27  Wim Taymans  <wim@fluendo.com>
1983
1984         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
1985
1986         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
1987         Add peer and direction in the XML serialisation of ghostpads.
1988         Fixes #449226.
1989
1990 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
1991
1992         * configure.ac:
1993           Preserve useful information, thanks Tim.
1994
1995 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
1996
1997         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
1998         (gst_single_queue_flush), (apply_segment), (apply_buffer),
1999         (gst_single_queue_push_one), (gst_multi_queue_loop),
2000         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2001         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2002         (compute_high_id), (gst_single_queue_new):
2003         * plugins/elements/gstmultiqueue.h:
2004         Take the multiqueue lock when updating the fill level so we don't get
2005         confused. 
2006
2007         After applying a buffer or event on the src pad segment, make sure to
2008         call gst_data_queue_limits_changed() to get the data queue to unblock
2009         and check the filled state again.
2010         
2011         Rework the not-linked pad handling so the logic is that not-linked 
2012         pads can push as fast as they like, but only so they never get 
2013         ahead of any linked pads.
2014
2015         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2016         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2017         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2018
2019         Add a test to check that not-linked pads always stay behind
2020         linked pads.
2021
2022         Fixes: #430682
2023
2024 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2025
2026         * docs/random/release:
2027           Some updates to the release procedure.
2028
2029 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2030
2031         * gst/gstelementfactory.c: (__gst_element_details_clear):
2032           Microoptimization that saves stunning 80 bytes.
2033
2034 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2035
2036         * docs/plugins/gstreamer-plugins.args:
2037         * docs/plugins/inspect/plugin-coreelements.xml:
2038         * docs/plugins/inspect/plugin-coreindexers.xml:
2039           Update docs with caps info.
2040
2041 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2042
2043         * po/it.po:
2044           Updated Italian translation.
2045
2046 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2047
2048         * ChangeLog:
2049         * po/vi.po:
2050           Update Vietnamese translations.
2051
2052 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2053
2054         * libs/gst/base/gstbasesink.c:
2055           Remove unused signal enum.
2056
2057 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2058
2059         * docs/gst/gstreamer-sections.txt:
2060         * gst/gstelement.c:
2061         * gst/gstutils.c: (gst_type_register_static_full):
2062         Beef up and include the docs for gst_type_register_static_full and
2063         gst_element_class_set_details_simple and add the API keyword
2064         in the ChangeLog.
2065
2066 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2067
2068         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2069         (update_time_level), (gst_single_queue_push_one),
2070         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2071         (single_queue_overrun_cb), (single_queue_underrun_cb),
2072         (single_queue_check_full):
2073         Fix setting max-* properties after adding queues.
2074         Use IS_FILLED for checking visible items.
2075         Signal overrun if multiple queues overrun.
2076         Add extra debug output.
2077         Patch by: Wim Taymans <wim@fluendo.com>
2078
2079 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2080
2081         * gst/gstelement.c: (gst_element_class_set_details_simple):
2082         * gst/gstelement.h:
2083         * gst/gstutils.c: (gst_type_register_static_full):
2084         * gst/gstutils.h:
2085         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2086         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2087         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2088         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2089         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2090         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2091         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2092         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2093         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2094         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2095         (apply_buffer), (gst_queue_chain):
2096         * plugins/elements/gsttee.c: (gst_tee_base_init):
2097         * plugins/elements/gsttypefindelement.c:
2098         (gst_type_find_element_base_init),
2099         (gst_type_find_element_class_init):
2100           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2101           API: add gst_type_register_static_full
2102           API: add gst_element_class_set_details_simple
2103
2104 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2105
2106         * docs/pwg/advanced-types.xml:
2107           Fix typo in iana.org URI.
2108
2109 2007-06-19  Andy Wingo  <wingo@pobox.com>
2110
2111         * tests/check/pipelines/simple-launch-lines.c
2112         (test_state_change_returns): Enable pull-mode tests now that
2113         basesink has been fixed.
2114
2115         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2116         Changed from gst_base_sink_is_prerolled, reversing the sense of
2117         the return value. Returns FALSE also if the sink is in pull mode,
2118         in which case it needs no preroll.
2119         (gst_base_sink_query, gst_base_sink_change_state): Update for
2120         needs_preroll change.
2121         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2122         chaining up, in which we return SUCCESS directly if we activated
2123         in pull mode instead of ASYNC. Involves countering an async_start
2124         message sent before chaining up; not sure if this is correct, in
2125         an ideal world we only send async-start when activating in push
2126         mode.
2127
2128         * tests/check/pipelines/simple-launch-lines.c
2129         (test_state_change_returns): New test, partially disabled until
2130         basesink is fixed.
2131
2132 2007-06-19  Wim Taymans  <wim@fluendo.com>
2133
2134         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2135         (gst_multi_queue_sink_event):
2136         Fix event leak.
2137
2138 2007-06-19  Wim Taymans  <wim@fluendo.com>
2139
2140         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2141         (gst_bin_change_state_func), (bin_push_state_continue),
2142         (bin_handle_async_start), (bin_handle_async_done),
2143         (gst_bin_handle_message_func):
2144         Move the common code for posting state-change messages into
2145         one function.
2146         Broadcast the state signal after we posted the messages.
2147         Mark the bin as busy when it's doing a state-change.
2148         Make sure async-start/done messages don't interfere with the bin's
2149         state when it's busy.
2150         After the state change, let the bin check which elements completed the
2151         state change while it was busy so that it can update its state.
2152
2153 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2154
2155         * docs/random/release:
2156         Add a note about updating the doap file to the release checklist
2157
2158 2007-06-18  Wim Taymans  <wim@fluendo.com>
2159
2160         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2161         (gst_single_queue_push_one), (gst_multi_queue_chain),
2162         (gst_multi_queue_sink_event):
2163         Make sure we don't reference the buffer/event after we have given away
2164         ownership in the queue.
2165
2166 2007-06-18  Wim Taymans  <wim@fluendo.com>
2167
2168         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2169         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2170         Update queue state _after_ adding the item in the queue because else we
2171         could end up being full without the element added yet.
2172
2173 2007-06-18  Wim Taymans  <wim@fluendo.com>
2174
2175         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2176         (gst_bin_remove_func), (gst_bin_get_state_func),
2177         (gst_bin_element_set_state), (gst_bin_continue_func),
2178         (bin_push_state_continue), (bin_handle_async_start),
2179         (bin_handle_async_done), (gst_bin_handle_message_func):
2180         * gst/gstbin.h:
2181         Immediatly commit the toplevel bin state when receiving an async-done
2182         message. This enables us to avoid spawning a thread to commit the state
2183         in some common cases and it also avoids some races.
2184         Avoid spawning a state thread when adding/removing async elements to a
2185         toplevel bin. Instead we immediatly update the bin state.
2186         Get rid of iterating all the children when getting the state in the bin
2187         because it is now always up-to-date.
2188         Fix bug where locked elements would always return _SUCCESS even it they
2189         returned NO_PREROLL before being locked.
2190         Fix the order of the state_change, async-start/done messages that was
2191         sometimes incorrect.
2192         Mark the state_dirty field as deprecated, we don't need it anymore as we
2193         are always up-to-date.
2194
2195         * gst/gstelement.c: (gst_element_get_state_func),
2196         (gst_element_continue_state):
2197         Small debug inprovements.
2198         Return the previous element state return when nothing is pending instead
2199         of blindly returning SUCCESS.
2200
2201         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2202         (gst_sinks_suite):
2203         Add a whole bunch of new testcases.
2204
2205 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2206
2207         * po/uk.po:
2208         * po/vi.po:
2209           Update translations.
2210
2211 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2212
2213         * gst/gstpad.c:
2214         Fix typo in the docs.
2215
2216 2007-06-15  Wim Taymans  <wim@fluendo.com>
2217
2218         * docs/libs/gstreamer-libs-sections.txt:
2219         Add docs for new methods.
2220
2221 2007-06-15  Wim Taymans  <wim@fluendo.com>
2222
2223         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2224         (gst_multi_queue_item_new):
2225         Don't use GSlice because we don't depend on >= 2.10 yet.
2226
2227 2007-06-15  Wim Taymans  <wim@fluendo.com>
2228
2229         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2230         (update_time_level), (apply_segment), (apply_buffer),
2231         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2232         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2233         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2234         (single_queue_underrun_cb), (single_queue_check_full):
2235         Remove debug printf.
2236
2237 2007-06-15  Wim Taymans  <wim@fluendo.com>
2238
2239         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2240         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2241         (gst_data_queue_set_flushing), (gst_data_queue_push),
2242         (gst_data_queue_pop), (gst_data_queue_drop_head),
2243         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2244         * libs/gst/base/gstdataqueue.h:
2245         Various cleanups.
2246         Added methods to get the current levels and to inform the queue that the
2247         'full' limits changed.
2248
2249         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2250         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2251         (gst_single_queue_flush), (update_time_level), (apply_segment),
2252         (apply_buffer), (gst_single_queue_push_one),
2253         (gst_multi_queue_item_steal_object),
2254         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2255         (gst_multi_queue_loop), (gst_multi_queue_chain),
2256         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2257         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2258         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2259         (single_queue_underrun_cb), (single_queue_check_full),
2260         (gst_single_queue_new):
2261         Keep track of time in the queue by measuring the difference between
2262         running_time on input and output. This gives more accurate results and
2263         can compensate for segments correctly.
2264         Make a queue by default only 5 buffers deep. We will now increase the
2265         buffer size depending on the filledness of the other queues.
2266         Factor out commong flush code.
2267         Make sure we don't add additional refcounts to buffers when we can avoid
2268         it.
2269         Propagate GstFlowReturn differently.
2270         Use GSlice for intermediate GstMultiQueueItems.
2271         Keep track of EOS.
2272         Resize queues on over and underruns based on filled level of other
2273         queues.
2274         When checking if the queue is filled, prefer to measure in time if we
2275         can and fall back to bytes when no time is known.
2276
2277         * plugins/elements/gstqueue.c:
2278         Fix return value.
2279
2280 2007-06-15  Wim Taymans  <wim@fluendo.com>
2281
2282         * libs/gst/base/gstbasetransform.c:
2283         (gst_base_transform_sink_event):
2284         Work around the brokenness of the event vmethod in basetransform. Prefer
2285         to return TRUE when the subclass returned FALSE (meaning don't forward
2286         the event). 
2287
2288         * libs/gst/base/gstbasetransform.h:
2289         Clarify the docs.
2290
2291 2007-06-15  Wim Taymans  <wim@fluendo.com>
2292
2293         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2294         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2295         (gst_base_src_default_query), (gst_base_src_get_range),
2296         (gst_base_src_start):
2297         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2298         Improve debugging.
2299
2300 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2301
2302         * docs/pwg/advanced-types.xml:
2303           Added more formats to caps table.
2304
2305 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2306
2307         * tools/gst-launch.c: (main):
2308           Remove crufy code. GOption does not need this workaround.
2309
2310 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2311
2312         * libs/gst/controller/gstcontroller.c:
2313         (gst_controlled_property_set_interpolation_mode):
2314           Fix wrong getter for enums in controller.
2315
2316 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2317
2318         * libs/gst/check/gstcheck.c: (gst_check_init):
2319           Intercept criticals and warnings in the Gst-Phonon log domain, so
2320           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2321           well.
2322         
2323 2007-06-14  Edward Hervey  <edward@fluendo.com>
2324
2325         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2326         Since this file doesn't include "gst.h" it will not go through the
2327         macros that disable GST_LOG if debugging was disabled.
2328
2329 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2330
2331         * libs/gst/check/Makefile.am:
2332         * libs/gst/check/gstcheck.h:
2333         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2334         * pkgconfig/gstreamer-check.pc.in:
2335           Ugly 'fix' for the controller unit test on the p5 bot: in
2336           fail_unless_equals_float() check whether the values are 'almost
2337           equal' by allowing a small absolute error, which should be good
2338           enough for our use cases (normal numbers and values close to 0).
2339           Proper fixage left to floating point arithmetic aficionados.
2340
2341 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2342
2343         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2344         (gst_base_sink_render_object), (gst_base_sink_get_position):
2345           Add two breaks thats where missing.
2346
2347 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2348
2349         * docs/libs/gstreamer-libs-sections.txt:
2350         * libs/gst/check/gstcheck.h:
2351           API: add fail_unless_equals_float() and assert_equals_float().
2352           Add documentation for some of the macros.
2353
2354         * tests/check/libs/controller.c: (GST_START_TEST):
2355           Use newly-added asserts.
2356
2357 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2358
2359         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2360           Show the caps change in the log to help spotting the case of not
2361           exactly matching caps.
2362
2363 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2364
2365         * docs/pwg/building-boiler.xml:
2366           Fix typos, spotted by Thijs Vermeir (#447190).
2367
2368 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2369
2370         * docs/plugins/tmpl/.cvsignore:
2371         Ignore file to keep the buildbots happy
2372
2373 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
2374
2375         * docs/plugins/Makefile.am:
2376         * docs/plugins/gstreamer-plugins-docs.sgml:
2377         * docs/plugins/gstreamer-plugins-sections.txt:
2378         Pull fdsink into the docs too.
2379
2380 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
2381
2382         * libs/gst/controller/gstinterpolation.c:
2383         Actually use the new functions with min/max checks for the trigger and
2384         none interpolation modes for get() and get_value_array() instead of
2385         just the latter.
2386
2387 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
2388
2389         * libs/gst/controller/gstcontroller.c:
2390         (gst_controlled_property_free):
2391         Unset the minimum and maximum GValues when freeing the corresponding
2392         GstControllerProperty struct.
2393
2394 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
2395
2396         * libs/gst/controller/gstcontroller.c:
2397         (gst_controlled_property_new):
2398         * libs/gst/controller/gstcontrollerprivate.h:
2399         * libs/gst/controller/gstinterpolation.c:
2400         (gst_controlled_property_find_control_point_node),
2401         (interpolate_none_get), (interpolate_none_get_enum_value_array),
2402         (interpolate_none_get_string_value_array),
2403         (interpolate_trigger_get),
2404         (interpolate_trigger_get_enum_value_array),
2405         (interpolate_trigger_get_string_value_array):
2406         Protect against values larger or smaller than the minimum or maximum
2407         allowed value for the property when using values that can be compared.
2408
2409         Optimize trigger interpolator a bit by taking the last requested value
2410         into account instead of always looping through the complete list.
2411
2412         Fix coding style a bit, everywhere else we use "return foo" instead
2413         of "return (foo)".
2414         
2415         * tests/check/libs/controller.c: (GST_START_TEST),
2416         (gst_controller_suite):
2417         Add unit test for the protection against too large or too small
2418         values.
2419
2420 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
2421
2422         * docs/random/slomo/controller.txt:
2423         Add some thoughts about the future of the controller.
2424
2425 2007-06-08  Wim Taymans  <wim@fluendo.com>
2426
2427         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2428         Don't overflow in retimestamping code.
2429
2430 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
2431
2432         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2433         Use gst_util_guint64_to_gdouble for conversions.
2434         * win32/common/libgstreamer.def:
2435         Add new exported functions.
2436
2437 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
2438
2439         * gst/gstutils.c:
2440           Small docs addition.
2441
2442 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2443
2444         * README:
2445           Remove that test line again.
2446
2447 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2448
2449         * README:
2450           Test commit mail sending.
2451
2452 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2453
2454         * configure.ac:
2455           Fix typo and test commit mail sending.
2456
2457 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
2458
2459         * tests/examples/controller/audio-example.c:
2460           Improve comment and test commit mail sending.
2461
2462 2007-06-07  Wim Taymans  <wim@fluendo.com>
2463
2464         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2465         (gst_bin_remove_func), (gst_bin_element_set_state),
2466         (bin_handle_async_start), (bin_handle_async_done),
2467         (gst_bin_handle_message_func):
2468         Add helper function to find messages.
2469         Generate the async-done messages together with the state change
2470         messages.
2471         Small cleanups in handling toplevel bins.
2472
2473 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2474
2475         * libs/gst/base/gstdataqueue.c:
2476         * libs/gst/base/gstdataqueue.h:
2477         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2478         (gst_multi_queue_item_new), (gst_multi_queue_chain),
2479         (gst_multi_queue_sink_event):
2480         * tests/check/elements/multiqueue.c: (multiqueue_suite):
2481           Fix multiqueue leaking buffers and events when downstream or the
2482           queue are flushing. Make refcounting assumptions explicit and
2483           document them (shouldn't break existing code that uses it other than
2484           maybe leak miniobjects, but that already happens anyway). Add unit
2485           test for the most common flushing case. Fixes #423700.
2486           
2487 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2488
2489         * libs/gst/controller/gstcontroller.c:
2490         Clarify docs: The get_all, get_value_array(s) functions
2491         don't modify the GObject properties.
2492
2493 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
2494
2495         * libs/gst/controller/gstcontroller.c:
2496         (gst_controlled_property_set_interpolation_mode),
2497         (gst_controlled_property_prepend_default),
2498         (gst_controlled_property_new), (gst_controller_set_unlocked),
2499         (gst_controller_set), (gst_controller_set_from_list),
2500         (gst_controller_unset), (gst_controller_unset_all):
2501         * libs/gst/controller/gstcontrollerprivate.h:
2502         * libs/gst/controller/gstinterpolation.c:
2503         Factor out the 'set' logic into gst_controller_set_unlocked for the
2504         gst_controller_set and gst_controller_set_from_list functions.
2505
2506         To make life of the interpolators easier always add a control point
2507         at timestamp zero with the default value.
2508
2509         In the linear interpolator make things more obvious by better variable
2510         naming (slope).
2511
2512         Implement cubic interpolation mode (by using a natural cubic spline)
2513         and map the quadratic interpolation mode to this too (as quadratic
2514         doesn't make much sense, see discussion on the list).
2515
2516         * tests/check/libs/controller.c: (GST_START_TEST),
2517         (gst_controller_suite):
2518         Add unit test for the cubic interpolation mode and check everywhere
2519         if the interpolation mode could be set as expected.
2520
2521 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2522
2523         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2524           Don't use GLib-2.10 functions, we still depend on
2525           GLib-how-old-is-it-again-2.8.
2526
2527 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
2528
2529         * docs/gst/gstreamer-sections.txt:
2530         * gst/Makefile.am:
2531         * gst/gst.c:
2532         * gst/gst.h:
2533         * gst/gstparamspecs.c: (_gst_param_fraction_init),
2534         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2535         (_gst_param_fraction_values_cmp),
2536         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2537         * gst/gstparamspecs.h:
2538         * gst/gstvalue.c:
2539         * tests/check/Makefile.am:
2540         * tests/check/gst/.cvsignore:
2541         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2542         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2543         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2544         (GST_START_TEST), (gst_param_spec_suite):
2545           API: add GstParamSpecFraction, so elements can have fraction
2546           properties without lots of painful string parsing (#444648).
2547
2548 2007-06-05  Wim Taymans  <wim@fluendo.com>
2549
2550         * gst/gstobject.c: (gst_object_class_init):
2551         Fix signal signature.
2552
2553         * gst/gstsegment.c:
2554         Add small clarification in the api docs.
2555
2556         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2557         States are protected with object lock.
2558
2559 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2560
2561         * AUTHORS:
2562         I should probably be listed as an author by now.
2563
2564         * docs/random/release:
2565         Update the release doc
2566
2567 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
2568
2569         * gst/gstvalue.c:
2570           Make docs for gst_value_compare() mention return enums that
2571           actually exist.
2572
2573 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
2574
2575         * configure.ac:
2576           Back to CVS
2577
2578 === release 0.10.13 ===
2579
2580 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
2581
2582         * configure.ac:
2583           releasing 0.10.13, "With or without you"
2584
2585 2007-05-25  Wim Taymans  <wim@fluendo.com>
2586
2587         * gst/gstbin.c: (bin_handle_async_done):
2588         Make sure that the child bin stops after completing the async state
2589         change so that the parent can continue the state change to PLAYING.
2590         Fixes #441159.
2591
2592 2007-05-25  Wim Taymans  <wim@fluendo.com>
2593
2594         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2595         (unref_data), (gst_collect_pads_remove_pad),
2596         (gst_collect_pads_check_pads):
2597         Use additional refcounting to avoid crashes when dynamically adding and
2598         removing pads. Fixes #420206.
2599
2600 2007-05-24  Wim Taymans  <wim@fluendo.com>
2601
2602         * tools/gst-launch.c: (event_loop):
2603         When buffering goes from a two digit to a single digit number, make sure
2604         to remove the old second digit by writing a blank over it.
2605
2606 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2607
2608         * libs/gst/base/gstdataqueue.c:
2609           Eliminate tabs and trailing comma in enum list; fix some typos.
2610
2611 2007-05-24  Wim Taymans  <wim@fluendo.com>
2612
2613         * tests/check/gst/gstbin.c: (GST_START_TEST):
2614         Allow refcount of 3 and 4 because some state thread might still be busy
2615         with it.
2616
2617 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2618
2619         * plugins/elements/Makefile.am:
2620         * plugins/elements/gstmultiqueue.h:
2621         * plugins/elements/gstqueue.h:
2622           These are not installed headers, no need for padding.
2623
2624 2007-05-24  Wim Taymans  <wim@fluendo.com>
2625
2626         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
2627         (gst_bin_continue_func):
2628         Enable latency for next release.
2629         Restore STATE_LOCK around recalc_state that was left out during the
2630         rewrite and could result in racy behaviour when _get_state and
2631         recalc_state are run concurrently. See #440463.
2632
2633 2007-05-23  Wim Taymans  <wim@fluendo.com>
2634
2635         * tests/check/gst/gstsystemclock.c: (store_callback),
2636         (GST_START_TEST):
2637         Improve test_async_order to also work when both timers are already
2638         expired when we get scheduled to check it.
2639
2640 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2641
2642         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
2643         (gst_bin_set_property), (gst_bin_get_property),
2644         (gst_bin_remove_func), (gst_bin_handle_message_func):
2645         * gst/gstbin.h:
2646           'private' is a c++ keyword, let's not use that in header files,
2647           otherwise c++ compilers will throw a tantrum.
2648
2649 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2650
2651         * plugins/elements/gstelements.c:
2652         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
2653         (gst_file_sink_get_current_offset):
2654         * plugins/indexers/gstindexers.c: (plugin_init):
2655           Use #ifdef for HAVE_XYZ for consistency.
2656
2657         * tests/check/Makefile.am:
2658         * tests/check/elements/.cvsignore:
2659         * tests/check/elements/filesink.c: (setup_filesink),
2660         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
2661           Add some unit tests for filesink.
2662
2663 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
2664
2665         Patch by: Mark Nauwelaerts <manauw at skynet be>
2666
2667         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2668         (gst_file_sink_query), (gst_file_sink_do_seek),
2669         (gst_file_sink_get_current_offset), (gst_file_sink_render):
2670         * plugins/elements/gstfilesink.h:
2671           Fix position reporting; rename data_written member to current_pos to
2672           reflect its real meaning (fixes #412648).
2673
2674 2007-05-22  Edward Hervey  <edward@fluendo.com>
2675
2676         * docs/gst/gstreamer-sections.txt:
2677         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2678         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
2679         (gst_bin_remove_func), (gst_bin_handle_message_func):
2680         * gst/gstbin.h:
2681         Add a property for bins that handle the state change of their childs.
2682         Fixes #435880
2683
2684 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2685
2686         * libs/gst/controller/gstinterpolation.c:
2687         Use an array of the correct type when using _get_value_array with
2688         linear interpolation.
2689
2690 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
2691
2692         * gst/gstelement.c (gst_element_requires_clock,
2693           gst_element_provides_clock, gst_element_request_pad,
2694           gst_element_class_set_details, gst_element_class_set_details_simple,
2695           gst_element_default_send_event, gst_element_abort_state,
2696           gst_element_continue_state, gst_element_set_state,
2697           gst_element_set_state_func, iterator_activate_fold_with_resync):
2698         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
2699           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
2700           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
2701           gst_pad_get_range, gst_pad_pull_range):
2702         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
2703           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
2704           GstPadActivateModeFunction, GstPadChainFunction,
2705           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
2706           GstPadFixateCapsFunction, GstPadTemplate):
2707         * gst/gstpipeline.c (gst_pipeline_change_state,
2708           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
2709           gst_pipeline_set_clock, gst_pipeline_auto_clock,
2710           gst_pipeline_get_delay):
2711           Whitespace and docs fixes.
2712
2713 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2714
2715         * libs/gst/controller/gstinterpolation.c:
2716         (interpolate_trigger_get_enum_value_array),
2717         (interpolate_trigger_get_string_value_array):
2718         Add support for retrieving value arrays when using the trigger
2719         interpolation mode. 
2720
2721 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2722
2723         * libs/gst/controller/gstcontroller.c:
2724         (gst_controller_get_value_array):
2725         * libs/gst/controller/gstcontroller.h:
2726         Clarify the docs of gst_controller_get_value_array(): The array where
2727         the values should be written to must be allocated as there seems to be
2728         no way to get the size of a random GType. This doesn't change any
2729         behaviour. Also fix some typos all over the place and remove an unused,
2730         commented function that is not necessary as g_object_set() could be
2731         used instead.
2732         * tests/check/libs/controller.c: (GST_START_TEST),
2733         (gst_controller_suite):
2734         Add unit test for gst_controller_get_value_array().
2735
2736 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
2737
2738         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2739
2740         Disable part of the gst_buffer_try_new_and_alloc test, because
2741         it can happily succeed on 64-bit systems where there's more address
2742         space available.
2743
2744 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2745
2746         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2747         Add unit test for the improved caps checking from bug #421543.
2748
2749 2007-05-21  Wim Taymans  <wim@fluendo.com>
2750
2751         * docs/design/part-synchronisation.txt:
2752         Small addition.
2753
2754         * gst/gstbin.c: (gst_bin_query):
2755         * plugins/elements/gstqueue.c: (apply_segment):
2756         Improve debugging.
2757
2758         * gst/gstmessage.h:
2759         Improve docs.
2760
2761 2007-05-21  Wim Taymans  <wim@fluendo.com>
2762
2763         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
2764         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
2765         (gst_pad_configure_src):
2766         Added simple version of improved caps checking. It was previously
2767         assumed that a setcaps function would check the validity of the caps but
2768         people prefer us to check caps against the template automatically. 
2769         Fixes #421543.
2770
2771 2007-05-21  Wim Taymans  <wim@fluendo.com>
2772
2773         * libs/gst/base/gstbasetransform.h:
2774         Fix macro for locking/unlocking the transform lock.
2775
2776 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2777
2778         * docs/plugins/tmpl/.cvsignore:
2779           Ignore more.
2780
2781 2007-05-18  Edward Hervey  <edward@fluendo.com>
2782
2783         * plugins/elements/gstqueue.c: (gst_queue_loop):
2784         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
2785         for the subtle art of warning a potentially blocking thread that it
2786         should check the source pad return value, and relay the information
2787         upstream.
2788
2789 2007-05-18  Edward Hervey  <edward@fluendo.com>
2790
2791         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2792         Release the queue lock !
2793
2794 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2795
2796         * docs/libs/gstreamer-libs-sections.txt:
2797         Add the two new controller functions to the appropiate places.
2798
2799 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2800
2801         reviewed by: Stefan Kost <ensonic@users.sf.net>
2802
2803         * libs/gst/controller/gstcontroller.c:
2804         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
2805         (_gst_controller_get_property), (_gst_controller_set_property),
2806         (_gst_controller_init), (_gst_controller_class_init):
2807         * libs/gst/controller/gstcontroller.h:
2808         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
2809         (gst_object_get_control_rate), (gst_object_set_control_rate):
2810         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
2811         Add API that provides sync suggestion timestamps for elements that
2812         call gst_object_sync_values() from which those elements can subdivide
2813         their processing loop to get the best results for the controlled
2814         properties. For now it just suggests last_sync + control_rate as
2815         new timestamp but this will be improved in the future.
2816
2817         While doing that change the control-rate property to a GstClockTime
2818         from guint and change it's meaning from samples to nanoseconds as
2819         the GstController doesn't know anything about sampling rate. Strictly
2820         speaking this breaks ABI but as the control-rate property didn't do
2821         anything in the past and as such couldn't be used this should be no
2822         problem.        
2823
2824 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2825
2826         reviewed by: Stefan Kost <ensonic@users.sf.net>
2827
2828         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2829         (gst_controller_unset_all):
2830         * libs/gst/controller/gstcontrollerprivate.h:
2831         * libs/gst/controller/gstinterpolation.c:
2832         (gst_controlled_property_find_control_point_node):
2833         Save last synced value from the list to continue searching from there
2834         in future syncs. This speeds everything up a bit.
2835         
2836 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2837
2838         reviewed by: Stefan Kost <ensonic@users.sf.net>
2839
2840         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
2841         (gst_control_point_find), (gst_controlled_property_new),
2842         (gst_control_point_free), (gst_controlled_property_free),
2843         (gst_controller_set), (gst_controller_set_from_list),
2844         (gst_controller_unset), (gst_controller_unset_all),
2845         (gst_controller_sync_values):
2846         * libs/gst/controller/gstcontroller.h:
2847         * libs/gst/controller/gstcontrollerprivate.h:
2848         * libs/gst/controller/gstinterpolation.c:
2849         (gst_controlled_property_find_control_point_node),
2850         (interpolate_none_get), (interpolate_trigger_get):
2851         Add a new private GstControlPoint struct which "inherits" from
2852         GstTimedValue to allow different interpolators to store internal
2853         values next to each control point. From the outside everything is
2854         still a GstControlPoint so we don't loose binary compatibility.
2855         Also fixup all the GValue handling to not leak GValues or list nodes.
2856         * tests/check/libs/controller.c: (GST_START_TEST):
2857         Free the list nodes and GValues in the controller_misc test.
2858
2859 2007-05-17  Edward Hervey  <edward@fluendo.com>
2860
2861         * gst/gstsegment.c:
2862         Small doc fix.
2863
2864 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2865
2866         * gst/gstplugin.c: (gst_plugin_load_file):
2867           If we fail to load a plugin because of unresolved symbols or missing
2868           libraries and spew a warning to stderr, we may just as well mention
2869           which plugin it was that failed to load.
2870
2871 2007-05-13  David Schleef  <ds@schleef.org>
2872
2873         * docs/Makefile.am: the gtk-doc makefile snippet correctly
2874           handles the case when ENABLE_GTK_DOC is false, and installs
2875           the prebuilt documentation.  So gtk-doc subdirs are 
2876           unconditionally enabled.  Fixes: #349099.
2877
2878 2007-05-13  David Schleef  <ds@schleef.org>
2879
2880         * gst/gstutils.h: Reword some documentation.
2881
2882 2007-05-12  David Schleef  <ds@schleef.org>
2883
2884         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
2885           do anything with the passed "module" parameter, so remove it.
2886           Allows removal of additional vestigal code.
2887
2888 2007-05-12  David Schleef  <ds@schleef.org>
2889
2890         * gst/gstplugin.c:
2891           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
2892           Switch to using g_stat() because it's more portable.
2893
2894 2007-05-12  David Schleef  <ds@schleef.org>
2895
2896         * gst/gst.c:
2897           Add GST_DISABLE_OPTION_PARSING, in order to disable option
2898           parsing for embedded systems.
2899         * gst/gstelementfactory.c:
2900           Allow gst_element_register() to be called with plugin==NULL.
2901           Did nobody notice that static elements were broken?
2902
2903 2007-05-12  Wim Taymans  <wim@fluendo.com>
2904
2905         * tools/gst-launch.c: (event_loop):
2906         Give more interesting info when buffering starts and stops.
2907         Fix case where buffering starts but we fail to update the buffering flag
2908         because the target state is not PLAYING.
2909
2910 2007-05-12  Wim Taymans  <wim@fluendo.com>
2911
2912         * plugins/elements/gstqueue.c: (gst_queue_init),
2913         (gst_queue_finalize), (update_time_level), (apply_segment),
2914         (apply_buffer), (gst_queue_locked_flush),
2915         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
2916         (gst_queue_handle_sink_event), (gst_queue_chain),
2917         (gst_queue_push_one), (gst_queue_loop):
2918         * plugins/elements/gstqueue.h:
2919         Refactor an cleanup queue a bit.
2920         Do better time level calculations that also work when the srcpad is not
2921         yet running.
2922         Remove some unneeded debug lines.
2923
2924         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
2925         Added testcase for time level measurement.
2926         Try to make some stuff more racefree.
2927
2928 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2929
2930         * gst/gsturi.c: (gst_element_make_from_uri):
2931           Don't leak plugin feature.
2932
2933         * tests/check/Makefile.am:
2934         * tests/check/gst/.cvsignore:
2935         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
2936           Add brain-dead unit test.
2937
2938 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
2939
2940         Patch by: Jeroen Wouters <woutersj at gmail com>
2941
2942         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
2943           Treat protocol strings in a case-insensitive way (#437563).
2944
2945 2007-05-11  Michael Smith <msmith@fluendo.com>
2946
2947         * gst/gstplugin.c: (gst_plugin_load_file):
2948         * gst/gstregistry.c: (gst_registry_scan_path_level):
2949           Don't print a g_warning for any failure to load a shared object.
2950           Instead, push this down into gstplugin.c, and warn _only_ if we
2951           failed to open the module (i.e. failure to link).
2952           Avoids warnings on normal, working, non-plugin .so files.
2953
2954 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
2955
2956         * gst/gstplugin.c (gst_plugin_load_file):
2957         * gst/gstregistry.c (GST_CAT_DEFAULT,
2958           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
2959           Print a g_warning if there was an error when loading a plugins during
2960           registry scan. The shuld help beginners starting with gst-plugin
2961           template.
2962
2963 2007-05-10  Wim Taymans  <wim@fluendo.com>
2964
2965         * plugins/elements/gstqueue.c: (gst_queue_class_init),
2966         (update_time_level), (gst_queue_locked_flush),
2967         (gst_queue_handle_sink_event), (gst_queue_chain),
2968         (gst_queue_push_one), (gst_queue_loop):
2969         * plugins/elements/gstqueue.h:
2970         Be smarter when calculating the current amount of data in the queue by
2971         measuring the difference between start and end timestamps (in running
2972         time) inside the queue. Fixes #432876.
2973         API: GstQueue::pushing to notify elements that we are pushing data again
2974         since the running signal is rather broken for this purpose.
2975
2976 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
2977
2978         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
2979           gst_queue_base_init, gst_queue_init):
2980           use GST_BOILERPLATE
2981
2982 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
2983
2984         * win32/common/libgstreamer.def:
2985         Add new exported functions.
2986         * win32/vs6/grammar.dsp:
2987         Use grammar pre-generated files.
2988
2989 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
2990
2991         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
2992
2993         * gst/Makefile.am:
2994         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
2995         * gst/gstparse.h:
2996         * gst/gstutils.c: (gst_parse_bin_from_description):
2997         * gst/gstutils.h:
2998           Maintain API and ABI when --disable-parse is used. Now that
2999           we have an appropriate error code, we can just return NULL and the
3000           appropriate error when gst_parse_launch() is used despite it having
3001           been disabled (#342564).
3002
3003         * tests/check/Makefile.am:
3004         * tests/check/pipelines/.cvsignore:
3005         * tests/check/pipelines/parse-disabled.c:
3006           Make sure these functions exist and return NULL plus a GError when
3007           --disable-parse is used.
3008
3009 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3010
3011         * tests/benchmarks/complexity.c: (main):
3012         * tests/benchmarks/mass-elements.c: (main):
3013           Set a good example and don't leak messages.
3014
3015 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3016
3017         * docs/gst/Makefile.am:
3018         * docs/libs/Makefile.am:
3019           Correct fixxrefs options.
3020
3021         * docs/plugins/Makefile.am:
3022         * docs/plugins/gstreamer-plugins-docs.sgml:
3023         * docs/plugins/gstreamer-plugins-sections.txt:
3024         * plugins/elements/Makefile.am:
3025         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3026         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3027           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3028           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3029           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3030           _GstCapsFilterClass, trans_class):
3031         * plugins/elements/gstelements.c (name, rank, type, _elements):
3032         * plugins/elements/gstidentity.c
3033           (gst_identity_check_imperfect_timestamp,
3034           gst_identity_check_imperfect_offset):
3035           Document capsfilter and add doc-blurb to identity.
3036
3037 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3038
3039         * libs/gst/controller/gstcontroller.c:
3040         (gst_controlled_property_set_interpolation_mode):
3041         * libs/gst/controller/gstinterpolation.c:
3042           Don't crash if someone tries to set an interpolation mode that
3043           is invalid or that isn't supported yet. Fixes #422295.
3044
3045         * tests/check/libs/controller.c: (GST_START_TEST),
3046         (gst_controller_suite):
3047           Add a test case for the above.
3048
3049 2007-05-03  Edward Hervey  <edward@fluendo.com>
3050
3051         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3052         Properly set the last_stop position on GstSegment. This will only happen
3053         if there is a buffer to push out.
3054
3055 2007-05-03  Wim Taymans  <wim@fluendo.com>
3056
3057         * libs/gst/base/gstbasetransform.c:
3058         (gst_base_transform_buffer_alloc):
3059         always_in_place does not mean that the sink and source caps are the
3060         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3061
3062 2007-05-03  Wim Taymans  <wim@fluendo.com>
3063
3064         * docs/libs/gstreamer-libs-sections.txt:
3065         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3066         (gst_base_src_default_query), (gst_base_src_get_range):
3067         * libs/gst/base/gstbasesrc.h:
3068         API: gst_base_src_query_latency(). Added method so that subclasses can
3069         easily get the latency values of the base source class.
3070
3071 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3072
3073         * tools/gst-inspect.c (print_implementation_info):
3074         Remove 0.8 cruft.
3075
3076 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3077
3078         * tools/Makefile.am:
3079         * tools/gst-launch.1.in:
3080           Don't create a customised man page based on the host architecture,
3081           describe the default registry path generically. That way the man
3082           page is the same for all architectures and packagers have one
3083           multilib issue less to deal with. Fixes #434926.
3084
3085 2007-05-02  Wim Taymans  <wim@fluendo.com>
3086
3087         * gst/gstpad.c:
3088         Fix documentation as spotted by rg on IRC. 
3089
3090 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3091
3092         * gst/gstutils.c:
3093           Improve docs for gst_element_{link,unlink}.
3094
3095 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3096
3097         * docs/design/part-events.txt:
3098         * docs/design/part-overview.txt:
3099         * gst/gstevent.c:
3100         * gst/gsturi.c:
3101         * gst/gsturi.h:
3102         * libs/gst/base/gstbasesink.c:
3103           Typo fixes; minor docs addition.
3104
3105 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3106
3107         * docs/gst/gstreamer-sections.txt:
3108         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3109         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3110         * gst/gsturi.h:
3111         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3112         or src that supports a given URI protocol exists.
3113
3114 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3115
3116         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3117         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3118         Set the location to NULL if "file://" is set as URI. Otherwise
3119         some random previous URI would still be set if "file://" is
3120         set on an already used filesink/filesrc.
3121
3122 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3123
3124         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3125         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3126         Special case the "file://" URI as as this is used by some
3127         applications to test with gst_element_make_from_uri if there's
3128         an element that supports the URI protocol.
3129         Also move the g_path_is_absolute() check for the location part
3130         of the URI to also check this for "file://localhost/bla" URIs.
3131
3132 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3133
3134         * docs/gst/gstreamer-sections.txt:
3135         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3136         * gst/gstbuffer.h:
3137         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3138         (gst_buffer_suite):
3139           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3140
3141 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3142
3143         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3144         (gst_registry_binary_load_pad_template),
3145         (gst_registry_binary_load_plugin),
3146         (gst_registry_binary_read_cache):
3147         * gst/gstregistrybinary.h:
3148           Implement no-mmap alternative for registry reading. Do code cleanups.
3149           Add more comments about avoiding strdups for all text data. Comments
3150           welcome.
3151
3152 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3153
3154         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3155           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3156           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3157           Comment structs and reformat to fix the build (that stuff should go
3158           into a priv. header).
3159
3160 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3161
3162         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3163         (gst_registry_binary_load_feature):
3164         * gst/gstregistrybinary.h:
3165           Refactor so that we can implement multiple features. Add support for
3166           TypeFindFactory features.
3167
3168 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3169
3170         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3171
3172         * configure.ac:
3173           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3174
3175 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3176
3177         * gst/gstbin.c: (gst_bin_element_set_state),
3178         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3179         (bin_handle_async_done), (gst_bin_handle_message_func):
3180           Fix build with --gst-disable-gst-debug
3181
3182 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3183
3184         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3185           Make sure streaming has finished before calling the ::stop() vfunc,
3186           since that vfunc might clear state which is being used in the
3187           streaming thread. This fixes a race that caused crashes in
3188           audioresample when shutting down a pipeline (#420106).
3189
3190 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3191
3192         * docs/gst/gstreamer-sections.txt:
3193           That was one byte missing.
3194
3195 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3196
3197         * configure.ac:
3198         * docs/gst/gstreamer-sections.txt:
3199         * gst/Makefile.am:
3200         * gst/gstconfig.h.in:
3201         * gst/gstobject.c: (gst_object_class_init),
3202         (gst_signal_object_class_init):
3203         * gst/gstobject.h:
3204           2nd attempt to have a xml-less build as a joined effort of #413123
3205           and #421480.
3206
3207 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3208
3209         * docs/design/draft-tagreading.txt:
3210           Added open issues/thoughts to draft.
3211
3212 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3213
3214         * gst/parse/grammar.tab.pre.c:
3215         * gst/parse/grammar.tab.pre.h:
3216         * gst/parse/lex._gst_parse_yy.pre.c:
3217         Update the prebuild parser sources.
3218
3219 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3220
3221         * gst/parse/Makefile.am:
3222         And now fix the building of the flex sources. Now everything should
3223         work as expected.
3224
3225 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3226
3227         * gst/parse/Makefile.am:
3228         Now hopefully fix the build failures by setting proper rule
3229         dependencies and moving instead of copying.
3230
3231 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3232
3233         * tests/benchmarks/complexity.gnuplot:
3234         * tests/benchmarks/complexity.scm:
3235         * tests/benchmarks/mass-elements.gnuplot:
3236         * tests/benchmarks/mass-elements.scm:
3237           Total licensification.
3238
3239 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3240
3241         * gst/parse/Makefile.am:
3242           Fix the build by correcting the rule that gave wrong files to flex.
3243
3244 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3245
3246         * tests/benchmarks/complexity.c:
3247         * tests/benchmarks/mass-elements.c:
3248           Change licence to LGPL as granted by Benjamin and Andy.
3249
3250 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3251
3252         * gst/parse/Makefile.am:
3253         Add correct grammar.tab.h dependency if compiling without new enough
3254         flex. Fixes #431150.
3255
3256 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3257
3258         * gst/parse/Makefile.am:
3259         Fix typo and use outdated sources if the flex/bison sources are newer
3260         than the pregenerated ones but flex is too old. Print a warning in
3261         that case. This should fix the build on the build bot.
3262
3263 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3264
3265         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3266         * gst/parse/Makefile.am:
3267         * gst/parse/grammar.y:
3268         * gst/parse/parse.l:
3269         Make the parser reentrant and recursively callable. This requires flex
3270         >= 2.5.31, for older versions pregenerated sources are used as we
3271         can't bump the build dependency. Finally fixes #349180.
3272
3273         * gst/gstparse.c: (gst_parse_launch):
3274         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3275         now anyway.
3276
3277         * docs/gst/Makefile.am:
3278         * docs/gst/Makefile.am:
3279         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3280         (__gst_parse_strfree), (__gst_parse_link_new),
3281         (__gst_parse_link_free), (__gst_parse_chain_new),
3282         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3283         (gst_parse_element_set), (gst_parse_free_link),
3284         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3285         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3286         (_gst_parse_launch):
3287         * gst/parse/grammar.tab.pre.h:
3288         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3289         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3290         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3291         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3292         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3293         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3294         (_gst_parse_yypop_buffer_state),
3295         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3296         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3297         (yy_fatal_error), (_gst_parse_yyget_extra),
3298         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3299         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3300         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3301         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3302         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3303         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3304         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3305         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3306         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3307         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3308         (_gst_parse_yyfree):
3309         If the installed flex version is too old use pre-generated parser
3310         sources. These pre-generated parser sources are always updated when
3311         the actual flex/bison sources change but require everybody who wants
3312         to change something in the parser to have flex >= 2.5.31 installed.
3313
3314 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3315
3316         * common/m4/gst-gettext.m4:
3317         * gst/gst-i18n-lib.h:
3318           Make --disable-nls to work
3319
3320 2007-04-17  Wim Taymans  <wim@fluendo.com>
3321
3322         * gst/gstconfig.h.in:
3323         Revert previous change that broke the build.
3324
3325 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3326
3327         * configure.ac:
3328         * gst/Makefile.am:
3329         * gst/gstconfig.h.in:
3330           Drop libxml2 dependency when building with 
3331           --enable-binary-registry --disable-loadsave
3332
3333 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3334
3335         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3336         (gst_registry_binary_read_cache):
3337         * gst/gstregistrybinary.h:
3338           Remove unnecessary <sys/mman.h> include which broke the win32 build
3339           with MingW; move includes from header file to .c file, even if the
3340           header file isn't installed; use g_strerror() where UTF-8 strings
3341           are expected, such as in GST_DEBUG messages.
3342
3343 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3344
3345         * docs/libs/gstreamer-libs-sections.txt:
3346         Remove bogus addition for API I didn't end up keeping.
3347
3348         * libs/gst/base/gstbasesrc.h:
3349         Mention Since: 0.10.13 in the documentation.
3350
3351         Add the API keyword to the previous ChangeLog entry.
3352
3353 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3354
3355         * docs/libs/gstreamer-libs-sections.txt:
3356         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3357         (gst_base_src_default_prepare_seek_segment),
3358         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3359         * libs/gst/base/gstbasesrc.h:
3360         Allow basesrc derived classes to execute seeks in other formats
3361         by providing a prepare_seek_segment vmethod. Sub-classes can choose
3362         to prepare the GstSegment in any format that their perform_seek method
3363         will be able to understand. The default implementation provides the
3364         old behaviour of attempting to convert the seek offsets to the 
3365         configured native format.
3366
3367         API: basesrc::prepare_seek_segment vmethod.
3368
3369 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3370
3371         * gst/gstelement.c: (gst_element_get_state_func):
3372         Don't output the same debug statement twice.
3373
3374         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3375         (gst_adapter_peek), (gst_adapter_take_buffer):
3376         Optimise the case where we have buffers at the head of the queue that
3377         can be joined quickly (because they're contiguous sub-buffers) by
3378         merging them together rather than copying data out into new memory.
3379
3380         * gst/parse/grammar.y:
3381         * tests/check/pipelines/parse-launch.c:
3382         Fix a leak in an error path for parse_launch, and add a check 
3383         for it to the testsuite.
3384
3385 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3386
3387         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3388           Don't deadlock when releasing a pad - gst_pad_set_active may try
3389           and take the multiqueue lock too.
3390
3391 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3392
3393         * gst/gsterror.c: (_gst_core_errors_init):
3394         * gst/gsterror.h:
3395           API: add GST_CORE_ERROR_DISABLED (#392804).
3396
3397 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3398
3399         * docs/faq/gst-uninstalled:
3400           don't get empty paths on the PATH variables
3401         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3402           Don't format for the uncommon terminal width of 84 characters.
3403
3404 2007-04-06  Wim Taymans  <wim@fluendo.com>
3405
3406         * gst/gstpipeline.c: (reset_stream_time),
3407         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3408         Only try to select a different pipeline clock when we went back to
3409         PAUSED and not when we merely got flushed.
3410
3411 2007-04-05  Michael Smith  <msmith@fluendo.com>
3412
3413         * tools/gst-launch.1.in:
3414           fractions are better supported in gstreamer than ractions, so
3415           suggest using those.
3416
3417 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3418
3419         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3420
3421         * po/LINGUAS:
3422         * po/da.po:
3423           Added Danish translation.
3424
3425 2007-04-05  Wim Taymans  <wim@fluendo.com>
3426
3427         * libs/gst/base/gstbasesink.c:
3428         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3429         Fix leak caused when refusing newsegment after EOS.
3430
3431         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3432         (gst_fake_sink_init), (gst_fake_sink_set_property),
3433         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3434         (gst_fake_sink_render), (gst_fake_sink_change_state):
3435         * plugins/elements/gstfakesink.h:
3436         Add num-buffers property to make the element generate EOS after a
3437         configurable amount of buffers.
3438         API: fakesink::num-buffers property.
3439
3440         * tests/check/elements/fakesink.c: (GST_START_TEST),
3441         (fakesink_suite):
3442         Fix GstBus leak in test.
3443         Test for fakesink num-buffers.
3444
3445 2007-04-05  Wim Taymans  <wim@fluendo.com>
3446
3447         * libs/gst/base/gstbasesink.c:
3448         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3449         (gst_base_sink_change_state):
3450         Don't accept anything after an EOS, return UNEXPECTED instead.
3451
3452         * tests/check/elements/fakesink.c: (GST_START_TEST),
3453         (fakesink_suite):
3454         Unit test for new EOS behaviour.
3455
3456 2007-04-05  Wim Taymans  <wim@fluendo.com>
3457
3458         * gst/gstelement.c: (gst_element_get_request_pad):
3459         Make padtemplates also work when they don't contain %s or %d.
3460
3461 2007-04-05  Wim Taymans  <wim@fluendo.com>
3462
3463         * docs/gst/gstreamer-sections.txt:
3464         * gst/gstclock.c: (gst_clock_adjust_unlocked),
3465         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3466         * gst/gstclock.h:
3467         Improve _adjust_unlocked() so that it overflows less.
3468         Add gst_clock_unadjust_unlocked to convert from external time to
3469         internal time based on calibration.
3470         Add some more debug.
3471         API: GstClock::gst_clock_unadjust_unlocked()
3472
3473 2007-04-03  Wim Taymans  <wim@fluendo.com>
3474
3475         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3476
3477         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3478         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3479         when releasing sink pad. Fixes #425400.
3480
3481 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
3482
3483         * docs/random/ensonic/dynlink.txt:
3484           More work on proposal for new core api.
3485
3486         * docs/libs/gstreamer-libs-sections.txt:
3487         * libs/gst/base/gstbasetransform.h:
3488           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3489           
3490         * libs/gst/controller/gstcontroller.c:
3491         (on_object_controlled_property_changed),
3492         (gst_controller_sync_values),
3493         (gst_controller_set_interpolation_mode):
3494         * libs/gst/controller/gstcontroller.h:
3495           Less verbose logging add docs for unimplemented parts and correctly
3496           return when using unavailable parts.
3497
3498 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3499
3500         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3501         Move all the debug to the CLOCK category, and associate it with
3502         the clock object.
3503
3504 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
3505
3506         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3507         Make take_buffer a bit quicker by removing redundant checks
3508         caused by calling gst_adapter_take.
3509
3510 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3511
3512         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3513           Don't leak GCond.
3514
3515         * tests/check/Makefile.am:
3516         * tests/check/elements/.cvsignore:
3517         * tests/check/elements/multiqueue.c: (setup_multiqueue),
3518         (GST_START_TEST), (multiqueue_suite):
3519           Add some dead simple unit tests for the 'multiqueue' element
3520           (some bits don't work yet and are disabled for now).
3521
3522 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
3523
3524         * gst/gstelement.c: (gst_element_get_request_pad),
3525         (gst_element_class_get_request_pad_template):
3526           Make gst_element_get_request_pad() create request pads only for
3527           request pad templates and not for, say, sometimes pad templates.
3528
3529 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
3530
3531         * docs/design/draft-klass.txt:
3532           Add example that needs more thinking.
3533         
3534         * docs/design/draft-missing-plugins.txt:
3535           More thoughts about wrapper plugins.
3536         
3537         * docs/random/ensonic/embedded.txt:
3538         * docs/random/ensonic/profiling.txt:
3539           More design work.
3540
3541 2007-03-25  Wim Taymans  <wim@fluendo.com>
3542
3543         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3544         (gst_base_src_loop):
3545         Only push the segment events in the PLAYING state for live sources.
3546
3547 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
3548
3549         * gst/gstpipeline.c: (gst_pipeline_change_state):
3550         Modify the clock distribution path in PAUSED->PLAYING so that we 
3551         never attempt to choose a new clock unless we're actually leaving
3552         the PAUSED state for the first time. This prevents choosing a
3553         different clock when the state_change gets called for a 2nd time due
3554         to some element doing an async state change.
3555
3556 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3557
3558         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3559         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3560         (gst_pad_chain_unchecked), (gst_pad_push):
3561         Revert last commit. This needs some more thoughts.
3562
3563 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
3564
3565         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3566         (gst_pad_chain_unchecked), (gst_pad_push):
3567         Check in set_caps if the caps are compatible with the pad and remove
3568         two functions that are redundant now. Fixes #421543.
3569
3570 2007-03-22  Wim Taymans  <wim@fluendo.com>
3571
3572         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3573         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3574         Unref some more to make valgrind happy.
3575
3576 2007-03-22  Wim Taymans  <wim@fluendo.com>
3577
3578         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3579         (gst_system_clock_id_wait_jitter),
3580         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3581         Fix anoying regression that survived a few releases. When adding an
3582         async entry while blocking on a sync entry, the sync entry will unblock
3583         but still be busy, so it should continue to wait instead of returning
3584         _BUSY to the app.
3585         Add some comments here and there.
3586
3587         * tests/check/gst/gstsystemclock.c: (mixed_thread),
3588         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3589         Add testcase for this.
3590
3591 2007-03-22  Wim Taymans  <wim@fluendo.com>
3592
3593         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3594         Handle errors from the clock sync better, only UNSCHEDULED indicates a
3595         WRONG_STATE and can silently pause the task. All other cases should
3596         error out.
3597
3598 2007-03-22  Wim Taymans  <wim@fluendo.com>
3599
3600         Patch by: Ville Syrjala <syrjala at sci dot fi>
3601
3602         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3603         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
3604         Improve debugging.
3605
3606 2007-03-21  Michael Smith  <msmith@fluendo.com>
3607
3608         * docs/pwg/advanced-types.xml:
3609           Fix some errors in the typefinding docs pointed out on irc.
3610
3611 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
3612
3613         * libs/gst/base/gstbasesrc.c:
3614         Clarify FIXME comment in the face of having added unlock_stop()
3615
3616 2007-03-21  Wim Taymans  <wim@fluendo.com>
3617
3618         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
3619         Prepare for release where we warn against possible app breakage in the
3620         case of live pipelines along with an env var to enable/disable live
3621         preroll mode (GST_COMPAT=[no-]live-preroll).
3622
3623 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3624
3625         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
3626         So we should use correct constants for checking for None offset.
3627
3628 2007-03-20  Wim Taymans  <wim@fluendo.com>
3629
3630         * docs/design/part-block.txt:
3631         Mention the fact that the newly switched element should be set to at
3632         least PAUSED.
3633
3634 2007-03-20  Wim Taymans  <wim@fluendo.com>
3635
3636         * gst/gst.c:
3637         Fix compilation with registry disabled as spotted by Saur.
3638
3639 2007-03-20  Wim Taymans  <wim@fluendo.com>
3640
3641         Patch by: Olivier Crete <tester at tester dot ca>
3642
3643         * gst/gstelement.c: (gst_element_sync_state_with_parent):
3644         Look at the pending state too when syncing the element state to the
3645         parent. Fixes #420133.
3646
3647 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
3648
3649         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3650         (gst_base_sink_change_state):
3651         * libs/gst/base/gstbasesink.h:
3652         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3653         (gst_base_src_default_event), (gst_base_src_unlock_stop),
3654         (gst_base_src_deactivate):
3655         * libs/gst/base/gstbasesrc.h:
3656         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
3657         for sub-classes to correctly clear any state they set trying to
3658         unlock, such as clearing out unlock commands from a command fd.
3659         API: basesrc::unlock_stop
3660         API: basesink::unlock_stop
3661
3662         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
3663         (gst_fd_sink_render), (gst_fd_sink_unlock),
3664         (gst_fd_sink_unlock_stop):
3665         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
3666         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
3667         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
3668
3669         Implement unlock_stop in fdsrc and fdsink.
3670         Implement seeking in fdsrc when a seekable fd is passed, as in
3671         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
3672
3673 2007-03-19  Wim Taymans  <wim@fluendo.com>
3674
3675         Patch by: Evan Nemerson <evan at coeus dash group dot com>
3676
3677         * gst/gstelement.c: (gst_element_class_init):
3678         Fix pad-added and pad-removed signal signatures so that the pad type is
3679         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
3680
3681 2007-03-19  Wim Taymans  <wim@fluendo.com>
3682
3683         * docs/gst/gstreamer-sections.txt:
3684         Add new element field and method.
3685
3686         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3687         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
3688         (gst_bin_recalc_state), (gst_bin_get_state_func),
3689         (gst_bin_element_set_state), (gst_bin_change_state_func),
3690         (gst_bin_continue_func), (bin_bus_handler),
3691         (bin_push_state_continue), (bin_handle_async_start),
3692         (bin_handle_async_done), (gst_bin_handle_message_func):
3693         Make async state changes a bit smarter by using new ASYNC_START and
3694         ASYNC_DONE messages. This reduces the number of times we run the state
3695         recalculation thread.
3696         Don't change state of element with a pending ASYNC_START message.
3697         Deprecate STATE_DIRTY messages.
3698         
3699         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
3700         (gst_element_get_state_func), (gst_element_continue_state),
3701         (gst_element_lost_state), (gst_element_set_state_func),
3702         (gst_element_change_state):
3703         * gst/gstelement.h:
3704         Keep the state that was last set by the app in a new element field.
3705         Don't allow state changes when handling an element event.
3706         Post ASYNC_START and ASYNC_DONE messages.
3707         Change lost_state so that we go to PAUSED and wait for the parent to set
3708         us to PLAYING again (so latency calculation can be performed)
3709         Export gst_element_change_state() method so that subclasses can use it.
3710         API: gst_element_change_state()
3711         API: GST_STATE_TARGET
3712
3713         * gst/gstpipeline.c: (gst_pipeline_class_init),
3714         (reset_stream_time), (gst_pipeline_change_state),
3715         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
3716         Using the new ASYNC_START message we can reset the base_time when
3717         needed. This can then be used to implement base_time redistribution in
3718         flushing seeks so that we can remove the explicit seek handling.
3719         Perform latency query and configuration when going to PLAYING.
3720
3721         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3722         (gst_base_sink_query), (gst_base_sink_change_state):
3723         Post new ASYNC_START/ASYNC_DONE messages.
3724
3725         * tests/check/generic/sinks.c: (GST_START_TEST):
3726         Fix test because the bin will not set the async element to PLAYING right
3727         away.
3728
3729         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
3730         Make the message check a little stronger.
3731         Handle ASYNC messages.
3732
3733         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
3734         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
3735         Expect ASYNC_DONE messages.
3736
3737 2007-03-19  Wim Taymans  <wim@fluendo.com>
3738
3739         * docs/gst/gstreamer-sections.txt:
3740         * gst/gstmessage.c: (gst_message_new_async_start),
3741         (gst_message_new_async_done), (gst_message_parse_info),
3742         (gst_message_parse_async_start):
3743         * gst/gstmessage.h:
3744         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
3745         support.
3746
3747 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3748
3749         * tools/gst-inspect.c:
3750         (print_plugin_automatic_install_info_codecs):
3751           Now that we don't check for the 'Codec' keyword any longer in the
3752           klass, we shouldn't spew a warning if the klass isn't a decoder or
3753           encoder (since it might be a Source/Network, for example).
3754
3755 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3756
3757         * tools/gst-inspect.c:
3758         (print_plugin_automatic_install_info_codecs):
3759           Don't require decoder/demuxer/depayloader elements or
3760           encoder/muxer/paylader elements to have 'Codec' as part of their
3761           factory class string when introspecting a plugin's capabilities.
3762           draft-klass.txt mentions that it might be removed in future, and
3763           flump3dec doesn't have it as part of its class string, so chances
3764           are others might also not have it.
3765
3766 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3767
3768         * po/af.po:
3769         * po/az.po:
3770         * po/bg.po:
3771         * po/ca.po:
3772         * po/cs.po:
3773         * po/de.po:
3774         * po/en_GB.po:
3775         * po/fr.po:
3776         * po/it.po:
3777         * po/nb.po:
3778         * po/nl.po:
3779         * po/ru.po:
3780         * po/sq.po:
3781         * po/sr.po:
3782         * po/sv.po:
3783         * po/tr.po:
3784         * po/uk.po:
3785         * po/vi.po:
3786         * po/zh_CN.po:
3787         * po/zh_TW.po:
3788           Update translations from translation project
3789
3790 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
3791
3792         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
3793         (gst_child_proxy_set_property):
3794           Invert precondition check to be alike the ones in the mimiced gobject
3795           api.
3796
3797 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
3798
3799         * docs/design/draft-tagreading.txt:
3800         * docs/random/ensonic/audiobaseclasses.txt:
3801           Do some Architect work.
3802
3803         * gst/gstobject.c: (gst_object_set_name):
3804           Add a WARNING.
3805
3806         * gst/gstpad.c:
3807           Add docs that point from gst_pad_get_range to gst_pad_pull_range
3808
3809 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
3810
3811         * gst/gstsystemclock.c: (gst_system_clock_init),
3812         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
3813         Defer starting the async system clock thread until the first async
3814         wait is scheduled. Fixes #414986.
3815
3816 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3817
3818         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
3819         (gst_single_queue_free):
3820           Fix small leak (free GstSingleQueue structure too, not only contents).
3821
3822 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
3823
3824         * gst/gstbin.c:(gst_bin_add):
3825         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
3826         * win32/common/libgstbase.def:
3827         * win32/common/libgstreamer.def:
3828         Add new exported functions.
3829
3830 2007-03-09  Wim Taymans  <wim@fluendo.com>
3831
3832         * docs/plugins/gstreamer-plugins-sections.txt:
3833         Fix GstTee docs.
3834
3835 2007-03-09  Wim Taymans  <wim@fluendo.com>
3836
3837         * docs/gst/gstreamer-sections.txt:
3838         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
3839         * gst/gstbuffer.h:
3840         Add metadata copy functions. Fixes #393099.
3841         API: gst_buffer_copy_metadata()
3842
3843         * gst/gstutils.c: (gst_buffer_stamp):
3844         * libs/gst/base/gstbasetransform.c:
3845         (gst_base_transform_prepare_output_buffer):
3846         Use new metadata copy functions.
3847
3848 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3849
3850         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3851         (gst_identity_init), (gst_identity_check_perfect),
3852         (gst_identity_check_imperfect_timestamp),
3853         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
3854         (gst_identity_set_property), (gst_identity_get_property):
3855         * plugins/elements/gstidentity.h:
3856         Separate out check-imperfect-timestamp and check-imperfect-offset.
3857         Put back check-perfect as it was to keep compatibility.
3858
3859 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
3860
3861         * gst/gstelement.c: (gst_element_dispose):
3862         There's no need to warn if VOID_PENDING is not NONE here, as
3863         long as the state is NULL it's ok, and that's checked immediately
3864         above.
3865
3866 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3867
3868         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3869         Fix check for perfect stream to ignore buffers with -1 
3870         offsets/offset ends when checking data contiguity.
3871
3872 2007-03-08  Wim Taymans  <wim@fluendo.com>
3873
3874         * tools/gst-launch.c: (event_loop):
3875         Print INFO messages.
3876
3877 2007-03-08  Wim Taymans  <wim@fluendo.com>
3878
3879         * libs/gst/base/gstbasetransform.c:
3880         (gst_base_transform_sink_eventfunc),
3881         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3882         (gst_base_transform_activate):
3883         * libs/gst/base/gstbasetransform.h:
3884         Add support for dropping buffers with custom GstFlowReturn.
3885         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
3886         buffers or dropped buffers.
3887
3888         * docs/libs/gstreamer-libs-sections.txt:
3889         docs for new custom return code.
3890
3891         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3892         Use drop support in base class to implement drop-probability.
3893
3894 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3895
3896         * gst/gst.c: (load_plugin_func):
3897         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
3898         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3899         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
3900           Remove newlines at end of debug log strings.
3901
3902 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3903
3904         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3905         Only post bus message at max, once per buffer received.
3906
3907 2007-03-07  Wim Taymans  <wim@fluendo.com>
3908
3909         * docs/design/Makefile.am:
3910         * docs/design/part-synchronisation.txt:
3911         Add doc about synchronisation
3912
3913         * docs/design/draft-latency.txt:
3914         * docs/design/part-TODO.txt:
3915         * docs/design/part-clocks.txt:
3916         * docs/design/part-events.txt:
3917         * docs/design/part-gstbus.txt:
3918         * docs/design/part-gstpipeline.txt:
3919         * docs/design/part-live-source.txt:
3920         * docs/design/part-messages.txt:
3921         * docs/design/part-overview.txt:
3922         * docs/design/part-streams.txt:
3923         * docs/design/part-trickmodes.txt:
3924         Documentation updates.
3925
3926 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3927
3928         * gstreamer.doap:
3929         Update the doap file.
3930
3931 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3932
3933         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
3934         Rename non-perfect to imperfect for Mike and for the sanctity of the
3935         language.
3936         Also make sure bus message gets emitted for data-incontiguities.
3937
3938 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3939
3940         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
3941         (gst_identity_start):
3942         * plugins/elements/gstidentity.h:
3943         Emit bus message if check-perfect is true and we encounter a
3944         non-perfect stream between 2 consecutive buffers.
3945         Fixes #415394.
3946
3947 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
3948
3949         * configure.ac:
3950         Back to CVS
3951
3952 === release 0.10.12 ===
3953
3954 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
3955
3956         * configure.ac:
3957           releasing 0.10.12, "Inevitable Demise"
3958
3959 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
3960
3961         * configure.ac:
3962          Version 0.10.11.2 (0.10.12 pre-release)
3963          Bump libtool versioning.
3964
3965 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
3966
3967         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3968           Log flow-names and not numbers.
3969
3970 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3971
3972         * configure.ac:
3973           Convert to new AG_GST style.
3974
3975 2007-02-28  Wim Taymans  <wim@fluendo.com>
3976
3977         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
3978         Don't unref query twice.
3979
3980 2007-02-28  Wim Taymans  <wim@fluendo.com>
3981
3982         * gst/gstvalue.c: (gst_value_transform_object_string),
3983         (_gst_value_initialize):
3984         Implement GstObject -> string transform so we print object names
3985         when serializing GValues containing GstObjects.
3986
3987 2007-02-28  Wim Taymans  <wim@fluendo.com>
3988
3989         * docs/gst/gstreamer-sections.txt:
3990         Add new stuff to docs.
3991
3992 2007-02-28  Wim Taymans  <wim@fluendo.com>
3993
3994         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3995         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
3996         (gst_base_sink_change_state):
3997         Improve latency query code.
3998         Don't leak latency events.
3999
4000         * tests/check/gst/gstbin.c: (GST_START_TEST):
4001         Improve debugging.
4002
4003 2007-02-28  Wim Taymans  <wim@fluendo.com>
4004
4005         * gst/gstelement.c: (gst_element_message_full),
4006         (gst_element_get_state_func):
4007         * gst/gstelement.h:
4008         Improve docs a little. Added Since: for new macro.
4009
4010         * gst/gstobject.c: (gst_object_sink):
4011         * gst/gstpipeline.c: (gst_pipeline_change_state),
4012         (gst_pipeline_set_new_stream_time):
4013         * gst/gstpipeline.h:
4014         Improve debugging and docs.
4015
4016         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4017         Improve debugging.
4018
4019 2007-02-28  Wim Taymans  <wim@fluendo.com>
4020
4021         * gst/gstelement.c: (gst_element_message_full),
4022         (gst_element_set_locked_state), (gst_element_get_state_func),
4023         (gst_element_change_state):
4024         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4025         Documentation updates.
4026         Small code cleanups.
4027
4028         * gst/gstmessage.c: (gst_message_new_info),
4029         (gst_message_parse_info):
4030         * gst/gstmessage.h:
4031         API: gst_message_new_info()
4032         API: gst_message_parse_info()
4033         Add INFO message create and parse code.
4034
4035 2007-02-28  Wim Taymans  <wim@fluendo.com>
4036
4037         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4038         (bin_query_latency_done):
4039         Also report the live parameter of a latency query.
4040
4041 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4042
4043         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4044           Copy the current generic/states example from -base and adapt so
4045           we can use the exact same code everywhere.
4046           Check a STATES_IGNORE_ELEMENTS env var which can be used
4047           to ignore certain element factories for this test, which is
4048           what is being done in -base
4049         * tests/check/Makefile.am:
4050           Mention this environment variable.
4051
4052 2007-02-27  Wim Taymans  <wim@fluendo.com>
4053
4054         * docs/gst/gstreamer-sections.txt:
4055         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4056         (gst_bus_timed_pop), (gst_bus_pop):
4057         * gst/gstbus.h:
4058         API: gst_bus_timed_pop()
4059         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4060         message to arrive on the bus.
4061
4062         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4063         (gst_bus_suite):
4064         Two unit tests for new _timed_pop() function.
4065
4066 2007-02-23  Wim Taymans  <wim@fluendo.com>
4067
4068         * gst/gstpipeline.c: (gst_pipeline_change_state),
4069         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4070         Don't ref a NULL clock in _provide_clock_func().
4071         Don't allow an INVALID delay.
4072         Don't try to calculate base_time with an invalid start_time.
4073         Also distribute and notify a NULL clock when it was selected.
4074
4075         * tools/gst-launch.c: (event_loop):
4076         Don't crash when a NULL clock was selected in the pipeline.
4077
4078 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4079
4080         * docs/design/Makefile.am:
4081         * docs/design/draft-missing-plugins.txt:
4082         * docs/random/draft-missing-plugins.txt:
4083           Some small updates: update plugin system identifier prefix
4084           ('gstreamer.net' to 'gstreamer'), mention our new install
4085           API in libgstbaseutils rather than libgimme-codec, add
4086           reference to the online docs.
4087
4088 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4089
4090         * win32/common/config.h:
4091           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4092           use moap cl ci to only check in what is mentioned in the ChangeLog.
4093
4094 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4095
4096         * docs/gst/gstreamer-sections.txt:
4097         * gst/gstelement.h:
4098           Fix up documentation to link to the correct GstGError section.
4099           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4100
4101 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4102
4103         * tools/gst-launch.c: (event_loop):
4104           Make sure that we actually show the important message part of a
4105           warning message.
4106           No need to check if the gerror is not NULL to free; first of all
4107           g_free accepts NULL; and second the default error handler would
4108           segfault if gerror was NULL.
4109
4110 2007-02-21  Wim Taymans  <wim@fluendo.com>
4111
4112         * docs/gst/gstreamer-sections.txt:
4113         Removed docs as well.
4114
4115 2007-02-21  Wim Taymans  <wim@fluendo.com>
4116
4117         * gst/gstmessage.c: (gst_message_parse_duration):
4118         * gst/gstmessage.h:
4119         Remove new messages for release.
4120
4121 2007-02-20  Wim Taymans  <wim@fluendo.com>
4122
4123         * docs/design/part-gstghostpad.txt:
4124         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4125         (gst_ghost_pad_new_full):
4126         Make the ghostpad a parent of the internal pad again for better backward
4127         compatibility. Don't write code that relies on this however.
4128
4129         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4130         (gst_pad_link_check_hierarchy):
4131         Require that parents should be GstElements in the hierarchy check.
4132
4133 2007-02-20  Wim Taymans  <wim@fluendo.com>
4134
4135         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4136         (gst_bin_change_state_func), (bin_query_min_max_init),
4137         (bin_query_latency_fold), (bin_query_latency_done),
4138         (gst_bin_query):
4139         Improve debug info.
4140         Implement latency query.
4141
4142 2007-02-20  Wim Taymans  <wim@fluendo.com>
4143
4144         * docs/design/part-gstghostpad.txt:
4145         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4146         (gst_ghost_pad_internal_do_activate_push),
4147         (gst_ghost_pad_internal_do_activate_pull),
4148         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4149         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4150         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4151         Do not set the internal pad as a parent anymore so we can avoid
4152         hierarchy linking errors when the ghostpad has no parent yet. This also
4153         fixes failed activation because of unlinked internal pads, which in
4154         turn fixes the impossible case where you have to activate a pad before
4155         you can add it to a running element.
4156         Also fix the docs.
4157
4158         * gst/gstpad.c: (pre_activate), (post_activate),
4159         (gst_pad_set_active), (gst_pad_activate_pull),
4160         (gst_pad_activate_push), (gst_pad_check_pull_range):
4161         Add some more debug info.
4162         Mark activation mode in pre_activate so that we don't try to activate in
4163         endless loops. Fixes #385084.
4164
4165 2007-02-19  Wim Taymans  <wim@fluendo.com>
4166
4167         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4168         (gst_base_transform_check_get_range):
4169         Implement a checkgetrange function instead of relying on the default
4170         core behaviour that assumes we can operate in pull mode if we have a
4171         getrange function. First step at fixing #385084.
4172
4173 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4174
4175         * gst/gstchildproxy.h:
4176         * libs/gst/base/gstbasesink.h:
4177         * libs/gst/base/gstbasesrc.h:
4178         * libs/gst/base/gstbasetransform.h:
4179         More docs coverage and some ChangeLog surgery (add missing names)
4180
4181 2007-02-15  Wim Taymans  <wim@fluendo.com>
4182
4183         * docs/design/part-TODO.txt:
4184         * docs/design/part-activation.txt:
4185         * docs/design/part-block.txt:
4186         * docs/design/part-buffering.txt:
4187         * docs/design/part-clocks.txt:
4188         * docs/design/part-element-source.txt:
4189         * docs/design/part-events.txt:
4190         * docs/design/part-gstbin.txt:
4191         * docs/design/part-gstbus.txt:
4192         * docs/design/part-gstpipeline.txt:
4193         * docs/design/part-live-source.txt:
4194         * docs/design/part-messages.txt:
4195         * docs/design/part-overview.txt:
4196         * docs/design/part-qos.txt:
4197         * docs/design/part-query.txt:
4198         * docs/design/part-states.txt:
4199         * docs/design/part-trickmodes.txt:
4200         Some doc updates. Start renaming from stream_time to running_time where
4201         it was used wrongly.
4202
4203 2007-02-15  Wim Taymans  <wim@fluendo.com>
4204
4205         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4206         Answer LATENCY query.
4207
4208 2007-02-15  Wim Taymans  <wim@fluendo.com>
4209
4210         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4211         (GST_START_TEST):
4212         Improve debugging.
4213
4214 2007-02-15  Wim Taymans  <wim@fluendo.com>
4215
4216         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4217         (gst_pad_dispatcher):
4218         Improve debugging of default pad dispatcher and query functions.
4219
4220 2007-02-15  Wim Taymans  <wim@fluendo.com>
4221
4222         * docs/gst/gstreamer-sections.txt:
4223         Remove old unused method.
4224
4225 2007-02-13  Wim Taymans  <wim@fluendo.com>
4226
4227         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4228         Fix check
4229
4230 2007-02-13  Wim Taymans  <wim@fluendo.com>
4231
4232         * docs/design/part-seeking.txt:
4233         Some small update.
4234
4235         * gst/gstsegment.c: (gst_segment_set_seek):
4236         Revert old bogus change that should make seeking work again.
4237
4238 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4239
4240         * docs/random/ensonic/dynlink.txt:
4241         * docs/random/ensonic/interfaces.txt:
4242         * docs/random/ensonic/receipies.txt:
4243           Possible dynamic reconnection api, plus some type fixes the other two
4244           docs.
4245
4246 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4247
4248         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4249         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4250         Also check for an absolute path following file:// in the filesrc
4251         element. Remove redundant check and call g_path_is_absolute() on the
4252         unescaped location.
4253
4254 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4255
4256         * docs/design/draft-klass.txt:
4257           Add existing category analysis.
4258           
4259         * gst/gstcaps.c:
4260           Fix doc example, framerate is a fraction.
4261
4262 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4263
4264         * configure.ac:
4265         * docs/gst/Makefile.am:
4266         * docs/gst/gstreamer-sections.txt:
4267         * docs/libs/Makefile.am:
4268           Erm, forgot a bunch of --extra-dir.
4269
4270 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4271
4272         * configure.ac:
4273         * docs/gst/Makefile.am:
4274         * docs/libs/Makefile.am:
4275         * docs/plugins/Makefile.am:
4276           Add crossreferences to glib/gobject docs.
4277
4278 2007-02-12  Wim Taymans  <wim@fluendo.com>
4279
4280         * docs/design/draft-latency.txt:
4281         Small update.
4282
4283         * docs/libs/gstreamer-libs-sections.txt:
4284         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4285         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4286         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4287         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4288         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4289         (gst_base_sink_get_position), (gst_base_sink_query),
4290         (gst_base_sink_change_state):
4291         * libs/gst/base/gstbasesink.h:
4292         API: gst_base_sink_query_latency() to let subclasses query the upstream
4293         latency.
4294         API: gst_base_sink_get_latency() to let subclasses query the configured
4295         latency in the sink.
4296         Implement query and set latency.
4297         Update some docs.
4298         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4299         don't continue preroll when we are flushing. Fixes #405284.
4300
4301         * tests/check/pipelines/stress.c: (change_state_timeout),
4302         (quit_timeout), (GST_START_TEST), (stress_suite):
4303         Test for #405284.
4304
4305 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4306
4307         Patch by: René Stadler <mail at renestadler de>
4308
4309         * docs/gst/gstreamer-sections.txt:
4310         * gst/gsttaglist.c: (_gst_tag_initialize):
4311         * gst/gsttaglist.h:
4312           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4313
4314 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4315
4316         * docs/libs/Makefile.am:
4317           Fix path to core docs.
4318
4319         * gst/gstbin.c: (gst_bin_get_by_interface),
4320         (gst_bin_iterate_all_by_interface):
4321           Refix docs by also renaming 'interface' to 'iface' in implementation.
4322
4323         * docs/gst/gstreamer-sections.txt:
4324         * gst/gstcaps.c:
4325         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4326         * gst/gstchildproxy.h:
4327         * gst/gstelementfactory.c:
4328         * gst/gstpadtemplate.h:
4329         * libs/gst/controller/gstcontroller.c:
4330         (gst_controlled_property_new):
4331           Document more.
4332
4333 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4334
4335         * gst/gstbin.h:(gst_bin_get_by_interface),
4336         (gst_bin_iterate_all_by_interface):
4337         Replace interface parameter name by iface as interface is 
4338         a reserved keyword in Visual Studio for C++ projects so it removes
4339         a build error for application developpers using VS.
4340         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4341         Fix a bug on Windows in uri format check. Now the prefix checked
4342         is file:// and next we check if the path after file:// is absolute.
4343         * win32/common/libgstbase.def:
4344         * win32/common/libgstdataprotocol.def:
4345         * win32/common/libgstgstreamer.def:
4346         Add new exported functions.
4347
4348 2007-02-09  Andy Wingo  <wingo@pobox.com>
4349
4350         * tests/check/pipelines/simple-launch-lines.c
4351         (simple_launch_lines_suite, test_tee): Disable tee test until I
4352         have time to fix it :-(
4353
4354         * tests/check/Makefile.am (noinst_HEADERS): 
4355         * tests/check/libs/libsabi.c: 
4356         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4357         * tests/check/gst/gstabi.c: 
4358         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4359
4360         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4361         tests for push and pull tee behavior.
4362
4363         * plugins/elements/gsttee.h: 
4364         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4365         mark as deprecated as well as unimplemented. It was a crack idea.
4366         Add support for tee operating in pull mode, off by default.
4367
4368         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4369         normal-case logs down to LOG, raise errors to WARNING.
4370         (gst_registry_xml_read_cache): Don't log before calling a function
4371         that logs.
4372
4373         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4374         exit (registry finalize).
4375         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4376         DEBUG log when we emit signals that people don't even have the
4377         chance to connect to.
4378         (gst_registry_scan_path_level): Less logging in the normal case.
4379
4380 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4381
4382         Patch by: Michal Benes <michal dot benes at itonis dot tv>
4383
4384         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4385         Correctly generate EOS for non-seekable files. We don't have a total
4386         length for them and would get an unexpected end of file if we only
4387         special-cased for regular files. (Fixes: #404569)
4388
4389 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4390
4391         * tests/check/elements/filesrc.c: (GST_START_TEST),
4392         (filesrc_suite):
4393         Add unit test for the GstURIHandler interface in filesrc. This also
4394         tests the newly added file://localhost/foo/bar support.
4395
4396 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4397
4398         * gst/gstelementfactory.h:
4399           The klass string is not a hierarchy. Add reference to the design doc
4400           for more information and common types.
4401
4402 2007-02-02  Wim Taymans  <wim@fluendo.com>
4403
4404         * gst/gstquery.c: (gst_query_new_latency):
4405         Remove old structure field.
4406
4407 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
4408
4409         * tools/gst-launch.1.in:
4410           Give example for network streaming (#351998)
4411
4412 2007-02-02  Wim Taymans  <wim@fluendo.com>
4413
4414         * docs/gst/gstreamer-sections.txt:
4415         Add docs for new methods.
4416
4417         * gst/gstevent.c: (gst_event_new_latency),
4418         (gst_event_parse_latency):
4419         * gst/gstevent.h:
4420         Add new LATENCY event to configure latency in a pipeline.
4421         API: gst_event_new_latency
4422         API: gst_event_parse_latency
4423
4424         * gst/gstmessage.c: (gst_message_new_buffering),
4425         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4426         (gst_message_new_latency), (gst_message_parse_buffering),
4427         (gst_message_parse_lost_preroll):
4428         * gst/gstmessage.h:
4429         Added messages used in draft-latency.
4430         API: gst_message_new_lost_preroll
4431         API: gst_message_parse_lost_preroll
4432         API: gst_message_new_prerolled
4433         API: gst_message_new_latency
4434
4435         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4436         (gst_query_parse_latency):
4437         * gst/gstquery.h:
4438         Implemented new latency query as in design doc.
4439         API: gst_query_new_latency
4440         API: gst_query_set_latency
4441         API: gst_query_parse_latency
4442
4443 2007-02-02  Wim Taymans  <wim@fluendo.com>
4444
4445         * docs/design/draft-latency.txt:
4446         Slight redesign to allow for dynamic latency adjustments.
4447
4448         * docs/design/part-negotiation.txt:
4449         Fix some typos.
4450
4451 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4452
4453         reviewed by: Wim Taymans <wim@fluendo.com>
4454
4455         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4456         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4457         Allow file://localhost/foo/bar URLs and correctly fail for every other
4458         hostname that one sets. This was gnomevfssrc is linked for those if
4459         installed as it can handle it (#403172)
4460
4461 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4462
4463         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4464
4465         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4466         (unref_data), (gst_collect_pads_add_pad_full):
4467         * libs/gst/base/gstcollectpads.h:
4468         Don't put the previously added destroy notify in the GstCollectData
4469         struct as all it's padding is already used and we don't want to break
4470         ABI. Instead put in the pad's GObject data for now. This should be
4471         cleaned up for 0.11 (#402393).
4472
4473 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
4474
4475         reviewed by: Wim Taymans <wim@fluendo.com>
4476
4477         * docs/libs/gstreamer-libs-sections.txt:
4478         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4479         (unref_data), (gst_collect_pads_add_pad),
4480         (gst_collect_pads_add_pad_full):
4481         * libs/gst/base/gstcollectpads.h:
4482         API: Add function to specify a destroy notification for custom
4483         GstCollectData when adding new pads in GstCollectPads (#402393).
4484
4485 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
4486
4487         * po/sv.po:
4488           Update Swedish translation (#378255).
4489
4490 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4491
4492         * docs/design/draft-klass.txt:
4493           Fix the previous change, this is a list of categories and not a hierarchy.
4494
4495 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
4496
4497         * docs/design/draft-klass.txt:
4498           Add info about how to get a list of used classes.
4499
4500 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
4501
4502         * plugins/elements/gsttypefindelement.c:
4503         (gst_type_find_element_chain_do_typefinding),
4504         (gst_type_find_element_change_state):
4505           Don't leak found caps in chain function (no idea why that never
4506           showed up as a leak anywhere).
4507
4508 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
4509
4510         * gst/gstplugin.h:
4511           Fix and expand GstPluginDesc API docs.
4512
4513 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4514
4515         * gst/gstcaps.c:
4516         * gst/gstelementfactory.c:
4517         * gst/gstpadtemplate.h:
4518           api doc fixes
4519
4520         * libs/gst/controller/gstcontroller.c:
4521         (gst_controlled_property_new):
4522         * tests/examples/controller/audio-example.c:
4523           comment fixes
4524
4525 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
4526
4527         * configure.ac:
4528           comment about refining the xml deps
4529
4530         * docs/manuals.mak:
4531           comments about moving away from jade for docs
4532         
4533         * gst/gst.c:
4534           recommit the ifdefs to use the binary registry
4535         
4536         * gst/gstbin.c: (gst_bin_change_state_func):
4537           this break is obsolete
4538
4539         * gst/gstelementfactory.h:
4540           better GST_ELEMENT_DETAILS docs, add comment about translation
4541
4542         * gst/gstinfo.h:
4543           remove eol slash
4544
4545         * gst/gstobject.c: (gst_signal_object_get_type):
4546           add G_UNLIKELY as usual
4547
4548         * gst/gstpad.c: (gst_pad_event_default):
4549           add fall trhu comment
4550
4551         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4552         (gst_registry_binary_initialize_magic),
4553         (gst_registry_binary_save_string),
4554         (gst_registry_binary_save_pad_template),
4555         (gst_registry_binary_save_feature),
4556         (gst_registry_binary_save_plugin),
4557         (gst_registry_binary_write_cache),
4558         (gst_registry_binary_check_magic),
4559         (gst_registry_binary_load_pad_template),
4560         (gst_registry_binary_load_feature),
4561         (gst_registry_binary_load_plugin),
4562         (gst_registry_binary_read_cache):
4563           comment typo and formatting
4564
4565         * gst/gstutils.c: (gst_element_state_get_name),
4566         (gst_element_state_change_return_get_name):
4567           remove obsolete breaks
4568
4569         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4570           add FIXME 0.11 and remove cpp comment
4571
4572 2007-01-29  Edward Hervey  <edward@fluendo.com>
4573
4574         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4575         Fix print statement in an even more portable way.
4576
4577 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
4578
4579         * docs/gst/gstreamer-sections.txt:
4580         * gst/gstutils.h:
4581           API: add GST_ROUND_DOWN_* macros (#401781).
4582
4583 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
4584
4585         * docs/gst/gstreamer.types.in:
4586         * gst/gstregistry.c: (gst_registry_class_init):
4587           Document registry signals and make gtk-doc pick them up (#401381).
4588
4589 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4590
4591         * docs/pwg/building-testapp.xml:
4592           Add some audioconverts and audioresample to the pipeline, and some
4593           more comments and error handling.
4594
4595 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
4596
4597         * docs/manual/manual.xml:
4598         * docs/pwg/pwg.xml:
4599           Fix typo (#400987).
4600
4601 2007-01-26  Wim Taymans  <wim@fluendo.com>
4602
4603         * gst/gstcaps.c: (gst_static_caps_get):
4604         Init caps flags too.
4605
4606 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
4607
4608         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4609
4610         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4611         If not using mmap'ed files try to seek to the end instead of the
4612         start to determine whether we can seek at all. This fixes the case
4613         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4614         seeks for everything afterwards fail. Fixes #400656
4615
4616 2007-01-25  Wim Taymans  <wim@fluendo.com>
4617
4618         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
4619         Add some refcount debugging.
4620         Make gst_static_caps_get threadsafe, which is needed when autoplugging
4621         in multiple streaming threads.
4622
4623 2007-01-25  Wim Taymans  <wim@fluendo.com>
4624
4625         Patch by: David Schleef <ds at schleef dot org>
4626
4627         * docs/libs/gstreamer-libs-sections.txt:
4628         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
4629         * libs/gst/base/gstadapter.h:
4630         API: gst_adapter_copy() that can reduce the amount of memcpy when
4631         getting data from the adapter. Fixes #388201.
4632
4633 2007-01-25  Edward Hervey  <edward@fluendo.com>
4634
4635         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4636         In print statements, "%x" is for guint. Fixes build on macosx.
4637
4638 2007-01-24  Edward Hervey  <edward@fluendo.com>
4639
4640         * plugins/elements/gstmultiqueue.c:
4641         (gst_multi_queue_loop):
4642         Small fix.
4643         (single_queue_overrun_cb), (single_queue_underrun_cb),
4644         (single_queue_check_full), (gst_single_queue_new):
4645         Implement single queue growth system.
4646         This uses the extra-size properties, and will grow single queues by
4647         that much if one goes full whereas there are others empty. This is
4648         called extra-mode in the code.
4649         When a single queue's levels go back below the initial max-size
4650         limits, it is no longer in extra-mode. This is to ensure we don't
4651         consume too much memory.
4652         Fixes #399875
4653
4654 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
4655
4656         * gst/gst.c: (gst_init_get_option_group):
4657           Make warning about late g_thread_init() calls a bit more explicit,
4658           so that it's more obvious to application developers what they need
4659           to do if a user files a bug against their application.
4660
4661 2007-01-22  Edward Hervey  <edward@fluendo.com>
4662
4663         * plugins/elements/gstmultiqueue.c:
4664         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
4665         Remove previous hack of unsetting the flushing flag for the source pad
4666         instead of activating it. Instead, fix the source pad activate function
4667         so that it no longer depends on having a parent set or not.
4668
4669 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
4670
4671         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
4672
4673         * docs/manual/basics-bus.xml:
4674           Fix example code, gst_element_unref() doesn't exist any longer.
4675
4676 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
4677
4678         Patch by: Mark Nauwelaerts <manauw at skynet be>
4679
4680         * gst/gstpad.c:
4681           Fix two docs typoes (#399094).
4682
4683 2007-01-19  Edward Hervey  <edward@fluendo.com>
4684
4685         * docs/faq/gst-uninstalled:
4686         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
4687         depending on libgstbaseutils can work in uninstalled environment.
4688
4689 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
4690
4691         * gst/gsttaglist.h:
4692         * gst/gsttagsetter.c:
4693         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
4694         statement for new tag.
4695
4696 2007-01-17  Edward Hervey  <edward@fluendo.com>
4697
4698         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
4699         When dynamically creating single queues, activate sinkpad before adding
4700         it.
4701         We should be doing the same thing for the source pad, but we can't
4702         since it would call a method which needs the parent to be set in order
4703         to work propertly. Instead of activating the source pad, we just unset
4704         the flushing flag, which is the minimal requirement for adding a pad
4705         to an element in a state greater than READY.
4706
4707 2007-01-17  Edward Hervey  <edward@fluendo.com>
4708
4709         * docs/faq/gst-uninstalled:
4710         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
4711         Mac OS X.
4712
4713 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
4714
4715         * tests/check/gst/gstabi.c:
4716         * tests/check/gst/struct_hppa.h:
4717         * tests/check/libs/libsabi.c:
4718         * tests/check/libs/struct_hppa.h:
4719           Add ABI structs for HPPA (see #393796).
4720
4721 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
4722
4723         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
4724           Actually write ABI structs to the file specified in the GST_ABI
4725           environment variable, as the message we print claims we would.
4726
4727 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4728
4729         * tests/check/gst/gsttask.c:
4730           Fix header comment.
4731
4732 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4733
4734         * gst/gsttaglist.c: (_gst_tag_initialize):
4735           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
4736           previous two entries.
4737
4738 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4739
4740         * docs/gst/gstreamer-sections.txt:
4741         * gst/gsttaglist.c: (_gst_tag_initialize):
4742         * gst/gsttaglist.h:
4743           Add tag support for beat-per-minute.
4744
4745 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
4746
4747         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4748         (gst_registry_binary_initialize_magic),
4749         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
4750         (gst_registry_binary_save_pad_template),
4751         (gst_registry_binary_save_feature),
4752         (gst_registry_binary_save_plugin),
4753         (gst_registry_binary_write_cache),
4754         (gst_registry_binary_check_magic),
4755         (gst_registry_binary_load_pad_template),
4756         (gst_registry_binary_load_feature),
4757         (gst_registry_binary_load_plugin),
4758         (gst_registry_binary_read_cache):
4759         * gst/gstregistrybinary.h:
4760           Use glib types, cleanup comments, impement interfaces and uri-types.
4761
4762 2007-01-13  Andy Wingo  <wingo@pobox.com>
4763
4764         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
4765         getrange() to return buffers with other caps, while we fix
4766         demuxers and typefind, or otherwise change part-negotiation.txt.
4767
4768 2007-01-12  Andy Wingo  <wingo@pobox.com>
4769
4770         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
4771         Factor start/stop into this private function instead of partially
4772         in activate functions and partially in the change_state function.
4773         Fixes setup before the element has changed from READY->PAUSED, as
4774         is the case in pull-mode pipelines.
4775         (gst_base_transform_sink_activate_push)
4776         (gst_base_transform_src_activate_pull): Refactor to use
4777         gst_base_transform_activate().
4778         (gst_base_transform_change_state): Removed, not needed any more.
4779
4780         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4781         Truncate before fixating.
4782         
4783         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
4784         Don't set_caps() if the result of fixating is ANY, as it's not
4785         supported, and not necessary in the case of a link with no
4786         template caps on either side. Fixes tests/check/libs/basesrc in
4787         some pull-mode tests.
4788
4789         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
4790         (gst_base_transform_init, gst_base_transform_sink_activate_push)
4791         (gst_base_transform_src_activate_pull): 
4792         Track the activation mode.
4793         (gst_base_transform_setcaps): In pull mode, when activating the
4794         src pad, after activating the sink pad, activate the sink pad's
4795         peer, as discussed in part-negotiation.txt.
4796
4797         * libs/gst/base/gstbasesrc.h: 
4798         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
4799         vmethod, as in basesink.
4800
4801         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
4802
4803         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
4804         mode, first proxy the setcaps to the peer pad.
4805         (gst_base_sink_pad_fixate): Add a fixate function that calls the
4806         new fixate vmethod.
4807         (gst_base_sink_default_activate_pull): Rename from
4808         gst_base_sink_activate_pull.
4809         (gst_base_sink_negotiate_pull): New function, performs negotiation
4810         in pull mode before calling ::activate_pull().
4811         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
4812         vmethod instead of the default implementation. I have no idea how
4813         this worked before. Negotiate before calling activate_pull.
4814
4815         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
4816         sink pads in pull mode. In addition to being correct, fixes
4817         filesrc ! decodebin ! identity ! fakesink.
4818         (gst_pad_get_range, gst_pad_pull_range): Don't call
4819         gst_pad_set_caps() if the caps changes; instead error out with
4820         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
4821
4822 2007-01-12  Andy Wingo  <wingo@pobox.com>
4823
4824         * docs/design/part-negotiation.txt: Update with more policy.
4825
4826 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4827
4828         * libs/gst/check/gstbufferstraw.h:
4829         * libs/gst/check/gstcheck.h:
4830           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
4831           belongs.
4832
4833 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4834
4835         * tests/check/Makefile.am:
4836         * tests/check/gst/.cvsignore:
4837         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
4838         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
4839         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
4840         (GST_START_TEST), (gst_tag_setter_suite):
4841           Add minimal unit test for beforementioned GstTagSetter bug.
4842
4843 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
4844
4845         Patch by: René Stadler <mail at renestadler dot de>
4846
4847         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
4848           gst_tag_list_merge() returns a new list, so it's not the best idea
4849           to ingore its return value. Effectively meant that tags could only
4850           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
4851           Also add function guard to require a non-NULL taglist as input (has
4852           always been so due to gst_tag_list_copy(), just making it explicit).
4853
4854 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4855
4856         * docs/random/draft-missing-plugins.txt:
4857           Some additions: mention new API that is supposed to be used at the
4858           various stages; short blob about new gst-inspect introspection
4859           option; mention potential future problem with plugins that have
4860           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
4861
4862 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4863
4864         * tools/gst-inspect.c:
4865         (print_plugin_automatic_install_info_codecs),
4866         (print_plugin_automatic_install_info_protocols),
4867         (print_plugin_automatic_install_info), (main):
4868         Add --print-plugin-auto-install-info option to gst-inspect, so we can
4869         introspect plugin files and get machine-parsable output that corresponds
4870         to the last bit of the missing-plugin installer string (small gotcha:
4871         doesn't take into account ranks).
4872
4873 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
4874
4875         * configure.ac:
4876         * docs/gst/gstreamer-sections.txt:
4877         * gst/Makefile.am:
4878         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
4879         (gst_registry_lookup_locked):
4880         * gst/gstregistry.h:
4881         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4882         (gst_registry_binary_initialize_magic),
4883         (gst_registry_binary_save_string),
4884         (gst_registry_binary_save_pad_template),
4885         (gst_registry_binary_save_feature),
4886         (gst_registry_binary_save_plugin),
4887         (gst_registry_binary_write_cache),
4888         (gst_registry_binary_check_magic),
4889         (gst_registry_binary_load_pad_template),
4890         (gst_registry_binary_load_feature),
4891         (gst_registry_binary_load_plugin),
4892         (gst_registry_binary_read_cache):
4893         * gst/gstregistrybinary.h:
4894         * gst/gstregistryxml.c: (load_feature),
4895         (gst_registry_xml_read_cache):
4896           commit binary registry (disabled by default, see #359653)
4897
4898 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4899
4900         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
4901           Fix 'make check' too.
4902
4903 2007-01-10  Andy Wingo  <wingo@pobox.com>
4904
4905         * docs/design/part-negotiation.txt: Fix a typo, add a couple
4906         notes.
4907         
4908         * docs/design/part-negotiation.txt: Update with, um, one way that
4909         pull-mode negotiation might work?
4910
4911         * gst/gstpad.h: 
4912         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
4913         that the pad must be a src pad; makes sense to call it the other
4914         way in pull mode, and the logic is symmetric anyway.
4915
4916 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
4917
4918         * plugins/elements/gstfilesink.c:
4919           Include <stdio.h> for fseeko().
4920
4921 2007-01-10  Wim Taymans  <wim@fluendo.com>
4922
4923         * gst/gstevent.c:
4924         * gst/gstevent.h:
4925         Reserve LATENCY event.
4926
4927 2007-01-09  Wim Taymans  <wim@fluendo.com>
4928
4929         * docs/design/draft-latency.txt:
4930         Updates.
4931
4932 2007-01-09  Wim Taymans  <wim@fluendo.com>
4933
4934         * docs/design/draft-latency.txt:
4935         Updates.
4936
4937         * gst/gstelement.h:
4938         * gst/gststructure.c:
4939         * gst/gsttrace.c:
4940         Small typo fixes.
4941
4942 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4943
4944         * tests/check/.cvsignore:
4945           Ignore test-registry.xml as well.
4946
4947 2007-01-09  Wim Taymans  <wim@fluendo.com>
4948
4949         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
4950         unref data at the end when we are done with the pad.
4951
4952 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4953
4954         * docs/gst/gstreamer-sections.txt:
4955         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
4956         (init_post), (gst_deinit), (gst_update_registry):
4957         * gst/gst.h:
4958           API: add gst_update_registry() (#391296).
4959
4960         * tests/check/Makefile.am:
4961         * tests/check/gst/gstregistry.c:
4962         * tests/check/gst/.cvsignore:
4963           Simple unit test for the above.
4964
4965 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
4966
4967         * gst/gstregistry.c: (gst_registry_scan_path_level):
4968           Plugin extension on HP-UX is .sl, add that to the list of approved
4969           plugin extensions (see #393796).
4970
4971         * tests/check/gst/gstpad.c: (GST_START_TEST):
4972           ulong => gulong. Fixes compilation with HP-UX compiler.
4973
4974         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4975           Fix compilation if valgrind headers are not available.
4976
4977 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
4978
4979         * win32/common/libgstreamer.def: 
4980           Add new exported function.
4981         * win32/vs6/libgstbase.dsp: 
4982           Add gstdataqueue.c to the build.
4983         * win32/vs6/libgstcoreelements.dsp:
4984           Add gstmultiqueue.c to the build.
4985         
4986 2007-01-06  Andy Wingo  <wingo@pobox.com>
4987
4988         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
4989         activate_pull(), providing for a way to specialize the process of
4990         spawning a thread to pull on the sink pad. There is a default
4991         implementation.
4992
4993         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
4994         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
4995         (gst_base_sink_init): Renamed pad activation functions (inserting
4996         "_pad" in their names). Refactor to use the new activate_pull
4997         vmethod, as appropriate.
4998         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
4999         default activate_pull function to start a task pulling from the
5000         sink pad, as before.
5001
5002         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5003         on the pads if necessary, as in push()/chain(). Update docs.
5004         Shouldn't affect existing pull() usage as it is currently only
5005         being used on buffers without caps.
5006
5007 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5008
5009         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5010         (init_pre):
5011           Call g_thread_init() first thing in gst_init() / gst_check_init().
5012           When initialisation is done via gst_init_get_option_group() and
5013           GOption parsing, issue a warning if the GLib thread system has not
5014           been initialised yet by the time gst_init_get_option_group() is
5015           called, as it's quite likely other GLib functions such as
5016           g_option_context_new() have been called already then, and
5017           g_thread_init() must be called before any other GLib function. The
5018           application in question must be fixed in that case, since memory
5019           corruption might happen otherwise.
5020           We issue the warning because even if the GLib folks decide to work
5021           around the problem on their end in future, this is still an issue
5022           with all GLib versions >= 2.10.0, so we should warn until we depend
5023           on a GLib version we know to be safe.
5024           Update documentation as well.
5025           Closes bug #391278.
5026
5027 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5028
5029         * tools/gst-inspect.c: (main):
5030         * tools/gst-launch.c: (main):
5031         * tools/gst-typefind.c: (main):
5032         * tools/gst-xmlinspect.c: (main):
5033           Call g_thread_init() really really early, before any other GLib
5034           function (see #342564 and recent discussion on gtk-devel-list).
5035
5036 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5037
5038         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5039
5040         * gst/gst_private.h:
5041         * gst/gstconfig.h.in:
5042         * gst/gstinfo.h:
5043           On win32, all the __declspec stuff for symbol exporting is
5044           apparently only needed with MSVC, but doesn't work with MingW.
5045           Fixes compilation with MingW and #391909.
5046
5047 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5048
5049         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5050           Change some GST_ERROR_OBJECT that aren't really errors to
5051           GST_WARNING_OBJECT in order to reduce terminal spam.
5052
5053 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5054
5055         * tests/check/Makefile.am:
5056           disable test again, as there seem to be still race problems
5057
5058 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5059
5060         * tests/check/Makefile.am:
5061         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5062         (GST_START_TEST), (queue_suite):
5063           enable queue test again, add tests for the leaky behaviour
5064
5065 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5066
5067         * configure.ac:
5068         * tests/examples/Makefile.am:
5069           Compile adapter test/example only if the required headers are
5070           available (fixes #391915).
5071
5072 2007-01-01  David Schleef  <ds@schleef.org>
5073
5074         * gst/gstplugin.c:
5075           Restore the previous signal handler for SIGSEGV instead of
5076           setting to default, since we may have stolen it away from
5077           someone.  (i.e., Mono)
5078
5079 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5080
5081         * docs/random/draft-missing-plugins.txt:
5082           Some small additions and clarifications.
5083
5084 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5085
5086         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5087           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5088           since that can lead to random memory corruptions and crashes
5089           (may or may not be related to #383244, #386711, and #386711).
5090
5091 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5092
5093         * tests/check/.cvsignore:
5094         * tests/check/Makefile.am:
5095           sync .cvsignome and CLEANFILES
5096
5097 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5098
5099         * tests/check/Makefile.am:
5100           fix distcheck
5101
5102 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5103
5104         * docs/design/part-states.txt:
5105           two tiny additional comments
5106         
5107         * gst/gststructure.c:
5108           doc fixing
5109
5110         * tests/check/Makefile.am:
5111         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5112         (GST_START_TEST):
5113           disable test for now, unless it gets fixed
5114
5115 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5116
5117         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5118         (GST_START_TEST):
5119           fix race in underrun test
5120
5121 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5122
5123         * tests/check/elements/.cvsignore:
5124           ignore more
5125
5126         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5127         (GST_START_TEST):
5128           try to narrow test failure
5129
5130 2006-12-21  David Schleef  <ds@schleef.org>
5131
5132         * plugins/elements/gstfakesrc.c:
5133           Use g_random_int_range(), since it produces better random
5134           numbers in a range than almost-correct floating point code.
5135
5136 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5137
5138         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5139         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5140         (gst_check_teardown_sink_pad):
5141           do not automatically (de)activate pads
5142
5143         * tests/check/Makefile.am:
5144         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5145         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5146           add new, yet simple tests for queue
5147
5148         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5149         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5150         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5151         (GST_START_TEST):
5152         * tests/check/elements/identity.c: (cleanup_identity):
5153           consistent pad (de)activation
5154
5155 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5156
5157         Patch by: Sebastian Dröge  <slomo ubuntu com>
5158
5159         * libs/gst/base/gstcollectpads.c:
5160           Fix two doc typos (#387866).
5161
5162 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5163
5164         * docs/manual/advanced-dparams.xml:
5165           Fix typo (g_object_control_properties() doesn't exist).
5166
5167 2006-12-19  Edward Hervey  <edward@fluendo.com>
5168
5169         * gst/gstsegment.c: (gst_segment_set_seek):
5170         Fine tune the cases where the segment start/stop values are really
5171         updated.
5172         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5173         Add tests for the return values of gst_segment_set_seek().
5174
5175 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5176
5177         * gst/gst.c:
5178           Docs typo fix.
5179
5180         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5181         (gst_queue_init):
5182           Fix incorrect documentation and flesh it out a bit more.
5183           Set default values for the max properties on the GParamSpec as well,
5184           so it shows up correctly in gst-inspect.
5185
5186 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5187
5188         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5189           Correct docs of queue, add more detail and crosslink it more.
5190
5191 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5192
5193         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5194           Print additional debug info when the stream isn't perfectly
5195           timestamped; don't try to use invalid durations.
5196
5197 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5198
5199         * docs/design/Makefile.am:
5200           Dist new design docs.
5201
5202 2006-12-16  Wim Taymans  <wim@fluendo.com>
5203
5204         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5205
5206         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5207         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5208         (gst_collect_pads_stop), (gst_collect_pads_event),
5209         (gst_collect_pads_chain):
5210         * libs/gst/base/gstcollectpads.h:
5211         Add refcounting to the collectpads data so we can track when it's safe
5212         to free the data. Fixes #383382.
5213
5214 2006-12-15  Wim Taymans  <wim@fluendo.com>
5215
5216         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5217         (gst_collect_pads_remove_pad):
5218         Automatically activate/deactivate pads when they are added to a
5219         started/stoped collectpads.
5220
5221 2006-12-15  Wim Taymans  <wim@fluendo.com>
5222
5223         * gst/gstelement.c: (gst_element_add_pad):
5224         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5225         * gst/gstpad.c: (gst_pad_init):
5226         Set pads to FLUSHING when they are created. Check, warn and fix when a
5227         demuxer adds an inactive pad to itself when running. Fixes #339326.
5228
5229 2006-12-15  Wim Taymans  <wim@fluendo.com>
5230
5231         * gst/gstelement.c: (gst_element_class_init),
5232         (gst_element_default_send_event), (gst_element_send_event),
5233         (gst_element_default_query), (gst_element_query):
5234         Expose default element send_event and query handling as vmethods that
5235         subclasses can chain up to.
5236
5237 2006-12-15  Wim Taymans  <wim@fluendo.com>
5238
5239         * gst/gstelement.c: (gst_element_set_state_func):
5240         Small documentation fixes.
5241
5242 2006-12-15  Wim Taymans  <wim@fluendo.com>
5243
5244         * docs/design/draft-latency.txt:
5245         Checked in draft for handling latency in pipelines.
5246
5247 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5248
5249         * Makefile.am:
5250         * gstreamer.doap:
5251         * gstreamer.spec.in:
5252           adding .doap file
5253
5254 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5255
5256         * gst/gst.c: (init_pre), (init_post):
5257           init_pre() and init_post() might be called via our GOptionGroup or
5258           from gst_init(), and we should skip both of them if we've already
5259           been initialised, otherwise we will init some things twice or add
5260           two default log functions.
5261
5262 2006-12-13  Edward Hervey  <edward@fluendo.com>
5263
5264         * docs/manual/basics-bus.xml:
5265         No, gst_main_loop does not exist. Its g_main_loop.
5266         Discovered by somebody who abused the copy-paste technique of coding :)
5267
5268 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5269
5270         * gst/gstghostpad.c:
5271           Log ghostpad debug stuff to the GST_PADS category as well rather
5272           than just to the default category.
5273
5274 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5275
5276         * configure.ac:
5277         * gst/gst.c: (init_pre):
5278           Add some basic system details such as OS and architecture
5279           to the debug output if possible, courtesy of uname().
5280
5281 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5282
5283         * docs/gst/running.xml:
5284           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5285           environment variables.
5286
5287 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5288
5289         * tests/check/gst/gstbin.c: (GST_START_TEST):
5290         It is acceptable to have a refcount of 2 or 3 at this point in the
5291         test, because the pipeline might be just posting its state_change
5292         message. The next line then waits for that message to appear using
5293         bus_poll, so that should be fine too.
5294
5295 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5296
5297         * gst/gst.c: (ensure_current_registry_forking):
5298         Ignore EINTR when reading from the child registry pipe.
5299         Explicitly ignore the return value from close, since it makes no
5300         difference.
5301
5302         * gst/gstminiobject.c: (gst_mini_object_ref),
5303         (gst_mini_object_unref):
5304         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5305
5306         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5307         When removing cached plugins, remove their features too, so they're
5308         not visible after they've disappeared.
5309
5310         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5311         In the unlikely case that we are linking pads with no parents, don't
5312         crash trying to get the non-existent parent bin.
5313
5314         * gst/parse/grammar.y:
5315         Output debug in the PIPELINE category
5316
5317 2005-03-08  Wim Taymans  <wim@fluendo.com>
5318
5319         Patch by: René Stadler <mail at renestadler dot de>
5320
5321         * gst/gstclock.c: (gst_clock_new_periodic_id):
5322         Reject invalid clock times for interval of periodic ids.
5323         Fixes ##383506.
5324
5325 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5326
5327         * gst/gstelementfactory.c: (gst_element_factory_create):
5328         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5329         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5330         * tools/gst-inspect.c: (print_element_info):
5331         Fix refcounting of gst_plugin_feature_load to match the docs. 
5332         Fixes: #380129
5333
5334 2006-12-07  Wim Taymans  <wim@fluendo.com>
5335
5336         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5337         (gst_base_sink_get_position):
5338         Improve debugging of events.
5339
5340 2006-12-07  Wim Taymans  <wim@fluendo.com>
5341
5342         Patch by: René Stadler <mail at renestadler dot de>
5343
5344         * gst/gstclock.c: (gst_clock_id_wait):
5345         Make period ids add the interval to the origial requested time instead
5346         of the possibly updated time which can be wrong when there are multiple
5347         waiters for the same id. Fixes #382592.
5348
5349         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5350         (gst_system_clock_id_wait_jitter_unlocked),
5351         (gst_system_clock_id_wait_jitter):
5352         Fix restart in the async notify thread when an async entry is added to
5353         the front of the list. Fixes #381492. 
5354
5355         * tests/check/gst/gstsystemclock.c: (store_callback),
5356         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5357         Added test for multiple async waits.
5358         Added test for async wait order.
5359
5360 2006-12-07  Wim Taymans  <wim@fluendo.com>
5361
5362         * gst/gstbin.c: (gst_bin_query):
5363         Add some more docs about the POSITION query.
5364
5365 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5366
5367         * configure.ac:
5368         Bump version nano - back to CVS.
5369
5370 === release 0.10.11 ===
5371
5372 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
5373
5374         * configure.ac:
5375           releasing 0.10.11, "Love never runs on time"
5376
5377 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
5378
5379         * win32/common/libgstbase.def:
5380         * win32/common/libgstreamer.def:
5381         * win32/vs8/libgstbase.vcproj:
5382         * win32/vs8/libgstcoreelements.vcproj:
5383         * win32/vs8/libgstreamer.vcproj:
5384         Fix compilation on win32 under VS8
5385         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5386         Partially fixes #381175
5387
5388 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5389
5390         * gst/gstvalue.c: (gst_value_compare_fraction):
5391         If someone is foolish enough to compare 2 fractions with denominator =
5392         0, return UNORDERED rather than aborting.
5393
5394 2006-11-28  Edward Hervey  <edward@fluendo.com>
5395
5396         * libs/gst/base/Makefile.am:
5397         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5398         (gst_data_queue_base_init), (gst_data_queue_class_init),
5399         (gst_data_queue_init), (gst_data_queue_new),
5400         (gst_data_queue_cleanup), (gst_data_queue_finalize),
5401         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5402         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5403         (gst_data_queue_is_empty), (gst_data_queue_is_full),
5404         (gst_data_queue_set_flushing), (gst_data_queue_push),
5405         (gst_data_queue_pop), (gst_data_queue_drop_head),
5406         (gst_data_queue_set_property), (gst_data_queue_get_property):
5407         * libs/gst/base/gstdataqueue.h:
5408         New GstDataQueue object for threadsafe queueing. Most useful for
5409         elements that need some queueing functionnality.
5410         * docs/libs/gstreamer-libs-docs.sgml:
5411         * docs/libs/gstreamer-libs-sections.txt:
5412         Insert documentation for GstDataQueue
5413         * plugins/elements/Makefile.am:
5414         * plugins/elements/gstelements.c:
5415         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5416         (gst_multi_queue_class_init), (gst_multi_queue_init),
5417         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5418         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5419         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5420         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5421         (gst_multi_queue_loop), (gst_multi_queue_chain),
5422         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5423         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5424         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5425         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5426         (wake_up_next_non_linked), (compute_next_non_linked),
5427         (single_queue_overrun_cb), (single_queue_underrun_cb),
5428         (single_queue_check_full), (gst_single_queue_new):
5429         * plugins/elements/gstmultiqueue.h:
5430         New multiqueue element, using GstDataQueue. Used for queuing multiple
5431         streams.
5432         Closes #344639 and #347785
5433
5434 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
5435
5436         * docs/pwg/advanced-types.xml:
5437           add more missing type details
5438
5439         * tools/gst-run.c: (main):
5440           remove unused variable
5441
5442 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
5443
5444         * docs/libs/Makefile.am:
5445         * docs/libs/gstreamer-libs.types:
5446           add types of base classes to enable gobject specific stuff in the docs
5447
5448         * docs/random/ensonic/embedded.txt:
5449           more ideas about isolating platform specific things
5450
5451 2006-11-20  Wim Taymans  <wim@fluendo.com>
5452
5453         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5454
5455         * libs/gst/check/gstcheck.h:
5456         Fix compilation and running against 0.9.4. Fixes #377332.
5457
5458 2006-11-20  Wim Taymans  <wim@fluendo.com>
5459
5460         * gst/gstsegment.c: (gst_segment_set_seek),
5461         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5462         (gst_segment_to_running_time):
5463         Fix boundary checking in to_running_time() and to_stream_time().
5464         Fixes #377183.
5465
5466         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5467         stream and running time can now be calculated for the complete
5468         clipped segment.
5469
5470 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
5471
5472         * gst/gstpad.c: (gst_pad_push_event):
5473           Can't access event structure after giving away ownership of
5474           the event.
5475
5476 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
5477
5478         * docs/random/ensonic/embedded.txt:
5479         * docs/random/ensonic/profiling.txt:
5480         * docs/random/ensonic/receipies.txt:
5481           more thinking
5482
5483 2006-11-13  Wim Taymans  <wim@fluendo.com>
5484
5485         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5486
5487         * gst/gstpad.c:
5488         Fix documentation for gst_pad_dispatcher. Fixes #374475.
5489
5490 2006-11-13  Wim Taymans  <wim@fluendo.com>
5491
5492         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5493
5494         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5495         Store new length in segment duration so we don't keep on calling the
5496         potentially expensize get_size() call. Fixes #370865.
5497
5498 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
5499
5500         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
5501
5502         * win32/common/libgstreamer.def:
5503           Add two missing symbols (#366492).
5504
5505 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
5506
5507         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5508         (gst_adapter_take_buffer):
5509         Fix format string to use all its arguments.
5510         Remove useless >= check on a guint
5511
5512 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5513
5514         * tests/examples/adapter/.cvsignore:
5515         Ignore build file as commanded by the build-bot
5516
5517 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5518
5519         * tests/examples/adapter/Makefile.am:
5520         * tests/examples/adapter/adapter_test.c: (run_test_take),
5521         (run_test_take_buffer), (run_tests), (main):
5522
5523         Add new files from the previous commit
5524
5525 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
5526
5527         * Makefile.am:
5528         * configure.ac:
5529         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5530         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5531         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5532         * libs/gst/base/gstadapter.h:
5533         * tests/check/libs/adapter.c: (create_and_fill_adapter),
5534         (GST_START_TEST), (gst_adapter_suite):
5535         * tests/examples/Makefile.am:
5536         Do some optimisation work in GstAdapter to avoid copies in more cases.
5537         It could still do slightly better by merging buffers when
5538         gst_buffer_is_span_fast is true, but is already faster. 
5539
5540         Also, avoid traversing a single-linked list to append each incoming 
5541         buffer inside the adapter.
5542
5543         Add simple test app that times the adapter behaviour in different
5544         situations, and extend the unit test to check that bytes enter and
5545         exit the adapter in their original order.
5546
5547 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
5548
5549         * docs/random/draft-missing-plugins.txt:
5550           Update: use element message instead of adding a new message
5551           type to the core; don't provide GStreamer API to initiate the
5552           plugin download, just provide API to compose the strings needed
5553           and let an external libgimmestuff handle the rest.
5554
5555 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
5556
5557         * tools/gst-inspect.c: (print_element_properties_info):
5558         Print a string instead of 'unknown type' for GValueArray properties
5559
5560 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
5561
5562         * docs/random/draft-missing-plugins.txt:
5563         More small fixes.
5564
5565 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5566
5567         * tests/examples/typefind/typefind.c: (type_found), (main):
5568           Make typefind element example work again (#371894); add a
5569           license header.
5570
5571 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5572
5573         * docs/random/draft-missing-plugins.txt:
5574           Commit initial draft about how to deal with missing plugins,
5575           needs work (API too).
5576
5577 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
5578
5579         * docs/pwg/advanced-types.xml:
5580           documents the new caps elements (see #363118)
5581
5582 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5583
5584         * gst/gstplugin.c: (gst_plugin_load_file):
5585         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5586         (gst_file_src_map_region), (gst_file_src_start):
5587         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5588         (gst_file_index_commit):
5589           Use g_strerror() instead of strerror() - we want UTF-8.
5590
5591 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5592
5593         Patch by: Peter Kjellerstedt <pkj at axis com>
5594
5595         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5596           Another printf fix (#371493).
5597
5598 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5599
5600         * tests/check/gst/gsttag.c:
5601           relicence (okay with author=company)
5602
5603 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5604
5605         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5606         (gst_pad_push_event):
5607           Enhance debug and improve docs
5608         
5609         * gst/gsturi.c:
5610           Fix docs
5611
5612 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5613
5614         * docs/random/ensonic/distributed.txt:
5615         * docs/random/ensonic/profiling.txt:
5616           more ideas
5617
5618 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
5619
5620         * docs/gst/gstreamer-sections.txt:
5621           add new API and fix the build
5622           
5623         * gst/gstbin.c: (gst_bin_recalc_state):
5624         * gst/gstelement.c: (gst_element_message_full),
5625         (gst_element_get_state_func), (gst_element_set_state_func):
5626           use new API and improve logging
5627         
5628         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5629         * gst/gstutils.h:
5630           API: add function to get StateChangereturn names to improve logs 
5631
5632 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5633
5634         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5635           I'm considering shooting the next person to put strerror stuff
5636           in the translateable part of the message.
5637
5638 2006-11-03  Wim Taymans  <wim@fluendo.com>
5639
5640         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5641         Get the type and printf conversion specifiers right.
5642
5643 2006-11-03  Wim Taymans  <wim@fluendo.com>
5644
5645         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5646
5647         * gst/gstpad.c: (gst_pad_init), (pre_activate),
5648         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
5649         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
5650         Some small cleanups. Improve debugging.
5651         * gst/gstpad.h:
5652         Signal all waiting threads with a broadcast instead of just one.
5653         Fixes #369942.
5654
5655 2006-11-03  Wim Taymans  <wim@fluendo.com>
5656
5657         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
5658         (gst_fd_src_create):
5659         Add some debugging. 
5660         Only update fd when it's different from the old.
5661
5662 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5663
5664         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
5665           Printf fixes for PPC/OSX, take two (#369366).
5666
5667 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
5668
5669         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
5670
5671         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
5672         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
5673         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
5674           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
5675           don't cast to long long for portability reasons, but use
5676           GLib's types instead.
5677
5678 2006-10-30  Michael Smith  <msmith@fluendo.com>
5679
5680         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
5681           Get the arguments to lseek() the right way around.
5682           Fixes 367677.
5683
5684 2006-10-30  Wim Taymans  <wim@fluendo.com>
5685
5686         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
5687
5688         * gst/gstinfo.h:
5689         _declspec should be __declspec (two underscores, not one). Fixes 366572.
5690
5691 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5692
5693         Patch by: Kjartan Maraas  <kmaraas at gnome org>
5694
5695         * docs/design/part-MT-refcounting.txt:
5696         * docs/random/wtay/capsnego2-docs:
5697         * gst/gstclock.c:
5698         * gst/gstxml.c:
5699           Typo fixes (#366212).
5700
5701 2006-10-28  Wim Taymans  <wim@fluendo.com>
5702
5703         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5704
5705         * gst/gst.c:
5706         * win32/common/libgstbase.def:
5707         * win32/common/libgstreamer.def:
5708         * win32/vs8/libgstbase.vcproj:
5709         * win32/vs8/libgstcontroller.vcproj:
5710         Add needed entries in .def files.
5711         Use HAVE_UNISTD_H.
5712         Rearrange def files in vs8 solutions. Fixes #366286.
5713
5714 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
5715
5716         * win32/common/gstconfig.h:
5717           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
5718           hand-made win32 gstconfig.h. Fixes #366321.
5719
5720 2006-10-27  Wim Taymans  <wim@fluendo.com>
5721
5722         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
5723         (gst_ghost_pad_new_full):
5724         Make acceptcaps return TRUE when we don't have a target, just like
5725         setcaps does.
5726
5727 2006-10-27  Wim Taymans  <wim@fluendo.com>
5728
5729         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5730         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
5731
5732 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
5733
5734         * gst/gststructure.c: (gst_structure_id_set_value):
5735           If someone tries to set a non-UTF8 string field on a structure,
5736           don't just print a warning, but also ignore the request and do
5737           not change/add that field to the structure.
5738
5739         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5740           Test for the above.
5741
5742 2006-10-25  David Schleef  <ds@schleef.org>
5743
5744         * gst/gstinfo.c:
5745           g_hash_table_insert() needs a cast to a non-const pointer duh.
5746
5747 2006-10-25  David Schleef  <ds@schleef.org>
5748
5749         * gst/gstinfo.c:
5750         * gst/gstinfo.h:
5751           Change name parameter of _gst_debug_register_funcptr to const
5752           to reflect the constness of its use in the function as well
5753           as to quiet a gcc warning.
5754
5755 2006-10-25  Edward Hervey  <edward@fluendo.com>
5756
5757         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5758         Don't push the buffer if it's empty.
5759         Closes #363095
5760
5761 2006-10-24  Wim Taymans  <wim@fluendo.com>
5762
5763         * gst/gstevent.h:
5764         Add small comment.
5765
5766         * libs/gst/base/gstbasetransform.c:
5767         (gst_base_transform_sink_eventfunc):
5768         Debug segment values *after* updating them as this is more
5769         interesting.
5770
5771 2006-10-23  Wim Taymans  <wim@fluendo.com>
5772
5773         * docs/design/part-events.txt:
5774         Update some docs.
5775
5776         * docs/design/part-block.txt:
5777         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
5778         (gst_pad_push_event):
5779         Revert BLOCKING patch, it tries to be smart without really having a
5780         clear idea what or how. So, now we discard all FLUSHING events again on
5781         a blocking pad. Should fix gnonlin again.
5782
5783 2006-10-23  Wim Taymans  <wim@fluendo.com>
5784
5785         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5786
5787         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5788         (gst_base_src_start), (gst_base_src_activate_push):
5789         Make sure size is always initialized. Fixes #364388.
5790
5791 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
5792
5793         * docs/random/ensonic/distributed.txt:
5794           add some ideas about doing distributed processing
5795
5796         * docs/random/ensonic/profiling.txt:
5797           get_rusage look promising
5798
5799 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5800
5801         * docs/manual/basics-helloworld.xml:
5802           Add a cast in example to fix compile warning
5803
5804 2006-10-18  Wim Taymans  <wim@fluendo.com>
5805
5806         * gst/gstsegment.c: (gst_segment_set_last_stop),
5807         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5808         Relax arg checking again, -1 is allowed.
5809
5810 2006-10-18  Wim Taymans  <wim@fluendo.com>
5811
5812         * gst/gstsegment.c: (gst_segment_set_last_stop),
5813         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
5814         _set_last_stop() must be with a value != -1
5815         A _TYPE_SET to -1 means seek to 0.
5816         Calc last_stop correctly for negative rates.
5817         Make sure we work with positive durations when updating a segment.
5818
5819 2006-10-18  Wim Taymans  <wim@fluendo.com>
5820
5821         * docs/design/part-live-source.txt:
5822         * gst/gstclock.h:
5823         Small docs fixes.
5824
5825 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
5826
5827         * gst/gstbuffer.h:
5828           Add an explicit cast to GstBuffer** to keep old code that added an
5829           explicit cast to GstMiniObject** for gst_mini_object_replace()
5830           compiling without warning.
5831
5832 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
5833
5834         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
5835           check for validity of dates
5836
5837 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5838
5839         * docs/gst/gstreamer-sections.txt:
5840           Forgot this one, makes gtk-doc shut up.
5841
5842 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5843
5844         Patch by: Peter Kjellerstedt <pkj at axis com>
5845
5846         * gst/gstobject.h:
5847           Don't define xmlNodePtr to gpointer if the core was built with
5848           --disable-loadsave and --disable-registry, this will break
5849           applications that want to use libxml2 but are buildling against a
5850           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
5851           instead so we don't have to mess with the libxml2 namespace
5852           (#361675).
5853
5854 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
5855
5856         * gst/gstbuffer.h:
5857           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
5858           type-punned pointer warnings.
5859
5860 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
5861
5862         * gst/gstelement.h:
5863           Add casts to the correct return type to state <=> state transition
5864           macros.
5865
5866 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
5867
5868         * docs/design/part-live-source.txt:
5869           describe howto handle latency
5870         
5871         * docs/random/ensonic/profiling.txt:
5872           more ideas
5873
5874         * tools/gst-plot-timeline.py:
5875           fix log parsing for solaris, remove unused function
5876
5877 2006-10-16  Wim Taymans  <wim@fluendo.com>
5878
5879         * docs/design/part-trickmodes.txt:
5880         * gst/gstevent.c:
5881         Update some docs regarding reverse playback.
5882
5883 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5884
5885         Patch by: Marcus Granado  <mrc dot gran at gmail com>
5886
5887         * win32/vs8/grammar.vcproj:
5888           Error out with a warning if glib-genmarshal.exe is not in path,
5889           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
5890
5891 2006-10-13  Wim Taymans  <wim@fluendo.com>
5892
5893         * gst/gstsegment.c: (gst_segment_set_seek):
5894         When seeking to stop -1, set last_stop (current position) to the
5895         duration of the segment.
5896
5897 2006-10-13  Wim Taymans  <wim@fluendo.com>
5898
5899         * gst/gstelement.h:
5900         Clarify _NO_PREROLL a bit more.
5901
5902         * gst/gstevent.c:
5903         Fix docs.
5904
5905         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
5906         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
5907         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
5908         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
5909         due to wrong locking order. Fixes #361769.
5910         Remove some redundant/misplaced checks in pad_block.
5911
5912         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5913         For negative rates, count backwards from the duration.
5914
5915 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5916
5917         * gst/gsterror.c: (_gst_library_errors_init):
5918           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
5919           up with something better).
5920
5921 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5922
5923         * win32/vs6/libgstreamer.dsp:
5924         * win32/vs7/libgstreamer.vcproj:
5925         * win32/vs8/libgstreamer.vcproj:
5926           Don't reference glib-compat.c which is currently not used and not
5927           disted; add gstquark.c which was recently added. Fixes #361730.
5928
5929 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
5930
5931         * win32/common/libgstbase.def:
5932         * win32/common/libgstcontroller.def:
5933         * win32/common/libgstreamer.def:
5934           Add gst_caps_merge() and a bunch of other recently-added functions.
5935           Fixes #361732.
5936
5937 2006-10-11  Wim Taymans  <wim@fluendo.com>
5938
5939         * docs/plugins/gstreamer-plugins.args:
5940         * docs/plugins/inspect/plugin-coreelements.xml:
5941         * docs/plugins/inspect/plugin-coreindexers.xml:
5942         Update element args.
5943
5944         * gst/gstsystemclock.c:
5945         Small comment update.
5946
5947         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
5948         (gst_tee_request_new_pad), (gst_tee_release_pad),
5949         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
5950         (gst_tee_sink_activate_pull):
5951         * plugins/elements/gsttee.h:
5952         Some tee loving:
5953         Add default property defines.
5954         Implement release pad function.
5955         Give properties better blubs etc.
5956         Activate pads before adding them to a running tee.
5957         Do simple buffer_alloc on the first requested pad.
5958         Post error when activation fails.
5959
5960 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5961
5962         * gst/gst.c: (ensure_current_registry_forking):
5963           Check return value of write() to make compiler happy.
5964
5965 2006-10-11  Wim Taymans  <wim@fluendo.com>
5966
5967         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5968
5969         * plugins/elements/gstqueue.c: (gst_queue_chain):
5970         Recheck queue filledness after signalling the overrun when we're about
5971         to leak downstream because we released the lock when emitting the signal
5972         and the queue could be empty again. Fixes #352345.
5973
5974 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
5975
5976         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5977           Fix refcounting here too, just like we did for _new_valist() a few
5978           days ago (#357180) (thanks to René Stadler). Also remove all those
5979           'Since: 0.9' from the gtk-doc blobs.
5980
5981         * tests/check/libs/controller.c: (controller_refcount_new_list),
5982         (gst_controller_suite):
5983           Unit test for the above.
5984
5985 2006-10-10  Wim Taymans  <wim@fluendo.com>
5986
5987         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
5988
5989         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5990         (gst_pad_save_thyself):
5991         Update some docs.
5992         Write pad direction in XML output. Fixes #345496.
5993
5994 2006-10-10  Wim Taymans  <wim@fluendo.com>
5995
5996         Patch by: René Stadler <mail at renestadler dot de>
5997
5998         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5999         (gst_controller_new_list), (_gst_controller_dispose),
6000         (_gst_controller_finalize), (_gst_controller_class_init):
6001         Take ref to controlled object so that it cannot disappear. 
6002         Fixes #357432.
6003
6004 2006-10-10  Wim Taymans  <wim@fluendo.com>
6005
6006         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6007         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6008         (gst_check_teardown_sink_pad):
6009         Activate/deactivate pads in setup/teardown respectively.
6010
6011 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6012
6013         Patch by: Josep Torre Valles <josep@fluendo.com>
6014
6015         * gst/Makefile.am:
6016         Cast values when making gstenumtypes.h.  This pacifies Forte
6017         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6018         in the enumeration.
6019
6020 2006-10-09  Wim Taymans  <wim@fluendo.com>
6021
6022         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6023         Rename some more @cur to @start to fix docs. 
6024
6025         * gst/gstsegment.c: (gst_segment_set_seek):
6026         Fix typo.
6027         time and start must always stay in sync as defined in design doc.
6028
6029         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6030         Rename param to fix docs.
6031
6032         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6033         Check that start and time are in sync.
6034
6035         * tests/check/pipelines/parse-launch.c:
6036         (gst_parse_test_element_change_state):
6037         Activate pad before adding to the element.
6038
6039 2006-10-09  Wim Taymans  <wim@fluendo.com>
6040
6041         * docs/design/part-qos.txt:
6042         Fix typo.
6043
6044         * gst/gstevent.c:
6045         * gst/gstevent.h:
6046         Update seek event docs regarding negative rates.
6047         Rename @cur to @start. 
6048
6049         * gst/gstsegment.c: (gst_segment_set_seek):
6050         * gst/gstsegment.h:
6051         Update set_seek docs regarding negative rates.
6052         Correctly update last_stop to @stop when dealing with negative
6053         rates.
6054         Rename @cur to @start. 
6055
6056         * tests/check/gst/gstpad.c: (GST_START_TEST):
6057         Activate pads before trying to use them.
6058
6059         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6060         (gst_segment_suite):
6061         Add simple check for segments and negative rates.
6062
6063 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6064
6065         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6066         * gst/gsttaglist.h:
6067         * docs/gst/gstreamer-sections.txt:
6068           API: add gst_tag_list_is_empty() (#360467).
6069
6070         * tests/check/gst/gsttag.c: (GST_START_TEST):
6071           And a test case.
6072
6073 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6074
6075         * gst/gstmessage.h:
6076         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6077         a value that doesn't fit on enumeration.
6078
6079 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6080
6081         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6082         Remove local debugging system and use Gstreamer's instead.
6083
6084 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6085
6086         Patch by: Josep Torre Valles <josep@fluendo.com>
6087
6088         * common/m4/gst-error.m4:
6089         Disable warning of statement not reached on Forte.
6090         * gst/gstmessage.h:
6091         Fix warning on Forte (value doesn't fit on enumeration).
6092         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6093         Fix warning on Forte (value doesn't fit on enumeration).
6094         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6095         DEBUG macro says it takes minimum of 2 args and so Forte
6096         complains about the use with just 1 arg.
6097         * plugins/elements/gstfdsink.c:
6098         * plugins/elements/gstfdsrc.c:
6099         * plugins/elements/gstfilesink.c:
6100         * plugins/elements/gstfilesrc.c:
6101         Use correct return type for the uri handler implementations.
6102
6103         All these fix warnings in Forte.  Fixes bug #360860.
6104
6105 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6106
6107         * gst/gstelement.h:
6108           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6109           format string, so don't use G_GNUC_PRINTF for those versions.
6110
6111 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6112
6113         * gst/gsttaglist.c: (gst_is_tag_list):
6114         * gst/gsttaglist.h:
6115           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6116
6117         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6118           Small test for the above.
6119
6120 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6121
6122         * gst/gsttaglist.h:
6123           Less tabs, more spaces.
6124
6125 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6126
6127         * gst/gstinfo.h:
6128           Those two function declarations do actually belong there, revert
6129           commit from yesterday that turned them intro macros.
6130
6131 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6132
6133         Patch by: Josep Torre Valles <josep@fluendo.com>
6134
6135         * gst/gst.c: (gst_init_get_option_group):
6136         Fix empty declaration and type mismatch.
6137         * gst/gstbin.c: (gst_bin_change_state_func):
6138         Fix type mismatch.
6139         * gst/gstelement.c: (gst_element_continue_state),
6140         (gst_element_set_state_func), (gst_element_change_state),
6141         (gst_element_change_state_func):
6142         Fix type mismatches.
6143         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6144         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6145         Cast as appropriate.
6146         * gst/gstobject.c: (gst_class_signal_connect):
6147         Cast as appropriate.  The function pointer parameter really
6148         has the wrong type but would break API if we change it.
6149         * gst/gstquery.c:
6150         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6151         order of including string.h.
6152         * gst/gstutils.c: (gst_element_state_get_name):
6153         Remove unreachable line.
6154         * gst/gstxml.c: (gst_xml_parse_doc):
6155         Fix type mismatch.
6156         All these caught by Forte.
6157
6158 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6159
6160         Patch by: Josep Torre Valles <josep@fluendo.com>
6161
6162         * common/m4/gst-error.m4:
6163         Fixed bug #360151.
6164         We need to disable warnings on Forte for empty declarations
6165         due to gst-indent adding ;s to lines that just use macros
6166         where the macro actually doesn't need a ; at end to end
6167         statement.
6168
6169 2006-10-06  Wim Taymans  <wim@fluendo.com>
6170
6171         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6172         (gst_file_sink_close_file), (gst_file_sink_event),
6173         (gst_file_sink_render):
6174         Add some FIXME for the NEWSEGMENT handling.
6175
6176 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6177
6178         * gst/parse/grammar.y:
6179         Remove static function gst_parse_element_lock as all it does
6180         is return.  Looks like cruft from 0.8.
6181
6182 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6183
6184         Patch by: Josep Torre Valles <josep@fluendo.com>
6185
6186         * common/m4/gst-error.m4:
6187         * configure.ac:
6188         * libs/gst/net/Makefile.am:
6189         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6190         libresolv.
6191
6192 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6193
6194         * gst/gstpad.c: (pre_activate):
6195         * gst/gstregistry.c: (gst_registry_scan_path_level):
6196         * gst/gstregistryxml.c: (load_plugin):
6197         * libs/gst/controller/gstcontroller.c:
6198         (gst_controlled_property_set_interpolation_mode):
6199         * libs/gst/dataprotocol/dataprotocol.c:
6200         (gst_dp_packet_from_event_1_0):
6201         * libs/gst/net/gstnetclientclock.c:
6202         (gst_net_client_clock_observe_times):
6203         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6204           Printf fixes.
6205
6206 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6207
6208         * configure.ac:
6209         * docs/gst/gstreamer-sections.txt:
6210         * gst/gstconfig.h.in:
6211         * gst/gstelement.h:
6212         * gst/gstinfo.h:
6213           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6214           whether we can use G_GNUC_PRINTF in other header files and at
6215           least check the printf format/arguments of debug messages and
6216           GST_ELEMENT_ERROR messages when the printf extension is not
6217           being used.
6218           Replace more tabs with spaces in gstinfo.h and remove two spurious
6219           function declarations in GST_DISABLE_DEBUG part with macros.
6220
6221 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6222
6223         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6224           More docs for the sync-message signal (mention that it is not
6225           emitted by default); log message structures of messages posted on
6226           the bus as well.
6227
6228 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6229
6230         * gst/gst.c: (ensure_current_registry_forking):
6231         Use a pipe pair to receive status results from the forked child, and
6232         ignore the result from waitpid. Fixes #355499
6233
6234 2006-10-02  Wim Taymans  <wim@fluendo.com>
6235
6236         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6237         (gst_ghost_pad_suite):
6238         Fix leak in check.
6239
6240 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6241
6242         * gst/gstpad.c:
6243           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6244
6245 2006-10-02  Edward Hervey  <edward@fluendo.com>
6246
6247         * docs/design/part-block.txt:
6248         Further explain the use of flushing on blocked pads.
6249         * docs/gst/gstreamer-sections.txt:
6250         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6251         (gst_pad_push_event):
6252         * gst/gstpad.h:
6253         Added new GstPadFlag : GST_PAD_BLOCKING.
6254         Adds the notion of pads really blocking, which enables to properly
6255         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6256         Fixes #358999
6257         API: gst_pad_is_blocking()
6258         API: GST_PAD_IS_BLOCKING() macro
6259         API: GST_PAD_BLOCKING GstPadFlag
6260         
6261 2006-10-02  Wim Taymans  <wim@fluendo.com>
6262
6263         Patch by: mrcgran <mrc.gran at gmail dot com>
6264
6265         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6266         Filter the proxied caps against the padtemplate if we have one.
6267
6268         * gst/gstquery.c: (gst_query_new_segment):
6269         Add include for gstinfo.h so that compilation with
6270         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6271
6272 2006-10-02  Wim Taymans  <wim@fluendo.com>
6273
6274         Patch by: Alessandro Decina  <alessandro at nnva org>
6275
6276         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6277         (gst_file_sink_set_location), (gst_file_sink_open_file),
6278         (gst_file_sink_close_file), (gst_file_sink_event),
6279         (gst_file_sink_render):
6280         Set file to NULL when closing filesink so that we can set a new filename
6281         in READY. Fixes #358613.
6282
6283 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6284
6285         Patch by: Alessandro Decina  <alessandro at nnva org>
6286
6287         * gst/gstevent.c: (_gst_event_copy):
6288           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6289           with event structures by setting the parent refcount address of the
6290           copied structure to the address of the refcount member of the newly
6291           copied event rather than the address of the refcount member of the
6292           original event. Fixes #358737.
6293
6294         * tests/check/gst/gstevent.c: (GST_START_TEST):
6295           Unit test for the above.
6296
6297 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6298
6299         * docs/design/Makefile.am:
6300           Dist some more files.
6301
6302 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6303
6304         * tests/check/libs/controller.c: (GST_START_TEST),
6305         (gst_controller_suite):
6306           Add test for the previous fix; add some more tests
6307           for correct refcounting behaviour; fix a few leaks
6308           in test cases; call gst_controller_init() at start
6309           of all tests.
6310
6311 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6312
6313         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6314         (gst_controller_set_from_list):
6315           Don't g_return_val_if_fail() on timed values with invalid timestamps
6316           inside a critical section without unlocking the mutex. Spotted by
6317           René Stadler. (#357617)
6318           Also, fix up refcounting properly: when returning an existing
6319           controller, we should increase the reference only once and not
6320           once per property and when trying to control a property again
6321           we should also increase the refcount.
6322
6323 2006-09-29  Wim Taymans  <wim@fluendo.com>
6324
6325         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6326         * libs/gst/net/gstnettimeprovider.c:
6327         (gst_net_time_provider_thread):
6328         Stop reading commands when EOF as well.
6329
6330         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6331         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6332         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6333         Unify description of the dump property.
6334
6335 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6336
6337         * tests/examples/manual/.cvsignore:
6338         OK, so it's actually cvsignore that needs changing. Stop laughing.
6339
6340 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6341
6342         * tests/examples/manual/Makefile.am:
6343         Gah, declare vars *before* using them
6344
6345 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6346
6347         * gst/gst.c: (init_pre), (scan_and_update_registry),
6348         (ensure_current_registry_nonforking),
6349         (ensure_current_registry_forking), (ensure_current_registry),
6350         (init_post), (gst_debug_help), (gst_deinit):
6351         * gst/gst_private.h:
6352         * gst/gstregistry.c: (gst_registry_finalize),
6353         (gst_registry_remove_features_for_plugin_unlocked),
6354         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6355         (gst_registry_scan_path),
6356         (_priv_gst_registry_remove_cache_plugins),
6357         (_priv_gst_registry_cleanup):
6358         * gst/gstregistry.h:
6359         Re-commit the registry changes, along with an extra fix:
6360           When a cached plugin is encountered at a different file path,
6361           update the stored path in the registry cache so that the parent
6362           process knows where it actually is now when it re-reads the registry
6363           cache. Fixes the thing that broke distcheck with the previous commit.
6364
6365         * tests/check/Makefile.am:
6366         Clean up files named 'core' too when running make clean.
6367
6368         * tests/examples/manual/Makefile.am:
6369         Set up a registry path for running these tests, and clean it properly
6370         for distcheck.
6371
6372 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6373
6374         * configure.ac:
6375         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6376         want gmodule-no-export-2.0.pc instead so that we don't drag in
6377         --export-dynamic on every project that links to GStreamer.
6378
6379         Also, make our export regex only match the start of symbols, rather 
6380         than any symbol that contains '_gst' somewhere.
6381
6382         * libs/gst/check/Makefile.am:
6383         The libgstcheck we build does however need export-dynamic, as it
6384         produces some symbols that don't match our _gst... style regex.
6385         Fixes: #318031
6386
6387 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6388
6389         * gst/gst.c: (init_pre), (scan_and_update_registry),
6390         (ensure_current_registry_nonforking),
6391         (ensure_current_registry_forking), (ensure_current_registry),
6392         (init_post), (gst_debug_help), (gst_deinit):
6393         * gst/gst_private.h:
6394         * gst/gstregistry.c: (gst_registry_finalize),
6395         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6396         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6397         (_gst_registry_cleanup):
6398         * gst/gstregistry.h:
6399           Revert previous change until I figure out why it breaks distcheck.
6400
6401 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
6402
6403         * gst/gst.c: (init_pre), (scan_and_update_registry),
6404         (ensure_current_registry_nonforking),
6405         (ensure_current_registry_forking), (ensure_current_registry),
6406         (init_post), (gst_debug_help), (gst_deinit):
6407
6408           Make init_pre and init_post take the full complement of GOptionFunc
6409           args so they can return useful GErrors. Make the registry updating
6410           functions do so.
6411
6412           Call _priv_gst_registry_remove_cache_plugins after scanning files to
6413           ensure that the registry we're about to write out doesn't contain
6414           stale information about old-deleted plugin files.
6415
6416           Make _priv_gst_registry_remove_cache_plugins return a boolean so
6417           that deletion of plugin files is considered a registry change.
6418
6419         * gst/gst_private.h:
6420         * gst/gstregistry.c: (gst_registry_finalize),
6421         (gst_registry_remove_features_for_plugin_unlocked),
6422         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6423         (gst_registry_scan_path),
6424         (_priv_gst_registry_remove_cache_plugins),
6425         (_priv_gst_registry_cleanup):
6426         * gst/gstregistry.h:
6427         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6428         by adding _priv prefix, so that they won't appear in the global
6429         symbol table. They still do atm though because of #318031. Move the
6430         prototypes to gst_private.h
6431
6432         When removing a plugin, remove all features for that plugin too. 
6433         Fixes #340878.
6434
6435 2006-09-27  Wim Taymans  <wim@fluendo.com>
6436
6437         * docs/random/moving-plugins:
6438         Make it clear that the "compiled-in descriptions" really mean
6439         the element details.
6440
6441         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6442         (gst_base_sink_wait_preroll):
6443         Update docs.
6444
6445         * docs/libs/gstreamer-libs-sections.txt:
6446         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6447         (gst_base_src_get_range), (gst_base_src_activate_push):
6448         * libs/gst/base/gstbasesrc.h:
6449         Added function to block while waiting for PLAYING, this function
6450         is used by live sources that block on the clock.
6451         API: gst_base_src_wait_playing()
6452
6453 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6454
6455         Patch by: Peter Kjellerstedt <pkj at axis com>
6456
6457         * Makefile.am:
6458           gst-element-check.m4 is generated and should therefore be
6459           copied from the build dir rather than the source dir (#357593).
6460           'make distcheck' hasn't noticed this because we were disting
6461           the file as well, so stop doing that.
6462
6463 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
6464
6465         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6466           Add some tests for gst_caps_intersect().
6467
6468         * tools/gst-launch.c: (event_loop):
6469           Print all buffering percentages we get, even the 100% one.
6470
6471 2006-09-26  Wim Taymans  <wim@fluendo.com>
6472
6473         * tools/gst-inspect.c: (print_element_properties_info),
6474         (print_signal_info):
6475         Fix printing of flags to match the look of enums.
6476
6477 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6478
6479         * gst/gstelementfactory.c:
6480           Fix typo in docs blurb.
6481
6482 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6483
6484         * gst/gsturi.c: (search_by_entry):
6485           Don't assert/crash here if a uri handler doesn't return any
6486           supported protocols. The list of protocols could be generated
6487           dynamically at runtime or at plugin registration, and an error
6488           in the underlying library shouldn't be fatal (#353301).
6489
6490 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6491
6492         * gst/gstinfo.c:
6493           Fix warning if HAVE_PRINTF_EXTENSION is undefined
6494           (spotted by Peter Kjellerstedt).
6495
6496 2006-09-23  Wim Taymans  <wim@fluendo.com>
6497
6498         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6499
6500         * libs/gst/base/gstbasesrc.c:
6501         (gst_base_src_default_check_get_range), (gst_base_src_start),
6502         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6503         (gst_base_src_change_state):
6504         Match _start/_stop calls in the activate functions. Remove redundant
6505         _stop call from the state change function. Fixes #356910.
6506         Turn failure DEBUG into ERROR. 
6507
6508 2006-09-22  Wim Taymans  <wim@fluendo.com>
6509
6510         * docs/design/part-buffering.txt:
6511         * gst/gstmessage.c: (gst_message_new_buffering),
6512         (gst_message_parse_buffering):
6513         Update docs about buffering.
6514
6515         * docs/design/part-trickmodes.txt:
6516         Fix typo.
6517
6518 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
6519
6520         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6521         (gst_controller_new_list):
6522           Ref instances when returning them again (fixes #357180)
6523
6524 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
6525
6526         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6527           Don't forget to release proxy lock when there's an error.
6528
6529 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
6530
6531         * gst/gstcaps.h:
6532           Add extra initialisers for Caps things, to fix some plugin warnings
6533           when using -Wextra
6534
6535 2006-09-18  Wim Taymans  <wim@fluendo.com>
6536
6537         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6538           Also set template on the internal pad so that a getcaps from the 
6539           target pad returns the template caps.
6540
6541 2006-09-18  Wim Taymans  <wim@fluendo.com>
6542
6543         * gst/gstelement.c: (gst_element_post_message),
6544         (gst_element_dispose):
6545         Use _DEBUG_OBJECT some more.
6546
6547         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6548         Avoid typechecks.
6549
6550         * tools/gst-launch.c: (main):
6551         If the toplevel element is not a GstPipeline, it must be put in a
6552         pipeline so that a bus and clock is selected.
6553
6554 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6555
6556         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6557           JITTER, RATE, and LATENCY query should be handled by the
6558           default case and not by the CONVERT query code.
6559
6560 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
6561
6562         * gst/gstformat.c: (gst_format_register):
6563           Fix locking order (must take lock before using n_values).
6564
6565         * gst/gstvalue.c: (gst_value_serialize_enum),
6566         (gst_value_deserialize_enum_iter_cmp),
6567         (gst_value_deserialize_enum):
6568           Fix serialisation/deserialisation of custom registered GstFormats.
6569
6570         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6571           Unit test for custom format serialisation/deserialisation.
6572
6573 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
6574
6575         * docs/pwg/building-boiler.xml:
6576         * plugins/elements/gstcapsfilter.c:
6577         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6578         section.
6579
6580 2006-09-16  Edward Hervey  <edward@fluendo.com>
6581
6582         * libs/gst/base/gstbasetransform.c:
6583         (gst_base_transform_buffer_alloc):
6584         Check if requested caps are the same as the sinks caps IF
6585         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6586         is FALSE.
6587         This fixes the renegotiation issues stated in #352827.
6588
6589 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6590
6591         * configure.ac:
6592         * docs/manual/advanced-autoplugging.xml:
6593         * tests/examples/Makefile.am:
6594         * tests/examples/manual/.cvsignore:
6595         * tests/examples/manual/Makefile.am:
6596         * tests/examples/manual/extract.pl:
6597           Extract the manual examples again like we used to do.
6598           Fix one of them.
6599
6600 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6601
6602         * win32/common/config.h:
6603           update for version
6604
6605 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
6606
6607         * gst/gsterror.c:
6608           Documents how to receive errors.
6609
6610 2006-09-15  Wim Taymans  <wim@fluendo.com>
6611
6612         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6613         (event_loop), (main):
6614         Added some comments here and there.
6615         Post an application message when an interrupt is caught instead of doing
6616         an uncontrolled state change.
6617         Clean up the event loop.
6618         Handle buffering messages, pause/resume the pipeline.
6619         Make shutdown because of an interrupt more reliable.
6620
6621 2006-09-15  Wim Taymans  <wim@fluendo.com>
6622
6623         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6624         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
6625         (gst_base_sink_preroll_object):
6626         Make sure that our internal state is correct when we commit our state
6627         asynchronously. This solves a race where a state change to PLAYING
6628         could cause the sink to remain blocked in preroll in some situations.
6629
6630 2006-09-15  Wim Taymans  <wim@fluendo.com>
6631
6632         * tools/gst-inspect.c: (print_element_properties_info),
6633         (print_signal_info):
6634         List flags as hex so it's easier to deal with.
6635
6636 2006-09-15  Wim Taymans  <wim@fluendo.com>
6637
6638         * docs/libs/gstreamer-libs-sections.txt:
6639         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
6640         (gst_base_sink_do_sync):
6641         * libs/gst/base/gstbasesink.h:
6642         Expose logic to wait for preroll so that subclasses such as audiosink
6643         can also use this method.
6644         API: gst_base_sink_wait_preroll()
6645
6646 2006-09-15  Wim Taymans  <wim@fluendo.com>
6647
6648         * gst/gstobject.c: (gst_object_set_parent):
6649         * gst/gstpipeline.c: (do_pipeline_seek):
6650         Small cleanups in docs and code.
6651
6652         * gst/gstsegment.c: (gst_segment_clip):
6653         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6654         if stop == start and start is in the segment, no clipping should be
6655         done. Also add a test for this.
6656
6657 2006-09-15  Wim Taymans  <wim@fluendo.com>
6658
6659         * docs/design/part-buffering.txt:
6660         * docs/gst/gstreamer-sections.txt:
6661         * gst/gstmessage.c: (gst_message_new_buffering),
6662         (gst_message_parse_buffering):
6663         * gst/gstmessage.h:
6664         Added methods to create and parse BUFFERING messages.
6665         Added preliminary docs about buffering.
6666         API: gst_message_new_buffering
6667         API: gst_message_parse_buffering
6668
6669 2006-09-06  Wim Taymans  <wim@fluendo.com>
6670
6671         * gst/gstbin.c:
6672         Update documentation.
6673
6674         * gst/gstelement.c: (gst_element_class_init),
6675         (gst_element_release_request_pad), (gst_element_set_clock),
6676         (gst_element_get_index), (gst_element_add_pad),
6677         (gst_element_remove_pad), (gst_element_get_random_pad),
6678         (gst_element_send_event), (gst_element_get_query_types),
6679         (gst_element_query), (gst_element_post_message),
6680         (gst_element_message_full), (gst_element_continue_state),
6681         (gst_element_lost_state), (gst_element_save_thyself),
6682         (gst_element_restore_thyself):
6683         Documentation updates.
6684         Rename last bit of the new-pad -> pad-added signal rename.
6685         Fix the case where an element query would only work if the source
6686         pad was linked.
6687         Avoid some useless type checking in message handling.
6688
6689         * gst/gstevent.c:
6690         * gst/gstevent.h:
6691         * gst/gstutils.c:
6692         Documentation updates.
6693
6694 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6695
6696         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6697           add an INFO line for when we actually update the fd
6698
6699 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6700
6701         * configure.ac:
6702           back to TRUNK
6703
6704 === release 0.10.10 ===
6705
6706 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
6707
6708         * configure.ac:
6709           releasing 0.10.10, "Pais"
6710
6711 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
6712
6713         * docs/manual/advanced-position.xml:
6714           Fix typo in sample code.
6715
6716 2006-09-05  Wim Taymans  <wim@fluendo.com>
6717
6718         * libs/gst/net/gstnetclientclock.c: (inet_aton),
6719         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6720         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
6721         * libs/gst/net/gstnetclientclock.h:
6722         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6723         * libs/gst/net/gstnettimepacket.h:
6724         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
6725         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
6726         (gst_net_time_provider_thread), (gst_net_time_provider_new):
6727         * libs/gst/net/gstnettimeprovider.h:
6728         Make stuff compile on windows. Fixes #345295.
6729
6730 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6731
6732         * gst/gst.c: (ensure_current_registry_forking):
6733           Print better details when child was terminated by signal.
6734
6735 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
6736
6737         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
6738           Print a warning rather than g_assert() if a plugin feature
6739           is a URI handler but returns no protocols (#353976).
6740
6741 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
6742
6743         * docs/random/moving-plugins:
6744         Fix two typos.         
6745
6746 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
6747
6748         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
6749           Fix locking order, handle NULL function values properly.
6750
6751         * gst/gstinfo.h:
6752           Fix docs.
6753
6754         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
6755           Initialise variable before using it and fix debug statement to
6756           print the address of the function rather than the address of the
6757           variable on the stack holding the address of the function.
6758
6759 2006-09-01  Wim Taymans  <wim@fluendo.com>
6760
6761         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
6762         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
6763         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6764         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
6765         (gst_ghost_pad_parent_unset),
6766         (gst_ghost_pad_internal_do_activate_push),
6767         (gst_ghost_pad_internal_do_activate_pull),
6768         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6769         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6770         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6771         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
6772         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
6773         (gst_ghost_pad_new_no_target_from_template),
6774         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6775         More cleanups.
6776         Avoid needless typechecking in macros.
6777         Since the internal pad is always present and never changes, there is
6778         no need to locking or ref when retrieving it.
6779         Improve debugging a bit.
6780         Handle link errors when setting the target. Fixes #341029.
6781
6782 2006-09-01  Wim Taymans  <wim@fluendo.com>
6783
6784         * docs/libs/gstreamer-libs-sections.txt:
6785         * docs/plugins/gstreamer-plugins-sections.txt:
6786         Fix docs some more.
6787
6788         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
6789         (gst_collect_pads_event):
6790         * libs/gst/base/gstcollectpads.h:
6791         Documentation updates.
6792         Free queued buffer when removing a pad.
6793
6794 2006-08-31  Michael Smith  <msmith@fluendo.com>
6795
6796         * gst/gstutils.c: (gst_element_link_pads),
6797         (gst_element_link_pads_filtered):
6798           Ensure that we set a capsfilter to NULL if we failed to link it
6799           when doing filtered linking, to avoid criticals.
6800
6801           No need to check for unreffing srcpad, which is explicly NULLed
6802           above (a trivial code cleanup).
6803
6804 2006-08-31  Wim Taymans  <wim@fluendo.com>
6805
6806         * docs/design/part-gstghostpad.txt:
6807         Update ascii art in documentation.
6808
6809         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
6810         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
6811         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
6812         (gst_ghost_pad_internal_do_activate_push),
6813         (gst_ghost_pad_internal_do_activate_pull),
6814         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6815         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6816         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
6817         (gst_ghost_pad_set_target):
6818         Small cleanups and leak fixes.
6819         Remove some checks now that the internal pad is never NULL.
6820         Fix the case where linking pads without a target would create nasty
6821         criticals. Fixes #341029.
6822         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
6823         value of _set_target().
6824
6825         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6826         (gst_ghost_pad_suite):
6827         Some more tests for creating and linking untargeted ghostpads.
6828
6829 2006-08-31  Edward Hervey  <edward@fluendo.com>
6830
6831         * docs/gst/gstreamer-sections.txt:
6832         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
6833         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
6834         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
6835         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
6836         (gst_ghost_pad_new_from_template),
6837         (gst_ghost_pad_new_no_target_from_template):
6838         * gst/gstghostpad.h:
6839         Refactored *_new() functions.
6840         Templates are now used as a g_object_new() parameter.
6841         Use template in _do_getcaps() if we don't have a target.
6842         Small documentation cleanups.
6843         Added two new constructors:
6844         gst_ghost_pad_new_from_template()
6845         gst_ghost_pad_new_no_target_from_template()
6846         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6847         (gst_ghost_pad_suite):
6848         Added tests for new ghostpad instanciation functions.
6849
6850         API additions: gst_ghost_pad_new_from_template,
6851         gst_ghost_pad_new_no_target_from_template
6852
6853 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
6854
6855         * docs/random/ensonic/profiling.txt:
6856           Ideas about qos profiling.
6857
6858 2006-08-29  Wim Taymans  <wim@fluendo.com>
6859
6860         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
6861         Code cleanups.
6862         Fix memleak.
6863
6864 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
6865
6866         * gst/gstxml.c:
6867           Improve and detypofy docs.
6868
6869         * tests/check/Makefile.am:
6870         * tests/check/gst/.cvsignore:
6871         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
6872           Add a basic test suite for GstXML.
6873
6874 2006-08-29  Wim Taymans  <wim@fluendo.com>
6875
6876         * gst/gstelement.c: (activate_pads), (clear_caps),
6877         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
6878         Clear the pad caps when the element shut down all of the pads and
6879         is not streaming data that could modify the caps. 
6880         Fixes #352958.
6881
6882 2006-08-28  Michael Smith  <msmith@fluendo.com>
6883
6884         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6885           Revert previous change; I misunderstood single-segment mode.
6886
6887 2006-08-28  Michael Smith  <msmith@fluendo.com>
6888
6889         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6890           Unset DISCONT on buffers when using single-segment mode.
6891
6892 2006-08-28  Wim Taymans  <wim@fluendo.com>
6893
6894         * gst/gstcaps.c: (gst_caps_merge_structure):
6895         * gst/gstcaps.h:
6896         Fix docs and indentation again.
6897
6898         * tests/check/gst/gstquery.c: (GST_START_TEST):
6899         Fix leak in tests and add some more tests.
6900
6901 2006-08-28  Edward Hervey  <edward@fluendo.com>
6902
6903         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6904         Inform GstSegment of the last stop position in order for the current
6905         segment to have a proper duration if it doesn't have a specific stop
6906         position from which a duration could be calculated.
6907         This bug was noticeable when a non-flushing, non-update new segment was
6908         followed by another segment (all buffers from the new segment were being
6909         dropped).
6910
6911 2006-08-28  Wim Taymans  <wim@fluendo.com>
6912
6913         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
6914         Small comment update.
6915
6916         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6917         (gst_identity_transform_ip):
6918         Drop-probability is broken, mention this in the code with a 
6919         FIXME and also in the property description.
6920         Make silent also be silent about the drop messages.
6921
6922 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
6923
6924         * docs/manual/appendix-win32.xml:
6925           Remove mention of popt, we don't depend on that any
6926           longer (#353136). Add some comments pointing out that
6927           this section is slightly outdated.
6928
6929 2006-08-28  Wim Taymans  <wim@fluendo.com>
6930
6931         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6932
6933         * gst/gstquery.c: (gst_query_new_segment):
6934         * tests/check/gst/gstquery.c: (GST_START_TEST):
6935         Initialize variables when creating a new segment query.
6936         Fixes #353121.
6937
6938 2006-08-28  Wim Taymans  <wim@fluendo.com>
6939
6940         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
6941
6942         * gst/gstelement.c: (gst_element_get_bus):
6943         * tests/check/gst/gstelement.c: (GST_START_TEST):
6944         Check for NULL before _reffing the bus. Fixes #353122.
6945
6946 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
6947
6948         * docs/manual/basics-bus.xml:
6949           Docs update: fix wrong callback return value explanation; add
6950           some lines about the implicit relationship between main loop
6951           and main context; remove duplicate main loop variable declaration.
6952
6953 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
6954
6955         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6956           Don't leak caps in unit test; add a few more simple
6957           checks. 
6958
6959 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
6960
6961         * docs/gst/gstreamer-sections.txt:
6962         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
6963         (gst_caps_structure_is_subset), (gst_caps_merge),
6964         (gst_caps_merge_structure):
6965         * gst/gstcaps.h:
6966         * libs/gst/base/gstbasetransform.c:
6967         (gst_base_transform_transform_caps):
6968         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6969           implement caps merging (fixes #352580)
6970
6971 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
6972
6973         * tools/Makefile.am:
6974         * tools/gst-plot-timeline.py:
6975           add debug-log plotting developer tool (#340674)
6976
6977 2006-08-23  Wim Taymans  <wim@fluendo.com>
6978
6979         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
6980         (gst_pad_stop_task):
6981         Improve debugging for task functions.
6982
6983         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
6984         (gst_task_start), (gst_task_pause), (gst_task_join):
6985         Make sure that the task function started and finished after a 
6986         join(). 
6987         Don't try to push the task function on the threadpool multiple
6988         times.
6989         Improve the g_warning message with some useful suggestions
6990         about how to fix the problem. 
6991
6992 2006-08-23  Wim Taymans  <wim@fluendo.com>
6993
6994         * gst/gstutils.c: (gst_pad_proxy_getcaps):
6995         Handle RESYNC correctly in _proxy_getcaps.
6996
6997 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
6998
6999         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7000         (gst_xml_parse_memory), (gst_xml_get_element):
7001           Chain up to parent class in dispose function and also
7002           unref the elements in the toplevel_elements GList.
7003           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7004           Always return a reference in gst_xml_get_element() rather
7005           than only sometimes.
7006
7007         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7008           Don't leak GstXml object.
7009
7010 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7011
7012         * docs/gst/gstreamer-sections.txt:
7013         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7014         (gst_caps_merge):
7015         * gst/gstcaps.h:
7016         * libs/gst/base/gstbasetransform.c:
7017         (gst_base_transform_transform_caps):
7018           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7019           in a better way
7020
7021 2006-08-21  Edward Hervey  <edward@fluendo.com>
7022
7023         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7024         Implement GObject::dispose virtual method in GstXML so we can free the
7025         top_elements GList.
7026
7027 2006-08-21  Wim Taymans  <wim@fluendo.com>
7028
7029         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7030         (gst_buffer_create_sub):
7031         Copy duration/offset_end/caps when creating a subbuffer of the
7032         complete parent.
7033         Make the subbuffer read-only when we make the metadata writable for
7034         now. Fixes #351768.
7035
7036         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7037         Added check for metadata copy when creating subbuffers.
7038
7039 2006-08-21  Edward Hervey  <edward@fluendo.com>
7040
7041         * libs/gst/base/gstbasetransform.c:
7042         (gst_base_transform_buffer_alloc):
7043         Only call downstream buffer_alloc if transform element is passthrough
7044         or always_in_place. Closes #350449.
7045
7046 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7047
7048         * ChangeLog:
7049           ChangeLog surgery to add comments to previous changes
7050
7051 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7052
7053         * gst/gst.c:
7054           Add comments
7055
7056         * gst/gstpad.c: (gst_pad_set_active):
7057           Be more verbose in the log
7058
7059         * libs/gst/base/gstbasetransform.c:
7060         (gst_base_transform_transform_caps):
7061           Simplify caps to get rid of duplicates, fixes #345444
7062
7063 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7064
7065         * gst/gstvalue.c:
7066         * gst/gstvalue.h:
7067           Use these optimizations only internally.
7068
7069 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7070
7071         * gst/gstvalue.c: (gst_value_compare_list),
7072         (gst_value_compare_fraction_range),
7073         (gst_value_intersect_fraction_fraction_range),
7074         (gst_value_intersect_fraction_range_fraction_range),
7075         (gst_value_subtract_fraction_fraction_range),
7076         (gst_value_subtract_fraction_range_fraction_range),
7077         (gst_value_get_compare_func), (gst_value_compare),
7078         (gst_value_compare_with_func):
7079         * gst/gstvalue.h:
7080           Saves the expensive lookup of the compare function in many cases
7081          (#345444)
7082
7083 2006-08-18  Edward Hervey  <edward@fluendo.com>
7084
7085         * tests/check/gst/gstinfo.c: (gst_info_suite):
7086         Disable test that require gstdebug if it wasn't built in core.
7087
7088 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7089
7090         * docs/random/ensonic/logging.txt:
7091           update ideas
7092           
7093         * gst/gstinfo.c: (gst_debug_log_default):
7094           reorder fields, save some columns, add optional color codes for log
7095           levels
7096
7097 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7098
7099         * docs/random/ensonic/logging.txt:
7100           add ideas about making the logs a bit more useful
7101
7102 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7103
7104         * docs/pwg/advanced-events.xml:
7105         * docs/pwg/titlepage.xml:
7106           Update for 0.10 API (#340627). Add myself
7107           to authors list.
7108
7109 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7110
7111         * docs/libs/gstreamer-libs-docs.sgml:
7112         * docs/libs/gstreamer-libs-sections.txt:
7113         * libs/gst/check/gstbufferstraw.c:
7114           Make gstcheck stuff show up in docs (still needs to
7115           be documented properly though).
7116
7117 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7118
7119         * docs/gst/gstreamer-sections.txt:
7120         * gst/Makefile.am:
7121         * gst/gst.c: (init_post):
7122         * gst/gst_private.h:
7123         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7124         * gst/gstquark.h:
7125         * gst/gstquery.c: (gst_query_new_position),
7126         (gst_query_set_position), (gst_query_parse_position),
7127         (gst_query_new_duration), (gst_query_set_duration),
7128         (gst_query_parse_duration), (gst_query_new_convert),
7129         (gst_query_set_convert), (gst_query_parse_convert),
7130         (gst_query_new_segment), (gst_query_set_segment),
7131         (gst_query_parse_segment), (gst_query_new_seeking),
7132         (gst_query_set_seeking), (gst_query_parse_seeking):
7133         Add internal helpers for pre-registering quarks from static strings
7134         and using the quark values directly instead of looking them up when
7135         creating and parsing queries. Can be used for event construction too.
7136         Closes #350432.
7137
7138 2006-08-16  Wim Taymans  <wim@fluendo.com>
7139
7140         * gst/gstbin.c:
7141         Fix bogus docs.
7142
7143 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7144
7145         * gst/gstutils.c: (gst_util_set_value_from_string):
7146           Fix memleak (#351502).
7147
7148         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7149           Add unit test for most of gst_util_set_value_from_string()
7150           (not that one would want to encourage use of this function).
7151
7152 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7153
7154         * libs/gst/check/gstcheck.h:
7155           Use const gchar * variables in fail_unless_equals_string
7156           macro to avoid compiler warnings (and don't use tabs for
7157           indenting).
7158
7159 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7160
7161         * tools/gst-launch.c: (print_tag):
7162           More space on the left for the tag names, to cater
7163           for the 'extended comment' tag (not touching the
7164           string for the first line since it's translated).
7165
7166 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7167
7168         * libs/gst/check/gstcheck.h:
7169           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7170           print something when they fail.
7171
7172 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7173
7174         * docs/gst/gstreamer-sections.txt:
7175         * gst/gsttaglist.c: (_gst_tag_initialize):
7176         * gst/gsttaglist.h:
7177           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7178           Also change merge function for GST_TAG_COMMENT to
7179           use_first.
7180
7181 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7182
7183         * gst/gstinfo.c: (gst_debug_print_object):
7184           Make GST_PTR_FORMAT print messages as well.
7185
7186         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7187         (GST_START_TEST), (gst_info_suite):
7188           More tests.
7189
7190 2006-08-14  Edward Hervey  <edward@fluendo.com>
7191
7192         * gst/gstelementfactory.c: (gst_element_register):
7193         If the GstElementClass doesn't have a GstElementDetails with all fields
7194         filled up correctly (longname, description AND author), then error out
7195         nicely instead of crashing.
7196
7197 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7198
7199         * gst/gststructure.c:
7200           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7201
7202         * gst/gstvalue.h:
7203           Expand on the difference between arrays and lists as we use them.
7204           
7205 2006-08-14  Wim Taymans  <wim@fluendo.com>
7206
7207         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7208         If the parent state change function failed, don't assume we can safely
7209         stop the source, this will be done when the pads are deactivated.
7210
7211 2006-08-14  Wim Taymans  <wim@fluendo.com>
7212
7213         * gst/gstbuffer.c:
7214         * gst/gsttask.c: (gst_task_join):
7215         Small doc updates.
7216
7217         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7218         (gst_pad_stop_task):
7219         When pad (de)activation failed for some reason, restore the old
7220         activation mode and set the pad to flushing instead of assuming the
7221         pad is deactivated.
7222         If the _task_join() failed, reinstall the task on the pad so that it can
7223         be stopped later and return an error.
7224
7225 2006-08-11  Andy Wingo  <wingo@pobox.com>
7226
7227         * configure.ac:
7228         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7229         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7230         is only for users of API that don't want to see deprecated
7231         functions in the headers; people that want to compile out
7232         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7233         CFLAGS. Fixes the build of multifdsink, or will soon..
7234
7235 2006-08-11  Wim Taymans  <wim@fluendo.com>
7236
7237         * docs/gst/gstreamer-sections.txt:
7238         Add GstClockClass vmethod docs.
7239
7240         * gst/gstcaps.h:
7241         Mark #endif with comment for associated #if
7242
7243         * gst/gstclock.c: (gst_clock_id_wait):
7244         * gst/gstclock.h:
7245         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7246         most clock implementations.
7247         Document vmethods.
7248         Flesh out docs about resolution methods.
7249         API: GstClockClass::wait_jitter
7250
7251         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7252         (gst_system_clock_async_thread),
7253         (gst_system_clock_id_wait_jitter_unlocked),
7254         (gst_system_clock_id_wait_jitter):
7255         Use base class wait_jitter variant for improved performance
7256         due to less clock polling.
7257
7258 2006-08-11  Edward Hervey  <edward@fluendo.com>
7259
7260         * gst/gst.c: (gst_init_check), (init_post):
7261         Set gst as being initialized before scanning/updating the registry,
7262         since there might be my python plugin loader that calls gst_init() and
7263         we don't want to loop back in.
7264         Closes #350879
7265
7266 2006-08-11  Wim Taymans  <wim@fluendo.com>
7267
7268         * docs/design/part-qos.txt:
7269         Bring docs in line with the code. Mostly the sign of the jitter was
7270         wrong in the docs. Fixes #349943.
7271
7272         * gst/gstclock.c:
7273         Fix the docs for the jitter.
7274
7275         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7276         (gst_event_parse_tag), (gst_event_new_buffer_size),
7277         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7278         (gst_event_new_seek), (gst_event_parse_seek),
7279         (gst_event_new_navigation):
7280         Make sure the GstStructure has no parent when creating custom
7281         events.
7282         Add some more argument checking so that we avoid 0.0 rates.
7283         Flesh out the docs for the QoS event some more.
7284
7285 2006-08-11  Wim Taymans  <wim@fluendo.com>
7286
7287         * docs/gst/gstreamer-sections.txt:
7288         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7289         (ensure_current_registry_forking), (ensure_current_registry),
7290         (parse_one_option), (parse_goption_arg), (gst_deinit),
7291         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7292         * gst/gst.h:
7293         Doc updates.
7294         Added API and command line option to disable registry forking in
7295         addition to the environment variable.
7296         Constify some static arrays.
7297         Added some more debug.
7298         Don't deinit twice.
7299         API: gst_registry_fork_is_enabled()
7300         API: gst_registry_fork_set_enabled()
7301         API: --gst-disable-registry-fork command line option
7302         Fixes #348918.
7303
7304 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7305
7306         * gst/gst.c: (gst_init):
7307           Fix typo in error message.
7308
7309 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7310
7311         * libs/gst/controller/gstcontroller.h:
7312           fix ABI size-correction
7313
7314         * tests/check/libs/gdp.c: (gst_dp_suite):
7315           make tests that use deprecated API conditional
7316
7317 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7318
7319         * docs/libs/gstreamer-libs-sections.txt:
7320         * libs/gst/controller/gstcontroller.c:
7321         (_gst_controller_get_property), (_gst_controller_set_property),
7322         (_gst_controller_init), (_gst_controller_class_init):
7323         * libs/gst/controller/gstcontroller.h:
7324         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7325         (gst_object_set_control_rate):
7326           API: add gst_object_{s,g}et_control_rate(), add private data section,
7327           fix docs
7328
7329         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7330         * libs/gst/dataprotocol/dataprotocol.h:
7331           add deprecation guards to make gtk-doc happy and allow disabling cruft
7332
7333 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7334
7335         * tests/check/Makefile.am:
7336         * tests/check/gst/.cvsignore:
7337           Let's enable the new unit test as well.
7338
7339 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7340
7341         * configure.ac:
7342         * docs/gst/gstreamer-sections.txt:
7343         * gst/gstconfig.h.in:
7344         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7345         (_gst_info_printf_extension_ptr),
7346         (_gst_info_printf_extension_segment):
7347           API: add GST_SEGMENT_FORMAT, which is a printf extension we
7348           register that lets us easily dump GstSegments into debug
7349           logs (#350419).
7350
7351         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7352         (info_segment_format_printf_extension), (gst_info_suite):
7353           Add simple unit test that logs a bunch of different segments (not
7354           valgrinded at the moment because of leaks in
7355           gst_debug_add_log_function).
7356
7357 2006-08-09  Edward Hervey  <edward@fluendo.com>
7358
7359         * libs/gst/base/gstbasetransform.c:
7360         (gst_base_transform_buffer_alloc):
7361         Even if we can't figure out the proper format to request downstream,
7362         call buffer_alloc() downstream with the input parameters without setting
7363         the caps on the srcpad. This will force negotiation in the chain
7364         function.
7365         Closes #350449
7366
7367 2006-08-08  Edward Hervey  <edward@fluendo.com>
7368
7369         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7370         Unlinking from a pad without a target is now a perfectly valid case
7371         which should NOT raise an assertion.
7372         This case would happen if a linked ghostpad its target set to NULL after
7373         it was previously linked.
7374
7375 2006-08-08  Edward Hervey  <edward@fluendo.com>
7376
7377         * tests/check/libs/gdp.c:
7378         Also comment out the test (see below).
7379
7380 2006-08-08  Edward Hervey  <edward@fluendo.com>
7381
7382         * tests/check/libs/gdp.c: (gst_dp_suite):
7383         Use the architecture information from config.h and not gcc macros
7384         in order to properly disable a test that fails on PPC64.
7385
7386 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
7387
7388         * gst/gstelement.c: (gst_element_remove_pad):
7389           Don't crash printing the warning if the pad has no parent.
7390
7391 2006-08-02  Wim Taymans  <wim@fluendo.com>
7392
7393         * libs/gst/dataprotocol/dataprotocol.c:
7394         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7395         (gst_dp_crc), (gst_dp_header_payload_length),
7396         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7397         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7398         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7399         (gst_dp_event_from_packet), (gst_dp_validate_header),
7400         (gst_dp_validate_payload):
7401         Make debug category static
7402         Constify the crc table.
7403         Do some more arg checking in public functions.
7404         Fix some docs and do some small cleanups.
7405
7406         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7407         Add some more checks to see if GDP deals with bogus input.
7408
7409 2006-07-31  Wim Taymans  <wim@fluendo.com>
7410
7411         * gst/gstvalue.c: (gst_value_compare_list):
7412         Fix GstValueList comparison code. Fixes #347293.
7413
7414         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7415         Check to test GstValueList comparison.
7416
7417 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7418
7419         * gst/gstelementfactory.c: (gst_element_factory_create):
7420         Remove unnecessary ref/unref pair
7421
7422         * gst/parse/grammar.y:
7423         Make sure to free the parse buffer on all code paths.
7424         Move a g_free up to the error handler where it's easier to see.
7425
7426         * tests/check/gst/gstevent.c: (test_event):
7427         Extending timeout for downstream travelling events to 10 seconds to
7428         hopefully avoid intermittent failure on the buildbots.
7429
7430         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7431         Don't manually set the state of the src element - it will happen as a
7432         natural consequence of the pipeline changing state, and that way it
7433         will do it in the right order too.
7434
7435 2006-07-31  Wim Taymans  <wim@fluendo.com>
7436
7437         * libs/gst/base/gstbasetransform.c:
7438         (gst_base_transform_buffer_alloc):
7439         Use OBJECT_LOCK and refcounting to get the pad caps in the
7440         buffer_alloc function because the caps could change while we are
7441         busy with them. Fixes #349105
7442
7443 2006-07-31  Wim Taymans  <wim@fluendo.com>
7444
7445         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7446         Protect _PAD_CAPS with OBJECT_LOCK.
7447
7448 2006-07-31  Wim Taymans  <wim@fluendo.com>
7449
7450         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7451         (gst_pad_get_property), (gst_pad_activate_pull),
7452         (gst_pad_activate_push), (gst_pad_set_blocked_async),
7453         (gst_pad_set_activate_function),
7454         (gst_pad_set_activatepull_function),
7455         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7456         (gst_pad_set_getrange_function),
7457         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7458         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7459         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7460         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7461         (gst_pad_set_acceptcaps_function),
7462         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7463         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7464         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7465         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7466         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7467         (gst_pad_configure_sink), (gst_pad_configure_src),
7468         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7469         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7470         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7471         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7472         (gst_pad_send_event):
7473         Use _DEBUG_OBJECT when it makes sense.
7474         Protect GST_PAD_CAPS with the OBJECT_LOCK.
7475         Small cleanups and code reflows.
7476         Avoid caps refcounting in _accept_caps.
7477         Refactor alloc_buffer so that the code performed on the peer is in a
7478         separate function. Also if the pad does not implement a buffer alloc
7479         function, we should still check if the pad is flushing before falling
7480         back to the default allocator.
7481
7482 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7483
7484         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7485         Make all uses of identity and fakesink have silent=true to avoid
7486         serialising every passing data structure, which is breaking tests
7487         on FC4 for some unknown reason.
7488
7489 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7490
7491         * gst/parse/Makefile.am:
7492         * gst/parse/grammar.y:
7493         * gst/parse/parse.l:
7494           Reverted previous patch as it required to bump the flex dependency to
7495           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7496
7497 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
7498
7499         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7500
7501         * gst/parse/Makefile.am:
7502         * gst/parse/grammar.y:
7503         * gst/parse/parse.l:
7504           push & pop the state of the lexer for reentrant use case
7505           Fixes #349180
7506
7507 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
7508
7509         * libs/gst/base/gstbasesrc.h:
7510           Note in the docs that the ::newsegment vfunc is not actually used by
7511           GstBaseSrc.
7512
7513 2006-07-28  Wim Taymans  <wim@fluendo.com>
7514
7515         * libs/gst/base/gstcollectpads.c:
7516         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7517         (gst_collect_pads_clear), (gst_collect_pads_flush),
7518         (gst_collect_pads_event), (gst_collect_pads_chain):
7519         When flushing a pad, also clear the queued buffer so that we don't
7520         accidentally use it when we shouldn't.
7521         Fix leaks by inreffing incomming buffer.
7522         Flush out queued buffers in case of errors.
7523         Fixes #347452.
7524
7525 2006-07-28  Wim Taymans  <wim@fluendo.com>
7526
7527         * docs/random/phonon-gst:
7528         Random notes about a Phonon backend.
7529
7530 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7531
7532         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7533         Extra debug output
7534         * tests/check/libs/gdp.c: (gst_dp_suite):
7535         Take a whack at fixing the ppc compile using a different define to
7536         disable the broken test.
7537
7538         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7539         Remove excess g_print()
7540
7541 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7542
7543         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7544         Oops, meant to uncomment this line too to dampen the noise a bit.
7545
7546 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
7547
7548         * gst/parse/grammar.y:
7549         * gst/parse/parse.l:
7550         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7551         (GST_START_TEST), (parse_suite):
7552         Fix some of the leaks exposed by extending the parse-launch testsuite,
7553         and move the 3 I can't figure out into a separate test that won't run
7554         the pipelines unless the appropriate line is uncommented.
7555
7556 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7557
7558         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7559           Requesting 0 bytes before the end of the file should result in
7560           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7561           unit test.
7562
7563 2006-07-27  Wim Taymans  <wim@fluendo.com>
7564
7565         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7566         Fix useless assert, a uint is always positive.
7567
7568         * gst/gststructure.c: (gst_structure_nth_field_name),
7569         (gst_structure_foreach), (gst_structure_map_in_place):
7570         Check input arguments for public functions to avoid obvious crashes.
7571
7572         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7573         * plugins/elements/gstfakesink.h:
7574         Do less useless typechecking.
7575
7576 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
7577
7578         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7579           Do not use mmap() by default since there are a number of error
7580           conditions that we would like to handle in a non-fatal way that
7581           will result in a SIGBUS if we use mmap(). Examples: external
7582           devices (USB harddrive, portable music player) being unplugged
7583           while in use; file on mounted CD/DVD that can't be read because
7584           the medium is partly damaged. Fixes #348455 and #348475.
7585
7586 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
7587
7588         * gst/gstquery.h:
7589         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7590         rates are a gdouble
7591
7592 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
7593
7594         * gst/gstregistry.c:
7595           Move big documentation comment into class section header, so that it
7596           appears in the API docs.
7597
7598 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7599
7600         * docs/gst/gstreamer-sections.txt:
7601         Oops. Commit the docs additions too for new API.
7602         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7603
7604 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7605
7606         * gst/gststructure.c: (gst_structure_id_set),
7607         (gst_structure_id_set_valist):
7608         * gst/gststructure.h:
7609         Add API for setting values into structures without performing
7610         a quark lookup, if the appropriate quark is already known.
7611
7612         API: gst_structure_id_set
7613         API: gst_structure_id_set_valist
7614
7615         * gst/parse/grammar.y:
7616         * gst/parse/parse.l:
7617         Remove some dead code shown by the coverage information.
7618         Don't throw a critical g_warning when encountering a syntax error,
7619         just warn and let the normal error path handle it.
7620
7621         * plugins/elements/gstelements.c:
7622         Bump the rank of filesink up to PRIMARY so that it is preferred over
7623         gnomevfssink for file:// sink uri's
7624
7625         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7626         (GST_START_TEST), (run_delayed_test),
7627         (gst_parse_test_element_base_init),
7628         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
7629         (gst_parse_test_element_change_state),
7630         (gst_register_parse_element), (parse_suite):
7631         Beef up the tests for parse syntax to check that more error cases
7632         fail as they are supposed to. Increases the test coverage a bit.
7633
7634 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7635
7636         * docs/manual/basics-elements.xml:
7637           Fix gst_element_link() example.
7638
7639         * gst/gstutils.c:
7640           Mention in API docs that one should usually gst_bin_add()
7641           elements to a bin or pipeline before doing the linking.
7642           
7643 2006-07-26  Wim Taymans  <wim@fluendo.com>
7644
7645         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
7646         (gst_subbuffer_get_type), (gst_buffer_create_sub):
7647         Avoid function call for known types by keeping the buffer and
7648         subbuffer GType global.
7649
7650         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7651         Random silly optimisations in read() path.
7652
7653 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7654
7655         * tools/gst-launch.c: (main):
7656           If the top-level of the parse is a normal bin, it doesn't do the
7657           right logic to run as a top-level element, so place it inside a
7658           pipeline.
7659
7660 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7661
7662         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
7663           Remove superfluous g_object_notify() calls, GObject does
7664           that for us automatically.
7665
7666 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
7667
7668         * gst/gstinfo.h:
7669           on Win32, use dllspec to export the debug category symbols
7670
7671 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
7672
7673         * gst/gsttaglist.c: (_gst_tag_initialize):
7674           Allow more than one GST_TAG_IMAGE per taglist.
7675
7676 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7677
7678         * gst/gstminiobject.c:
7679           update docs
7680         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
7681         (gst_fd_src_create):
7682           log recurring events at LOG level
7683           add more debug for when the fd gets set
7684
7685 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7686
7687         * gst/gstparse.c: (gst_parse_launch):
7688           Also remove reentrance checks if flex is MT safe (#348179)
7689          Fix my empty ChangeLog entry below
7690
7691 2006-07-21  Andy Wingo  <wingo@pobox.com>
7692
7693         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
7694
7695         * libs/gst/check/Makefile.am
7696         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
7697         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
7698         * libs/gst/check/gstbufferstraw.h:
7699         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
7700         functions, thus proving I am still a GStreamer haxor. OK I wrote
7701         them a long time ago, but anyways.
7702
7703 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
7704
7705         * configure.ac:
7706         * gst/gstparse.c: (gst_parse_launch):
7707           Check for flex version and omit mutex if we have a MT save flex
7708           (fixes #348179)
7709
7710 2006-07-21  Wim Taymans  <wim@fluendo.com>
7711
7712         * gst/gstparse.c: (gst_parse_launch):
7713         Protect recursive calls to _parse with a recursive mutex
7714         and busy flag.
7715
7716 2006-07-21  Wim Taymans  <wim@fluendo.com>
7717
7718         * tests/check/gst/gstpad.c: (GST_START_TEST):
7719         Fix leak in test.
7720
7721 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
7722
7723         * gst/gstparse.c: (gst_parse_launch):
7724           Do not hang on recursive usage of gst_parse_launch()
7725
7726 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7727
7728         * gst/gsttaglist.c:
7729           Add some more docs, comments and FIXME 0.11s here and there
7730           and also fix some typos.
7731
7732 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
7733
7734         * gst/gstsegment.h:
7735           Convert tabs to spaces for better readability. 
7736
7737 2006-07-20  Edward Hervey  <edward@fluendo.com>
7738
7739         * tests/check/libs/gdp.c: (gst_dp_suite):
7740         the test_buffer test fails at line 140 on ppc64 at the following
7741         check:
7742         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
7743                 GST_BUFFER_FLAG_IN_CAPS),
7744                 "GST_BUFFER_IN_CAPS flag should have been copied !");
7745         See bug #348114 for more details.
7746
7747 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
7748
7749         * docs/pwg/advanced-scheduling.xml:
7750         * gst/gstpad.c:
7751           Fix typos (#348000).
7752
7753 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
7754
7755         * docs/pwg/intro-basics.xml:
7756           Fix wrong links (#347927).
7757
7758 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
7759
7760         * gst/gstregistry.h:
7761         * gst/gstregistryxml.c: (load_feature),
7762         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
7763         * win32/common/config.h:
7764           make --disable-index work (#342564)
7765
7766 2006-07-18  Wim Taymans  <wim@fluendo.com>
7767
7768         Patch by: Peter Kjellerstedt <pkj at axis dot com>
7769
7770         * gst/Makefile.am:
7771         * gst/gsttrace.h:
7772         The attached patch adds two missing defines to gsttrace.h when tracing
7773         is disabled.  It also corrects one existing define.
7774         Fixes #347756.
7775
7776 2006-07-17  Wim Taymans  <wim@fluendo.com>
7777
7778         * docs/gst/gstreamer-sections.txt:
7779         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
7780         * gst/gst.h:
7781         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
7782         Add two functions to check and change the SIGSEGV behaviour
7783         when loading plugins.
7784         Don't mess with the SIGSEGV handler when we were told not to.
7785         Fixes #347794.
7786         API: gst_segtrap_is_enabled
7787         API: gst_segtrap_set_enabled
7788
7789 2006-07-14  Wim Taymans  <wim@fluendo.com>
7790
7791         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7792         * tests/check/elements/filesrc.c: (GST_START_TEST):
7793         Revert fix for regression in #347408 after release.
7794
7795 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
7796
7797         Patch by: Antoine Tremblay <hexa00 at gmail com>
7798
7799         * gst/gstutils.c: (gst_element_unlink):
7800           Free iterator when done (#347311).
7801
7802         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7803           And add a test case for this.
7804
7805 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
7806
7807         * configure.ac:
7808         Bump nano back to CVS
7809
7810 === release 0.10.9 ===
7811
7812 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
7813
7814         * configure.ac:
7815           releasing 0.10.9, "On the road again"
7816
7817 2006-07-13  Wim Taymans  <wim@fluendo.com>
7818
7819         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7820         * tests/check/elements/filesrc.c: (GST_START_TEST):
7821         Revert pull-0 fix for release. Disable check. Fixes #347408.
7822
7823 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7824
7825         * libs/gst/dataprotocol/dataprotocol.c:
7826         (gst_dp_event_from_packet_1_0):
7827           Fixes #347337: failure to deserialize event packets with
7828           empty payload (only event type)
7829
7830 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
7831
7832         * gst/Makefile.am:
7833           do not install a .c file in the header directory
7834
7835 2006-07-13  Edward Hervey  <edward@fluendo.com>
7836
7837         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
7838         GhostPad no longer implicitely use the padtemplates of the targets.
7839         Fixes #347384
7840
7841 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
7842
7843         * gst/gstvalue.c: (gst_value_compare_list),
7844         (gst_value_compare_array), (_gst_value_initialize):
7845         * tests/check/gst/gstvalue.c: (GST_START_TEST):
7846         Make GstValueArray comparison be order dependent as designed.
7847         Add checks for value lists and value array comparisons.
7848         Fixes #347221
7849
7850 2006-07-11  Edward Hervey  <edward@fluendo.com>
7851
7852         * gst/gstbin.c: (activate_pads),
7853         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
7854         (gst_bin_change_state_func):
7855         (de)activate src pads before calling state_change on the childs.
7856         This is to avoid the case where a src ghostpad is blocked (holding the
7857         stream lock), which would block the deactivation of the ghostpad's
7858         target pad.
7859         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
7860         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
7861         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
7862         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
7863         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
7864         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7865         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7866         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
7867         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
7868         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7869         (gst_ghost_pad_class_init),
7870         (gst_ghost_pad_internal_do_activate_push),
7871         (gst_ghost_pad_internal_do_activate_pull),
7872         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7873         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7874         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
7875         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
7876         GhostPads now create their internal GstProxyPad at creation (and not
7877         when they're linked, as it was being done previously).
7878         The internal and target pads are linked straight away.
7879         The data will also travel through the other pad in order to make
7880         pad blocking and probes non-hackish (the probe/block now really happens
7881         on the GhostPad and not on the target).
7882         * gst/gstpad.c: (gst_pad_set_blocked_async),
7883         (gst_pad_link_prepare), (gst_pad_push_event):
7884         Remove previous ghostpad cruft.
7885         * gst/gstutils.c: (gst_pad_add_data_probe),
7886         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7887         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7888         (gst_pad_remove_buffer_probe):
7889         Remove previous ghost pad cruft.
7890         Added more detailed debug statements.
7891         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7892         Fix the testsuite for refcounting changes.
7893         The comments about who has references were correct, but the refcount
7894         being checked wasn't the same (!?!).
7895
7896         Fixes #341029
7897
7898 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7899
7900         * docs/gst/gstreamer-sections.txt:
7901         * gst/gstconfig.h.in:
7902         More docs for configuration options, add docs to gtk-doc.
7903
7904 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
7905
7906         * gst/Makefile.am:
7907         * gst/gstconfig.h.in:
7908         * win32/common/config.h:
7909         Fix build when disabling tracing (fixes #344016). Also start to document
7910         the defines that disable the sub-systems.
7911
7912 2006-07-10  Edward Hervey  <edward@fluendo.com>
7913
7914         * gst/gst.c: (ensure_current_registry_forking):
7915         let's make valgrind happy...
7916
7917 2006-07-09  Wim Taymans  <wim@fluendo.com>
7918
7919         * gst/gstelement.c: (activate_pads),
7920         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7921         Better pad activation code: Reset the collect value too on resync.
7922         Add some comments.
7923
7924 2006-07-09  Wim Taymans  <wim@fluendo.com>
7925
7926         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
7927         (gst_pad_activate_push):
7928         Use some more macros where it makes sense.
7929         Allow pad mode switching instead of asserting. When a pad
7930         is activated in one mode and we activate it in another, 
7931         deactivate it first before activating it in a different mode.
7932         Fixes #329198.
7933
7934 2006-07-08  Andy Wingo  <wingo@pobox.com>
7935
7936         * tools/gst-launch.c (main): Handle err == NULL.
7937
7938         * gst/gst.c (init_post, ensure_current_registry)
7939         (ensure_current_registry_forking)
7940         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
7941         factoring out the registry scanning into separate functions. Don't
7942         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
7943         Better environment var name/interface suggestions accepted.
7944
7945 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7946
7947         * gst/gstobject.c: (gst_object_set_name_default),
7948         (gst_object_set_name):
7949           Random micro-optimisation: don't use a hash table
7950           with strings as keys and the usual strdup/strcmp
7951           involved, but rather just use the GQuark of the
7952           type name as key, since it needs to be looked up
7953           anyway to get the type name string.
7954
7955         * tests/check/gst/gstobject.c: (GST_START_TEST):
7956           Fix various leaks.
7957
7958 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7959
7960         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
7961         (gst_bin_iterate_all_by_interface):
7962           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
7963           GTypes are gulongs and thus the top 4 bytes might be cut
7964           off on some platforms when doing GPOINTER_TO_INT, leading
7965           to invalid GTypes and bad things happening (see RH bug #179654).
7966           Also add a check to make sure the type passed in is really
7967           an interface type.
7968
7969 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7970
7971         * .cvsignore:
7972           Ignore more.
7973
7974 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
7975
7976         * Makefile.am:
7977         * configure.ac:
7978         * gst-element-check.m4:
7979         * gst-element-check.m4.in:
7980           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
7981           instead of the unversioned gst-inspect (#324176, #168659).
7982
7983 2006-07-06  Wim Taymans  <wim@fluendo.com>
7984
7985         * gst/gstmessage.h:
7986         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
7987         warnings.
7988
7989 2006-07-06  Wim Taymans  <wim@fluendo.com>
7990
7991         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7992         (gst_base_src_wait), (gst_base_src_update_length),
7993         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
7994         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
7995         (gst_base_src_loop), (gst_base_src_start),
7996         (gst_base_src_activate_pull):
7997         Update docs.
7998         blocksize == 0 now means the default blocksize when working in push
7999         based mode.
8000         Remove some pointless asserts in _wait function.
8001         Fix offset/length calculations and EOS handling. We can now pull 0
8002         bytes as well, which is allowed.
8003         use _check_get_range() to decide if we can operate in _pull based
8004         mode.
8005         Fix refcounting leak when check_get_range function was not 
8006         implemented.
8007         API GstBaseSrc::blocksize range can be 0 too now (default)
8008
8009         * tests/check/elements/filesrc.c: (GST_START_TEST),
8010         (filesrc_suite):
8011         Added check to test _get_range() behaviour.
8012
8013 2006-07-06  Wim Taymans  <wim@fluendo.com>
8014
8015         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8016         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8017         (gst_pad_pull_range):
8018         * gst/gstpad.h:
8019         Lots of comments and docs added to the pad functions.
8020         Flesh out the expected behaviour of the get_range() functions.
8021
8022 2006-07-06  Wim Taymans  <wim@fluendo.com>
8023
8024         * gst/gstbus.h:
8025         * gst/gstclock.h:
8026         * gst/gstevent.h:
8027         * gst/gstiterator.h:
8028         * gst/gstpad.h:
8029         * gst/gstplugin.h:
8030         * gst/gsttask.h:
8031         Remove comma at end of enumerator list. 
8032
8033 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8034
8035         * win32/common/libgstbase.def:
8036         * win32/common/libgstdataprotocol.def:
8037         * win32/common/libsgtreamer.def:
8038         Add new exported functions.
8039
8040 2006-07-05  Wim Taymans  <wim@fluendo.com>
8041
8042         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8043         Add some more docs here and there.
8044
8045 2006-07-05  Wim Taymans  <wim@fluendo.com>
8046
8047         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8048         (gst_base_sink_loop), (gst_base_sink_get_position):
8049         When operating in pull mode update the offset so that we
8050         read sequentially.
8051
8052 2006-07-05  Wim Taymans  <wim@fluendo.com>
8053
8054         * gst/gstregistryxml.c: (read_string):
8055         Avoid strdup. (will happen in libxml, but hey!)
8056
8057         * gst/gsturi.c:
8058         Add some more docs.
8059
8060 2006-07-05  Wim Taymans  <wim@fluendo.com>
8061
8062         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8063         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8064         (gst_buffer_suite):
8065         No point in checking if the size of the subbuffer > 0, the
8066         code handles it correclty as demonstrated by unit test.
8067         Also add a unit test for the zero sized _new_and_alloc and
8068         _copy. Fixes #346663.
8069
8070 2006-07-05  Wim Taymans  <wim@fluendo.com>
8071
8072         * libs/gst/base/gstbasetransform.c:
8073         (gst_base_transform_prepare_output_buffer),
8074         (gst_base_transform_buffer_alloc),
8075         (gst_base_transform_handle_buffer):
8076         Make sure the buffer we pass to transform_ip has a refcount of
8077         1 and thus is writable. Fixes #343196
8078
8079 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8080
8081         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8082         (gst_file_src_init), (gst_file_src_set_property),
8083         (gst_file_src_get_property), (gst_file_src_map_region):
8084         * plugins/elements/gstfilesrc.h:
8085         Add "sequential" property, off by default, to use madvise and hint
8086         to the kernel that sequential access is desired.
8087         Touch all retrieved pages by default to ensure they are pulled
8088         into memory. (Closes #345720)
8089
8090 2006-07-03  Wim Taymans  <wim@fluendo.com>
8091
8092         * docs/design/part-block.txt:
8093         * docs/design/part-dynamic.txt:
8094         Small docs updates.
8095
8096 2006-07-03  Wim Taymans  <wim@fluendo.com>
8097
8098         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8099         (gst_caps_unref), (gst_static_caps_get),
8100         (gst_caps_append_structure):
8101         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8102         Use GSlice when the glib we build against is >= 2.10
8103
8104 2006-07-03  Wim Taymans  <wim@fluendo.com>
8105
8106         * gst/gstelement.c: (gst_element_pads_activate):
8107         Small cleanup in pad activation code.
8108
8109 2006-07-03  Wim Taymans  <wim@fluendo.com>
8110
8111         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8112
8113         * gst/gst-i18n-app.h:
8114         * gst/gst-i18n-lib.h:
8115         * tools/gst-inspect.c: (print_signal_info):
8116         The attached patch will make the inclusion of gettext.h unconditional in
8117         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8118         libintl.h in tools/gst-inspect.c.
8119         This allows use of --disable-nls again and fixes #344642.
8120
8121 2006-07-03  Edward Hervey  <edward@fluendo.com>
8122
8123         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8124         Implement pad blocking on events according to part-block.txt.
8125         More comments on behaviour.
8126         * tests/check/gst/gstevent.c: (test_event):
8127         Send event to peer pad of blocked pad (else it will block).
8128
8129 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8130
8131         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8132         (gst_check_run_suite):
8133           if we get the wrong message, give us the types as string
8134         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8135           Fix a translatable
8136         * tests/check/elements/filesrc.c: (GST_START_TEST):
8137           add a test for trying to open a non-existing file
8138
8139 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8140
8141         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8142           add a test for adding self
8143
8144 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8145
8146         * libs/gst/check/gstcheck.h:
8147           add some assert_ as alias for fail_unless_*
8148         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8149           increase test coverage
8150
8151 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8152
8153         * Makefile.am:
8154           include lcov.mak for lcov coverage generation
8155         * tools/Makefile.am:
8156           add to CLEANFILES
8157
8158 2006-07-02  Edward Hervey  <edward@fluendo.com>
8159
8160         * tests/check/elements/.cvsignore:
8161         moaping
8162
8163 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8164
8165         * configure.ac:
8166           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8167         * tests/check/Makefile.am:
8168           clean up gcov files
8169
8170 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8171
8172         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8173           remove gst_caps_simplify; it was not declared and not used
8174           and deprecated in 0.8
8175
8176 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8177
8178         * docs/faq/gst-uninstalled:
8179           don't put empty paths on PYTHONPATH
8180         * docs/gst/gstreamer-sections.txt:
8181           remove some symbols that are not there
8182
8183 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8184
8185         * gst/gstcaps.c: (gst_caps_compare_structures):
8186           whitespace fixes
8187         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8188         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8189           add more tests
8190
8191 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8192
8193         * libs/gst/dataprotocol/Makefile.am:
8194           build dataprotocol test by linking to the lib, instead of
8195           compiling the source, so we get coverage
8196         * tests/check/Makefile.am:
8197         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8198         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8199           add a test for filesrc
8200
8201 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8202
8203         * tests/check/gst/gststructure.c: (GST_START_TEST),
8204         (gst_structure_suite):
8205           Push coverage from 59.04% to 70.00%
8206
8207 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8208
8209         * tests/check/Makefile.am:
8210           gst-inspect every element; this makes sure that we also get
8211           coverage on element's get/set functions
8212
8213 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8214
8215         * configure.ac:
8216           set CFLAGS and friends to -O0 if gcov is being used
8217           add GCOV LIBS
8218         * gst/Makefile.am:
8219         * libs/gst/base/Makefile.am:
8220         * libs/gst/check/Makefile.am:
8221         * libs/gst/controller/Makefile.am:
8222         * libs/gst/dataprotocol/Makefile.am:
8223         * libs/gst/net/Makefile.am:
8224         * plugins/elements/Makefile.am:
8225         * plugins/indexers/Makefile.am:
8226           add makefile rules to generate gcov data and clean up
8227         * tests/check/Makefile.am:
8228           add a coverage target that generates an html overview
8229           of coverage data
8230
8231 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8232
8233         * tests/check/elements/fakesink.c:
8234         * tests/check/elements/fakesrc.c:
8235         * tests/check/elements/fdsrc.c:
8236         * tests/check/elements/identity.c:
8237         * tests/check/generic/sinks.c: (gst_sinks_suite):
8238         * tests/check/generic/states.c:
8239         * tests/check/gst/gst.c:
8240         * tests/check/gst/gstabi.c:
8241         * tests/check/gst/gstbin.c:
8242         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8243         * tests/check/gst/gstbus.c: (gst_bus_suite):
8244         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8245         * tests/check/gst/gstelement.c:
8246         * tests/check/gst/gstevent.c: (gst_event_suite):
8247         * tests/check/gst/gstghostpad.c:
8248         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8249         * tests/check/gst/gstmessage.c: (gst_message_suite):
8250         * tests/check/gst/gstminiobject.c:
8251         * tests/check/gst/gstobject.c:
8252         * tests/check/gst/gstpad.c:
8253         * tests/check/gst/gstpipeline.c:
8254         * tests/check/gst/gstplugin.c:
8255         * tests/check/gst/gstquery.c: (gst_query_suite):
8256         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8257         * tests/check/gst/gststructure.c:
8258         * tests/check/gst/gstsystemclock.c:
8259         * tests/check/gst/gsttag.c:
8260         * tests/check/gst/gsttask.c: (gst_task_suite):
8261         * tests/check/gst/gstutils.c:
8262         * tests/check/gst/gstvalue.c:
8263         * tests/check/libs/adapter.c:
8264         * tests/check/libs/basesrc.c:
8265         * tests/check/libs/collectpads.c:
8266         * tests/check/libs/controller.c:
8267         * tests/check/libs/gdp.c: (gst_dp_suite):
8268         * tests/check/libs/gstnetclientclock.c:
8269         * tests/check/libs/gstnettimeprovider.c:
8270         * tests/check/libs/libsabi.c: (libsabi_suite):
8271         * tests/check/libs/typefindhelper.c:
8272         * tests/check/pipelines/cleanup.c:
8273         * tests/check/pipelines/parse-launch.c:
8274         * tests/check/pipelines/simple-launch-lines.c:
8275         * tests/check/pipelines/stress.c: (stress_suite):
8276           use the new macro
8277
8278 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8279
8280         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8281         * libs/gst/check/gstcheck.h:
8282           create a macro and function so that the simple unit test
8283           case can be just one macro to create main()
8284
8285 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8286
8287         * gst/gstbin.c: (gst_bin_restore_thyself):
8288         * gst/gstxml.c: (gst_xml_make_element):
8289           Fix deserialisation from XML. Set parent manually
8290           instead of using gst_bin_add(), since gst_bin_add()
8291           will unlink all pads of the element being added.
8292           Fixes #341667.
8293
8294 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8295
8296         Patch by: Peter Kjellerstedt <pkj at axis com>
8297
8298         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8299           Fix missing g_strdup() and double free when using the
8300           --gst-plugin-load command line option (#346097).
8301
8302 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8303
8304         * gst/gstinfo.c:
8305           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8306
8307         * libs/gst/net/gstnetclientclock.c:
8308         * libs/gst/net/gstnettimeprovider.c:
8309           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8310
8311 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8312
8313         * docs/manual/advanced-dataaccess.xml:
8314           Fix buffer probe example compilation in
8315           ADM (#345708).
8316         
8317 2006-06-22  Edward Hervey  <edward@fluendo.com>
8318
8319         * gst/gstelement.c: (gst_element_pads_activate):
8320         We need to deactivate src pads first and then sink pads.
8321         The reason is the src pads might be blocking while holding the streaming
8322         lock, so we need to deactivate them first so that deactivating the sink
8323         pads doesn't block (since it will require the streaming lock).
8324
8325 2006-06-22  Wim Taymans  <wim@fluendo.com>
8326
8327         * libs/gst/base/gstbasetransform.c:
8328         (gst_base_transform_buffer_alloc):
8329         Forgot to remove two unneeded unrefs.
8330         Simplify a check _is_equal allready checks the obvious case.
8331
8332 2006-06-22  Wim Taymans  <wim@fluendo.com>
8333
8334         * docs/design/part-block.txt:
8335         Some docs about what pad_block should do.
8336
8337 2006-06-22  Wim Taymans  <wim@fluendo.com>
8338
8339         * gst/gstcaps.c: (gst_caps_replace):
8340         Fix crasher when passed NULL. Doc clarification.
8341         Optimize for the trivial case.
8342
8343         * gst/gstpipeline.c: (gst_pipeline_change_state):
8344         Small cleanups.
8345
8346         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8347         Small documentation cleanup.
8348
8349         * libs/gst/base/gstbasetransform.c:
8350         (gst_base_transform_buffer_alloc):
8351         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8352         is what we need and it avoids a whole lot of redundant 
8353         refcount operations.
8354
8355 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
8356
8357         Patch by: Philip Jägenstedt  <philip at lysator liu se>
8358
8359         * docs/manual/advanced-dataaccess.xml:
8360           Fix 'Embedding static elements' section to use
8361           GST_PLUGIN_DEFINE_STATIC (#345607).
8362
8363 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8364
8365         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8366           Attempt to 'fix' spuriously failing test case: it seems like the
8367           timeout of half a second is simply too small when the system is under
8368           load otherwise, and the timeout doesn't really seem to serve any
8369           particular purpose here. Give the pipeline a few seconds to preroll
8370           first, and then give it another half a second to go from PAUSED to
8371           PLAYING and marshal the message into the main thread.
8372
8373 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8374
8375         * tools/gst-feedback-m.m:
8376           Don't only use unversioned tools, try versioned tools as well
8377           (#345086).
8378
8379 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8380
8381         * gst/gstbus.c: (gst_bus_class_init):
8382           Fix some typos, make docs more explicit.
8383
8384 2006-06-20  Wim Taymans  <wim@fluendo.com>
8385
8386         * tests/check/gst/gstghostpad.c: (block_callback),
8387         (GST_START_TEST), (gst_ghost_pad_suite):
8388         Added some more ghostpad tests, mainly blocking
8389         and probes.
8390
8391 2006-06-16  Wim Taymans  <wim@fluendo.com>
8392
8393         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8394         (gst_file_sink_close_file), (gst_file_sink_do_seek),
8395         (gst_file_sink_event), (gst_file_sink_render):
8396         * plugins/elements/gstfilesink.h:
8397         Check if we can seek in the file instead of assuming
8398         we always can. Post an error when we are asked to seek in a
8399         non-seekable file (like a fifo). Fixes #343312.
8400         Some cleanups.
8401
8402 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8403
8404         * tools/gst-launch.1.in:
8405           Un-garble (fourcc) bit in filtered caps section.
8406
8407 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
8408
8409         * docs/manual/advanced-autoplugging.xml:
8410         * docs/manual/basics-helloworld.xml:
8411         * docs/manual/highlevel-components.xml:
8412           Don't leak bus reference in sample code.
8413
8414 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
8415
8416         * autogen.sh:
8417           Add default for new --enable-plugin-docs switch.
8418
8419         * configure.ac:
8420           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8421           Fixes #344039.
8422
8423         * docs/Makefile.am:
8424           Use new ENABLE_PLUGIN_DOCS conditional.
8425
8426 2006-06-14  Wim Taymans  <wim@fluendo.com>
8427
8428         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8429         Make it clear with a FIXME and a real define what the #if 0
8430         previously disabled.
8431
8432 2006-06-14  Wim Taymans  <wim@fluendo.com>
8433
8434         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8435         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8436         * libs/gst/base/gstbasetransform.c:
8437         (gst_base_transform_sink_eventfunc):
8438         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8439         Don't randomly and silently reset a segment when the format 
8440         changes as this is a bug somewhere upstream. Fixes #330379.
8441
8442 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8443
8444         Patch by: Wouter Paesen  <wouter at kangaroot net>
8445
8446         * libs/gst/controller/gstcontroller.c:
8447         (gst_controlled_property_new):
8448           Fix controlling of float properties (#344849).
8449
8450         * tests/check/libs/controller.c:
8451         (gst_test_mono_source_get_property),
8452         (gst_test_mono_source_set_property),
8453         (gst_test_mono_source_class_init), (GST_START_TEST):
8454           While we're at it, add some float stuff to unit test.
8455
8456 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8457
8458         * docs/README:
8459         * docs/images/gdp-header.svg:
8460           add a gdp image
8461         * docs/libs/Makefile.am:
8462         * docs/libs/gdp-header.png:
8463         * libs/gst/dataprotocol/dataprotocol.c:
8464           add it to the API docs
8465         * docs/manual/intro-motivation.xml:
8466           fix typo
8467
8468 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8469
8470         * gst/gst.c: (scan_and_update_registry), (init_post):
8471           If the fork()'ed child process can't write the updated registry cache
8472           file to disk for some reason, make it exit with a failure exit code,
8473           so that the parent can then re-scan the plugins itself and update the
8474           registry structures in memory and work with that (rather than failing
8475           when creating elements because seemingly no plugins are available).
8476           Refactor registry scanning code into separate function for this and
8477           also separate fork() and non-fork() code paths. Fixes #344748.
8478
8479 2006-06-13  Wim Taymans  <wim@fluendo.com>
8480
8481         * docs/manual/advanced-dataaccess.xml:
8482         Fix wrong PluginDesc. Fixes #344755.
8483
8484 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
8485
8486         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8487           Fix silly bug that prevented us from creating
8488           ~/.gstreamer-0.10 and writing the registry in one
8489           go (the first call to g_mkstemp() would overwrite the
8490           placeholder in the template string, so the second call
8491           to g_mkstemp() after creating the missing directory
8492           would then error out with 'invalid argument').
8493
8494 2006-06-13  Edward Hervey  <edward@fluendo.com>
8495
8496         * gst/gst.c: (init_post):
8497         Free string.
8498
8499 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8500
8501         * gst/glib-compat-private.h:
8502         * gst/glib-compat.c:
8503         * gst/glib-compat.h:
8504         * gst/gstvalue.c: (gst_value_serialize_flags):
8505           remove GLib 2.6 compatibility code
8506
8507 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
8508
8509         * gst/parse/Makefile.am:
8510           Fix build with 'make -j N' even more (#340016).
8511
8512 2006-06-12  Wim Taymans  <wim@fluendo.com>
8513
8514         * docs/gst/gstreamer-sections.txt:
8515         Fix docs.
8516
8517 2006-06-12  Wim Taymans  <wim@fluendo.com>
8518
8519         * gst/gstsegment.c: (gst_segment_set_duration),
8520         (gst_segment_set_last_stop), (gst_segment_set_seek),
8521         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8522         (gst_segment_to_running_time), (gst_segment_clip):
8523         Use G_UNLIKELY to help the compiler a bit.
8524
8525 2006-06-12  Wim Taymans  <wim@fluendo.com>
8526
8527         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8528
8529         * gst/gstevent.c: (gst_event_get_type):
8530         * gst/gstmessage.c:
8531         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8532         (gst_pad_push):
8533         constify quark registration strings. Fixes #344115
8534         Avoid unneeded type checking is _pad_push() by internally
8535         calling gst_pad_chain_unchecked().
8536
8537 2006-06-12  Wim Taymans  <wim@fluendo.com>
8538
8539         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8540         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8541         (gst_subbuffer_finalize), (gst_buffer_create_sub),
8542         (gst_buffer_is_span_fast), (gst_buffer_span):
8543         Init _type for consistency.
8544         Use _FLAGS macro to avoid type check.
8545         Avoid unneeded type checks in subbufer code.
8546
8547 2006-06-12  Wim Taymans  <wim@fluendo.com>
8548
8549         * gst/gst.c: (gst_debug_help):
8550         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8551         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8552         (gst_plugin_feature_list_free):
8553         * gst/gstregistry.c: (gst_registry_add_plugin),
8554         (gst_registry_add_feature), (gst_registry_plugin_filter),
8555         (gst_registry_feature_filter), (gst_registry_find_plugin),
8556         (gst_registry_find_feature), (gst_registry_get_plugin_list),
8557         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8558         * gst/gstregistryxml.c: (load_feature),
8559         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8560         * gst/gstminiobject.c: (gst_mini_object_unref),
8561         (gst_mini_object_replace), (gst_value_mini_object_free),
8562         (gst_value_mini_object_copy):
8563         Use _CAST macros to avoid unneeded type checking.
8564         Added some more G_UNLIKELY.
8565
8566 2006-06-12  Wim Taymans  <wim@fluendo.com>
8567
8568         * gst/gstbuffer.h:
8569         Avoid unneeded type checking.
8570         API: GST_BUFFER_IS_DISCONT
8571
8572         * gst/gstminiobject.h:
8573         Avoid type check in flag accessor.
8574
8575         * gst/gstelementfactory.h:
8576         * gst/gstplugin.h:
8577         * gst/gstpluginfeature.h:
8578         Add _CAST macros.
8579         API: GST_ELEMENT_FACTORY_CAST
8580         API: GST_PLUGIN_CAST
8581         API: GST_PLUGIN_FEATURE_CAST
8582
8583 2006-06-12  Wim Taymans  <wim@fluendo.com>
8584
8585         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8586         (gst_object_unref):
8587         Add G_UNLIKELY in type registration.
8588         Avoid type check in _ref/_unref since that is also
8589         done in glib.
8590
8591 2006-06-12  Wim Taymans  <wim@fluendo.com>
8592
8593         * gst/gsterror.c: (gst_g_error_get_type):
8594         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8595         (gst_static_pad_template_get_type):
8596         * gst/gsttaglist.c: (gst_tag_list_get_type):
8597         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8598         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8599         * gst/gsturi.c: (gst_uri_handler_get_type):
8600         * gst/gstvalue.c: (gst_date_get_type):
8601         * gst/gstxml.c: (gst_xml_get_type):
8602         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8603         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8604         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8605         Add G_UNLIKELY in type registration.
8606
8607 2006-06-12  Wim Taymans  <wim@fluendo.com>
8608
8609         * tools/gst-inspect.c: (print_signal_info):
8610         Properly print enum values.
8611
8612 2006-06-12  Wim Taymans  <wim@fluendo.com>
8613
8614         * gst/gstinfo.c: (gst_debug_set_active),
8615         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
8616         * gst/gstinfo.h:
8617         Add some G_[UN]LIKELY.
8618         Maintain __gst_debug_min to avoid formatting the arguments of
8619         debug messages that will be dropped anyway to avoid a lot of 
8620         overhead from the debugging system.
8621
8622 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8623
8624         * po/POTFILES.in:
8625         * po/POTFILES.skip:
8626           add missing files containing translatable strings, tell intltool about
8627           one exception
8628
8629 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8630
8631         * tests/check/libs/.cvsignore:
8632         add test-binary to ignore list
8633
8634 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
8635
8636         * docs/libs/gstreamer-libs-docs.sgml:
8637         reorder (put dp into a chapter) and indent
8638
8639 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8640
8641         * configure.ac:
8642           back to HEAD
8643
8644 === release 0.10.8 ===
8645
8646 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
8647
8648         * configure.ac:
8649           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
8650
8651 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8652
8653         * gst/gst.c: (init_post):
8654           move pid declaration to declaration block
8655
8656 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8657
8658         * gst/gst.c: (init_post):
8659           use _exit() instead of exit() in our forked child; this ensures
8660           that none of the registered exit handlers from whatever is using
8661           GStreamer get executed.  This fixes gnome-mixer-applet failing
8662           to load, because ORBit would shut down.
8663           Spotted by: Edward Hervey  <edward@fluendo.com>
8664           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
8665           Fixes #344474
8666
8667 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8668
8669         * configure.ac:
8670           back to TRUNK
8671
8672 === release 0.10.7 ===
8673
8674 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
8675
8676         * configure.ac:
8677           releasing 0.10.7, "Soepeke, ik zie ou"
8678
8679 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8680
8681         * configure.ac:
8682         * po/af.po:
8683         * po/az.po:
8684         * po/bg.po:
8685         * po/ca.po:
8686         * po/cs.po:
8687         * po/de.po:
8688         * po/en_GB.po:
8689         * po/fr.po:
8690         * po/it.po:
8691         * po/nb.po:
8692         * po/nl.po:
8693         * po/ru.po:
8694         * po/sq.po:
8695         * po/sr.po:
8696         * po/sv.po:
8697         * po/tr.po:
8698         * po/uk.po:
8699         * po/vi.po:
8700         * po/zh_CN.po:
8701         * po/zh_TW.po:
8702         * win32/common/config.h:
8703           0.10.6.2 prerelease
8704
8705 2006-06-07  Wim Taymans  <wim@fluendo.com>
8706
8707         * gst/gstindex.c: (gst_index_gtype_resolver):
8708         * tools/gst-xmlinspect.c: (print_plugin_info):
8709         Fix leak spotted by coverity checker. Fixes #343827
8710         Fix another other leak found by paolo borelli.
8711
8712 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8713
8714         * libs/gst/dataprotocol/dataprotocol.c:
8715         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8716         (gst_dp_version_get_type), (gst_dp_init),
8717         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
8718         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
8719         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
8720         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
8721         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
8722         (gst_dp_packetizer_free):
8723         * libs/gst/dataprotocol/dataprotocol.h:
8724           API: add a GstDPPacketizer object, and create/free functions
8725           API: add GstDPVersion enum
8726           Add 1.0 event function that uses the string serialization
8727           Serialize more useful buffer flags
8728           Fixes #343988
8729
8730 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8731
8732         * tests/check/Makefile.am:
8733         * tests/check/gst/gstabi.c:
8734         * tests/check/gst/struct_ppc64.h:
8735         * tests/check/libs/libsabi.c:
8736         * tests/check/libs/struct_ppc64.h:
8737           add ppc64 structure sizes
8738
8739 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8740
8741         * tests/check/Makefile.am:
8742         * tests/check/gst/gstabi.c:
8743         * tests/check/gst/struct_x86_64.h:
8744         * tests/check/libs/libsabi.c:
8745         * tests/check/libs/struct_x86_64.h:
8746           generate and add structure size lists for x86_64
8747
8748 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
8749
8750         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8751         * libs/gst/check/gstcheck.h:
8752           factor out the method from tests that checks size of structures,
8753           and add code to generate the header containing these sizes
8754         * tests/check/gst/gstabi.c: (GST_START_TEST):
8755         * tests/check/gst/struct_i386.h:
8756         * tests/check/libs/libsabi.c: (GST_START_TEST):
8757         * tests/check/libs/struct_i386.h:
8758           use it
8759
8760 2006-06-06  Michael Smith  <msmith@fluendo.com>
8761
8762         * gst/gstsegment.h:
8763           Don't use c++-style comments, fixes #343929
8764
8765 2006-06-05  Edward Hervey  <edward@fluendo.com>
8766
8767         * gst/gst.c:
8768         plugin_paths is not used if we build without registry support.
8769
8770         * gst/gstsegment.c: (gst_segment_copy): 
8771         _copy() was always returning NULL...
8772
8773 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8774
8775         * libs/gst/dataprotocol/dataprotocol.c:
8776         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8777         (gst_dp_packet_from_event):
8778           factor out CRC code
8779
8780 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8781
8782         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
8783           make sure we unset caps
8784
8785 2006-06-02  Michael Smith  <msmith@fluendo.com>
8786
8787         * libs/gst/check/gstcheck.c: (gst_check_init),
8788         (gst_check_chain_func):
8789         * libs/gst/check/gstcheck.h:
8790           Add a cond/mutex to the check support lib, signal this whenever we
8791           add to the buffers list. This will allow tests to not busy-wait on
8792           the buffer-list.
8793
8794 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8795
8796         * libs/gst/dataprotocol/dataprotocol.c:
8797         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8798         (gst_dp_packet_from_event):
8799           factor out some common header init code
8800
8801 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8802
8803         * docs/libs/gstreamer-libs-sections.txt:
8804         * docs/libs/tmpl/gstdataprotocol.sgml:
8805         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
8806         * libs/gst/dataprotocol/dataprotocol.h:
8807           API: make gst_dp_crc() public
8808
8809 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8810
8811         * plugins/indexers/gstindexers.c: (plugin_init):
8812         conditionally register fileindexer (fixes #343598)
8813
8814 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
8815
8816         * gst/gsttagsetter.h:
8817         Can't cast ifaces to a class
8818
8819         * libs/gst/net/gstnetclientclock.h:
8820         * libs/gst/net/gstnettimeprovider.h:
8821         * plugins/elements/gstfakesink.h:
8822         * plugins/elements/gstfakesrc.h:
8823         * plugins/elements/gstfdsink.h:
8824         * plugins/elements/gstfdsrc.h:
8825         * plugins/elements/gstfilesink.h:
8826         * plugins/elements/gstfilesrc.h:
8827         * plugins/elements/gstidentity.h:
8828         * plugins/elements/gstqueue.h:
8829         * plugins/elements/gsttee.h:
8830         * plugins/indexers/gstfileindex.c:
8831         * plugins/indexers/gstmemindex.c:
8832         * tests/old/examples/plugins/example.h:
8833         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
8834
8835 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8836
8837         * libs/gst/dataprotocol/dataprotocol.c:
8838         (gst_dp_header_from_buffer):
8839           make sure we zero the whole ABI-compatible area
8840
8841 2006-06-01  Wim Taymans  <wim@fluendo.com>
8842
8843         Patch by: Alessandro Decina <alessandro at nnva dot org>
8844
8845         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
8846         Make sure the EOS flag is cleared from pads after a flush
8847         or stop. Fixes #343538.
8848
8849         * tests/check/libs/collectpads.c: (GST_START_TEST),
8850         (gst_collect_pads_suite):
8851         Added test for collectpads reusage after EOS.
8852
8853 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
8854
8855         * gst/gst.c:
8856          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
8857         * win32/common/libgstbase.def:
8858          export gst_collect_pads_set_flushing
8859         * win32/common/libgstreamer.def:
8860          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
8861          gst_value_fraction_multiply
8862         * win32/vs6/gst_inspect.dsp:
8863          add a link to intl.lib
8864
8865 2006-05-30  Wim Taymans  <wim@fluendo.com>
8866
8867         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8868         (gst_collect_pads_chain):
8869         Handle the case where a pad is removed from the collection
8870         that could cause the other pads to become collectable.
8871
8872 2006-05-30  Wim Taymans  <wim@fluendo.com>
8873
8874         * gst/gstelement.c:
8875         Clarify the use of _release_request_pad() and
8876         _get_request_pad() a bit better.
8877
8878         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
8879         (gst_adapter_take_buffer):
8880         Fix some doc and comment typos.
8881
8882 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8883
8884         * docs/gst/gstreamer-sections.txt:
8885         * docs/libs/gstreamer-libs-sections.txt:
8886           add declared symbols
8887
8888 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
8889
8890         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
8891         Add debug that can be enabled using a #define at the top of the file,
8892         for dumping stats about how late/early we were when waking up from
8893         waiting on the clock.
8894
8895 2006-05-30  Wim Taymans  <wim@fluendo.com>
8896
8897         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
8898         When rebuilding the pad list, don't leak the previous list.
8899
8900 2006-05-30  Wim Taymans  <wim@fluendo.com>
8901
8902         Patch by: Lutz Mueller <lutz at topfrose dot de>
8903
8904         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8905         (gst_base_src_get_query_types), (gst_base_src_update_length):
8906         Publish supported query types.
8907         Update last_stop field in get_range mode so the position
8908         query works. Fixes #342321.
8909
8910 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
8911
8912         * docs/gst/gstreamer-sections.txt:
8913         * gst/gsttaglist.c: (_gst_tag_initialize):
8914         * gst/gsttaglist.h:
8915           API: add GST_TAG_PREVIEW_IMAGE (#343341).
8916
8917 2006-05-30  Wim Taymans  <wim@fluendo.com>
8918
8919         Patch by: Alessandro Decina <alessandro at nnva dot org>
8920
8921         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8922         Unlock mutex when removing an unknown pad.
8923         Fixes #343334.
8924
8925         * tests/check/Makefile.am:
8926         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
8927         (push_event), (setup), (teardown), (GST_START_TEST),
8928         (gst_collect_pads_suite), (main):
8929         Added collecpads check, disabled for now as check crashes for
8930         some reason.
8931
8932 2006-05-29  Wim Taymans  <wim@fluendo.com>
8933
8934         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
8935         Don't leak pads lists.
8936
8937 2006-05-29  Wim Taymans  <wim@fluendo.com>
8938
8939         * docs/libs/gstreamer-libs-sections.txt:
8940         * libs/gst/base/gstcollectpads.c:
8941         (gst_collect_pads_set_flushing_unlocked),
8942         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
8943         (gst_collect_pads_stop):
8944         * libs/gst/base/gstcollectpads.h:
8945         API: gst_collect_pads_set_flushing()
8946         Added api to set the pads to flushing, useful for seeking
8947         code in elements using collectpads.
8948         Clear segment when receiving a flush.
8949
8950 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
8951
8952         * gst/gst.c: (add_path_func), (init_post):
8953           Don't scan registry paths passed via --gst-plugin-path immediately
8954           (will crash, because absolutely nothing is set up and no types are
8955           registered etc.); do this later in init_post(). Fixes #343057.
8956
8957 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8958
8959         * gst/gst.c: (init_post):
8960           if we have fork, fork while reading/rebuilding the registry
8961           so the parent doesn't take the hit of having all plugins loaded
8962           in memory.  Fixes #342777.
8963         * configure.ac:
8964           Check if we have fork()
8965         * win32/common/config.h.in:
8966           no fork() on win32
8967
8968 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8969
8970         * plugins/elements/gstelements.c:
8971         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8972         (gst_file_src_init), (gst_file_src_set_property),
8973         (gst_file_src_get_property), (gst_file_src_start):
8974         * plugins/elements/gstfilesrc.h:
8975           API: GstFileSrc::use-mmap
8976
8977         Add a use-mmap property to enable easier testing of all code paths.
8978         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
8979         in the absence of gnomevfssrc. (Closes #340501)
8980
8981 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8982
8983         * tools/gst-inspect.c:
8984         Add missing include, removes warning of ngettext not being defined on
8985         some arches.
8986
8987 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
8988
8989         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8990         Handle NULL input and output pointers silently as a failed conversion,
8991         rather than g_warnings.
8992
8993 2006-05-25  Wim Taymans  <wim@fluendo.com>
8994
8995         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
8996         Initialize variable before using. Fixes #342820.
8997
8998 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8999
9000         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9001           Fix off-by-one bug that would only allow peeks of N-1 bytes
9002           from the start even if the buffer to typefind on contains
9003           in fact N bytes of data (makes vorbis typefinding from a
9004           vorbis identification header buffer work).
9005
9006         * tests/check/Makefile.am:
9007         * tests/check/libs/.cvsignore:
9008         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9009         (gst_typefindhelper_suite), (main), (foobar_typefind),
9010         (plugin_init):
9011           Add very basic unit test for gst_type_find_helper_for_buffer()
9012           that checks for the problem fixed above.
9013
9014 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9015
9016         * tools/gst-inspect.c: (print_interfaces),
9017         (print_element_properties_info), (print_element_list), (main):
9018           add more translatable strings
9019
9020 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9021
9022         Patch by: Julien Moutte  <julien at moutte net>
9023
9024         * docs/gst/gstreamer-sections.txt:
9025           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9026           
9027         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9028         (gst_fake_sink_preroll):
9029         * plugins/elements/gstfakesink.h:
9030           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9031
9032 2006-05-23  Wim Taymans  <wim@fluendo.com>
9033
9034         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9035         * gst/gstpad.h:
9036         Added _CUSTOM error and success GstFlowReturn that can be
9037         used be elements internally. 
9038         Added macro to check for SUCCESS flowreturns.
9039         API: GST_FLOW_CUSTOM_SUCCESS
9040         API: GST_FLOW_CUSTOM_ERROR
9041         API: GST_FLOW_IS_SUCCESS
9042
9043         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9044         Added check for GstFlowReturn sanity.
9045
9046 2006-05-23  Wim Taymans  <wim@fluendo.com>
9047
9048         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9049
9050         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9051         (gst_collect_pads_event):
9052         clear/reset segment info in FLUSH_STOP.
9053         Fixes #336929.
9054
9055 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9056
9057         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9058         (gst_collect_pads_check_collected):
9059         Flush queued buffer on _stop(), fixes playing again (#342454)
9060
9061 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9062
9063         * tests/check/gst/gststructure.c: (GST_START_TEST),
9064         (gst_structure_suite):
9065           add a test for a complete structure
9066
9067 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9068
9069         * docs/faq/developing.xml:
9070         * docs/faq/faq.xml:
9071         * docs/faq/troubleshooting.xml:
9072         * docs/faq/using.xml:
9073           Some minor FAQ updates that won't change the fact that
9074           our FAQ is badly structured, full of information hardly
9075           anyone new to GStreamer needs to know and lacking lots
9076           of information people constantly ask for.
9077           
9078 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9079
9080         * gst/gstpad.c: (gst_pad_set_caps):
9081           Short-circuit gst_pad_set_caps if setting the existing
9082           caps pointer again, and avoid printing debug and 
9083           reffing/unreffing the caps.
9084
9085         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9086           There's actually no need to set the caps before pushing -
9087           the acceptcaps method will handle it anyway.
9088
9089 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9090
9091         * docs/gst/gstreamer-sections.txt:
9092         * win32/common/libgstreamer.def:
9093         * gst/gstutils.c: (gst_element_seek_simple):
9094         * gst/gstutils.h:
9095           API: add gst_element_seek_simple() (#342238).
9096
9097 2006-05-18  Edward Hervey  <edward@fluendo.com>
9098
9099         * gst/gsttypefind.c: (gst_type_find_get_type):
9100         * gst/gsttypefind.h:
9101         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9102         registered for GstTypeFind pointers. This allows wrapping the structure
9103         in bindings (i.e. gst-python).
9104
9105 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9106
9107         * gst/gsttagsetter.c:
9108           Docs additions and fixes (see #339918).
9109
9110 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9111
9112         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9113         The caps intersection algorithm can produce multiple copies of the
9114         caps. Until that is fixed, we need to simplify the result to be
9115         sure whether the allowed caps are fixed or not.
9116
9117         * plugins/elements/gstqueue.c: (gst_queue_init),
9118         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9119         (gst_queue_push_one):
9120         Proxied buffer alloc should not set the caps on the source pad.
9121         When pushing buffers, we always accept the caps change that triggers.
9122         This prevents negotiation errors caused by caps changing mid-stream 
9123         and then being refused on our source pad (because upstream is now
9124         refusing those caps).
9125
9126 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9127
9128         * tests/examples/helloworld/helloworld.c: (main):
9129           Must plug audioconvert and audioresample between decoder
9130           and audio sink.
9131
9132 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9133
9134         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9135         (load_feature), (load_plugin):
9136         Allow empty strings for some of the plugin fields so we don't 
9137         drop valid plugin entries that were written out correctly
9138         (Fixes #341479)
9139
9140 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9141         
9142         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9143           Use g_remove and g_rename instead of remove and rename that don't 
9144           handle utf8 characters. rename was failing for users who had specific
9145           characters in their name then the registry was built at each 
9146           gstreamer init.
9147         * win32/vs6/gst_inspect.dsp:
9148         * win32/vs6/gst_launch.dsp:
9149         * win32/vs6/libgstbase.dsp:
9150         * win32/vs6/libgstcoreelements.dsp:
9151         * win32/vs6/libgstreamer.dsp:
9152           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9153           build of libgstreamer and clean unused libraries in projects link 
9154           settings.
9155
9156 2006-05-17  Edward Hervey  <edward@fluendo.com>
9157
9158         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9159         The queue is not responsible for pushing an EOS when receiving a fatal
9160         flow error. It's up to the real element driving the pipeline to do that.
9161
9162 2006-05-16  Edward Hervey  <edward@fluendo.com>
9163
9164         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9165         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9166         buffer returned a fatal error. It should just send an EOS and stop
9167         its task.
9168         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9169         when pushing buffers on the queue and will be able to handle the event.
9170
9171 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9172
9173         * docs/manual/basics-bins.xml:
9174         * docs/manual/basics-init.xml:
9175           Fix typos and minor errors in sample code (#341856).
9176
9177 2006-05-16  Wim Taymans  <wim@fluendo.com>
9178
9179         * docs/design/part-qos.txt:
9180         Fix indexes in formulas to make more sense.
9181
9182 2006-05-15  Wim Taymans  <wim@fluendo.com>
9183
9184         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9185         Don't report POSITION based on clock time if sync is
9186         disabled in a sink.
9187
9188 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9189
9190         * gst/gstobject.h:
9191           Add cast to make compiler happy - refcount variable was a gint
9192           in GstObject but is a guint in GObject and g_atomic_int_get()
9193           wants a gint *.
9194
9195 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9196
9197         * gst/parse/Makefile.am:
9198           chain commands using &&, which also makes parallel make work
9199
9200 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9201
9202         * docs/gst/gstreamer-sections.txt:
9203         * gst/gstevent.c:
9204         * gst/gstevent.h:
9205         * gst/gstmessage.h:
9206           Minor docs fixes.
9207
9208 === release 0.10.6 ===
9209
9210 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9211
9212         * configure.ac:
9213           releasing 0.10.6, "Take the cannoli"
9214
9215 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9216
9217         * tools/gst-launch.c: (print_tag):
9218           Fix use of uninitialized variable in the hypothetical
9219           case that some broken plugin creates a GST_TAG_IMAGE
9220           tag containing a NULL buffer (#341667).
9221
9222 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9223
9224         * tools/gst-launch.c: (print_tag):
9225           Print something more intelligible for image tags when
9226           using the -t switch (#341556).
9227
9228 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9229
9230         * Makefile.am:
9231           updates for win32
9232         * configure.ac:
9233           define GST_MAJORMINOR so we have it available in win32/common/config.h
9234           Possibly remove it from our Makefile.am files later
9235         * win32/common/config.h:
9236         * win32/common/config.h.in:
9237           added GST_MAJORMINOR
9238         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9239         * win32/common/gstversion.h:
9240           updated
9241
9242 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9243
9244         * win32/MANIFEST:
9245           Update win32 files listing.
9246         * win32/common/gstversion.h:
9247           Add GST_MAJORMINOR definition.
9248         * win32/common/libgstreamer.def:
9249           Add new exported functions.
9250           
9251 2006-05-12  Michael Smith  <msmith@fluendo.com>
9252
9253         * gst/gstplugin.c: (gst_plugin_load_file):
9254           If an so file has no plugin entry point, unload the module.
9255
9256 2006-05-11  Wim Taymans  <wim@fluendo.com>
9257
9258         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9259         (gst_queue_set_property):
9260         Don't forget to signal the _chain or _loop function 
9261         when the queue size or thresholds change since that might
9262         cause them to make progres again.
9263
9264 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9265
9266         * gst/gstclock.c: (gst_clock_class_init):
9267         * gst/gstindex.c: (gst_index_class_init):
9268         * gst/gstobject.c: (gst_object_class_init):
9269         * gst/gstpad.c: (gst_pad_class_init):
9270         * gst/gstpipeline.c: (gst_pipeline_class_init):
9271         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9272         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9273         * libs/gst/base/gstbasetransform.c:
9274         (gst_base_transform_class_init):
9275         * libs/gst/net/gstnetclientclock.c:
9276         (gst_net_client_clock_class_init):
9277         * libs/gst/net/gstnettimeprovider.c:
9278         (gst_net_time_provider_class_init):
9279         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9280         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9281         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9282         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9283         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9284         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9285         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9286         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9287         * plugins/elements/gsttee.c: (gst_tee_class_init):
9288         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9289         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9290           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9291
9292 2006-05-11  Wim Taymans  <wim@fluendo.com>
9293
9294         * gst/gstbuffer.c: (_gst_buffer_initialize):
9295         Register subbufer along with the buffer type so that
9296         it does not accidentally gets registered from N
9297         different streaming threads in a non threadsafe way.
9298
9299 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9300
9301         * gst/gstbuffer.h:
9302         * gst/gstevent.h:
9303         * gst/gstmessage.h:
9304           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9305           gst_event_ref() and gst_message_ref() functions again
9306           (ugly hack, please do fix if there's a better way besides
9307           overrides.txt, which doesn't seem to work).
9308
9309 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9310
9311         * libs/gst/check/gstcheck.h:
9312           add an assert for setting state to avoid lots of repetitive code
9313           in the future
9314
9315 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9316
9317         * gst/gstvalue.c: (gst_value_serialize_flags):
9318           fix a leak if no flags are set
9319         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9320           fix leak in tests
9321
9322 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9323
9324         * docs/manual/basics-pads.xml:
9325           Expand a bit on caps and filtered links and update
9326           examples that were still using the no longer existing
9327           gst_pad_link_filtered() (#338206).
9328
9329 2006-05-10  Wim Taymans  <wim@fluendo.com>
9330
9331         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9332         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9333         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9334         (gst_collect_pads_stop):
9335         * libs/gst/base/gstcollectpads.h:
9336         No need to call _stop in _finalize.
9337         Iterate the main pad list in _finalize.
9338         Added some more debug.
9339         Free lists and data in the right order.
9340         Also free data whem doing _remove_pad when stopped for
9341         backward compatibility protect ::started with PAD_LOCK as
9342         well.
9343
9344 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9345
9346         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9347         (gst_structure_parse_value):
9348           add some comments
9349           rename a method so that it actually says what it does better
9350
9351 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9352
9353         * gst/gstevent.c: (_gst_event_initialize):
9354         * gst/gstformat.c: (_gst_format_initialize):
9355           make sure some essential types used by events are registered
9356           as part of gst_init()
9357         * gst/gstvalue.c: (gst_value_serialize_flags):
9358           if no flags are set, serialize them to a value that represents NONE
9359           so that deserializing them works
9360         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9361           add tests for serialization and deserialization of flags
9362
9363 2006-05-10  Wim Taymans  <wim@fluendo.com>
9364
9365         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9366         (gst_collect_pads_collect_range), (gst_collect_pads_available),
9367         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9368         (gst_collect_pads_event), (gst_collect_pads_chain):
9369         Update docs.
9370         Better debug info.
9371         Catch and return errors from the collect function
9372         Refuse data on eos pads.
9373
9374 2006-05-10  Edward Hervey  <edward@fluendo.com>
9375
9376         * gst/gstinterface.h:
9377         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9378         GInterface type checking.
9379         They were previously using non-defined macros.
9380
9381 2006-05-09  Wim Taymans  <wim@fluendo.com>
9382
9383         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9384         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9385         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9386         (gst_collect_pads_start), (gst_collect_pads_stop),
9387         (gst_collect_pads_peek), (gst_collect_pads_pop),
9388         (gst_collect_pads_available), (gst_collect_pads_read),
9389         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9390         (gst_collect_pads_is_collected), (gst_collect_pads_event),
9391         (gst_collect_pads_chain):
9392         * libs/gst/base/gstcollectpads.h:
9393         Clean up the mess that is collectpads, add comments and
9394         FIXMEs where needed.
9395         Maintain a separate pad list so we can add pads while
9396         collecting the other ones. For this we need a new separate 
9397         lock (see comics).
9398         Fix memory leak in finalize.
9399         Refactor some weird code to set/unset pad flushing flags, mark
9400         with comments.
9401         Don't crash in _available, _read, _flush when we're EOS.
9402
9403         * tests/check/libs/.cvsignore:
9404         Ignore adapter check binary.
9405
9406 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9407
9408         * gst/gstindex.c: (gst_index_resolver_get_type):
9409         * plugins/elements/gstfakesink.c:
9410         (gst_fake_sink_state_error_get_type):
9411         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9412         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9413         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9414           Const-ify GEnumValue arrays.
9415
9416 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9417
9418         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9419           Add test case for flags + gst_buffer_make_metadata_writable().
9420
9421 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9422
9423         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9424           gst_buffer_make_metadata_writable() should maintain the
9425           buffer flags (those that make sense at least) (see #340859).
9426
9427 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9428
9429         * tools/gst-inspect.c:
9430         * tools/gst-launch.c:
9431         * tools/gst-typefind.c:
9432         * tools/gst-xmlinspect.c:
9433         * tools/tools.h:
9434           Fix up includes: need to include stdlib.h in tools.h for exit().
9435
9436 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9437
9438         * gst/gsttaglist.c: (_gst_tag_initialize):
9439         * gst/gsttaglist.h:
9440           API: add GST_TAG_IMAGE tag (#340721).
9441
9442 2006-05-08  Wim Taymans  <wim@fluendo.com>
9443
9444         * gst/gstquery.c:
9445         Added some docs for the segment query.
9446
9447 2006-05-08  Wim Taymans  <wim@fluendo.com>
9448
9449         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9450         (gst_base_src_loop), (gst_base_src_change_state):
9451         Always push non-flushing serialized events in the streaming 
9452         thread.
9453
9454 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9455
9456         * gst/gsterror.c: (_gst_stream_errors_init):
9457           Add a missing error string.
9458
9459 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
9460
9461         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9462         Add applied_rate to the debug
9463
9464         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9465         Copy applied_rate into the outgoing NEWSEGMENT event
9466
9467 2006-05-08  Wim Taymans  <wim@fluendo.com>
9468
9469         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9470
9471         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9472         (gst_base_sink_change_state):
9473         call ::unlock before taking the PREROLL_LOCK so we can safely
9474         handle elements that lock in ::render.
9475         Fixes #340174.
9476
9477 2006-05-08  Edward Hervey  <edward@fluendo.com>
9478
9479         * autogen.sh: (CONFIGURE_DEF_OPT): 
9480         Darwin's libtoolize is in fact called glibtoolize.
9481         Adding glibtoolize to the list of accepted names for libtoolize.
9482
9483 2006-05-08  Wim Taymans  <wim@fluendo.com>
9484
9485         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9486         Unify error handling, don't post an error message
9487         when a push() returns EOS but perform our normal EOS
9488         handling code. Fixes #340772.
9489
9490 2006-05-08  Wim Taymans  <wim@fluendo.com>
9491
9492         * docs/design/part-overview.txt:
9493         Make upsteam/downstream concepts more clear.
9494         Give an example of serialized/non-serialized events.
9495
9496         * docs/design/part-events.txt:
9497         * docs/design/part-streams.txt:
9498         Mention applied_rate.
9499
9500         * docs/design/part-trickmodes.txt:
9501         Mention applied rate, flesh out some more use cases.
9502
9503         * gst/gstevent.c: (gst_event_new_new_segment),
9504         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9505         (gst_event_parse_new_segment_full), (gst_event_new_tag),
9506         (gst_event_parse_tag), (gst_event_new_buffer_size),
9507         (gst_event_parse_buffer_size), (gst_event_new_qos),
9508         (gst_event_parse_qos), (gst_event_parse_seek),
9509         (gst_event_new_navigation):
9510         * gst/gstevent.h:
9511         Add applied_rate field to NEWSEGMENT event.
9512         API: gst_event_new_new_segment_full()
9513         API: gst_event_parse_new_segment_full()
9514
9515         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9516         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9517         (gst_segment_to_stream_time), (gst_segment_to_running_time):
9518         * gst/gstsegment.h:
9519         Add applied_rate to GstSegment structure.
9520         Make calculation of stream_time and running_time more correct
9521         wrt rate/applied_rate.
9522         Add some more docs.
9523         API: GstSegment::applied_rate field
9524         API: gst_segment_set_newsegment_full();
9525
9526         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9527         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9528         * libs/gst/base/gstbasetransform.c:
9529         (gst_base_transform_sink_eventfunc),
9530         (gst_base_transform_handle_buffer):
9531         Parse and use applied_rate in the GstSegment field.
9532
9533         * tests/check/gst/gstevent.c: (GST_START_TEST):
9534         Add check for applied_rate field.
9535
9536         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9537         (gstsegments_suite):
9538         Add more checks for various GstSegment operations.
9539
9540 2006-05-08  Wim Taymans  <wim@fluendo.com>
9541
9542         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9543         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9544         (gst_base_sink_get_position), (gst_base_sink_change_state):
9545         Store the sync time of the buffer end position separatly in a
9546         new variable eos_rtime so we can properly sync the EOS event.
9547         Fixes #340697.
9548         Fix the docs for gst_base_sink_set_qos_enabled().
9549         Don't set segment start to invalid value when we receive a 
9550         non TIME newsegment.
9551         get closer to handling position reporting for negative rates 
9552         correctly.
9553
9554 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9555
9556         * gst/gstcaps.c:
9557         Docs about how to print caps for debug purposes.
9558
9559         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9560         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9561
9562 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
9563
9564         * gst/gstelement.c:
9565           use full enum names and preprend a '%' in docs strings to make recent 
9566           gtk-doc turn that into a link
9567
9568 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9569
9570         * docs/manual/basics-bins.xml:
9571         * docs/manual/basics-bus.xml:
9572         * docs/manual/basics-pads.xml:
9573           Some typo fixes, some additions, some clarifications. 
9574
9575 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9576
9577         * tools/gst-inspect.c: (main):
9578         * tools/gst-launch.c: (main):
9579         * tools/gst-run.c: (main):
9580         * tools/gst-typefind.c: (main):
9581         * tools/gst-xmlinspect.c: (main):
9582           Use the string passed to g_option_context_new() for
9583           what it's intended for - the program name is already
9584           printed elsewhere.
9585
9586 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9587
9588         * tools/Makefile.am:
9589         * tools/gst-inspect.c: (main):
9590         * tools/gst-launch.c: (main):
9591         * tools/gst-xmlinspect.c: (main):
9592         * tools/tools.h:
9593           Add back --version command line option (#340460).
9594
9595         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9596           Add --version option and use GOption for argument parsing; refactor a
9597           bit; accept directories as arguments and recurse into them; lastly,
9598           print a decent error message when things go wrong.
9599
9600 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9601
9602         * docs/manual/basics-bins.xml:
9603         Don't mention GstThread (#340611)
9604         * docs/manual/basics-elements.xml:
9605         Update link to GObject tutorial (#340607)
9606         
9607 2006-05-05  Wim Taymans  <wim@fluendo.com>
9608
9609         * gst/gstbuffer.h:
9610         * gst/gstminiobject.c:
9611         Add note about refcounting and miniobject/buffer writeability
9612         to docs. Fixes #340604
9613
9614         * gst/gstelementfactory.h:
9615         Added some explanation about @klass.
9616
9617 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9618
9619         * docs/manual/intro-motivation.xml:
9620         * docs/manual/manual.xml:
9621         Avoid CORBA & Bonobo references (#340598)
9622
9623 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9624
9625         * docs/manual/basics-bus.xml:
9626         * docs/manual/basics-pads.xml:
9627         Fix up some inaccuracies and omissions (#340609)
9628         
9629 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
9630
9631         * gst/gstghostpad.c:
9632           Small typo in docs (#340625)
9633
9634 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9635
9636         * gst/parse/Makefile.am:
9637           Make 'make -j' proof (see #340698).
9638
9639 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
9640
9641         * configure.ac:
9642           Require GLib-2.8 here as well.
9643
9644 2006-05-05  Wim Taymans  <wim@fluendo.com>
9645
9646         * gst/glib-compat.c:
9647         * gst/gst.c: (init_pre):
9648         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9649         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
9650         (gst_object_dispatch_properties_changed):
9651         * gst/gstobject.h:
9652         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
9653         * gst/gststructure.c: (gst_structure_set_valist):
9654         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9655         Remove pre glib2.8 compatibility, fixes #340508
9656
9657 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9658
9659         * gst/gsttaglist.h:
9660           Mention type of tags in doc blurbs.
9661
9662 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
9663
9664         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9665         (gst_pad_configure_src), (gst_pad_push):
9666         Restore acceptcaps checking behaviour now that good plugins have
9667         been released.
9668
9669 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9670
9671         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
9672
9673         * gst/gst.c:
9674         * gst/gstbus.c:
9675         * gst/gstclock.c:
9676         * gst/gstevent.c:
9677         * gst/gstformat.c:
9678         * gst/gstmessage.c:
9679         * gst/gstparse.c:
9680         * gst/gstquery.c:
9681         * gst/gstutils.c:
9682         * gst/parse/Makefile.am:
9683         * libs/gst/base/gstadapter.c:
9684         * libs/gst/base/gstbasesrc.c:
9685         * libs/gst/base/gstpushsrc.c:
9686         * libs/gst/base/gsttypefindhelper.c:
9687         * plugins/elements/gstfakesrc.c:
9688         * plugins/elements/gstidentity.c:
9689           Make sure gstprivate.h and/or config.h are
9690           always included first, otherwise some of our
9691           defines (like _FILE_OFFSET_BITS) might be
9692           redefined in the system headers. Fixes build
9693           on opensolaris (#340016).
9694
9695 2006-05-04  Wim Taymans  <wim@fluendo.com>
9696
9697         * docs/libs/gstreamer-libs-sections.txt:
9698         API: addition: gst_adapter_take_buffer()
9699         
9700         * libs/gst/base/gstadapter.c: (gst_adapter_push),
9701         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
9702         (gst_adapter_available_fast):
9703         * libs/gst/base/gstadapter.h:
9704         Prepare for optimizing the hell out of this hugely inefficient
9705         piece of code. 
9706         Added gst_adapter_take_buffer() so we can at least start thinking
9707         about subbuffering and merging.
9708         Added some comments.
9709
9710         * tests/check/Makefile.am:
9711         * tests/check/libs/adapter.c: (GST_START_TEST),
9712         (gst_adapter_suite), (main):
9713         Added GstAdapter check.
9714
9715 2006-05-04  Wim Taymans  <wim@fluendo.com>
9716
9717         * docs/design/part-overview.txt:
9718         Fix some typos, add blurb about buffer flags.
9719
9720 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9721
9722         * docs/libs/gstreamer-libs-sections.txt:
9723           make sure GstBaseTransformClass shows up in the docs
9724         * libs/gst/base/gstbasetransform.c:
9725         * libs/gst/base/gstbasetransform.h:
9726           move docs so gtk-doc picks it up now
9727
9728 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9729
9730         * docs/libs/gstreamer-libs-sections.txt:
9731           add missing symbols to docs
9732
9733 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
9734
9735         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9736           back out the newsegment handling change, see #340060 for ongoing
9737           discussion
9738
9739 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
9740
9741         * tools/gst-run.c: (get_candidates), (main):
9742           Fix wrong g_file_test() usage (see glib docs for why it doesn't
9743           work); fix typo in error message. Fixes #340079.
9744
9745 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9746
9747         * common/Makefile.am:
9748         * docs/Makefile.am:
9749         * docs/faq/Makefile.am:
9750         * docs/gst/Makefile.am:
9751         * docs/libs/Makefile.am:
9752         * docs/manual/Makefile.am:
9753         * docs/plugins/Makefile.am:
9754         * docs/pwg/Makefile.am:
9755         * docs/slides/Makefile.am:
9756         * docs/upload.mak:
9757         * common/upload.mak:
9758           move upload.mak to common
9759
9760 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9761
9762         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9763           add more asserts on refcounts
9764           do more cleanup at end of tests
9765           fix test leaks showing in FC5
9766
9767 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
9768
9769         * plugins/elements/gsttypefindelement.c:
9770         (gst_type_find_element_handle_event):
9771         reverted wrong change and reflowed code to avoid others falling into
9772         this trap
9773
9774 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9775
9776         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9777           fix changelog entry about last collectpads change,
9778           add notes about proper fix
9779
9780 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9781
9782         * gst/gst.c:
9783         * gst/gstregistry.c: (gst_registry_scan_path_level),
9784         (gst_registry_scan_path):
9785         * gst/gstregistry.h:
9786           only write out registry if it has changed, fixes #338339
9787
9788 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9789
9790         * gst/gstbin.c:
9791         * gst/gstpipeline.c:
9792         * plugins/elements/gstcapsfilter.c:
9793         * plugins/elements/gstfakesink.c:
9794         * plugins/elements/gstfakesrc.c:
9795         * plugins/elements/gstfdsink.c:
9796         * plugins/elements/gstfdsrc.c:
9797         * plugins/elements/gstfilesink.c:
9798         * plugins/elements/gstfilesrc.c:
9799         * plugins/elements/gstidentity.c:
9800         * plugins/elements/gstqueue.c:
9801         * plugins/elements/gsttee.c:
9802         * plugins/elements/gsttypefindelement.c:
9803         (gst_type_find_element_handle_event):
9804           make GstElementDetails const
9805
9806 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9807
9808         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
9809         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9810         (gst_collect_pads_is_collected), (gst_collect_pads_event):
9811           more detailed debug and formatting cleanup,
9812           forward newsegments to src-pad (so that e.g. adder not eats them)
9813
9814 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9815
9816         * gst/gstutils.c: (gst_element_link_pads):
9817           cleanup double code
9818
9819 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
9820
9821         * libs/gst/controller/gstcontroller.c:
9822         (gst_controller_sync_values):
9823           some little tuning
9824         * tests/check/libs/controller.c: (GST_START_TEST),
9825         (gst_controller_suite):
9826           a new test for live value handling
9827
9828 2006-04-28  Wim Taymans  <wim@fluendo.com>
9829
9830         * gst/gstutils.c: (push_and_ref):
9831         Added some more docs.
9832         Fix refcount issue whith gst_element_found_tags() helper 
9833         function. Fixes #338335
9834
9835         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9836         Added testsuite for gst_element_found_tags().
9837
9838 2006-04-28  Michael Smith  <msmith@fluendo.com>
9839
9840         * gst/gstvalue.c: (gst_value_serialize_flags):
9841           Avoid NULL dereference when trying to serialize flags containing
9842           invalid values.
9843
9844 2006-04-28  Michael Smith  <msmith@fluendo.com>
9845
9846         * plugins/elements/gsttypefindelement.c:
9847         (gst_type_find_element_handle_event):
9848           If we get EOS before any data is accumulated, don't use
9849           uninitialised local variables.
9850
9851 2006-04-28  Michael Smith  <msmith@fluendo.com>
9852
9853         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9854         (gst_dp_event_from_packet):
9855           Fixes in reading/writing events over GDP (not currently used?) - 
9856           dereferencing NULL events for unknown/invalid event types, memory
9857           leak, and change g_warning to GST_WARNING.
9858
9859 2006-04-28  Wim Taymans  <wim@fluendo.com>
9860
9861         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
9862         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
9863         (gst_base_sink_get_position), (gst_base_sink_change_state):
9864         When frame dropping is enabled, we should not ignore frames
9865         without a duration.
9866         Update some documentation.
9867
9868 2006-04-28  Wim Taymans  <wim@fluendo.com>
9869
9870         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9871         (gst_base_src_send_event), (gst_base_src_change_state):
9872         Documentation updates.
9873
9874 2006-04-28  Wim Taymans  <wim@fluendo.com>
9875
9876         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
9877         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
9878         handle EAGAIN, EINTR and short writes correctly. Also clean
9879         up some error cases, avoid a deadlock on bad file descriptors and
9880         use GST_DEBUG_OBJECT.
9881         Fixes #339843
9882
9883 2006-04-28  Wim Taymans  <wim@fluendo.com>
9884
9885         * gst/gstvalue.c: (gst_value_serialize_buffer),
9886         (gst_value_deserialize_buffer):
9887         Don't try to serialize a GValue with a NULL buffer. 
9888         Fixes #339821.
9889
9890         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9891         Added check for serialisation of NULL buffers.
9892
9893 2006-04-28  Wim Taymans  <wim@fluendo.com>
9894
9895         * gst/gstminiobject.c: (gst_value_take_mini_object):
9896         Taking a NULL miniobject is valid, fix the case where
9897         we try to unref the NULL miniobject.
9898
9899 2006-04-28  Wim Taymans  <wim@fluendo.com>
9900
9901         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9902
9903         * gst/gstbin.c: (gst_bin_handle_message_func):
9904         Update docs.
9905         Don't leak bin refcount when a state recalc is
9906         in progress and we delay another one #339808.
9907
9908 2006-04-28  Wim Taymans  <wim@fluendo.com>
9909
9910         * docs/design/part-TODO.txt:
9911         Mention QoS as an ongoing work item.
9912
9913         * docs/design/part-buffering.txt:
9914         New doc about buffering that needs to be fleshed out
9915         at some point.
9916
9917         * docs/design/part-qos.txt:
9918         More QoS policy for decoders/demuxers/transforms
9919
9920         * docs/design/part-trickmodes.txt:
9921         Small update.
9922
9923 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9924
9925         * configure.ac:
9926           back to HEAD
9927
9928 === release 0.10.5 ===
9929
9930 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
9931
9932         * configure.ac:
9933           releasing 0.10.5, "Fogo"
9934
9935 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9936
9937         patch by: Wim Taymans
9938
9939         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
9940         (gst_pad_configure_src), (gst_pad_push):
9941         * gst/gstpipeline.c: (gst_pipeline_init):
9942           Fix internal data flow errors.  Fixes #338711.
9943
9944 2006-04-12  Wim Taymans  <wim@fluendo.com>
9945
9946         * tests/check/gst/gstelement.c: (GST_START_TEST):
9947         Don't leak the factory.
9948
9949 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9950
9951         * configure.ac:
9952         * win32/common/config.h:
9953           prerelease
9954
9955 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9956
9957         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9958         (gst_controller_unset_all):
9959           Free allocated GstTimedValues when freeing list nodes.
9960           Should fix leaks 'make check-valgrind' complains about.
9961
9962         * win32/common/libgstcontroller.def:
9963           Add gst_controller_unset_all.
9964
9965 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
9966
9967         * docs/libs/gstreamer-libs-sections.txt:
9968         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
9969         (gst_controller_unset_all):
9970         * libs/gst/controller/gstcontroller.h:
9971         API: Added new method gst_controller_unset_all()
9972         fixed gst_controller_unset()
9973         * tests/check/libs/controller.c: (GST_START_TEST),
9974         (gst_controller_suite):
9975         Added two testcases for new and fixed method
9976
9977 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
9978
9979         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9980           MSG_DONTWAIT is not defined on Cygwin, so work
9981           around that (fixes #317048).
9982           
9983 2006-04-11  Wim Taymans  <wim@fluendo.com>
9984
9985         * gst/gstelementfactory.c: (gst_element_register),
9986         (gst_element_factory_create), (gst_element_factory_make):
9987         Some cleanups.
9988         Fixed a FIXME.
9989         Updated docs (Fixes #131079)
9990
9991         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9992         Small cleanups.
9993
9994         * tests/check/gst/gstelement.c: (GST_START_TEST),
9995         (gst_element_suite):
9996         Added testcase for elementfactory class field.
9997
9998 2006-04-10  Wim Taymans  <wim@fluendo.com>
9999
10000         * gst/gstsegment.c:
10001         Added some more docs.
10002
10003         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10004         (gst_base_sink_reset_qos):
10005         Calculate more accurate rate values.
10006
10007 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10008
10009         * gst/gst_private.h:
10010           add a new #ifdef to use __declspec(dllimport) only for
10011           other modules and not for gstreamer core
10012         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10013           use gst_guint64_to_gdouble for conversion
10014         * win32/common/libgstreamer.def:
10015           add new exported functions
10016         * win32/vs6/gst_inspect.dsp:
10017         * win32/vs6/gst_launch.dsp:
10018         * win32/vs6/libgstbase.dsp:
10019         * win32/vs6/libgstcontroller.dsp:
10020         * win32/vs6/libgstcoreelements.dsp:
10021         * win32/vs6/libgstdataprotocol.dsp:
10022         * win32/vs6/libgstnet.dsp:
10023           update project files
10024
10025 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10026
10027         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10028         * gst/gstclock.c: (gst_clock_class_init):
10029         * gst/gstelement.c: (gst_element_class_init):
10030         * gst/gstindex.c: (gst_index_class_init):
10031         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10032         * gst/gstobject.c: (gst_object_class_init),
10033         (gst_signal_object_class_init):
10034         * gst/gstpad.c: (gst_pad_class_init):
10035         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10036         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10037         * gst/gstregistry.c: (gst_registry_class_init):
10038         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10039         * gst/gsttask.c: (gst_task_class_init):
10040         * gst/gstxml.c: (gst_xml_class_init):
10041         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10042         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10043         (gst_base_src_loop):
10044         * libs/gst/controller/gstcontroller.c:/
10045         (_gst_controller_class_init):
10046         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10047         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10048         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10049         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10050         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10051         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10052
10053 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10054
10055         * gst/gstpad.c: (gst_pad_link):
10056           Must set peer pads before calling the link function, otherwise
10057           a task started from a link function might get a flow-not-linked
10058           result when trying to push because the other thread where the
10059           linking happens hasn't had a chance to set the peers yet. This
10060           might happen for example when a queue gets linked to a downstream
10061           element, as queue starts a streaming task when its source pad
10062           gets linked. Happens in real life when playing back flac/musepack
10063           files in playbin (#332390).
10064           
10065 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10066
10067         * gst/gstindex.h:
10068         * gst/gstxml.h:
10069         * libs/gst/base/gstadapter.h:
10070         * libs/gst/base/gstbasesink.h:
10071         * libs/gst/base/gstbasesrc.h:
10072         * libs/gst/base/gstbasetransform.h:
10073         * libs/gst/base/gstcollectpads.h:
10074         * libs/gst/base/gstpushsrc.h:
10075         Fix broken GObject macros
10076
10077 2006-04-07  Wim Taymans  <wim@fluendo.com>
10078
10079         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10080         Initialize start and stop times, thanks valgrind.
10081
10082 2006-04-07  Wim Taymans  <wim@fluendo.com>
10083
10084         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10085         Be a bit nicer to badly behaving upstream elements that expect
10086         us to deal with non TIME segments and timestamps (such as fakesrc
10087         in the testsuite).
10088
10089 2006-04-07  Wim Taymans  <wim@fluendo.com>
10090
10091         * gst/gstbus.c:
10092         Small documentation clarification about the signal watch.
10093
10094         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10095         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10096         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10097         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10098         (gst_base_sink_get_position_last),
10099         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10100         Convert and store timestamps in stream time and running time, the
10101         raw timestamps are not useful, also document this better.
10102         Use different window sizes for good and bad QoS observations so
10103         we react to badness a little quicker.
10104         Keep track of the amount of rendered and dropped buffers.
10105         Send QoS timestamps in running time.
10106
10107         * libs/gst/base/gstbasetransform.c:
10108         (gst_base_transform_sink_eventfunc),
10109         (gst_base_transform_handle_buffer):
10110         Compare QoS timestamps against running time.
10111
10112 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10113
10114         * gst/gstpad.c:
10115           Typo fixes in docs.
10116
10117 2006-04-06  Michael Smith  <msmith@fluendo.com>
10118
10119         * gst/gstpad.c: (gst_pad_set_property):
10120           Use g_value_get_object() instead of g_value_dup_gst_object(),
10121           to avoid double-reffing the pad template (which we then sink,
10122           so this worked previously if (and only if) the pad template
10123           was floating.
10124
10125         * gst/gstpadtemplate.c: (gst_pad_template_init),
10126         (gst_pad_template_pad_created):
10127           Never return floating references to pad templates, create
10128           them as initially-sunken.
10129
10130           Document an extra function (and make this stop sinking our
10131           pad template, since that is now guaranteed to do nothing,
10132           since we created it sunken).
10133
10134         * gst/gstghostpad.c:
10135           Fix docs typo.
10136
10137 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10138
10139         * gst/gstinfo.c: (__gst_in_valgrind):
10140           Add some newlines.
10141
10142         * plugins/elements/gsttypefindelement.c:
10143         (gst_type_find_element_chain):
10144           Don't leak buffer caps.
10145
10146 2006-04-06  Michael Smith  <msmith@fluendo.com>
10147
10148         * gst/parse/grammar.y:
10149           Fix a leak in parse-launch for any source-or-sink named element 
10150           references used.
10151
10152         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10153           Unref the pipeline if it exists after we've failed parsing.
10154
10155 2006-04-05  Michael Smith  <msmith@fluendo.com>
10156
10157         * gst/gstpipeline.c: (gst_pipeline_init):
10158           When we create a pipeline bus, initially create it in flushing mode.
10159           Fixes leaks in at least one test, and makes a new pipeline work the
10160           same as one that has gone to READY and then back to NULL.
10161
10162         * gst/gstelement.c:
10163           Typo fix in docs.
10164
10165 2006-04-05  Michael Smith  <msmith@fluendo.com>
10166
10167         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10168           Unref a pad we reffed.
10169         * tests/check/gst/gstutils.c: (GST_START_TEST):
10170           Unref bins
10171
10172 2006-04-05  Michael Smith  <msmith@fluendo.com>
10173
10174         * gst/gstquery.c: (gst_query_set_formats),
10175         (gst_query_set_formatsv):
10176           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10177
10178 2006-04-05  Michael Smith  <msmith@fluendo.com>
10179
10180         * tests/check/generic/sinks.c: (GST_START_TEST):
10181           Fix a variety of memleaks in sinks check, which are only sometimes 
10182           shown by running the tests under valgrind (weird?).
10183
10184 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10185
10186         * docs/version.entities.in:
10187           Fix the substituted entity name after thomas' changes on the
10188           weekend.
10189
10190 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10191
10192         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10193         VALGRIND_PRINTF
10194         
10195 2006-04-05  Andy Wingo  <wingo@pobox.com>
10196
10197         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10198
10199         * libs/gst/base/gstbasetransform.c
10200         (gst_base_transform_sink_eventfunc): When resetting our segment on
10201         FLUSH_STOP, also update the flag saying we haven't seen a
10202         newsegment.
10203
10204 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10205
10206         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10207
10208         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10209         (gst_plugin_check_license):
10210           minor clean-ups: G_DEFINE_TYPE already takes care of the
10211           parent_class stuff, no need to do it twice. Mark array of
10212           license strings as constant. (#337103)
10213           
10214 2006-04-04  Michael Smith  <msmith@fluendo.com>
10215
10216         * tools/gst-inspect.c: (print_element_list):
10217           Free the right plugin list; fixes a memory leak.
10218
10219 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10220
10221         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10222
10223         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10224           Don't error out on empty buffers (#336945).
10225           
10226 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10227
10228         * docs/libs/gstreamer-libs-sections.txt:
10229         * gst/gsttaglist.c:
10230         * libs/gst/base/gstbasesink.c:
10231         * libs/gst/base/gstbasesink.h:
10232         * libs/gst/base/gstbasesrc.c:
10233         * libs/gst/base/gstbasesrc.h:
10234           Documentation updates. Make BaseSink and BaseSrc docs contain the
10235           class structure so that people can actually see the prototypes for
10236           virtual functions they're supposed to be overriding.
10237
10238 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10239
10240         * plugins/elements/gsttypefindelement.c:
10241         (gst_type_find_element_chain):
10242           More debug info; when skipping typefinding, send cached
10243           events in all cases.
10244
10245 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10246
10247         * configure.ac:
10248           use new AS_VERSION and AS_NANO macros
10249         * gst/gst-i18n-lib.h:
10250         * gst/gst.c:
10251         * gst/gsterror.c:
10252         * gst/gstversion.h.in:
10253         * win32/common/config.h:
10254         * win32/common/config.h.in:
10255           update accordingly
10256
10257 2006-03-31  Michael Smith  <msmith@fluendo.com>
10258
10259         * plugins/elements/gsttypefindelement.c:
10260         (gst_type_find_element_chain):
10261           Do not typefind content if the buffers already have caps.
10262           Neccesary for icydemux (#333657), and the right thing to do anyway.
10263
10264 2006-03-30  Wim Taymans  <wim@fluendo.com>
10265
10266         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10267         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10268         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10269         (gst_base_sink_record_qos_observation),
10270         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10271         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10272         (gst_base_sink_change_state):
10273         More QoS measurements as described in the design doc.
10274         Get rid of ringbuffer with observations, running average is
10275         more simple and equally good.
10276         Calculates valid proportion now.
10277         Added beginning of flood measurement.
10278
10279 2006-03-29  Wim Taymans  <wim@fluendo.com>
10280
10281         * docs/design/part-qos.txt:
10282         * gst/gstclock.c:
10283         Small documentation updates and additions.
10284
10285 2006-03-29  Wim Taymans  <wim@fluendo.com>
10286
10287         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10288         (gst_base_src_send_event), (gst_base_src_loop),
10289         (gst_base_src_change_state):
10290         Perform the EOS logic when we reach the segment stop position.
10291         Fix compilation on gcc4.1
10292
10293 2006-03-29  Wim Taymans  <wim@fluendo.com>
10294
10295         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10296
10297         * plugins/elements/gstqueue.c: (gst_queue_init),
10298         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10299         (gst_queue_set_property):
10300         * plugins/elements/gstqueue.h:
10301         In queue, when EOS is received, if minimum threshold > max_size -
10302         current_level, there is chance that queue blocks forever in conditional
10303         item del wait. This is because the queue is not emptied completely due
10304         to minimum threshold.  Here is another approach. Instead of setting
10305         cur_levels to max in EOS, just zero all minimum threshold levels. This
10306         should make sure that queue gives out all data. When going to READY
10307         (stop) state, just reset the original minimum threshold levels.
10308         Fixes #336336.
10309
10310 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10311
10312         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10313         (gst_type_find_element_handle_event),
10314         (gst_type_find_element_send_cached_events),
10315         (gst_type_find_element_change_state):
10316         * plugins/elements/gsttypefindelement.h:
10317           When typefinding is done in push mode, we should cache
10318           events we receive during typefinding instead of just
10319           dropping them (e.g. newsegment, custom events from
10320           dvdreadsrc etc.) and then send them out once we've
10321           determined the type of the stream (and decodebin
10322           has had a chance to plug in a decoder/demuxer).
10323           
10324 2006-03-27  Wim Taymans  <wim@fluendo.com>
10325
10326         * docs/design/part-qos.txt:
10327         First QoS ideas.
10328
10329 2006-03-27  Wim Taymans  <wim@fluendo.com>
10330
10331         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10332
10333         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10334         (gst_base_src_send_event), (gst_base_src_change_state):
10335         Handle element seek correctly when we are streaming.
10336         Fixes #326998.
10337
10338 2006-03-24  Michael Smith  <msmith@fluendo.com>
10339
10340         * docs/faq/gst-uninstalled:
10341           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10342           allow you to correctly run intalled applications built against old 
10343           core, using plugins that require updated core (e.g. running
10344           installed totem against a full uninstalled gstreamer stack)
10345
10346 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10347
10348         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10349         more debug details
10350
10351 2006-03-24  Wim Taymans  <wim@fluendo.com>
10352
10353         * docs/gst/gstreamer-sections.txt:
10354         Rearrange the order of the methods so that related methods
10355         are grouped together in sections.
10356
10357 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10358
10359         * gst/gstelement.c:
10360           Little clarification in the docs
10361
10362 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
10363
10364         * docs/README:
10365         formatting fix
10366         * plugins/elements/gstidentity.c:
10367         * plugins/elements/gstqueue.c:
10368         * plugins/elements/gsttee.c:
10369         * plugins/elements/gsttypefindelement.c:
10370         GST_ELEMENT_DETAILS formatting
10371
10372 2006-03-24  Wim Taymans  <wim@fluendo.com>
10373
10374         * libs/gst/base/gstbasesink.h:
10375         Only add fields, not insert or we break ABI.
10376
10377 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10378
10379         * win32/common/libgstbase.def:
10380         * win32/common/libgstreamer.def:
10381           Update, add recently added functions.
10382
10383 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10384
10385         * docs/gst/gstreamer-sections.txt:
10386         * gst/gstutils.c: (gst_pad_query_peer_position),
10387         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10388         * gst/gstutils.h:
10389           API: add some new utility functions:
10390            - gst_pad_query_peer_position()
10391            - gst_pad_query_peer_duration()
10392            - gst_pad_query_peer_convert()
10393           
10394 2006-03-23  Wim Taymans  <wim@fluendo.com>
10395
10396         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10397         (gst_base_sink_init), (gst_base_sink_finalize),
10398         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10399         (gst_base_sink_set_property), (gst_base_sink_get_property),
10400         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10401         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10402         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10403         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10404         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10405         (gst_base_sink_preroll_object), (gst_base_sink_event),
10406         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10407         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10408         (gst_base_sink_query), (gst_base_sink_change_state):
10409         Decouple max-lateness and the fact that QoS messages are generated
10410         with a new property (qos).
10411         added API: GstBaseSink::async_play()
10412         Add vmethod so subclasses can be notified of ASYNC playing
10413         state changes.
10414         Collect timestamp start and stop to report better current
10415         position in EOS/PLAYING/PAUSED/READY/NULL.
10416         Refactor QoS/frame dropping and other measurements.
10417         API: GstBaseSrc::qos
10418         Fixes #326311
10419
10420         * libs/gst/base/gstbasesink.h:
10421         Added Private struct.
10422         API: gst_base_sink_set_qos_enabled()
10423         API: gst_base_sink_is_qos_enabled()
10424
10425 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
10426
10427         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10428           If compiling against GLib-2.8 or newer, try to read the
10429           registry file using GMappedFile first before falling back
10430           to fopen() + fread() (#332151).
10431
10432 2006-03-22  Wim Taymans  <wim@fluendo.com>
10433
10434         * gst/gstinfo.c: (gst_debug_set_active),
10435         (gst_debug_category_set_threshold):
10436         Disable debugging unless explicitly activated.
10437         Fixes #335480.
10438
10439 2006-03-22  Wim Taymans  <wim@fluendo.com>
10440
10441         * gst/gstelement.c: (gst_element_set_locked_state),
10442         (gst_element_dispose):
10443         Cleanup the error case.
10444
10445         * gst/gstobject.c: (gst_object_dispose):
10446         print a critical when some object was disposed with
10447         a parent, also revive the object since it might
10448         crash the parent.
10449
10450 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
10451
10452         * tools/gst-launch.1.in:
10453           Fix another typo.
10454
10455 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10456
10457         * configure.ac:
10458         * tests/check/Makefile.am:
10459           disable some tests when we don't have a registry
10460         * tests/check/gst/gstutils.c: (gst_utils_suite):
10461           don't build the part that needs parsing
10462
10463 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10464
10465         * gst/Makefile.am
10466         * tests/examples/Makefile.am:
10467           fix --disable-parse build
10468
10469 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10470
10471         * tools/gst-feedback.1.in:
10472           Fix typo: s/feeback/feedback/ (#133494).
10473
10474 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10475
10476         * tools/Makefile.am:
10477         * tools/gst-launch.1.in:
10478           Add FILES section and correct entry about GST_REGISTRY_PATH
10479           environment variable (#133495; #133494).
10480
10481 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10482
10483         * tools/Makefile.am:
10484         * tools/gst-md5sum.1.in:
10485         * tools/gst-md5sum.c:
10486           Remove gst-md5sum and man page (the md5sink element
10487           required was removed ages ago)
10488
10489 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10490
10491         * gst/gststructure.c: (gst_structure_id_set_value):
10492           Make sure that string fields in structures/taglists
10493           contain valid UTF-8 - we don't want to pass rubbish to
10494           applications because of a buggy plugin (cp. #334167).
10495
10496 2006-03-21  Edward Hervey  <edward@fluendo.com>
10497
10498         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10499         (gst_bin_handle_message_func):
10500         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10501         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10502         (gst_element_set_bus_func):
10503         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10504         * gst/gstminiobject.c: (gst_value_set_mini_object),
10505         (gst_value_take_mini_object):
10506         * gst/gstpad.c: (gst_pad_set_pad_template):
10507         * gst/gstpipeline.c: (gst_pipeline_dispose),
10508         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10509         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10510         (gst_collect_pads_chain):
10511         * libs/gst/net/gstnettimeprovider.c:
10512         (gst_net_time_provider_set_property):
10513         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10514         It's in fact all issues with gst_*object_replace().
10515
10516 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
10517
10518         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
10519         
10520         * pkgconfig/gstreamer-check-uninstalled.pc.in:
10521         * pkgconfig/gstreamer-check.pc.in:
10522           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10523
10524 2006-03-21  Edward Hervey  <edward@fluendo.com>
10525
10526         * gst/gstbuffer.h:
10527         * gst/gstevent.h:
10528         * gst/gstmessage.h:
10529         gst_[buffer|event|message]_ref() macros are replaced by a static
10530         inline functions because gcc-4.1 will about if the return value
10531         isn't used.
10532         * tests/check/gst/gstevent.c: (event_probe):
10533         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10534
10535 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
10536
10537         * gst/gstutils.h:
10538         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10539         the type' case. (Closes: #335195 for now). In the future, when we
10540         depend on GLib 2.10, we could also intern the type name using
10541         g_intern_static_string()
10542
10543 2006-03-20  Wim Taymans  <wim@fluendo.com>
10544
10545         * gst/gstbin.c: (gst_bin_handle_message_func),
10546         (bin_query_max_init), (bin_query_position_fold),
10547         (bin_query_position_done), (gst_bin_query):
10548         Position query should also take max of all streams.
10549
10550 2006-03-20  Wim Taymans  <wim@fluendo.com>
10551
10552         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10553         (gst_fake_src_finalize):
10554         Fix leaks in fakesrc.
10555
10556         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10557         Fix leaks in the testcase.
10558
10559 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
10560
10561         * gst/gst_private.h:
10562           add win32 specific import decoration(__declspec(dllimport)) 
10563           for all extern GstDebugCategory * variables
10564         * win32/common/libgstbase.def:
10565         * win32/common/libgstcontroller.def:
10566         * win32/common/libgstreamer.def:
10567           Add some exports, remove empty lines
10568         * win32/common/libgstdataprotocol.def:
10569         * win32/common/libgstdataprotocol.dsp:
10570         * win32/common/libgstnet.def:
10571         * win32/common/libgstnet.dsp:
10572           new project files and exportation files added
10573         
10574 2006-03-19  Wim Taymans  <wim@fluendo.com>
10575
10576         * tests/check/libs/basesrc.c: (eos_event_counter):
10577         Use proper return value for probe.
10578
10579 2006-03-17  Wim Taymans  <wim@fluendo.com>
10580
10581         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10582         (gst_pad_push):
10583         Don't leak buffers, caps and pads on negotiation errors.
10584
10585 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
10586
10587         * docs/faq/cvs.xml:
10588         * docs/faq/dependencies.xml:
10589         * docs/faq/developing.xml:
10590         * docs/faq/faq.xml:
10591         * docs/faq/general.xml:
10592         * docs/faq/getting.xml:
10593         * docs/faq/legal.xml:
10594         * docs/faq/troubleshooting.xml:
10595         * docs/faq/using.xml:
10596         Faq review and update.
10597
10598 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
10599
10600         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10601         (gst_pad_push):
10602         Don't pound the cpu to pieces by checking get_caps when accept_caps
10603         is called with the same caps as the pad already has.
10604         Use GST_DEBUG_OBJECT when outputting caps change information.
10605
10606 2006-03-15  Wim Taymans  <wim@fluendo.com>
10607
10608         * gst/gstclock.c: (gst_clock_class_init):
10609         Fix docs.
10610
10611 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
10612
10613         * gst/gstbuffer.h:
10614         Documentation fix.
10615
10616         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
10617         (gst_pad_accept_caps), (gst_pad_configure_sink),
10618         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
10619         Make the default acceptcaps behaviour be to check the requested 
10620         caps against the gst_pad_get_caps output. 
10621
10622         Ensure that gst_pad_accept_caps is used to check caps when a pad
10623         doesn't have a setcaps function, so that pads automatically refuse 
10624         caps that they don't allow in their pad template. (Fixes #332986)
10625
10626         When a buffer with attached caps is pushed, ensure that the source 
10627         pad receives those caps even if the element didn't call
10628         gst_pad_set_caps first.
10629
10630 2006-03-15  Wim Taymans  <wim@fluendo.com>
10631
10632         * libs/gst/base/gstadapter.c:
10633         Add some docs.
10634
10635 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
10636
10637         * win32/common/libgstbase.def:
10638         * win32/common/libgstcontroller.def:
10639         * win32/common/libgstreamer.def:
10640           Add a whole bunch of missing functions (#334434).
10641
10642 2006-03-14  Wim Taymans  <wim@fluendo.com>
10643
10644         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10645         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
10646         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
10647         Better debug info when we receive a segment event.
10648         Reorganize a bit so we can pass the get_times() results around.
10649         Use the segment format when calculating the running time.
10650         Don't do QoS is sync is disabled or we have no clock or the
10651         element does not want us to sync to the clock.
10652         Don't drop buffers if QoS is disabled for now.
10653
10654 2006-03-14  Wim Taymans  <wim@fluendo.com>
10655
10656         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
10657         Marked the stats property as unimplemented so people don't get
10658         wild ideas.
10659         Add debug message when regression goes wrong.
10660         Added some more docs.
10661
10662 2006-03-14  Wim Taymans  <wim@fluendo.com>
10663
10664         * gst/gstsegment.c: (gst_segment_to_stream_time):
10665         Return correct return type in case of errors.
10666
10667 2006-03-14  Wim Taymans  <wim@fluendo.com>
10668
10669         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
10670           Don't segfault on invalid formats.
10671
10672 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10673
10674         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10675           Can't use gst_segment_to_running_time() when the segment
10676           is not in GST_TIME_FORMAT (like with filesink, for example).
10677           Stops flac encoding pipelines from spewing critical warnings
10678           at EOS (#331248).
10679           
10680 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
10681
10682         * gst/gstpipeline.c: (gst_pipeline_class_init):
10683           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
10684
10685         * plugins/elements/gsttypefindelement.c:
10686         (gst_type_find_element_handle_event):
10687           Don't try to typefind empty streams.
10688
10689 2006-03-14  Wim Taymans  <wim@fluendo.com>
10690
10691         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
10692         (gst_base_sink_do_qos):
10693         Separate QoS calculation.
10694         Only drop buffers when lateness is bigger than the 
10695         duration of the buffer.
10696
10697 2006-03-13  Wim Taymans  <wim@fluendo.com>
10698
10699         * gst/gstpipeline.c: (gst_pipeline_set_property),
10700         (gst_pipeline_get_property), (do_pipeline_seek),
10701         (gst_pipeline_change_state), (gst_pipeline_set_delay),
10702         (gst_pipeline_get_delay):
10703         Don't deadlock when reading properties.
10704
10705 2006-03-13  Wim Taymans  <wim@fluendo.com>
10706
10707         * libs/gst/base/gstbasetransform.c:
10708         (gst_base_transform_class_init), (gst_base_transform_init),
10709         (gst_base_transform_sink_event),
10710         (gst_base_transform_sink_eventfunc),
10711         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
10712         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
10713         (gst_base_transform_set_property),
10714         (gst_base_transform_get_property),
10715         (gst_base_transform_change_state), (gst_base_transform_update_qos),
10716         (gst_base_transform_set_qos_enabled),
10717         (gst_base_transform_is_qos_enabled):
10718         * libs/gst/base/gstbasetransform.h:
10719         Make basetransform virtual method for src events too.
10720         Handle QOS in basetransform.
10721         API: gst_base_transform_update_qos()
10722         API: gst_base_transform_set_qos_enabled()
10723         API: gst_base_transform_is_qos_enabled()
10724
10725 2006-03-13  Wim Taymans  <wim@fluendo.com>
10726
10727         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10728         (gst_base_sink_do_sync):
10729         Small cleanups.
10730         Use QOS debug category.
10731
10732 2006-03-13  Wim Taymans  <wim@fluendo.com>
10733
10734         * plugins/elements/gstqueue.c:
10735         Very small doc update.
10736
10737 2006-03-13  Wim Taymans  <wim@fluendo.com>
10738
10739         * gst/gst_private.h:
10740         * gst/gstinfo.c: (_gst_debug_init):
10741         Added QOS debug category
10742
10743 2006-03-13  Wim Taymans  <wim@fluendo.com>
10744
10745         * docs/gst/gstreamer-sections.txt:
10746         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
10747         * gst/gstbin.h:
10748         * gst/gstbus.c: (gst_bus_class_init):
10749         * gst/gstbus.h:
10750         * gst/gstclock.c:
10751         * gst/gstelement.c: (gst_element_set_locked_state):
10752         * gst/gstsegment.c:
10753         Documentation updates.
10754
10755         * gst/gstpipeline.c: (gst_pipeline_get_type),
10756         (gst_pipeline_class_init), (gst_pipeline_init),
10757         (gst_pipeline_dispose), (gst_pipeline_set_property),
10758         (gst_pipeline_get_property), (do_pipeline_seek),
10759         (gst_pipeline_send_event), (gst_pipeline_change_state),
10760         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
10761         (gst_pipeline_get_delay):
10762         * gst/gstpipeline.h:
10763         Added methods for setting the delay.
10764         API: gst_pipeline_set_delay()
10765         API: gst_pipeline_get_delay()
10766         Add pipeline debug category
10767         Various cleanups.
10768         Updated docs.
10769         Don't reset stream time when seek failed.
10770
10771 2006-03-13  Wim Taymans  <wim@fluendo.com>
10772
10773         * docs/design/draft-klass.txt:
10774         * docs/design/part-clocks.txt:
10775         * docs/design/part-events.txt:
10776         * docs/design/part-gstbin.txt:
10777         * docs/design/part-gstpipeline.txt:
10778         * docs/design/part-messages.txt:
10779         * docs/design/part-negotiation.txt:
10780         * docs/design/part-overview.txt:
10781         * docs/design/part-preroll.txt:
10782         * docs/design/part-seeking.txt:
10783         * docs/design/part-states.txt:
10784         * docs/design/part-streams.txt:
10785         Documentation updates.
10786
10787 2006-03-12  Julien MOUTTE  <julien@moutte.net>
10788
10789         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
10790         us to leak strings...
10791
10792 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10793
10794         * libs/gst/net/gstnettimeprovider.c:
10795           fix docs
10796         * win32/common/config.h:
10797           update
10798
10799 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
10800
10801         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
10802
10803         * configure.ac:
10804           Don't check for libgnomeui (leftover from old examples
10805           that aren't built or disted any longer) (#334303).
10806           
10807 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
10808
10809         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
10810         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10811           Emit RESOURCE_NO_SPACE_LEFT error here as well when
10812           there's no space left on the device.
10813
10814 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
10815
10816         * gst/gstclock.h:
10817           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
10818           to cast the input to GstClockTime before comparing with
10819           another GstClockTime value.
10820
10821 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10822
10823         * configure.ac:
10824           back to trunk
10825
10826 === release 0.10.4 ===
10827
10828 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
10829
10830         * configure.ac:
10831           releasing 0.10.4, "Light"
10832
10833 2006-03-10  Michael Smith  <msmith@fluendo.com>
10834
10835         * libs/gst/dataprotocol/dataprotocol.c:
10836           Fix docs for dataprocotol to not get the return types completely
10837           wrong for a few functions.
10838
10839 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10840
10841         * docs/gst/gstreamer-sections.txt:
10842         * gst/gstpipeline.c: (gst_pipeline_class_init),
10843         (gst_pipeline_init), (gst_pipeline_set_property),
10844         (gst_pipeline_get_property), (gst_pipeline_change_state),
10845         (gst_pipeline_set_auto_flush_bus),
10846         (gst_pipeline_get_auto_flush_bus):
10847         * gst/gstpipeline.h:
10848           Add new API: gst_pipeline_set_auto_flush_bus() and
10849           gst_pipeline_get_auto_flush_bus() to disable automatic
10850           flushing of the pipeline's GstBus when going from READY
10851           to NULL state (#332045).
10852
10853 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10854
10855         * docs/gst/gstreamer-sections.txt:
10856         * gst/gsturi.c: (gst_uri_has_protocol):
10857         * gst/gsturi.h:
10858            Add new API: gst_uri_has_protocol() (#333779).
10859
10860 2006-03-09  Wim Taymans  <wim@fluendo.com>
10861
10862         * gst/gstclock.c: (gst_clock_entry_new),
10863         (gst_clock_id_compare_func), (gst_clock_id_wait),
10864         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
10865         (gst_clock_init), (gst_clock_get_internal_time),
10866         (gst_clock_set_master), (do_linear_regression),
10867         (gst_clock_add_observation), (gst_clock_set_property):
10868         * gst/gstclock.h:
10869         Review docs.
10870         Small cleanups.
10871         Fix a possible segfault when the window-size is made smaller.
10872         Calculate jitter before performing the clock wait. Ideally
10873         the clock implementation should calculate jitter but we need
10874         API breakage for that.
10875
10876         * gst/gstsystemclock.c: (gst_system_clock_init):
10877         Docs review.
10878         
10879         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10880         Remove leftover else
10881
10882         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
10883         (gst_systemclock_suite):
10884         Added check to test GST_CLOCK_DIFF.
10885
10886 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
10887
10888         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
10889         (gst_type_find_helper_get_range):
10890           If we are provided with the size, we should implement
10891           GstTypeFind::get_length, so that typefind functions who
10892           want to can actually peek at the middle of a file.
10893
10894 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
10895
10896         * docs/manual/advanced-dataaccess.xml:
10897           Add some very very basic error checking.
10898
10899         * docs/pwg/appendix-checklist.xml:
10900           Some updates to the list of things to check when writing an element.
10901
10902 2006-03-08  Wim Taymans  <wim@fluendo.com>
10903
10904         * docs/design/part-element-transform.txt:
10905         Added some docs about the design of tranform elements.
10906
10907         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10908         (gst_base_src_loop), (gst_base_src_change_state):
10909         Mark buffers with the DISCONT flag.
10910
10911 2006-03-08  Michael Smith  <msmith@fluendo.com>
10912
10913         * gst/gstregistry.h:
10914         * gst/gstregistryxml.c: (gst_registry_save),
10915         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
10916         (gst_registry_xml_save_pad_template),
10917         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
10918         (gst_registry_xml_write_cache):
10919           Rewrite registry-saving to avoid race conditions and check for
10920           failed writes.
10921
10922 2006-03-08  Wim Taymans  <wim@fluendo.com>
10923
10924         * libs/gst/base/gstbasetransform.c:
10925         (gst_base_transform_transform_caps),
10926         (gst_base_transform_transform_size),
10927         (gst_base_transform_prepare_output_buffer),
10928         (gst_base_transform_get_unit_size),
10929         (gst_base_transform_buffer_alloc),
10930         (gst_base_transform_handle_buffer),
10931         (gst_base_transform_change_state):
10932         Cleanups, separate normal flow from errors, add sensible
10933         DEBUG lines.
10934         Don't try to renegotiate when allocating an output buffer.
10935         Also copy DISCONT buffer flag when copying a buffer.
10936         Reset the transform after we finish streaming, not during.
10937
10938 2006-03-08  Wim Taymans  <wim@fluendo.com>
10939
10940         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10941         Use last buffer timestamp in qos message.
10942
10943 2006-03-07  Wim Taymans  <wim@fluendo.com>
10944
10945         Patch by: Christophe Fergeau
10946
10947         * docs/pwg/advanced-tagging.xml:
10948         * docs/pwg/building-pads.xml:
10949           fixes #333416
10950
10951 2006-03-07  Wim Taymans  <wim@fluendo.com>
10952
10953         * docs/libs/gstreamer-libs-sections.txt:
10954         Added basesink new methods.
10955
10956         * gst/gstevent.c:
10957         * gst/gstevent.h:
10958         Docs updates. Flesh out the QoS docs.
10959
10960         * libs/gst/base/gstadapter.c:
10961         Small doc clarification about ownership and flushing.
10962
10963         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
10964         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
10965         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
10966         (gst_base_sink_get_property), (gst_base_sink_do_sync):
10967         * libs/gst/base/gstbasesink.h:
10968         API additions: 
10969         Added new methods to allow subclass to control max-lateness 
10970         and sync.
10971         Generate very basic QoS events based on last sync observation.
10972         Updated docs, fix typo, added some QoS blurb.
10973
10974         * libs/gst/base/gstbasesrc.c:
10975         Remove obsolete _get_state() calls from docs.
10976
10977 2006-03-07  Wim Taymans  <wim@fluendo.com>
10978
10979         * docs/libs/gstreamer-libs-sections.txt:
10980         * libs/gst/base/gstbasetransform.h:
10981         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
10982         Fix docs for GstBaseSrc.
10983
10984 2006-03-07  Wim Taymans  <wim@fluendo.com>
10985
10986         * docs/gst/gstreamer-sections.txt:
10987         * gst/gstbuffer.h:
10988         * gst/gstvalue.c:
10989         * libs/gst/base/gstbasetransform.h:
10990         Small documentation fixes.
10991
10992 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10993
10994         * gst/gstvalue.c:
10995           Document thread-unsafety of gst_value_register_foo_func()
10996           when used at the same time as gst_value_foo() (#322628).
10997
10998 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
10999
11000         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11001         (gst_push_src_check_get_range):
11002           Push sources don't support pull mode by default.
11003
11004 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11005
11006         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11007         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11008         (gst_base_src_default_check_get_range):
11009         * libs/gst/base/gstbasesrc.h:
11010           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11011           provide default implementation, and rename
11012           gst_base_src_check_get_range() to
11013           gst_base_src_pad_check_get_range() for clarity.
11014
11015 2006-03-06  Wim Taymans  <wim@fluendo.com>
11016
11017         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11018         Make property overridable.
11019
11020 2006-03-06  Wim Taymans  <wim@fluendo.com>
11021
11022         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11023         (gst_base_sink_init), (gst_base_sink_set_property),
11024         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11025         * libs/gst/base/gstbasesink.h:
11026         API addition: Make max-lateness a property.
11027
11028 2006-03-06  Wim Taymans  <wim@fluendo.com>
11029
11030         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11031         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11032         Don't ever draw a frame that is >10ms late.
11033
11034 2006-03-06  Michael Smith  <msmith@fluendo.com>
11035
11036         * gst/gstmessage.c: (_gst_message_copy):
11037           When copying a message, set the parent_refcount of the enclosed
11038           structure to point at the copy, not the original message.
11039
11040 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11041
11042         Patch by: Christophe Fergeau
11043
11044         * gst/gstutils.h:
11045           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11046           usable in c++ code (#333417)
11047
11048 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11049
11050         * gst/gstclock.h:
11051           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11052
11053 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11054
11055         * libs/gst/base/gstbasetransform.c:
11056         (gst_base_transform_transform_caps):
11057           Make sure caps are writable before passing them to
11058           gst_caps_append().
11059
11060 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11061
11062         * gst/gsterror.h:
11063           Fix some minor docs errors.
11064
11065 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11066
11067           Patch by: Ross Burton <ross at burtonini dot com>
11068
11069         * gst/gsterror.c: (_gst_resource_errors_init):
11070         * gst/gsterror.h:
11071           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11072
11073 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11074
11075         * gst/gst.c:
11076         Add a check and output a g_warning when GStreamer is built
11077         against GLib 2.6 but running against 2.8 or higher, and vice 
11078         versa. (Closes: #323542)
11079
11080 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11081
11082         * gst/parse/parse.l:
11083           Commit patch for parse_launch syntax from #331255. Removes 
11084           support for quoted strings and mimetypes when writing filtered 
11085           caps. See the bug report for more details - I'm pretty sure this
11086           obscure feature is not in use by _anyone_ anywhere.
11087
11088           With this simple change, the size of the gstreamer.so here 
11089           drops from 2193KB to 1565KB.
11090
11091 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11092
11093         * plugins/elements/gsttypefindelement.h:
11094         * plugins/elements/gsttypefindelement.c:
11095         (gst_type_find_element_src_event), (start_typefinding),
11096         (stop_typefinding), (gst_type_find_element_handle_event),
11097         (gst_type_find_element_chain),
11098         (gst_type_find_element_chain_do_typefinding):
11099           Use gst_type_find_helper_for_buffer() for chain-based
11100           typefinding.
11101
11102 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11103
11104         * plugins/elements/gsttypefindelement.c:
11105         (gst_type_find_element_class_init),
11106         (gst_type_find_element_set_property),
11107         (gst_type_find_element_get_property):
11108           Deprecate "maximum" property (not only was it only taken into
11109           account for typefinding in push-mode anyway, it also was never
11110           actually possible to set it in the first place because the
11111           property was registered with the numeric property ID for the
11112           "minimum" property). Register "maximum" property correctly,
11113           for the sake of future copy'n'pasters. Remove some cruft
11114           from property get/set functions.
11115
11116 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11117
11118         * plugins/elements/gsttypefindelement.c:
11119         (gst_type_find_element_activate):
11120           Use gst_type_find_helper_get_range() here, so we
11121           can honour the "minimum" property and also emit
11122           the signal with the correct probability of the found caps.
11123
11124 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11125
11126         * docs/libs/gstreamer-libs-sections.txt:
11127         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11128         (helper_find_suggest), (gst_type_find_helper_get_range),
11129         (gst_type_find_helper):
11130         * libs/gst/base/gsttypefindhelper.h:
11131           New API: gst_type_find_helper_get_range() (#333042).
11132
11133 2006-03-02  Michael Smith  <msmith@fluendo.com>
11134
11135         * gst/gstregistryxml.c: (load_feature):
11136           Asserting on a failure to read part of the registry is Not Cool.
11137           Just log a warning and return NULL (which is already handled)
11138
11139 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11140
11141         * win32/common/libgstbase.def:
11142           added export of gst_type_find_helper_for_buffer
11143         * win32/common/libgstbase.def:
11144           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11145           gst_ghost_pad_get_target
11146
11147 2006-02-28  Wim Taymans  <wim@fluendo.com>
11148
11149         * docs/design/draft-klass.txt:
11150         We use Filter now.
11151         Added Connector to mark elements that are only used to
11152         allow pipeline connections.
11153         Moved Debug to extra feature since most of them are 
11154         functionally something else.
11155
11156 2006-02-28  Wim Taymans  <wim@fluendo.com>
11157
11158         * docs/design/draft-klass.txt:
11159         Some updates and clarifications.
11160
11161 2006-02-28  Wim Taymans  <wim@fluendo.com>
11162
11163         * docs/design/draft-klass.txt:
11164         Proposal for klass field values.
11165
11166         * docs/design/part-streams.txt:
11167         Start of a doc describing stream anatomy.
11168
11169 2006-02-28  Wim Taymans  <wim@fluendo.com>
11170
11171         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11172         Help the compiler a bit with type registration.
11173         Use existing forward cod path instead of duplicating it when 
11174         handling a message.
11175         
11176         * gst/gstbus.c: (gst_bus_get_type):
11177         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11178         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11179         * gst/gstclock.c: (gst_clock_get_type):
11180         * gst/gstelement.c: (gst_element_get_type),
11181         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11182         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11183         * gst/gstminiobject.c: (gst_mini_object_get_type):
11184         * gst/gstpad.c: (gst_pad_get_type):
11185         * gst/gstsegment.c: (gst_segment_get_type):
11186         * gst/gststructure.c: (gst_structure_get_type):
11187         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11188         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11189         * gst/gstvalue.c:
11190         Help compiler with type registration.
11191
11192         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11193         Small doc update.
11194
11195 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11196
11197         * plugins/elements/gsttypefindelement.c:
11198         (gst_type_find_element_handle_event):
11199           When we get an EOS event and have not found a type yet
11200           (most likely because we had not yet accumulated
11201           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11202           type given the data we have so far. Fixes typefinding
11203           for very short streams again, most notably quicktime
11204           redirections as used on Apple's trailer site (#331701).
11205
11206 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11207
11208         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11209         (gst_type_find_helper):
11210           Try typefinding factories with the highest rank first.
11211
11212 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11213
11214         * docs/libs/gstreamer-libs-docs.sgml:
11215         * docs/libs/gstreamer-libs-sections.txt:
11216         * libs/gst/base/gsttypefindhelper.c:
11217           Add section for typefind helper and add documentation
11218           for the old and the new function.
11219
11220 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11221
11222         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11223         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11224         (gst_type_find_helper_for_buffer):
11225         * libs/gst/base/gsttypefindhelper.h:
11226           New API: gst_type_find_helper_for_buffer() (#332723).
11227           
11228 2006-02-27  Michael Smith  <msmith@fluendo.com>
11229
11230         Patch by: Loïc Minier
11231
11232         * configure.ac:
11233         * docs/Makefile.am:
11234         * docs/slides/Makefile.am:
11235           prevent CVS directories getting disted.
11236
11237 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11238
11239         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11240           Use the REFCOUNTING category for caps refcounting.
11241           
11242 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11243
11244         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11245           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11246
11247 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11248
11249         * plugins/elements/gsttypefindelement.c:
11250         (gst_type_find_element_activate):
11251           Use gst_pad_check_pull_range() before _activate_pull()
11252           to avoid unnecessary open/close (see #331690).
11253
11254 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11255
11256         * gst/gstutils.c:
11257           Docs enhancement: make it crystal clear what the
11258           gst_pad_add_*_probe() callbacks should look like.
11259
11260 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11261
11262         * libs/gst/base/gstbasesrc.c:
11263           Document how applications can stop recording from
11264           live sources (see #330996).
11265
11266 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11267
11268         * tests/check/Makefile.am:
11269         * tests/check/libs/basesrc.c: (eos_event_counter),
11270         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11271         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11272         (gst_basesrc_suite), (main):
11273           ... and add some tests for the base source EOS stuff.
11274
11275 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11276
11277         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11278           Test case originally showed the problem fixed below,
11279           but was then amended. Add checks back at the place
11280           where they used to be.
11281
11282 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11283
11284         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11285         (gst_base_src_init), (gst_base_src_loop),
11286         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11287         (gst_base_src_change_state):
11288         * libs/gst/base/gstbasesrc.h:
11289           Don't unconditionally send EOS when going from PAUSED to
11290           READY state, esp. make sure we don't send two EOS events
11291           in some cases (e.g. one when reaching EOS and one when
11292           going from PAUSED to READY). Also, we don't want to send
11293           EOS events when operating in pull mode. However, we do
11294           want to send an EOS event when shutting down a live
11295           source explicitly, for example (fixes #330996).
11296           
11297 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11298
11299         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11300           Update src->read_position after a seek when not using mmap.
11301           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11302
11303 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11304
11305         * gst/Makefile.am:
11306         * gst/gstparse.h:
11307         * gst/gstutils.c:
11308         * gst/gstutils.h:
11309         Make things work with --disable-parse as they do with 
11310         --disable-load-save - the symbols involved disappear, but the
11311         header is still installed and GST_DISABLE_PARSE is included via
11312         gstconfig.h
11313
11314 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11315
11316         * libs/gst/base/gstbasetransform.c:
11317         (gst_base_transform_change_state): Fix a stupid bug. I was 
11318         sure I compiled that.
11319
11320 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11321
11322         * gst/gstpad.c: (gst_pad_set_blocked_async):
11323         * gst/gstutils.c: (gst_pad_add_data_probe),
11324         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11325         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11326         (gst_pad_remove_buffer_probe): Make those function act on the
11327         ghostpad target when it's a ghostpad. (Closes #331727)
11328
11329 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11330
11331         * libs/gst/base/gstbasetransform.c:
11332         (gst_base_transform_change_state): Make basetransform reusable.
11333         (Closes #331898)
11334
11335 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11336
11337         * docs/random/release:
11338         Move the current documentation of how to do a release to the top
11339         of the file.
11340
11341         * gst/gstbin.c: (gst_bin_class_init),
11342         (gst_bin_handle_message_func):
11343         Allow multiple state-recalculation threads. (Closes #328873)
11344
11345 2006-02-19  Julien MOUTTE  <julien@moutte.net>
11346
11347         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11348         * gst/gstpad.c: (gst_pad_set_event_function),
11349         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11350         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11351         2 strings. You can't use the STR_NULL macro on that.
11352
11353 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
11354
11355         * gst/gstpad.c: (gst_pad_set_event_function),
11356         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11357         (gst_pad_set_getcaps_function)
11358         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11359           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11360           So now, we can use --gst-debug-level=5 on Windows
11361         * win32/common/libgstcontroller.def:
11362           Added export of gst_controller_init
11363         * win32/vs6/libgstcontroller.dsp:
11364           Fixed Release post build configuration
11365
11366 2006-02-17  Wim Taymans  <wim@fluendo.com>
11367
11368         * tests/check/gst/gstquery.c: (GST_START_TEST):
11369         Added another check.
11370
11371 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
11372
11373         * plugins/elements/gsttypefindelement.c: (find_peek):
11374           We can do peeks at non-zero offsets, as long as they
11375           fall within the buffer we have.
11376
11377 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
11378
11379         * tests/check/Makefile.am:
11380         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11381         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11382         (parse_suite), (main):
11383           Add testsuite for parse launch syntax
11384
11385 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
11386
11387         * plugins/elements/gsttypefindelement.c:
11388         (gst_type_find_element_chain):
11389           When typefinding is unsuccessful in the chain function, don't
11390           error out immediately. Only error out with NO_CAPS_FOUND if
11391           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11392           otherwise simply wait for more data so we can try typefinding
11393           again with more data later. Also, don't attempt to typefind
11394           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11395           this should improve typefinding from network sources where the
11396           size of the first buffer can be somewhat random.
11397
11398 2006-02-14  Wim Taymans  <wim@fluendo.com>
11399
11400         * docs/gst/gstreamer-sections.txt:
11401         * gst/gstpadtemplate.c:
11402         * gst/gstpadtemplate.h:
11403         Fix padtemplate docs, fixes #328805.
11404
11405 2006-02-14  Wim Taymans  <wim@fluendo.com>
11406
11407         * tools/gst-launch.c: (main):
11408         NO_PREROLL is not an ERROR so don't send confusing messages
11409         to the user.
11410
11411 2006-02-14  Wim Taymans  <wim@fluendo.com>
11412
11413         Patch by: Torsten Schoenfeld
11414
11415         * gst/gstregistry.c: (gst_registry_get_default),
11416         (_gst_registry_cleanup):
11417         Protect default registry with lock and ref/sink it.
11418         Fixes #324818
11419
11420 2006-02-14  Wim Taymans  <wim@fluendo.com>
11421
11422         * gst/gstbuffer.c:
11423         * gst/gstquery.c: (gst_query_list_add_format),
11424         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11425         (gst_query_parse_formats_nth):
11426         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11427         Docs fixes.
11428
11429 2006-02-14  Wim Taymans  <wim@fluendo.com>
11430
11431         * docs/gst/gstreamer-sections.txt:
11432         Reworked query docs.
11433
11434         * gst/gstquery.c: (gst_query_new_formats),
11435         (gst_query_list_add_format), (gst_query_set_formats),
11436         (gst_query_set_formatsv), (gst_query_parse_formats_length),
11437         (gst_query_parse_formats_nth):
11438         * gst/gstquery.h:
11439         Flesh out formats query, added some new methods.
11440         Fix part of #324398.
11441
11442         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11443         Added query creation tests.
11444
11445 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
11446
11447         * gst/gstpad.c: (fixate_value):
11448         Add a default fixation for fraction lists.
11449
11450 2006-02-13  Wim Taymans  <wim@fluendo.com>
11451
11452         * gst/gsttask.c: (gst_task_init), (gst_task_func),
11453         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11454         (gst_task_join):
11455         * gst/gsttask.h:
11456         Detect and warn for obvious deadlocks. fixes #320340
11457         Fix error case where lock was not released.
11458
11459         * tests/check/Makefile.am:
11460         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11461         (task_func), (gst_element_suite), (main):
11462         Add task check.
11463
11464 2006-02-13  Wim Taymans  <wim@fluendo.com>
11465
11466         * docs/gst/gstreamer-sections.txt:
11467         * gst/gstbus.c:
11468         Add new functions to docs.
11469
11470 2006-02-13  Wim Taymans  <wim@fluendo.com>
11471
11472         * docs/design/part-TODO.txt:
11473         Updated TODO list, basesrc supports seeking to non-bytes
11474         formats.
11475
11476         * docs/design/part-element-sink.txt:
11477         Update docs.
11478
11479         * gst/gstbin.c: (bin_replace_message),
11480         (gst_bin_handle_message_func):
11481         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11482         * gst/gstevent.c: (gst_event_finalize):
11483         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11484         (gst_pad_send_event):
11485         Use shiny new _TYPE_NAME macros.
11486
11487         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11488         Move debug statement up.
11489
11490         * gst/gstelement.c: (gst_element_set_locked_state):
11491         Add some debugging.
11492
11493 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
11494
11495         * docs/gst/gstreamer-sections.txt:
11496         * gst/gstmessage.h:
11497         * gst/gstquery.h:
11498           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11499           macros (#330906). Also, document the already existing
11500           GST_QUERY_TYPE macro.
11501
11502 2006-02-13  Wim Taymans  <wim@fluendo.com>
11503
11504         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11505         (event_probe), (GST_START_TEST):
11506         Only events up to the pipeline EOS are counted, there are
11507         some more when going to NULL currently which we don't care
11508         about for now.
11509
11510 2006-02-13  Wim Taymans  <wim@fluendo.com>
11511
11512         * gst/gstpad.c: (gst_pad_send_event):
11513         Correctly check flushing and emit probes. fixes #330125
11514
11515 2006-02-10  Andy Wingo  <wingo@pobox.com>
11516
11517         * gst/gstbus.c (gst_bus_class_init): Declare our private data
11518         structure.
11519         (gst_bus_init): Cache the location of the private data in the
11520         instance structure.
11521         (gst_bus_enable_sync_message_emission) 
11522         (gst_bus_disable_sync_message_emission): Implement new public
11523         functions.
11524         (gst_bus_post): Emit the sync-message signal if the user asked for
11525         it. Fixes #330684.
11526
11527         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11528         location of the bus-private structure.
11529         (gst_bus_enable_sync_message_emission)
11530         (gst_bus_disable_sync_message_emission): API addition
11531
11532 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
11533
11534         Patch by: Vincent Torri
11535
11536         * docs/pwg/building-boiler.xml:
11537         PWG patch from #326800
11538
11539 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
11540
11541         * configure.ac:
11542         * docs/Makefile.am:
11543         * docs/design/Makefile.am:
11544           Dist design docs.
11545
11546 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11547
11548         * configure.ac:
11549           back to CVS
11550
11551 === release 0.10.3 ===
11552
11553 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
11554
11555         * configure.ac:
11556           releasing 0.10.3, "Like a virgin"
11557
11558 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
11559
11560         * configure.ac:
11561           2nd prerelease of 0.10.3
11562           Bump libtool versioning.
11563
11564 2006-02-07  Andy Wingo  <wingo@pobox.com>
11565
11566         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11567         update last_stop if we're in TIME format and the timestamp is
11568         valid.
11569
11570         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
11571         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
11572         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11573         If we get a new newsegment with a different format, adapt
11574         accordingly.
11575
11576         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11577         of 0. Not a problem, really.
11578
11579         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11580         warn if sync=true.
11581
11582 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
11583
11584         * configure.ac:
11585           Prelease of 0.10.3
11586
11587 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
11588
11589         * win32/vs7:
11590           project files updated to the default vs7 configuration
11591         * win32/common/libgstbase.def:
11592         * win32/common/libgstreamer.def:
11593           added new symbols,
11594           removed empty lines,
11595           sorted all exported symbols alphabetically
11596         * win32/common/dirent.c:
11597         * win32/common/dirent.h:
11598         * win32/common/gchar.h:
11599           use windows line end.
11600           
11601 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11602
11603         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11604           Send EOS event when stopping.
11605
11606 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
11607
11608         * docs/README:
11609           Tell folks what to do if the plugin-foobar.xml file
11610           hasn't been generated for a newly-added plugin.
11611
11612 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11613
11614         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11615         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11616         (gst_collect_pads_start), (gst_collect_pads_stop),
11617         (gst_collect_pads_event): Collectpads now holds a reference
11618         to the GstPad that was added. Indeed we don't want to look
11619         at pads that might just go away with no warning...
11620
11621 2006-02-05  Julien MOUTTE  <julien@moutte.net>
11622
11623         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11624         (gst_collect_pads_start), (gst_collect_pads_stop),
11625         (gst_collect_pads_event), (gst_collect_pads_chain):
11626         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
11627         Mark Nauwelaerts's patch on bug #328491.
11628
11629 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11630
11631         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
11632         (gst_utils_suite):
11633           Add some simple tests for gst_parse_bin_from_description() and
11634           gst_bin_find_unconnected_pad() (#329069).
11635
11636 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
11637
11638         * tools/gst-launch.c: (event_loop), (main):
11639           Catch errors during preroll (#320084).
11640
11641 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
11642
11643         * plugins/elements/gsttypefindelement.c:
11644         (gst_type_find_element_activate):
11645           Post TYPE_NOT_FOUND error message when typefinding
11646           is unsuccessful in the activate function as well.
11647
11648 2006-02-02  Wim Taymans  <wim@fluendo.com>
11649
11650         * docs/design/part-element-sink.txt:
11651         Updated doc.
11652
11653 2006-02-02  Wim Taymans  <wim@fluendo.com>
11654
11655         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11656         (gst_base_sink_render_object),
11657         (gst_base_sink_queue_object_unlocked):
11658         Only keep track of prerollable items when we are 
11659         prerolling.
11660         Before rendering after preroll, always check if we
11661         have queued items.
11662         Added some more debugging.
11663
11664 2006-02-02  Wim Taymans  <wim@fluendo.com>
11665
11666         * gst/gstelement.c: (gst_element_continue_state),
11667         (gst_element_set_state_func), (gst_element_change_state):
11668         Fixed #326576, been running this for quite some time with
11669         no regressions at all.
11670
11671 2006-02-02  Wim Taymans  <wim@fluendo.com>
11672
11673         * common/gst.supp:
11674         Added more suppressions
11675
11676 2006-02-02  Wim Taymans  <wim@fluendo.com>
11677
11678         * docs/design/part-element-sink.txt:
11679         Updated document.
11680
11681         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11682         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
11683         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
11684         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11685         (gst_base_sink_do_sync), (gst_base_sink_render_object),
11686         (gst_base_sink_preroll_object),
11687         (gst_base_sink_queue_object_unlocked),
11688         (gst_base_sink_queue_object), (gst_base_sink_event),
11689         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
11690         (gst_base_sink_loop), (gst_base_sink_activate_pull),
11691         (gst_base_sink_get_position), (gst_base_sink_change_state):
11692         * libs/gst/base/gstbasesink.h:
11693         Totally refactored matching the design doc.
11694         Use two segments, one to clip incomming buffers and another to
11695         perform sync.
11696         Handle queueing correctly, bypass the queue when playing.
11697         Make EOS cancelable.
11698         Handle errors correctly when operating in pull based mode.
11699
11700         * tests/check/elements/fakesink.c: (GST_START_TEST),
11701         (fakesink_suite):
11702         Added new check for sinks.
11703
11704 2006-02-02  Wim Taymans  <wim@fluendo.com>
11705
11706         * gst/gstsegment.c: (gst_segment_clip):
11707         No reason to refuse to clip when start == -1
11708
11709 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
11710
11711         * docs/README:
11712         * docs/manual/intro-basics.xml:
11713         * docs/manual/intro-preface.xml:
11714         * docs/manual/manual.xml:
11715         * docs/pwg/advanced-dparams.xml:
11716         * docs/pwg/intro-basics.xml:
11717         * docs/pwg/intro-preface.xml:
11718         * docs/pwg/pwg.xml:
11719           describe dparams (controller) for plugins
11720           unify docs a little more
11721
11722 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
11723
11724         * docs/gst/gstreamer-sections.txt:
11725         * gst/gstutils.c: (element_find_unconnected_pad),
11726         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
11727         * gst/gstutils.h:
11728           Add new API: gst_parse_bin_from_description() and
11729           gst_bin_find_unconnected_pad() (#329069).
11730
11731 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
11732
11733         * docs/manual/README:
11734           uncover a nasty detail of the docs build
11735
11736 2006-01-31  Wim Taymans  <wim@fluendo.com>
11737
11738         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
11739         Don't cache duration messages if we're not going to use or
11740         free them.
11741
11742 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
11743
11744         * docs/manual/advanced-dparams.xml:
11745         * docs/pwg/advanced-dparams.xml:
11746           more dparam docs
11747         * gst/gstindex.c:
11748           fix docs
11749         * libs/gst/controller/lib.c: (gst_controller_init):
11750           init just once
11751
11752 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11753
11754         * gst/gstelement.c: (gst_element_message_full):
11755           also show file/line/func if no additional debug was given
11756
11757 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
11758         
11759         * win32/vs7/grammar.vcproj:
11760           activate copy of autogenerated files for Release mode
11761
11762 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11763         
11764         * win32/common/libgstreamer.def:
11765           export gst_value_compare
11766
11767 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
11768
11769         * plugins/elements/Makefile.am:
11770         * plugins/elements/gstelements.c:
11771         * plugins/elements/gstfdsink.c: (_do_init),
11772         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
11773         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
11774         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
11775         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
11776         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
11777         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
11778         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
11779         * plugins/elements/gstfdsink.h:
11780         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
11781
11782 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
11783
11784         * docs/manual/advanced-dparams.xml:
11785           describe controller
11786         * docs/manual/advanced-position.xml:
11787         * docs/manual/basics-init.xml:
11788         * docs/manual/manual.xml:
11789         * docs/manual/titlepage.xml:
11790         * docs/pwg/pwg.xml:
11791         * docs/pwg/titlepage.xml:
11792           cleanup xml (more to come)
11793         * libs/gst/controller/gstcontroller.c:
11794           fix typo
11795
11796 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
11797         
11798         * win32/vs6/grammar.dsp:
11799           add autogen of gstmarshal.c,h for Release mode
11800                 
11801 2006-01-30  Wim Taymans  <wim@fluendo.com>
11802
11803         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11804         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
11805         (gst_base_sink_handle_object), (gst_base_sink_event),
11806         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
11807         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
11808         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
11809         (gst_base_sink_deactivate), (gst_base_sink_activate),
11810         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
11811         (gst_base_sink_query), (gst_base_sink_change_state):
11812         Basesink cleanups, remove some old code.
11813         Handle the case where a subclass can preroll in the render
11814         method (mostly audiosinks).
11815         Handle more events.
11816         Remove some locks around variables that are now protected
11817         with the PREROLL_LOCK (clock_id, flushing, ..).
11818         Optimize position query some more, do correct locking.
11819         Remove old code to push queue in state change, this is not
11820         needed anymore since preroll blocks on all prerollable items 
11821         now.
11822         Almost implemented as described in design doc.
11823
11824 2006-01-30  Wim Taymans  <wim@fluendo.com>
11825
11826         * tests/check/gst/gstbin.c: (GST_START_TEST):
11827         Wait for refcount to settle down before checking.
11828
11829 2006-01-30  Wim Taymans  <wim@fluendo.com>
11830
11831         * docs/design/part-element-sink.txt:
11832         Pseudo code overview of desired sink behaviour regarding
11833         preroll.
11834
11835 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11836         * win32/vs6/grammar.dsp:
11837           fix some bugs in Release mode for autogenerated files
11838                 
11839 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11840         * win32/common/libgstbase.def:
11841         * win32/common/libgstreamer.def:
11842           export some new symbols: gst_base_src_set_format,
11843           gst_iterator_next, gst_structure_set_valist
11844
11845 2006-01-29  Julien MOUTTE  <julien@moutte.net>
11846
11847         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11848         Set pad functions unconditionally. Fixes #329105.
11849
11850 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
11851         * win32/vs8:
11852           add vs8 project files created by Sergey Scobich
11853
11854 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
11855
11856         * gst/gstutils.c: (gst_element_unlink_pads):
11857         Don't leak pad references.
11858
11859         * tests/check/elements/fakesink.c: (GST_START_TEST):
11860         * tests/check/generic/sinks.c: (GST_START_TEST):
11861         * tests/check/generic/states.c: (GST_START_TEST):
11862         * tests/check/gst/gstbin.c: (GST_START_TEST):
11863         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11864         * tests/check/gst/gstelement.c: (GST_START_TEST):
11865         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11866         * tests/check/gst/gstiterator.c: (GST_START_TEST):
11867         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11868         Fix a bunch of leaks. Make generic/sinks.c
11869         use a bit less cpu by slowing the buffer rate
11870         between fakesrc and fakesink.
11871         
11872 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
11873         * gst/gstcaps.c:
11874         * gst/gstelement.c: (gst_element_send_event):
11875         * gst/gstevent.c:
11876         * gst/gstinfo.c:
11877         * gst/gstiterator.c:
11878         * gst/gstiterator.h:
11879         * gst/gstpad.c: (gst_pad_send_event):
11880         * gst/gststructure.c:
11881         * gst/gsturi.c:
11882         * gst/gstutils.c:
11883         * gst/gstvalue.c:
11884         * libs/gst/base/gstadapter.c:
11885           doc fixes, to link to function, just write gst_cool_function(), don't
11886           prefix with '#'
11887
11888 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11889
11890         * plugins/elements/gsttee.c: (gst_tee_do_push),
11891         (gst_tee_handle_buffer):
11892         Always prefer an actual return value from a src
11893         pad in place of NOT_LINKED. This means we return
11894         WRONG_STATE when all src pads are WRONG_STATE
11895         instead of NOT_LINKED.
11896
11897         Lock when replacing the last message to prevent
11898         racing with the get_property method.
11899
11900         Add debug output
11901
11902 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11903
11904         * tests/check/Makefile.am:
11905         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
11906         (main):
11907         Add a very simple check that should have caught the memleak I fixed
11908         last night (if not for the slice allocator hiding it)
11909
11910 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
11911
11912         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11913         (gst_bin_remove_func), (gst_bin_handle_message_func),
11914         (bin_query_duration_fold), (bin_query_generic_fold):
11915         Clean up references to the clock provider when disposed or when
11916         handling a clock-lost message from it.
11917
11918         Unref sinks when performing a query via gst_iterator_fold, as the
11919         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
11920
11921         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
11922         (gst_clock_set_master):
11923         Drop our reference to the master clock, if any, when we are disposed.
11924
11925         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
11926         Chain up in dispose. 
11927
11928 2006-01-26  Wim Taymans  <wim@fluendo.com>
11929
11930         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11931         Add some debugging.
11932
11933 2006-01-26  Julien MOUTTE  <julien@moutte.net>
11934
11935         * plugins/elements/gsttee.c: (gst_tee_do_push),
11936         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
11937         handles pad being NOT_LINKED or in WRONG_STATE.
11938
11939 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11940
11941         * win32/MANIFEST:
11942           more updating
11943
11944 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11945
11946         * win32/MANIFEST:
11947           remove obsolete entry
11948
11949 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
11950
11951         * docs/gst/gstreamer-sections.txt:
11952         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
11953         (gst_bin_iterate_sources), (gst_bin_send_event):
11954         * gst/gstbin.h:
11955         * gst/gstelement.c: (gst_element_send_event):
11956         * gst/gstevent.c:
11957         * gst/gstpad.c: (gst_pad_send_event):
11958           added code for downstream events, reviewed docs in gstevent.c
11959
11960 2006-01-25  Julien MOUTTE  <julien@moutte.net>
11961
11962         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11963         We only query position using the clock in the playing state.
11964         Query peer in the other cases.
11965         * win32/common/config.h: Updates.
11966
11967 2006-01-24  Wim Taymans  <wim@fluendo.com>
11968
11969         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11970         A clock entry that is scheduled for the exact time of the
11971         clock is still in time.
11972
11973         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11974         (gst_base_sink_do_sync):
11975         Add some more debug info.
11976
11977 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11978
11979         * win32/vs7:
11980           Add new vs7 project files and solution.
11981
11982 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
11983
11984         * win32/vs7:
11985           all files removed as they were out-dated.
11986
11987 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11988
11989         * docs/random/release:
11990           update notes
11991         * gst/gstbin.c: (gst_bin_init):
11992         * gst/gstbus.c: (gst_bus_new):
11993         * gst/gstbus.h:
11994         * gst/gstpipeline.c: (gst_pipeline_init):
11995           use gst_bus_new(), improve logging, fix docs
11996         * win32/common/config.h:
11997           update for cvs build
11998
11999 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12000
12001         * autogen.sh:
12002           up required version of automake to 1.7
12003
12004 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12005
12006         * win32/common/libgstreamer.def:
12007           export gst_buffer_is_metadata_writable
12008
12009 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12010
12011         * docs/gst/gstreamer-sections.txt:
12012         * gst/gstevent.h:
12013           Add gst_event_replace() (#327001)
12014
12015 2006-01-20  Wim Taymans  <wim@fluendo.com>
12016
12017         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12018         Make it actually compile too..
12019
12020 2006-01-20  Wim Taymans  <wim@fluendo.com>
12021
12022         * gst/gstcaps.c:
12023         Clarify behaviour of _is_equal() when passing NULL parameters.
12024
12025         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12026         (gst_pad_set_caps):
12027         Cleanups. Don't unref NULL caps.
12028         When setting the same caps, protect caps of the pad with
12029         proper lock.
12030         Use full functionality of _is_equal() when comparing caps.
12031
12032 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12033
12034         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12035         Don't loop infinitely if there are no buffers to present. Partially
12036         fixes #327197, but collectpads is just broken for reusing elements
12037         to do multiple encodes atm.
12038
12039 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12040
12041         * tools/gst-inspect.c: (print_element_features):
12042         * tools/gst-xmlinspect.c: (main):
12043         URL_HANDLER is not a plugin feature we can search for in
12044         the registry.
12045
12046 2006-01-19  Edward Hervey  <edward@fluendo.com>
12047
12048         * gst/gstelement.c: (gst_element_pads_activate): 
12049         When activating, do src pads first, then sink pads.
12050         When de-activating, do sink pads first, then src pads.
12051
12052 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12053
12054         * docs/gst/gstreamer-sections.txt:
12055         Add gst_index_add_associationv to the docs
12056
12057 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12058
12059         * gst/gstevent.c:
12060           Fix docs typo
12061
12062         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12063         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12064           Do some refactoring. Doesn't actually change functionality,
12065           but makes landing the DRAIN event easier later.
12066
12067 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12068
12069         * docs/pwg/advanced-scheduling.xml:
12070           Update from 0.9.x to 0.10 API and make example a bit
12071           clearer.
12072
12073 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12074
12075         * docs/gst/gstreamer-sections.txt:
12076         Add gst_buffer_(is|make)_metadata_writable methods.
12077
12078 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12079
12080         * docs/design/part-sparsestreams.txt:
12081         Update sparse streams doc, hopefully for greater clarity
12082
12083 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12084
12085         * docs/design/part-events.txt:
12086         Remove mention of FILLER events.
12087         Add DRAIN event.
12088
12089         * docs/design/part-sparsestreams.txt:
12090         Write some things about using NEWSEGMENT to keep sparse streams
12091         flowing.
12092
12093 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12094
12095         * gst/gstbin.c: (gst_bin_dispose):
12096           Guard gst_object_unref call against a NULL object (dispose
12097           can theoretically be called multiple times).
12098           
12099 2006-01-18  Wim Taymans  <wim@fluendo.com>
12100
12101         * gst/gstbin.c: (gst_bin_element_set_state):
12102         * gst/gstclock.c: (gst_clock_id_wait):
12103         Added some more debug info.
12104
12105         * libs/gst/base/gstadapter.c:
12106         Added more docs.
12107
12108         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12109         (gst_base_sink_do_sync), (gst_base_sink_chain):
12110         Added some comments.
12111
12112 2006-01-18  Wim Taymans  <wim@fluendo.com>
12113
12114         * tests/check/Makefile.am:
12115         * tests/check/elements/fakesink.c: (chain_async_buffer),
12116         (chain_async), (chain_async_return), (GST_START_TEST),
12117         (fakesink_suite), (main):
12118         Added fakesink test that checks prerolling and clipping
12119         behaviour.
12120
12121         * tests/check/gst/gstutils.c: (GST_START_TEST):
12122         Make check run faster so that buildbots don't timeout.
12123
12124 2006-01-18  Wim Taymans  <wim@fluendo.com>
12125
12126         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12127         (gst_base_sink_do_sync):
12128         Some cleanups.
12129         When the sink finishes blocking on the preroll buffer, it can
12130         immediatly render it instead of rendering when the next buffer
12131         arrives.
12132
12133 2006-01-18  Wim Taymans  <wim@fluendo.com>
12134
12135         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12136         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12137         (gst_base_sink_chain):
12138         Small cleanups.
12139         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12140         Don't store _last_stop if the buffer is dropped.
12141
12142 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12143
12144         * plugins/elements/gsttypefindelement.c:
12145         (gst_type_find_element_class_init):
12146           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12147           object method handler that sets the caps on the pad and we want
12148           that to happen before we emit the signal (fixes e.g. feeding a
12149           plain text file to decodebin).
12150
12151 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12152
12153         * gst/gstplugin.c: Add MPL and Proprietary as license options
12154
12155 2006-01-18  Andy Wingo  <wingo@pobox.com>
12156
12157         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12158         symbol was exported before, it appears this was just an oversight.
12159         Fixes #168703.
12160         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12161
12162         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12163         prototype to gint. OK since this prototype was not in the header.
12164
12165 2006-01-17  Andy Wingo  <wingo@pobox.com>
12166
12167         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12168         registry while we remove plugins.
12169
12170         * tools/gst-inspect.c (print_element_info): Don't unref the
12171         factory arg, that should be the responsibility of whatever code
12172         received the ref. Fixes a double-free when called from
12173         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12174         (main): Unref the factory if we have one.
12175         (print_element_list): No change -- relies on the
12176         plugin_feature_list_free to free the list of features.
12177
12178 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12179
12180         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12181         (gst_buffer_make_metadata_writable):
12182         * gst/gstbuffer.h:
12183         * libs/gst/base/gstbasetransform.c:
12184         (gst_base_transform_prepare_output_buf):
12185         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12186         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12187           Replace gst_buffer_(make|is)_metadata_writable patch now
12188           that the release is out.
12189
12190 2006-01-17  Andy Wingo  <wingo@pobox.com>
12191
12192         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12193         in the present tense without reference to versions.
12194
12195         * gst/gstregistry.c (gst_registry_add_plugin)
12196         (gst_registry_remove_plugin, gst_registry_remove_feature)
12197         (gst_registry_find_feature, gst_registry_get_feature_list)
12198         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12199         (gst_registry_lookup, gst_registry_scan_path)
12200         (_gst_registry_remove_cache_plugins)
12201         (gst_registry_get_feature_list_by_plugin): Add argument
12202         validation.
12203
12204 === release 0.10.2 ===
12205
12206 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12207
12208         * configure.ac:
12209           releasing 0.10.2, "If man is five"
12210
12211 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12212
12213         * gst/gstbuffer.c:
12214         * gst/gstbuffer.h:
12215         * libs/gst/base/gstbasetransform.c:
12216         (gst_base_transform_prepare_output_buf):
12217         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12218         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12219           Back out patch until after the release.
12220
12221 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12222
12223         * gst/gstminiobject.c:
12224           Spelling fix in docs.
12225         * ChangeLog - remove conflict indicator
12226
12227 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12228
12229         Reviewed By: Andy Wingo
12230
12231         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12232         (gst_buffer_make_metadata_writable):
12233         * gst/gstbuffer.h:
12234           Add gst_buffer_(is|make)_metadata_writable as analogues of
12235           gst_buffer_(is|make)_writable.
12236
12237         * libs/gst/base/gstbasetransform.c:
12238         (gst_base_transform_prepare_output_buf):
12239         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12240           Use name gst_buffer_(is|make)_metadata_writable functions.
12241
12242         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12243           Test gst_buffer_(is|make)_metadata_writable
12244         
12245           (Closes: #324162)
12246
12247 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12248
12249         * docs/manual/Makefile.am:
12250           don't do parallel make
12251         * configure.ac:
12252           AC_SUBST HOST_CPU
12253         * win32/common/config.h.in:
12254           add generations for HOST_CPU and GST_MAJORMINOR
12255         * win32/common/config.h:
12256           commit generated result
12257
12258 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12259
12260         * docs/manual/appendix-integration.xml:
12261           Update GNOME integration section to use gst_init_get_option_group()
12262           instead of the old popt stuff (#322911). Also, GNOME applications
12263           should  now use gconf*sink and gconf*src instead of the old gconf
12264           helper lib we had.
12265
12266 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12267
12268
12269         * docs/gst/gstreamer-docs.sgml:
12270         * docs/gst/gstreamer-sections.txt:
12271         * docs/libs/gstreamer-libs-sections.txt:
12272           add new API entries to the docs
12273         * libs/gst/controller/Makefile.am:
12274         * libs/gst/controller/gstcontroller.c:
12275         * libs/gst/controller/gstcontroller.h:
12276         * libs/gst/controller/gstcontrollerprivate.h:
12277         * libs/gst/controller/gsthelper.c:
12278         * libs/gst/controller/gstinterpolation.c:
12279           move private structs to private header
12280         * po/README:
12281           gstreamer-0.7 -> gstreamer-0.10
12282         * tests/check/libs/struct_i386.h:
12283           remove private structs
12284
12285 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12286
12287         * plugins/indexers/Makefile.am:
12288           Fixes as part of #317048
12289
12290 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12291
12292         * plugins/indexers/Makefile.am:
12293           fix #316086 - compilation when mmap is missing
12294
12295 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12296
12297         * libs/gst/base/gstbasesink.c:
12298           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12299           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12300         * win32/common/config.h:
12301           added some defines GST_MAJORMINOR and HOST_CPU
12302         * win32/common/libgstbase.def:
12303         * win32/common/libgstreamer.def:
12304           added some exported functions.
12305
12306 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12307
12308         * libs/gst/controller/gstcontroller.c:
12309         (gst_controlled_property_set_interpolation_mode),
12310         (gst_controlled_property_new):
12311         * libs/gst/controller/gstcontroller.h:
12312         * libs/gst/controller/gstinterpolation.c:
12313         (interpolate_none_get_string_value_array):
12314           make G_TYPE_STRING controlable
12315
12316 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12317
12318         * tools/README:
12319         * tools/gst-feedback.1.in:
12320         * tools/gst-inspect.1.in:
12321         * tools/gst-launch.1.in:
12322         * tools/gst-md5sum.1.in:
12323         * tools/gst-typefind.1.in:
12324         * tools/gst-xmlinspect.1.in:
12325         * tools/gst-xmllaunch.1.in:
12326           cleanup man-pages, remove reference to gst-register, document env-vars
12327
12328 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12329
12330         * gst/gstbuffer.c: (gst_buffer_span):
12331           gst_buffer_span should copy the timestamp of the first buffer
12332           if they were both originally overlapping subbuffers of the 
12333           same parent, using the same logic as the 'slow copy' case.
12334
12335 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12336
12337         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12338           Need to awaken ALL the pads when we pop a buffer, otherwise
12339           collectpads only works when there is 2 input streams.
12340
12341 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12342
12343         * docs/random/ensonic/media-device-daemon.txt:
12344           more ideas (dbus)
12345         * gst/gstbuffer.c:
12346           fix doc example, add clarification
12347         * tools/gst-launch.1.in:
12348           add initial info about GST_PLUGIN_PATH, needs more work
12349
12350 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
12351
12352         * docs/manual/basics-bins.xml:
12353         * docs/manual/basics-elements.xml:
12354         * docs/manual/intro-basics.xml:
12355           Some more minor docs additions and updates.
12356
12357 2006-01-11  Wim Taymans  <wim@fluendo.com>
12358
12359         * docs/manual/basics-bins.xml:
12360         * docs/manual/basics-elements.xml:
12361         Some small fixes as pointed out by Ser-ver on IRC.
12362
12363 2006-01-10  Edward Hervey  <edward@fluendo.com>
12364
12365         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12366         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12367         the single-segment mode.
12368
12369 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
12370
12371         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12372
12373         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12374         (gst_base_src_perform_seek), (gst_base_src_send_event),
12375         (gst_base_src_set_property), (gst_base_src_get_property),
12376         (gst_base_src_loop), (gst_base_src_start),
12377         (gst_base_src_activate_push):
12378         * libs/gst/base/gstbasesrc.h:
12379           Name (private) union; makes Sun's Forte compiler happy (#324900).
12380
12381 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
12382
12383         * README:
12384           gst-register is gone.
12385
12386 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12387
12388         * gst/gstvalue.c: (_gst_value_initialize):
12389           make the G_TYPE_DATE instantiation work if debug is disabled
12390
12391 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
12392
12393         * gst/gstmessage.c: (gst_message_parse_tag),
12394         (gst_message_parse_error), (gst_message_parse_warning):
12395           Don't crash when return location for error/warning debug
12396           string is NULL; add fact that return locations can be
12397           NULL to docs where appropriate.
12398
12399 2006-01-05  Wim Taymans  <wim@fluendo.com>
12400
12401         * gst/gstplugin.c: (gst_plugin_load_file):
12402         Replace strdup by g_strdup.
12403
12404 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12405
12406         * docs/pwg/advanced-types.xml:
12407           fix doc borkage
12408
12409 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12410
12411         submitted by: Abel Cheung
12412
12413         * po/LINGUAS:
12414         * po/zh_TW.po:
12415           Added Chinese (traditional) translation
12416
12417 2006-01-04  Wim Taymans  <wim@fluendo.com>
12418
12419         * docs/manual/basics-pads.xml:
12420         * docs/plugins/Makefile.am:
12421         * docs/plugins/gstreamer-plugins-docs.sgml:
12422         * docs/plugins/gstreamer-plugins-sections.txt:
12423         * docs/pwg/advanced-clock.xml:
12424         * docs/pwg/advanced-scheduling.xml:
12425         * docs/pwg/advanced-types.xml:
12426         * plugins/elements/gstfdsink.c:
12427         * plugins/elements/gstfdsrc.c:
12428         * plugins/elements/gstfdsrc.h:
12429         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12430         * plugins/elements/gstidentity.h:
12431         * plugins/elements/gstqueue.h:
12432         * plugins/elements/gsttee.c:
12433         * plugins/elements/gsttee.h:
12434         * plugins/elements/gsttypefindelement.c:
12435         (gst_type_find_element_class_init):
12436         * plugins/elements/gsttypefindelement.h:
12437         Small updates to various docs.
12438         Added core plugins to docs.
12439
12440 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12441
12442         * common/gst.supp:
12443           add a suppression for liboil's uninitialized variable
12444
12445 2006-01-02  James Livingston  <jrl at ids dot org dot au>
12446
12447         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12448
12449         * gst/gstutils.h:
12450           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12451           macro, so that gcc doesn't complain if the -Wmissing-prototypes
12452           compiler switch is being used (#325429).
12453
12454 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
12455
12456         * gst/gstbin.c: (gst_bin_query):
12457           Disable duration query caching in bins until it gets
12458           fixed (see #324807).
12459
12460 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12461
12462         * tools/gst-inspect.c: (print_element_properties_info):
12463           Handle properties of POINTER and BOXED type.
12464
12465 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
12466
12467         * gst/gst.c: (init_post):
12468           Init tags stuff and some other things before loading
12469           any static plugins (there may be other static plugins
12470           than just the GStreamer ones, and they may want to
12471           register their own tags or formats or whatever, and
12472           preferably without segfaulting).
12473
12474         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12475           Print at least a warning in the debug logs if we drop a
12476           query just because we don't know how to adjust the value
12477           in the particular format.
12478
12479 2005-12-24  David Schleef  <ds@schleef.org>
12480
12481         * tools/gstreamer-completion:
12482           Replacement for gst-complete written in sh and sed.  Only
12483           completes names of features, but that's 90% of what I want
12484           it for.  Properties are not available in registry.xml.  (Maybe
12485           they should be...)
12486
12487 === release 0.10.1 ===
12488
12489 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
12490
12491         * configure.ac:
12492           releasing 0.10.1, "Nollaig chridheil"
12493
12494 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
12495
12496         * docs/faq/cvs.xml:
12497           Add missing quote, should be make ERROR_CFLAGS="".
12498
12499 2005-12-20  Wim Taymans  <wim@fluendo.com>
12500
12501         * docs/design/part-trickmodes.txt:
12502         More documentation on trickmodes.
12503
12504 2005-12-20  Edward Hervey  <edward@fluendo.com>
12505
12506         * gst/gstcaps.c: (gst_static_caps_get_type):
12507         * gst/gstcaps.h:
12508           API addition: GST_TYPE_STATIC_CAPS
12509         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12510         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12511         * gst/gstpadtemplate.h:
12512           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12513         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12514         bindings.
12515
12516 2005-12-18  Wim Taymans  <wim@fluendo.com>
12517
12518         * libs/gst/base/gstadapter.c:
12519         * libs/gst/base/gstadapter.h:
12520         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12521         (gst_base_sink_get_position):
12522         * libs/gst/base/gstbasesink.h:
12523         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12524         (gst_base_src_default_query), (gst_base_src_default_do_seek),
12525         (gst_base_src_do_seek), (gst_base_src_perform_seek),
12526         (gst_base_src_send_event), (gst_base_src_update_length),
12527         (gst_base_src_get_range), (gst_base_src_loop),
12528         (gst_base_src_start):
12529         * libs/gst/base/gstbasesrc.h:
12530         * libs/gst/base/gstbasetransform.h:
12531         * libs/gst/base/gstcollectpads.h:
12532         * libs/gst/base/gstpushsrc.c:
12533         * libs/gst/base/gstpushsrc.h:
12534         * libs/gst/dataprotocol/dataprotocol.c:
12535         * libs/gst/dataprotocol/dataprotocol.h:
12536         * libs/gst/net/gstnetclientclock.h:
12537         * libs/gst/net/gstnettimeprovider.h:
12538         Documentation updates.
12539
12540 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
12541
12542         * docs/manual/basics-helloworld.xml:
12543           Remove superfluous closing bracket in helloworld example.
12544
12545 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
12546
12547         * tools/gst-launch.1.in:
12548           Update gst-launch man page; add a section with useful
12549           environment variables. Fixes #323882.
12550
12551 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
12552
12553         * gst/gst.c:
12554         * gst/gst_private.h:
12555           change some char* into char[]
12556
12557 2005-12-16  Wim Taymans  <wim@fluendo.com>
12558
12559         * gst/gstregistryxml.c: (load_feature):
12560         Cleanups.
12561         Don't use g_object_unref on GstObjects so that we avoid
12562         leaks on unsafe glibs.
12563
12564 2005-12-16  Wim Taymans  <wim@fluendo.com>
12565
12566         * gst/gstbin.c: (gst_bin_recalc_state):
12567         Small doc updates.
12568
12569 2005-12-16  Wim Taymans  <wim@fluendo.com>
12570
12571         * common/check.mak:
12572         Added make forever target for check.
12573
12574 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12575
12576         * gst/gst.c: (init_post):
12577           make the registry cache file HOST_CPU-dependent
12578
12579 2005-12-16  Andy Wingo  <wingo@pobox.com>
12580
12581         * plugins/elements/gstbufferstore.c
12582         (gst_buffer_store_cleared_func): Pay attention to g_list_append
12583         return value.
12584
12585         * tests/check/gst/gstobject.c
12586         (test_fake_object_name_threaded_unique): Pay attention to
12587         g_list_sort return value.
12588
12589 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
12590
12591         * tools/gst-feedback-m.m:
12592           Update for 0.9/0.10 (fixes #323870).
12593
12594 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
12595
12596         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12597           Fix lcopy for mini objects, the mini object needs to be ref'ed.
12598           
12599         * tests/check/gst/gstminiobject.c: (my_foo_init),
12600         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12601         (test_value_collection), (gst_mini_object_suite):
12602           Add test to ensure refcounts end up as expected when passing
12603           GstMiniObjects through g_object_get() and g_object_set().
12604
12605 2005-12-14  Julien MOUTTE  <julien@moutte.net>
12606
12607         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12608         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12609         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12610         of collectpads. This version removes a lot of races without
12611         touching API/ABI. Yay !
12612
12613 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
12614
12615         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
12616           Don't allow activation of a srcpad in pull_range if it has no
12617           getrange function.
12618           Change some debug statements to be a little clearer
12619
12620         * plugins/elements/gsttypefindelement.c:
12621         (gst_type_find_handle_src_query):
12622           Check that we have a peer before executing queries thereupon.
12623
12624         * tests/examples/metadata/read-metadata.c: (message_loop):
12625           Use gst_bus_pop instead of gst_bus_poll when we just want it to
12626           immediately return us any available message with 0 timeout.
12627
12628 2005-12-12  Michael Smith  <msmith@fluendo.com>
12629
12630         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
12631           Don't unref factories after calling them.
12632         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
12633         * plugins/elements/gsttypefindelement.c:
12634         (gst_type_find_element_chain):
12635           Free lists of factories after using them. Fixing typefinding memory
12636           leaks.
12637
12638 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12639
12640         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12641         (gst_plugin_feature_load):
12642           more meaningful debug output
12643         * configure.ac:
12644         * tests/Makefile.am:
12645         * tests/old/examples/Makefile.am:
12646           make make distcheck happy again
12647
12648 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12649
12650         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12651           Catch the special case where we are operating chain-based,
12652           but the downstream peer pad has no chain function. Emit a
12653           custom error message in this case instead of letting the
12654           core generate one implying that this is some sort of core
12655           bug. It's not, it just means that whatever got plugged
12656           into the pipeline downstream when we announced the type
12657           can only operate pull-based, while our source can only
12658           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
12659           Error string has not been marked for translation yet, as
12660           it probably needs some more work first.
12661
12662         (gst_type_find_element_get_best_possibility):
12663           Add helper function to find the best of all available
12664           found possibilities that qualify given the min. threshold.
12665
12666         (gst_type_find_element_handle_event):
12667           Fix the case where we get an EOS while still in TYPEFIND
12668           mode (we want to chose the best of all possible types,
12669           not just the first type that happens to be in our unsorted
12670           list of possible types).
12671
12672         (gst_type_find_element_chain):
12673           Make sure we return GST_FLOW_ERROR when we errored out
12674           in stop_typefinding(); also, don't just find the best of
12675           all found type entries and then use the last examined
12676           type entry, but actually use the best entry.
12677
12678 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
12679
12680         * tests/examples/typefind/typefind.c: (type_found):
12681         * tests/examples/xml/runxml.c: (xml_loaded):
12682           More gcc4 fixes and a mem leak fix.
12683
12684 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12685
12686         * tests/examples/xml/createxml.c: (object_saved):
12687           gcc 4 fixes
12688
12689 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12690
12691         * tests/Makefile.am:
12692           enable the examples even more
12693
12694 2005-12-12  Andy Wingo  <wingo@pobox.com>
12695
12696         * libs/gst/net/gstnettimeprovider.c
12697         (gst_net_time_provider_class_init, gst_net_time_provider_init)
12698         (gst_net_time_provider_set_property)
12699         (gst_net_time_provider_get_property):
12700         API addition: Export "active" as a GObject property.
12701         (gst_net_time_provider_thread): Only respond to time queries if
12702         the time provider is active.
12703
12704         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
12705         NetTimeProvider, preserving binary compat.
12706
12707 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12708
12709         * tests/examples/controller/audio-example.c: (main):
12710         * tests/examples/launch/Makefile.am:
12711           convert comments again
12712
12713 2005-12-12  Wim Taymans  <wim@fluendo.com>
12714
12715         * libs/gst/base/gstpushsrc.c:
12716         Fix typo.
12717
12718 2005-12-12  Wim Taymans  <wim@fluendo.com>
12719
12720         * docs/libs/gstreamer-libs-sections.txt:
12721         Added new symbol to docs.
12722
12723         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12724         (gst_base_src_init), (gst_base_src_set_format),
12725         (gst_base_src_default_query), (gst_base_src_query),
12726         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
12727         (gst_base_src_perform_seek), (gst_base_src_send_event),
12728         (gst_base_src_default_event), (gst_base_src_event_handler),
12729         (gst_base_src_set_property), (gst_base_src_get_property),
12730         (gst_base_src_wait), (gst_base_src_do_sync),
12731         (gst_base_src_update_length), (gst_base_src_get_range),
12732         (gst_base_src_check_get_range), (gst_base_src_loop),
12733         (gst_base_src_default_negotiate), (gst_base_src_start),
12734         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12735         (gst_base_src_change_state):
12736         * libs/gst/base/gstbasesrc.h:
12737         Implement seeking to other formats than _BYTES.
12738         Implement more seeking methods correctly.
12739         Doc updates.
12740         Added query vmethod.
12741         Added do_seek vmethod to make life easier for subclasses
12742         when seeking.
12743         API addition: gst_base_src_set_format()
12744
12745 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12746
12747         * tests/examples/Makefile.am:
12748           added that too
12749
12750 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
12751
12752         * configure.ac:
12753         * docs/random/ensonic/media-device-daemon.txt:
12754         * tests/examples/controller/.cvsignore:
12755         * tests/examples/controller/Makefile.am:
12756         * tests/examples/controller/audio-example.c: (main):
12757         * tests/examples/helloworld/.cvsignore:
12758         * tests/examples/helloworld/Makefile.am:
12759         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
12760         * tests/examples/launch/.cvsignore:
12761         * tests/examples/launch/Makefile.am:
12762         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
12763         * tests/examples/metadata/.cvsignore:
12764         * tests/examples/metadata/Makefile.am:
12765         * tests/examples/metadata/read-metadata.c: (message_loop),
12766         (make_pipeline), (print_tag), (main):
12767         * tests/examples/queue/.cvsignore:
12768         * tests/examples/queue/Makefile.am:
12769         * tests/examples/queue/queue.c: (event_loop), (main):
12770         * tests/examples/typefind/.cvsignore:
12771         * tests/examples/typefind/Makefile.am:
12772         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
12773         (main):
12774         * tests/examples/xml/.cvsignore:
12775         * tests/examples/xml/Makefile.am:
12776         * tests/examples/xml/createxml.c: (object_saved), (main):
12777         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
12778         * tests/old/examples/Makefile.am:
12779         * tests/old/examples/TODO:
12780         * tests/old/examples/controller/.cvsignore:
12781         * tests/old/examples/controller/Makefile.am:
12782         * tests/old/examples/controller/audio-example.c:
12783         * tests/old/examples/helloworld/.cvsignore:
12784         * tests/old/examples/helloworld/Makefile.am:
12785         * tests/old/examples/helloworld/helloworld.c:
12786         * tests/old/examples/launch/.cvsignore:
12787         * tests/old/examples/launch/Makefile.am:
12788         * tests/old/examples/launch/mp3parselaunch.c:
12789         * tests/old/examples/launch/mp3play:
12790         * tests/old/examples/manual/Makefile.am:
12791         * tests/old/examples/metadata/Makefile.am:
12792         * tests/old/examples/metadata/read-metadata.c:
12793         * tests/old/examples/queue/.cvsignore:
12794         * tests/old/examples/queue/Makefile.am:
12795         * tests/old/examples/queue/queue.c:
12796         * tests/old/examples/typefind/.cvsignore:
12797         * tests/old/examples/typefind/Makefile.am:
12798         * tests/old/examples/typefind/typefind.c:
12799         * tests/old/examples/xml/.cvsignore:
12800         * tests/old/examples/xml/Makefile.am:
12801         * tests/old/examples/xml/createxml.c:
12802         * tests/old/examples/xml/runxml.c:
12803           applied some simple fixing to some examples
12804           re-enabled the working examples
12805
12806 2005-12-12  Wim Taymans  <wim@fluendo.com>
12807
12808         * gst/gstsegment.c: (gst_segment_init),
12809         (gst_segment_set_last_stop), (gst_segment_set_seek),
12810         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
12811         (gst_segment_to_running_time):
12812         Added more documentation.
12813         Make sure the last_pos value is updated properly.
12814         Make sure to_stream_time and to_running_time don't
12815         operate on wrong values.
12816
12817         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12818         Update check.
12819
12820 2005-12-12  Michael Smith  <msmith@fluendo.com>
12821
12822         * plugins/elements/gsttypefindelement.c: (free_entry),
12823         (gst_type_find_element_chain):
12824           Now that we're not leaking factories, make sure we keep references
12825           to them while we need them.
12826
12827 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12828
12829         * tests/check/gst/struct_i386.h:
12830           ifdef out the XML structs
12831
12832 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12833
12834         * gst/gstvalue.c: (gst_value_transform_double_fraction):
12835           floor is not needed, F is always positive; this obviates the
12836           need for adding -lm when building without libxml
12837
12838 2005-12-12  Wim Taymans  <wim@fluendo.com>
12839
12840         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12841         Take current playback rate into account when reporting
12842         the position.
12843
12844 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12845
12846         * docs/manual/mime-world.fig:
12847           Let's try this again, this time with a file that is
12848           actually in XFig format.
12849
12850 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12851
12852         * docs/manual/mime-world.fig:
12853           Add audioconvert element to diagram so that it
12854           matches the text and the code (fixes #319526).
12855
12856 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12857
12858         * docs/pwg/building-chainfn.xml:
12859         * docs/pwg/building-pads.xml:
12860         * docs/pwg/building-state.xml:
12861         * docs/pwg/other-source.xml:
12862           Update state change stuff for 0.10 (fixes #322969).
12863
12864 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12865
12866         * docs/manual/advanced-dataaccess.xml:
12867         * docs/manual/appendix-checklist.xml:
12868         * docs/manual/appendix-programs.xml:
12869         * docs/manual/basics-pads.xml:
12870         * docs/manual/highlevel-components.xml:
12871         * docs/manual/manual.xml:
12872           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
12873           add converters in front of pipelines; remove curly
12874           brackets for threads stuff, they no longer exist; use
12875           GST_TYPE_FRACTION for framerates; update some pieces of
12876           code to 0.10, but there's plenty more to do.
12877
12878         * docs/manual/appendix-porting.xml:
12879           Expand on asynchroneous state changes; s/0.9/0.10/;
12880           mention disappearance of gst_init_get_popt_table()
12881           (fixes #322916).
12882
12883 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
12884
12885         * docs/faq/using.xml:
12886           Spider no longer exists, and neither does gst-launch-ext.
12887           Update examples to use decodebin and playbin and put
12888           converters in front of sinks (fixes #323726).
12889
12890 2005-12-09  Michael Smith  <msmith@fluendo.com>
12891
12892         * plugins/elements/gsttypefindelement.c: (find_peek),
12893         (gst_type_find_element_chain):
12894           Fix leaking element factories in typefinding.
12895           Fix problem where we forgot about a probable type on non-seekable
12896           files, and thus later mis-typefound it.
12897
12898 2005-12-09  Michael Smith  <msmith@fluendo.com>
12899
12900         * common/m4/gst-makecontext.m4:
12901         * common/m4/gst-mcsc.m4:
12902         * configure.ac:
12903         * win32/common/config.h:
12904         * win32/common/config.h.in:
12905           Remove makecontext stuff; not used in 0.10 and causes problems on
12906           HPUX according to bug #322441
12907
12908 2005-12-07  Wim Taymans  <wim@fluendo.com>
12909
12910         * tests/check/Makefile.am:
12911         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
12912         (main):
12913         * tests/check/libs/struct_i386.h:
12914         Added ABI check for libs
12915
12916 2005-12-07  Wim Taymans  <wim@fluendo.com>
12917
12918         * tests/check/Makefile.am:
12919         And add the struct_i386.h to dist.
12920
12921 2005-12-07  Wim Taymans  <wim@fluendo.com>
12922
12923         * tests/check/Makefile.am:
12924         * tests/check/gst/.cvsignore:
12925         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
12926         (main):
12927         * tests/check/gst/struct_i386.h:
12928         Added check for ABI compatibility.
12929
12930 2005-12-07  Wim Taymans  <wim@fluendo.com>
12931
12932         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12933         (gst_fake_src_get_times), (gst_fake_src_create):
12934         Fix broken sync option, fixes #323259
12935
12936 2005-12-07  Wim Taymans  <wim@fluendo.com>
12937
12938         * gst/gstbuffer.c:
12939         Small docs update.
12940
12941         * gst/gstcaps.c: (gst_caps_is_equal):
12942         Don't assert on NULL <--> X. Fixes #323260
12943
12944         * gst/gstminiobject.c: (gst_mini_object_replace):
12945         If we're doing atomic operations, we might just as well use
12946         the proper way to get an atomic pointer.
12947
12948         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12949         Clean up debugging.
12950
12951 2005-12-07  Michael Smith  <msmith@fluendo.com>
12952
12953         * gst/parse/grammar.y:
12954           Remove handling of { } for threads.
12955
12956 2005-12-06  David Schleef  <ds@schleef.org>
12957
12958         * libs/gst/base/gstbasetransform.c: speling fix.
12959
12960 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12961
12962         * docs/libs/tmpl/gstdataprotocol.sgml:
12963         * docs/random/omega/testing/gstobject.c:
12964         * gst/gst.c:
12965         * gst/gstclock.c:
12966         * gst/gstelement.c:
12967         * gst/gstelementfactory.c:
12968         * gst/gsterror.c:
12969         * gst/gstevent.c:
12970         * gst/gstghostpad.c:
12971         * gst/gstinfo.c:
12972         * gst/gstpadtemplate.c:
12973         * gst/gstregistryxml.c:
12974         * gst/gsttaglist.c:
12975         * gst/gsttagsetter.c:
12976         * gst/gsttypefind.c:
12977         * gst/gstvalue.c:
12978         * libs/gst/base/gstbasesrc.c:
12979         * libs/gst/net/gstnetclientclock.c:
12980         * libs/gst/net/gstnettimeprovider.c:
12981         * plugins/elements/gstfakesrc.c:
12982         * plugins/elements/gstfdsrc.c:
12983         * plugins/elements/gstfilesrc.c:
12984         * plugins/elements/gstidentity.c:
12985         * plugins/elements/gstqueue.c:
12986         * plugins/elements/gsttypefindelement.c:
12987         * plugins/indexers/gstfileindex.c:
12988         * plugins/indexers/gstmemindex.c:
12989         * tests/check/gst/gsttag.c:
12990         * tests/old/examples/cutter/cutter.c:
12991         * tests/old/examples/mixer/mixer.c:
12992         * tests/old/examples/xml/runxml.c: (main):
12993         * tests/old/testsuite/caps/normalisation.c:
12994         * tests/old/testsuite/debug/global.c:
12995         * tests/old/testsuite/parse/parse1.c:
12996         * tools/gst-xmlinspect.c:
12997         * win32/common/dirent.c:
12998           expand tabs
12999
13000 === release 0.10.0 ===
13001
13002 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13003
13004         * configure.ac:
13005           releasing 0.10.0, "Maroilles"
13006
13007 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13008
13009         submitted by: Funda Wang <fundawang@linux.net.cn>
13010
13011         * po/LINGUAS:
13012         * po/zh_CN.po:
13013           added Chinese (Traditional) translation
13014
13015 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13016
13017         * docs/gst/gstreamer-sections.txt:
13018         * docs/libs/tmpl/gstdataprotocol.sgml:
13019         * docs/random/thomasvs/TODO:
13020         * gst/gstutils.c:
13021         * gst/gstutils.h:
13022           fix docs
13023
13024 2005-12-05  Andy Wingo  <wingo@pobox.com>
13025
13026         patch by: Wim Taymans <wim@fluendo.com>
13027
13028         * libs/gst/base/gstbasetransform.c
13029         (gst_base_transform_prepare_output_buf)
13030         (gst_base_transform_buffer_alloc):
13031         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13032         alloc_buffer_and_set_caps.
13033
13034         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13035         set_caps on the source pad.
13036         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13037         alloc_buffer used to do. Fixes #322874.
13038
13039         * docs/gst/gstreamer-sections.txt: 
13040         * docs/design/part-negotiation.txt: 
13041         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13042         changes.
13043
13044 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13045
13046         patch by: Sebastien Moutte
13047
13048         * win32/MANIFEST:
13049         * win32/common/config.h.in:
13050         * win32/vs6/libgstcontroller.dsp:
13051           win32 build fixes
13052
13053 2005-12-05  Wim Taymans  <wim@fluendo.com>
13054
13055         * gst/gstcaps.c: (gst_caps_is_equal):
13056         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13057         (gst_fake_src_create):
13058         Back out previous code changes, leave doc updates, file bugs 
13059         instead. 
13060
13061 2005-12-05  Wim Taymans  <wim@fluendo.com>
13062
13063         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13064         (gst_fake_src_get_times), (gst_fake_src_create):
13065         * plugins/elements/gstfakesrc.h:
13066         Fix broken sync code.
13067
13068 2005-12-05  Wim Taymans  <wim@fluendo.com>
13069
13070         * gst/gstcaps.c: (gst_caps_is_equal):
13071         Comparing NULL against !NULL yields different caps, not a
13072         failure.
13073
13074 2005-12-05  Wim Taymans  <wim@fluendo.com>
13075
13076         * gst/gstpipeline.c:
13077         Fix small typo in docs.
13078
13079 2005-12-05  Andy Wingo  <wingo@pobox.com>
13080
13081         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13082
13083         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13084         registries/plugins with a MAJORMINOR one.
13085         (plugin_desc): Rename library from gstcoreleements to
13086         staticelements. Fixes #323222.
13087
13088 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13089
13090         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13091           Change debug category to 'collectpads' from 'collect_pads'
13092           (fixes #323250).
13093
13094 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13095
13096         patch by: Sebastien Moutte
13097
13098         * libs/gst/controller/gstinterpolation.c:
13099           use convert function for uint64/double
13100         * win32/vs6/libgstcontroller.dsp:
13101           link to GLib
13102
13103 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13104
13105         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13106         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13107         * gst/gstutils.h:
13108         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13109           add tests that seem to show that the guint64/gdouble conversions
13110           are correct.
13111
13112 2005-12-02  Wim Taymans  <wim@fluendo.com>
13113
13114         * gst/gstregistry.c: (gst_registry_add_path):
13115         * gst/gstregistry.h:
13116         * gst/gstregistryxml.c:
13117         Fix docs again.
13118
13119 2005-12-02  Wim Taymans  <wim@fluendo.com>
13120
13121         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13122         (gst_util_uint64_scale_int):
13123         Small cleanup.
13124
13125         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13126         Add debug log line.
13127
13128         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13129         Add FIXME.
13130
13131 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13132
13133         * win32/MANIFEST:
13134         * win32/common/config.h:
13135         * win32/vs6/gstreamer.dsw:
13136         * win32/vs6/libgstcoreelements.dsp:
13137         * win32/vs6/libgstelements.dsp:
13138           renamed core elements plugin
13139
13140 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13141
13142         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13143         (get_candidates):
13144           do piece-wise major/minor comparison so 0.9 < 0.10
13145           also allow .exe extensions for tools
13146
13147 2005-12-02  Michael Smith  <msmith@fluendo.com>
13148
13149         * gst/gst.c:
13150           Escape a % to make gtkdoc happier; bug 322958.
13151
13152 === release 0.9.7 ===
13153
13154 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13155
13156         * configure.ac:
13157           releasing 0.9.7, "My Dog Has No Nose"
13158
13159 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13160
13161         * common/gst-xmlinspect.py:
13162         * configure.ac:
13163         * docs/libs/tmpl/gstdataprotocol.sgml:
13164         * docs/random/release:
13165         * po/af.po:
13166         * po/az.po:
13167         * po/bg.po:
13168         * po/ca.po:
13169         * po/cs.po:
13170         * po/de.po:
13171         * po/en_GB.po:
13172         * po/fr.po:
13173         * po/it.po:
13174         * po/nb.po:
13175         * po/nl.po:
13176         * po/ru.po:
13177         * po/sq.po:
13178         * po/sr.po:
13179         * po/sv.po:
13180         * po/tr.po:
13181         * po/uk.po:
13182         * po/vi.po:
13183         * win32/common/config.h:
13184         * win32/common/config.h.in:
13185         * win32/vs6/gst_inspect.dsp:
13186         * win32/vs6/gst_launch.dsp:
13187         * win32/vs6/libgstbase.dsp:
13188         * win32/vs6/libgstelements.dsp:
13189         * win32/vs6/libgstreamer.dsp:
13190         * win32/vs7/GStreamer.vcproj:
13191         * win32/vs7/gst-inspect.vcproj:
13192         * win32/vs7/gst-launch.vcproj:
13193         * win32/vs7/libgstbase.vcproj:
13194           bump GST_MAJORMINOR to 0.10
13195           reset libtool version
13196
13197 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13198
13199         * po/LINGUAS:
13200         * po/bg.po:
13201           Added Bulgarian translation by (Alexander Shopov)
13202
13203 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13204
13205         * tests/check/gst/gstplugin.c:
13206           fix test
13207
13208 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13209
13210         * common/gst-xmlinspect.py:
13211         * common/gtk-doc-plugins.mak:
13212         * configure.ac:
13213         * docs/Makefile.am:
13214         * docs/gst/Makefile.am:
13215         * docs/gst/gstreamer-docs.sgml:
13216         * docs/gst/gstreamer-sections.txt:
13217         * docs/gst/gstreamer.types:
13218         * docs/gst/gstreamer.types.in:
13219         * docs/plugins/Makefile.am:
13220         * docs/plugins/gstreamer-plugins-docs.sgml:
13221         * docs/plugins/gstreamer-plugins-sections.txt:
13222         * docs/plugins/gstreamer-plugins.types:
13223         * docs/plugins/inspect.stamp:
13224         * docs/plugins/inspect/plugin-coreelements.xml:
13225         * docs/plugins/inspect/plugin-coreindexers.xml:
13226         * docs/plugins/scanobj-build.stamp:
13227         * gstreamer.spec.in:
13228         * plugins/elements/Makefile.am:
13229         * plugins/elements/gstelements.c:
13230         * plugins/elements/gstfakesink.c:
13231         * plugins/elements/gstfakesrc.c:
13232         * plugins/elements/gstfilesink.c:
13233         * plugins/elements/gstfilesrc.c:
13234         * plugins/elements/gstqueue.c:
13235         * plugins/indexers/Makefile.am:
13236         * plugins/indexers/gstindexers.c:
13237           document core plugins in a separate document just like all the
13238           others
13239           rename these plugins to something starting with core
13240
13241 2005-12-01  Andy Wingo  <wingo@pobox.com>
13242
13243         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13244         padding here before, but it missed the commit.
13245
13246 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13247
13248         * libs/gst/controller/gstinterpolation.c:
13249           whitespace prices have crashed, we should feel free to use some now
13250           use gst_guint64_to_gdouble
13251
13252 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13253
13254         * libs/gst/controller/gstcontroller.c:
13255         * libs/gst/controller/gsthelper.c:
13256         * libs/gst/controller/gstinterpolation.c:
13257         * libs/gst/controller/lib.c:
13258           wrap config.h include
13259
13260 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13261
13262         * docs/gst/gstreamer-sections.txt:
13263           update docs
13264
13265 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13266
13267         * plugins/elements/gstelements.c:
13268         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13269         (gst_fd_sink__class_init), (gst_fd_sink__init),
13270         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13271         (gst_fd_sink__get_property):
13272         * plugins/elements/gstfdsink.h:
13273         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13274         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13275         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13276         (gst_fd_src_unlock), (gst_fd_src_set_property),
13277         (gst_fd_src_get_property), (gst_fd_src_create),
13278         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13279         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13280         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13281         (gst_fd_src_uri_handler_init):
13282         * plugins/elements/gstfdsrc.h:
13283         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13284           more anal cleanup
13285
13286 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13287
13288         * docs/gst/Makefile.am:
13289         * docs/gst/gstreamer.types.in:
13290         * gst/Makefile.am:
13291           fix the docs build
13292
13293 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13294
13295         * configure.ac:
13296         * gst/Makefile.am:
13297         * gst/gst.c:
13298         * gst/gstplugin.h:
13299         * gst/gstregistry.h:
13300         * tests/benchmarks/complexity.c:
13301         * tests/benchmarks/mass-elements.c:
13302         * tests/check/Makefile.am:
13303         * tools/Makefile.am:
13304         * tools/gst-inspect.c:
13305         * tools/gst-xmlinspect.c:
13306           various fixes to make
13307           --disable-nls --disable-registry --disable-loadsave
13308           --disable-parse --disable-gst-debug
13309           work and get the core .so down to 360444 bytes after stripping
13310
13311 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13312
13313         * Makefile.am:
13314         * configure.ac:
13315           descend into tests
13316         * docs/random/thomasvs/TODO:
13317         * tests/Makefile.am:
13318         * tests/README:
13319           add a README
13320
13321 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13322
13323         * win32/GStreamer.vcproj:
13324         * win32/MANIFEST:
13325         * win32/Makefile:
13326         * win32/Makefile.inspect:
13327         * win32/Makefile.launch:
13328         * win32/Makefile.register:
13329         * win32/README.txt:
13330         * win32/gst-inspect.vcproj:
13331         * win32/gst-launch.vcproj:
13332         * win32/gst-register.vcproj:
13333         * win32/gstelements.vcproj:
13334         * win32/gstgetbits.def:
13335         * win32/gstgetbits.vcproj:
13336         * win32/gstreamer-dbg.def:
13337         * win32/gstreamer.def:
13338         * win32/libgstbase.def:
13339         * win32/libgstbase.vcproj:
13340         * win32/link_oldruntime.c:
13341         * win32/mman.c:
13342         * win32/mman.h:
13343         * win32/mman.inl:
13344         * win32/msvc71.sln:
13345           move even more stuff, win32/ is nice and clean now
13346
13347 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13348
13349         * libs/gst/control/.cvsignore:
13350         * win32/MANIFEST:
13351         * win32/config.h:
13352         * win32/dirent.c:
13353         * win32/dirent.h:
13354         * win32/gstbytestream.def:
13355         * win32/gstbytestream.vcproj:
13356         * win32/gstconfig.h:
13357         * win32/gstenumtypes.c:
13358         * win32/gstenumtypes.h:
13359         * win32/gstoptimalscheduler.vcproj:
13360         * win32/gstversion.h:
13361         * win32/gtchar.h:
13362         * win32/testsuite/bins.vcproj:
13363         * win32/testsuite/bytestream.vcproj:
13364         * win32/testsuite/caps.vcproj:
13365         * win32/testsuite/cleanup.vcproj:
13366         * win32/testsuite/clock.vcproj:
13367         * win32/testsuite/debug.vcproj:
13368         * win32/testsuite/dlopen.vcproj:
13369         * win32/testsuite/dynparams.vcproj:
13370         * win32/testsuite/elements.vcproj:
13371         * win32/testsuite/ghostpads.vcproj:
13372         * win32/testsuite/indexers.vcproj:
13373         * win32/testsuite/negotiation.vcproj:
13374         * win32/testsuite/parse.vcproj:
13375         * win32/testsuite/plugin.vcproj:
13376         * win32/testsuite/refcounting.vcproj:
13377         * win32/testsuite/schedulers.vcproj:
13378         * win32/testsuite/states.vcproj:
13379         * win32/testsuite/tags.vcproj:
13380         * win32/testsuite/threads.vcproj:
13381           remove old win32 stuff that isn't maintained and should be
13382           reorganized
13383
13384 2005-11-30  Andy Wingo  <wingo@pobox.com>
13385
13386         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13387         loading the gst.interfaces python module bork.
13388
13389         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13390         available since GLib 2.2. Fixes #318031.
13391
13392 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13393
13394         * Makefile.am:
13395         * check/.cvsignore:
13396         * check/Makefile.am:
13397         * check/elements/.cvsignore:
13398         * check/elements/fakesrc.c:
13399         * check/elements/fdsrc.c:
13400         * check/elements/identity.c:
13401         * check/generic/.cvsignore:
13402         * check/generic/states.c:
13403         * check/gst-libs/.cvsignore:
13404         * check/gst-libs/controller.c:
13405         * check/gst-libs/gdp.c:
13406         * check/gst/.cvsignore:
13407         * check/gst/capslist.h:
13408         * check/gst/gst.c:
13409         * check/gst/gstbin.c:
13410         * check/gst/gstbuffer.c:
13411         * check/gst/gstbus.c:
13412         * check/gst/gstcaps.c:
13413         * check/gst/gstelement.c:
13414         * check/gst/gstevent.c:
13415         * check/gst/gstghostpad.c:
13416         * check/gst/gstiterator.c:
13417         * check/gst/gstmessage.c:
13418         * check/gst/gstminiobject.c:
13419         * check/gst/gstobject.c:
13420         * check/gst/gstpad.c:
13421         * check/gst/gstpipeline.c:
13422         * check/gst/gstplugin.c:
13423         * check/gst/gstsegment.c:
13424         * check/gst/gststructure.c:
13425         * check/gst/gstsystemclock.c:
13426         * check/gst/gsttag.c:
13427         * check/gst/gstutils.c:
13428         * check/gst/gstvalue.c:
13429         * check/net/.cvsignore:
13430         * check/net/gstnetclientclock.c:
13431         * check/net/gstnettimeprovider.c:
13432         * check/pipelines/.cvsignore:
13433         * check/pipelines/cleanup.c:
13434         * check/pipelines/simple_launch_lines.c:
13435         * check/pipelines/stress.c:
13436         * check/states/.cvsignore:
13437         * check/states/sinks.c:
13438         * configure.ac:
13439         * examples/Makefile.am:
13440         * examples/appreader/.cvsignore:
13441         * examples/appreader/Makefile.am:
13442         * examples/appreader/appreader.c:
13443         * examples/controller/.cvsignore:
13444         * examples/controller/Makefile.am:
13445         * examples/controller/audio-example.c:
13446         * examples/cutter/.cvsignore:
13447         * examples/cutter/Makefile.am:
13448         * examples/cutter/cutter.c:
13449         * examples/cutter/cutter.h:
13450         * examples/events/Makefile.am:
13451         * examples/events/seek.c:
13452         * examples/helloworld/.cvsignore:
13453         * examples/helloworld/Makefile.am:
13454         * examples/helloworld/helloworld.c:
13455         * examples/helloworld2/.cvsignore:
13456         * examples/helloworld2/Makefile.am:
13457         * examples/helloworld2/helloworld2.c:
13458         * examples/launch/.cvsignore:
13459         * examples/launch/Makefile.am:
13460         * examples/launch/mp3parselaunch.c:
13461         * examples/launch/mp3play:
13462         * examples/manual/.cvsignore:
13463         * examples/manual/Makefile.am:
13464         * examples/manual/extract.pl:
13465         * examples/metadata/Makefile.am:
13466         * examples/metadata/read-metadata.c:
13467         * examples/mixer/.cvsignore:
13468         * examples/mixer/Makefile.am:
13469         * examples/mixer/mixer.c:
13470         * examples/mixer/mixer.h:
13471         * examples/pingpong/.cvsignore:
13472         * examples/pingpong/Makefile.am:
13473         * examples/pingpong/pingpong.c:
13474         * examples/plugins/.cvsignore:
13475         * examples/plugins/Makefile.am:
13476         * examples/plugins/example.c:
13477         * examples/plugins/example.h:
13478         * examples/pwg/.cvsignore:
13479         * examples/pwg/Makefile.am:
13480         * examples/pwg/extract.pl:
13481         * examples/queue/.cvsignore:
13482         * examples/queue/Makefile.am:
13483         * examples/queue/queue.c:
13484         * examples/queue2/.cvsignore:
13485         * examples/queue2/Makefile.am:
13486         * examples/queue2/queue2.c:
13487         * examples/queue3/.cvsignore:
13488         * examples/queue3/Makefile.am:
13489         * examples/queue3/queue3.c:
13490         * examples/queue4/.cvsignore:
13491         * examples/queue4/Makefile.am:
13492         * examples/queue4/queue4.c:
13493         * examples/retag/.cvsignore:
13494         * examples/retag/Makefile.am:
13495         * examples/retag/retag.c:
13496         * examples/retag/transcode.c:
13497         * examples/thread/.cvsignore:
13498         * examples/thread/Makefile.am:
13499         * examples/thread/thread.c:
13500         * examples/typefind/.cvsignore:
13501         * examples/typefind/Makefile.am:
13502         * examples/typefind/typefind.c:
13503         * examples/xml/.cvsignore:
13504         * examples/xml/Makefile.am:
13505         * examples/xml/createxml.c:
13506         * examples/xml/runxml.c:
13507         * tests/Makefile.am:
13508         * tests/check/Makefile.am:
13509         * testsuite/.cvsignore:
13510         * testsuite/Makefile.am:
13511         * testsuite/Rules:
13512         * testsuite/caps/.cvsignore:
13513         * testsuite/caps/Makefile.am:
13514         * testsuite/caps/app_fixate.c:
13515         * testsuite/caps/audioscale.c:
13516         * testsuite/caps/caps.c:
13517         * testsuite/caps/caps.h:
13518         * testsuite/caps/caps_strings:
13519         * testsuite/caps/compatibility.c:
13520         * testsuite/caps/deserialize.c:
13521         * testsuite/caps/enumcaps.c:
13522         * testsuite/caps/eratosthenes.c:
13523         * testsuite/caps/filtercaps.c:
13524         * testsuite/caps/fixed.c:
13525         * testsuite/caps/fraction-convert.c:
13526         * testsuite/caps/fraction-multiply-and-zero.c:
13527         * testsuite/caps/intersect2.c:
13528         * testsuite/caps/intersection.c:
13529         * testsuite/caps/normalisation.c:
13530         * testsuite/caps/random.c:
13531         * testsuite/caps/renegotiate.c:
13532         * testsuite/caps/sets.c:
13533         * testsuite/caps/simplify.c:
13534         * testsuite/caps/string-conversions.c:
13535         * testsuite/caps/structure.c:
13536         * testsuite/caps/subtract.c:
13537         * testsuite/caps/union.c:
13538         * testsuite/debug/.cvsignore:
13539         * testsuite/debug/Makefile.am:
13540         * testsuite/debug/category.c:
13541         * testsuite/debug/commandline.c:
13542         * testsuite/debug/global.c:
13543         * testsuite/debug/output.c:
13544         * testsuite/debug/printf_extension.c:
13545         * testsuite/dlopen/.cvsignore:
13546         * testsuite/dlopen/Makefile.am:
13547         * testsuite/dlopen/dlopen_gst.c:
13548         * testsuite/dlopen/loadgst.c:
13549         * testsuite/elements/.cvsignore:
13550         * testsuite/elements/Makefile.am:
13551         * testsuite/elements/gst-inspect-check.in:
13552         * testsuite/elements/struct_i386.h:
13553         * testsuite/elements/struct_size.c:
13554         * testsuite/indexers/.cvsignore:
13555         * testsuite/indexers/Makefile.am:
13556         * testsuite/indexers/cache1.c:
13557         * testsuite/indexers/indexdump.c:
13558         * testsuite/parse/.cvsignore:
13559         * testsuite/parse/Makefile.am:
13560         * testsuite/parse/parse1.c:
13561         * testsuite/parse/parse2.c:
13562         * testsuite/plugin/.cvsignore:
13563         * testsuite/plugin/Makefile.am:
13564         * testsuite/plugin/README:
13565         * testsuite/plugin/dynamic.c:
13566         * testsuite/plugin/linked.c:
13567         * testsuite/plugin/loading.c:
13568         * testsuite/plugin/registry.c:
13569         * testsuite/plugin/static.c:
13570         * testsuite/plugin/static2.c:
13571         * testsuite/plugin/testplugin.c:
13572         * testsuite/plugin/testplugin2.c:
13573         * testsuite/plugin/testplugin2_s.c:
13574         * testsuite/plugin/testplugin_s.c:
13575         * testsuite/refcounting/.cvsignore:
13576         * testsuite/refcounting/Makefile.am:
13577         * testsuite/refcounting/bin.c:
13578         * testsuite/refcounting/element.c:
13579         * testsuite/refcounting/element_pad.c:
13580         * testsuite/refcounting/mainloop.c:
13581         * testsuite/refcounting/mem.c:
13582         * testsuite/refcounting/mem.h:
13583         * testsuite/refcounting/object.c:
13584         * testsuite/refcounting/pad.c:
13585         * testsuite/refcounting/sched.c:
13586         * testsuite/refcounting/thread.c:
13587         * testsuite/states/.cvsignore:
13588         * testsuite/states/Makefile.am:
13589         * testsuite/states/bin.c:
13590         * testsuite/states/locked.c:
13591         * testsuite/states/parent.c:
13592         * testsuite/threads/.cvsignore:
13593         * testsuite/threads/159566.c:
13594         * testsuite/threads/159852.c:
13595         * testsuite/threads/Makefile.am:
13596         * testsuite/threads/queue.c:
13597         * testsuite/threads/signals.c:
13598         * testsuite/threads/staticrec.c:
13599         * testsuite/threads/thread.c:
13600         * testsuite/threads/threadb.c:
13601         * testsuite/threads/threadc.c:
13602         * testsuite/threads/threadd.c:
13603         * testsuite/threads/threade.c:
13604         * testsuite/threads/threadf.c:
13605         * testsuite/threads/threadg.c:
13606         * testsuite/threads/threadh.c:
13607         * testsuite/threads/threadi.c:
13608           move all of these under tests
13609
13610 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13611
13612         * configure.ac:
13613         * tests/Makefile.am:
13614           fix distcheck
13615
13616 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13617
13618         * docs/gst/gstreamer-sections.txt:
13619         * tests/sched/.cvsignore:
13620         * tests/sched/Makefile.am:
13621         * tests/sched/cases/(fs-fs).xml:
13622         * tests/sched/cases/(fs-i-fs).xml:
13623         * tests/sched/cases/(fs-i-i-fs).xml:
13624         * tests/sched/cases/(fs-i-q[i-fs]).xml:
13625         * tests/sched/dynamic-pipeline.c:
13626         * tests/sched/interrupt1.c:
13627         * tests/sched/interrupt2.c:
13628         * tests/sched/interrupt3.c:
13629         * tests/sched/runtestcases:
13630         * tests/sched/runxml.c:
13631         * tests/sched/sched-stress.c:
13632         * tests/sched/sort.c:
13633         * tests/sched/testcases:
13634         * tests/sched/testcases1.tc:
13635         * tests/seeking/.cvsignore:
13636         * tests/seeking/Makefile.am:
13637         * tests/seeking/seeking1.c:
13638         * tests/threadstate/.cvsignore:
13639         * tests/threadstate/Makefile.am:
13640         * tests/threadstate/test1.c:
13641         * tests/threadstate/test2.c:
13642         * tests/threadstate/threadstate1.c:
13643         * tests/threadstate/threadstate2.c:
13644         * tests/threadstate/threadstate3.c:
13645         * tests/threadstate/threadstate4.c:
13646         * tests/threadstate/threadstate5.c:
13647           remove obsolete tests
13648         * configure.ac:
13649         * tests/bench-complexity.scm:
13650         * tests/bench-mass_elements.scm:
13651         * tests/complexity.c:
13652         * tests/complexity.gnuplot:
13653         * tests/instantiate/.cvsignore:
13654         * tests/instantiate/Makefile.am:
13655         * tests/instantiate/caps.c:
13656         * tests/mass_elements.c:
13657         * tests/network-clock-utils.scm:
13658         * tests/network-clock.scm:
13659         * tests/plot-data:
13660         First pass at cleaning up tests/ dir before moving the rest
13661         Combined with CVS surgery
13662
13663 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13664
13665         * po/POTFILES.in:
13666           queue has moved, update
13667
13668 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13669
13670         * docs/gst/gstreamer-sections.txt:
13671           remove double entries from the docs
13672         * gst/gst_private.h:
13673         * gst/gstinfo.c: (_gst_debug_init):
13674           remove the THREAD debug category
13675         * gst/Makefile.am:
13676         * gst/gstqueue.c:
13677         * gst/gstqueue.h:
13678         * docs/gst/gstreamer.types:
13679         * plugins/elements/gstqueue.c: (gst_queue_get_type),
13680         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
13681           completely move queue and fix up debugging categories
13682
13683 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13684
13685         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13686           make initialization portable, using LL is not
13687
13688 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13689
13690         * win32/common/gstconfig.h:
13691           add large padding
13692
13693 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13694
13695         * win32/common/libgstreamer.def:
13696           rename symbols; sort base section
13697
13698 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13699
13700         * gst/gstclock.c: (do_linear_regression):
13701           remove crack non-portable handrolled DEBUG macro
13702
13703 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13704
13705         * docs/random/release:
13706           update notes
13707         * win32/common/gstenumtypes.c: (register_gst_object_flags),
13708         (gst_object_flags_get_type), (register_gst_bin_flags),
13709         (gst_bin_flags_get_type), (register_gst_buffer_flag),
13710         (gst_buffer_flag_get_type), (register_gst_bus_flags),
13711         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
13712         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
13713         (gst_caps_flags_get_type), (register_gst_clock_return),
13714         (gst_clock_return_get_type), (register_gst_clock_entry_type),
13715         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
13716         (gst_clock_flags_get_type), (register_gst_state),
13717         (gst_state_get_type), (register_gst_state_change_return),
13718         (gst_state_change_return_get_type), (register_gst_state_change),
13719         (gst_state_change_get_type), (register_gst_element_flags),
13720         (gst_element_flags_get_type), (register_gst_core_error),
13721         (gst_core_error_get_type), (register_gst_library_error),
13722         (gst_library_error_get_type), (register_gst_resource_error),
13723         (gst_resource_error_get_type), (register_gst_stream_error),
13724         (gst_stream_error_get_type), (register_gst_event_type_flags),
13725         (gst_event_type_flags_get_type), (register_gst_event_type),
13726         (gst_event_type_get_type), (register_gst_seek_type),
13727         (gst_seek_type_get_type), (register_gst_seek_flags),
13728         (gst_seek_flags_get_type), (register_gst_format),
13729         (gst_format_get_type), (register_gst_index_certainty),
13730         (gst_index_certainty_get_type), (register_gst_index_entry_type),
13731         (gst_index_entry_type_get_type),
13732         (register_gst_index_lookup_method),
13733         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
13734         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
13735         (gst_index_resolver_method_get_type), (register_gst_index_flags),
13736         (gst_index_flags_get_type), (register_gst_debug_level),
13737         (gst_debug_level_get_type), (register_gst_debug_color_flags),
13738         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
13739         (gst_iterator_result_get_type), (register_gst_iterator_item),
13740         (gst_iterator_item_get_type), (register_gst_message_type),
13741         (gst_message_type_get_type), (register_gst_mini_object_flags),
13742         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
13743         (gst_pad_link_return_get_type), (register_gst_flow_return),
13744         (gst_flow_return_get_type), (register_gst_activate_mode),
13745         (gst_activate_mode_get_type), (register_gst_pad_direction),
13746         (gst_pad_direction_get_type), (register_gst_pad_flags),
13747         (gst_pad_flags_get_type), (register_gst_pad_presence),
13748         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
13749         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
13750         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
13751         (gst_plugin_error_get_type), (register_gst_plugin_flags),
13752         (gst_plugin_flags_get_type), (register_gst_rank),
13753         (gst_rank_get_type), (register_gst_query_type),
13754         (gst_query_type_get_type), (register_gst_tag_merge_mode),
13755         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
13756         (gst_tag_flag_get_type), (register_gst_task_state),
13757         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
13758         (gst_alloc_trace_flags_get_type),
13759         (register_gst_type_find_probability),
13760         (gst_type_find_probability_get_type), (register_gst_uri_type),
13761         (gst_uri_type_get_type), (register_gst_parse_error),
13762         (gst_parse_error_get_type):
13763         * win32/common/gstenumtypes.h:
13764         * win32/common/gstversion.h:
13765           update visual studio generated files
13766
13767 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13768
13769         * win32/vs6/libgstbase.dsp:
13770         * win32/vs6/libgstelements.dsp:
13771           update project files for new locations
13772
13773 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13774
13775         * Makefile.am:
13776           remove some files
13777         * README:
13778           reinstate and update
13779         * DEVEL:
13780         * REQUIREMENTS:
13781           removed
13782         * LICENSE:
13783         * docs/random/LICENSE:
13784           moved to random
13785
13786 2005-11-30  Edward Hervey  <edward@fluendo.com>
13787
13788         * gst/gsttypefind.c: (gst_type_find_register):
13789         * gst/gsttypefind.h:
13790         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
13791         (gst_type_find_factory_dispose):
13792         * gst/gsttypefindfactory.h:
13793         Fix memory leak in GstTypeFindFactory.
13794
13795 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13796
13797         * gst/gst.c:
13798         * plugins/elements/Makefile.am:
13799         * plugins/elements/gstelements.c:
13800         * plugins/elements/gstqueue.c:
13801           move queue from core to the elements plugin
13802
13803 2005-11-29  Andy Wingo  <wingo@pobox.com>
13804
13805         * libs/gst/base/gstbasetransform.h: 
13806         * libs/gst/base/gstbasesrc.h: 
13807         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
13808
13809         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
13810         of pointers by which to pad very extensible base classes (like the
13811         ones in libs/gst/base).
13812
13813 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13814
13815         * docs/gst/gstreamer-docs.sgml:
13816         * docs/gst/gstreamer-sections.txt:
13817         * docs/libs/gstreamer-libs-docs.sgml:
13818         * docs/libs/gstreamer-libs-sections.txt:
13819           moving documentation from core to lib
13820
13821 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13822
13823         * check/Makefile.am:
13824         * configure.ac:
13825         * docs/gst/Makefile.am:
13826         * gst/Makefile.am:
13827         * gst/base/.cvsignore:
13828         * gst/base/Makefile.am:
13829         * gst/base/README:
13830         * gst/base/gstadapter.c:
13831         * gst/base/gstadapter.h:
13832         * gst/base/gstbasesink.c:
13833         * gst/base/gstbasesink.h:
13834         * gst/base/gstbasesrc.c:
13835         * gst/base/gstbasesrc.h:
13836         * gst/base/gstbasetransform.c:
13837         * gst/base/gstbasetransform.h:
13838         * gst/base/gstcollectpads.c:
13839         * gst/base/gstcollectpads.h:
13840         * gst/base/gstpushsrc.c:
13841         * gst/base/gstpushsrc.h:
13842         * gst/base/gsttypefindhelper.c:
13843         * gst/base/gsttypefindhelper.h:
13844         * gst/check/Makefile.am:
13845         * gst/check/gstcheck.c:
13846         * gst/check/gstcheck.h:
13847         * gst/net/Makefile.am:
13848         * gst/net/gstnet.h:
13849         * gst/net/gstnetclientclock.c:
13850         * gst/net/gstnetclientclock.h:
13851         * gst/net/gstnettimepacket.c:
13852         * gst/net/gstnettimepacket.h:
13853         * gst/net/gstnettimeprovider.c:
13854         * gst/net/gstnettimeprovider.h:
13855         * libs/gst/Makefile.am:
13856         * libs/gst/base/Makefile.am:
13857         * libs/gst/base/gstbasetransform.c:
13858         * libs/gst/check/Makefile.am:
13859         * plugins/elements/Makefile.am:
13860         * po/POTFILES.in:
13861           CVS surgery + support to move base, check, and net out of gst
13862           and into libs/gst
13863
13864 2005-11-29  Andy Wingo  <wingo@pobox.com>
13865
13866         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
13867
13868         * gst/gststructure.h (struct _GstStructure): Only one pointer of
13869         padding.
13870
13871         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
13872
13873         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
13874
13875         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
13876
13877         * gst/gstobject.h: (struct _GstObject): Only one pointer of
13878         padding; reduces object size by about 30%. We don't expect
13879         anything else to go into gstobject.
13880
13881         * gst/gstminiobject.h (struct _GstMiniObject)
13882         (struct _GstMiniObjectClass): Only one pointer of padding; the
13883         payload is only a pointer and two ints anyway. For the class there
13884         are only two methods as well.
13885         
13886         * gst/gstelement.h (struct _GstElementClass): Removed
13887         the state_changed signal callback, it is not used.
13888
13889 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13890
13891         * docs/gst/gstreamer.types:
13892           fix includes, though they are a little dinky
13893
13894 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13895
13896         * check/Makefile.am:
13897           look in the right place for elements, a lot more chance of
13898           success
13899         * gst/Makefile.am:
13900           remove indexers and elements subdirs
13901         * plugins/Makefile.am:
13902           make indexers conditional
13903
13904 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13905
13906         * Makefile.am:
13907         * configure.ac:
13908         * plugins/elements/Makefile.am:
13909         * plugins/elements/gstcapsfilter.c:
13910         * plugins/elements/gstfilesink.c:
13911         * plugins/elements/gstfilesrc.c:
13912         * plugins/elements/gstidentity.c:
13913         * plugins/indexers/Makefile.am:
13914           do CVS surgery and related build fixery to move elements
13915           and indexers in a new gstreamer/plugins directory, out of the
13916           gst/ directory
13917
13918 2005-11-29  Andy Wingo  <wingo@pobox.com>
13919
13920         * check/Makefile.am:
13921         * pkgconfig/gstreamer-net-uninstalled.pc.in:
13922         * pkgconfig/gstreamer-net.pc.in:
13923         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
13924         #322257.
13925
13926 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13927
13928         * tools/Makefile.am:
13929         * tools/gst-complete.1.in:
13930         * tools/gst-complete.c:
13931         * tools/gst-compprep.1.in:
13932         * tools/gst-compprep.c:
13933           removing -compprep and -complete
13934
13935 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13936
13937         * gst/gstevent.c: (gst_event_new_new_segment),
13938         (gst_event_parse_new_segment):
13939         * gst/gstevent.h:
13940           fix #320529 - clean up new_segment API and structure.
13941           Let's hope everyone was using the methods, and not the structure.
13942
13943 2005-11-29  Edward Hervey  <edward@fluendo.com>
13944
13945         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13946         (gst_base_sink_event), (gst_base_sink_do_sync),
13947         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13948         Properly handle non GST_FORMAT_TIME segment
13949         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
13950         Properly handle non GST_FORMAT_TIME segment
13951         * gst/gstsegment.c:
13952         This function is valid if the accumulator is 0 and the format
13953         is different from the requested format.
13954         
13955 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13956
13957         * docs/gst/gstreamer-sections.txt:
13958         Add gst_query_new_seeking and gst_query_parse_seeking to the
13959         docs.
13960
13961 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
13962
13963         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13964           Treat a pad alloc with new caps the same as if we were not
13965           negotiated, in order to allow a changing upstream output
13966           to produce a new format of data.
13967
13968 2005-11-29  Edward Hervey  <edward@fluendo.com>
13969
13970         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13971         (gst_base_transform_event), (gst_base_transform_eventfunc):
13972         The event virtual method is now properly implemented, with a default
13973         handler
13974         Sub classes should call the parent_class event method. They should
13975         return FALSE if they had a problem handling the given event, or don't
13976         want GstBaseTransform to send that even downstream
13977         * gst/elements/gstidentity.c: (gst_identity_class_init),
13978         (gst_identity_init), (gst_identity_event),
13979         (gst_identity_transform_ip), (gst_identity_set_property),
13980         (gst_identity_get_property):
13981         * gst/elements/gstidentity.h:
13982         Added the single-segment boolean property.
13983         If set to TRUE, it will output a single segment of data, starting from
13984         0, will eat up all incoming newsegment, and modify the timestamp of the
13985         buffers accordingly
13986
13987 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
13988
13989         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
13990           Don't ref NULL target pad (#322751). Improve docs.
13991
13992 2005-11-29  Michael Smith  <msmith@fluendo.com>
13993
13994         * gst/gstregistryxml.c: (load_plugin):
13995           Don't crash if we failed to load a feature from a plugin. 
13996
13997 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13998
13999         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14000         (GST_START_TEST):
14001           use more check API and less GLib API
14002
14003 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14004
14005         * Makefile.am:
14006           don't run checks if we don't have check
14007         * common/check.mak:
14008           remove the registry when running make torture
14009         * docs/gst/gstreamer-sections.txt:
14010           remove second multiply
14011         * gst/gstqueue.c: (gst_queue_loop):
14012           fix a compile warning when disabling debug
14013
14014 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14015
14016         * gst/gstinfo.h:
14017         Hey! Let's print the pad name if the pointer != NULL instead
14018         of when it == NULL :-)
14019
14020 2005-11-28  Wim Taymans  <wim@fluendo.com>
14021
14022         * check/gst/gstutils.c: (GST_START_TEST):
14023         Updated check, add some scaling accuracy checking code.
14024
14025         * gst/gstutils.c: (gst_util_div128_64),
14026         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14027         (gst_util_uint64_scale_int):
14028         Fix 6 times faster division code. Optimize for common 
14029         1/1 and less common X/1 cases.
14030
14031 2005-11-28  Wim Taymans  <wim@fluendo.com>
14032
14033         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14034         More checks.
14035
14036         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14037         (do_linear_regression), (gst_clock_add_observation):
14038         Cleanups.
14039         Release lock when the clock cannot be slaved.
14040         Catch the case where the regression returned an invalid denominator.
14041
14042         * gst/gstutils.c: (gst_util_div128_64_iterate),
14043         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14044         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14045         Add protentially more performant non-iterative 128/64 divide function
14046         that unfortunatly does not work yet.
14047         Shortcut the trivial 0/X = 0 case.
14048         Remove the warnings on overflow.
14049
14050 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14051
14052         * gst/gstplugin.c: (gst_plugin_register_func):
14053           everything causing a plugin not to load should be at least a WARNING
14054
14055 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14056
14057         * docs/random/ensonic/dparams.txt:
14058           some TODOs for the next dev cycle
14059         * libs/gst/controller/gstcontroller.c:
14060         (gst_controlled_property_set_interpolation_mode),
14061         (gst_controlled_property_new):
14062         * libs/gst/controller/gstcontroller.h:
14063           use base type to assign acccessor functions
14064
14065 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14066
14067         * check/Makefile.am:
14068         Oops, that should have been top_srcdir
14069
14070 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14071
14072         * check/Makefile.am:
14073         * check/elements/fdsrc.c: (GST_START_TEST):
14074         Use a cmdline define to specify the location of a file to use for
14075         testing, to avoid breaking distcheck.
14076
14077 2005-11-28  Andy Wingo  <wingo@pobox.com>
14078
14079         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14080
14081 2005-11-28  Edward Hervey  <edward@fluendo.com>
14082
14083         * tools/gst-launch.c: (main):
14084         Clarify the output strings, makes it easier to translate.
14085         Fixes #322626
14086
14087 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14088
14089         * gst/Makefile.am:
14090           don't try and build net if we don't even have <sys/socket.h>
14091
14092 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14093
14094         * check/Makefile.am:
14095         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14096         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14097           Add tests for fdsrc seekability
14098
14099         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14100         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14101         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14102         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14103         * gst/elements/gstfdsrc.h:
14104           fdsrc should not be a 'live' source.
14105           Implement seeking on seekable fd's.
14106
14107         * gst/gstquery.c: (gst_query_new_seeking),
14108         (gst_query_parse_seeking):
14109         * gst/gstquery.h:
14110           Implement SEEKING query functions: 
14111             *_new_seeking and *_parse_seeking
14112
14113 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14114
14115         * gst/gstelement.c: (gst_element_dispose):
14116           don't loop forever
14117
14118         * gst/gstiterator.c:
14119         * gst/gststructure.c:
14120           doc fixes
14121
14122         * libs/gst/controller/gstcontroller.c:
14123         (gst_controlled_property_set_interpolation_mode):
14124         * libs/gst/controller/gstcontroller.h:
14125         * libs/gst/controller/gstinterpolation.c:
14126         (interpolate_none_get_enum_value_array):
14127           support controlling enums
14128
14129 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14130
14131         * gst/gstvalue.c:
14132           Improve documentation for gst_value_union().
14133
14134         * gst/gstvalue.h:
14135           Change return value for union, intersect and subtract functions
14136           from gint to gboolean.
14137
14138 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14139
14140         * gst/gstvalue.c: (gst_value_serialize_any_list),
14141         (gst_value_transform_any_list_string),
14142         (gst_value_deserialize_list), (gst_value_deserialize_array),
14143         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14144         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14145         (gst_value_set_fraction_range_full),
14146         (gst_value_deserialize_fraction_range),
14147         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14148         (gst_value_deserialize_boolean),
14149         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14150         (gst_value_serialize_float), (gst_value_deserialize_float),
14151         (gst_string_wrap), (gst_value_deserialize_string),
14152         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14153         (gst_value_union_int_range_int_range),
14154         (gst_value_intersect_int_range_int_range),
14155         (gst_value_intersect_double_range_double_range),
14156         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14157         (gst_value_subtract_int_range_int_range),
14158         (gst_value_subtract_double_double_range),
14159         (gst_value_subtract_double_range_double_range),
14160         (gst_value_deserialize_fraction):
14161         * gst/gstvalue.h:
14162           Use gint, gdouble and gchar in our API instead of int, double and
14163           char (and make usage in gstvalue.c more consistent).
14164
14165 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14166
14167         * check/Makefile.am:
14168         * libs/gst/controller/Makefile.am:
14169         * libs/gst/dataprotocol/Makefile.am:
14170           fix up Makefile.am and remove GST_ENABLE_NEW
14171
14172 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14173
14174         * configure.ac:
14175         * gst/Makefile.am:
14176         * gst/base/Makefile.am:
14177         * gst/check/Makefile.am:
14178         * gst/elements/Makefile.am:
14179         * gst/net/Makefile.am:
14180           update LDFLAGS use some more
14181
14182 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14183
14184         * common/m4/gst-doc.m4:
14185           Fixes #312589
14186
14187 2005-11-26  Edward Hervey  <edward@fluendo.com>
14188
14189         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14190         This shouldn't issue a g_warning since it returns NULL if it
14191         couldn't find the plugin, and all functions using this behave
14192         properly on a NULL return. Switching to a GST_WARNING.
14193
14194 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14195
14196         * gst/gstbin.c: (gst_bin_handle_message_func):
14197         Don't leak clock messages.
14198
14199 2005-11-25  Wim Taymans  <wim@fluendo.com>
14200
14201         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14202         (gst_util_uint64_scale_int):
14203         Optimisations, remove unneeded vars.
14204
14205 2005-11-25  Wim Taymans  <wim@fluendo.com>
14206
14207         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14208         Added more checks for the high precision uint64 cases.
14209
14210         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14211         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14212         Implement high precision (guint64 * guint64) / guint64.
14213
14214 2005-11-24  Wim Taymans  <wim@fluendo.com>
14215
14216         * gst/base/gstbasesrc.c: (gst_base_src_query):
14217         Fix wrong percentage query.
14218
14219         * gst/gstutils.c: (gst_util_uint64_scale),
14220         (gst_util_uint64_scale_int):
14221         Add some more common cases that can be handled 
14222         efficiently to _scale.
14223
14224 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14225
14226         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14227         (gst_mini_object_suite):
14228           don't use check calls from threads; check probably isn't
14229           threadsafe and using a lock to make it threadsafe would
14230           defeat the purpose of this check
14231         * gst/check/gstcheck.c:
14232         * gst/check/gstcheck.h:
14233           use GST_DEBUG some more
14234
14235 2005-11-24  Wim Taymans  <wim@fluendo.com>
14236
14237         * gst/gstutils.c: (gst_util_uint64_scale),
14238         (gst_util_uint64_scale_int):
14239         Chain trivial case to _scale_int.
14240
14241 2005-11-24  Wim Taymans  <wim@fluendo.com>
14242
14243         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14244         Added test for scaling.
14245
14246         * gst/gstclock.h:
14247         Small doc fix.
14248
14249         * gst/gstutils.c: (gst_util_uint64_scale_int):
14250         Implemented high precision scaling code.
14251
14252 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14253
14254         * gst/gstinfo.h:
14255           do not crash on pad==NULL
14256
14257 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14258
14259         Patch by: Stefan Kost
14260
14261         * common/gtk-doc.mak:
14262         * docs/gst/Makefile.am:
14263         * docs/libs/Makefile.am:
14264           Fix distcheck issues for the libraries docs build
14265           Closes #319599.
14266
14267 2005-11-24  Michael Smith <msmith@fluendo.com>
14268
14269         * docs/manual/basics-helloworld.xml:
14270           Fix bug #315027: memory leak in example code in docs.
14271
14272 2005-11-24  Michael Smith <msmith@fluendo.com>
14273
14274         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14275           Unlock the PREROLL_LOCK in a failure case.
14276
14277 2005-11-24  Wim Taymans  <wim@fluendo.com>
14278
14279         * docs/gst/gstreamer-sections.txt:
14280         * gst/base/gstadapter.h:
14281         * gst/base/gstbasesink.h:
14282         * gst/base/gstbasesrc.h:
14283         * gst/base/gstbasetransform.h:
14284         * gst/base/gstpushsrc.h:
14285         * gst/elements/gstfakesink.h:
14286         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14287         * gst/elements/gstfakesrc.h:
14288         * gst/elements/gstfilesink.h:
14289         * gst/elements/gstfilesrc.h:
14290         * gst/gst.c:
14291         * gst/gstbin.c:
14292         * gst/gstbuffer.c: (_gst_buffer_copy):
14293         * gst/gstbus.h:
14294         * gst/gstcaps.c:
14295         * gst/gstchildproxy.c:
14296         * gst/gstclock.c:
14297         * gst/gstelement.c:
14298         * gst/gstelementfactory.c:
14299         * gst/gstelementfactory.h:
14300         * gst/gstevent.c:
14301         * gst/gstghostpad.h:
14302         * gst/gstindex.h:
14303         * gst/gstinterface.h:
14304         * gst/gstminiobject.c:
14305         * gst/gstminiobject.h:
14306         * gst/gstpad.c:
14307         * gst/gstpad.h:
14308         * gst/gstpadtemplate.h:
14309         * gst/gstpipeline.h:
14310         * gst/gstpluginfeature.h:
14311         * gst/gstquery.h:
14312         * gst/gstqueue.h:
14313         * gst/gsttaglist.c:
14314         * gst/gsttaglist.h:
14315         * gst/gsttagsetter.c:
14316         * gst/gsttagsetter.h:
14317         * gst/gsttrace.c:
14318         * gst/gsttrace.h:
14319         * gst/gsttypefind.h:
14320         * gst/gsturi.h:
14321         * gst/gstvalue.c:
14322         * gst/net/gstnetclientclock.c:
14323         * gst/net/gstnetclientclock.h:
14324         * gst/net/gstnettimepacket.c:
14325         * gst/net/gstnettimeprovider.c:
14326         * gst/net/gstnettimeprovider.h:
14327         Doc fixes.
14328
14329 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14330
14331         * configure.ac: back to HEAD
14332
14333 === release 0.9.6 ===
14334
14335 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14336
14337         * configure.ac:
14338           releasing 0.9.6, "Always On Time"
14339
14340 2005-11-23  Wim Taymans  <wim@fluendo.com>
14341
14342         * docs/gst/gstreamer-sections.txt:
14343         * gst/glib-compat.c:
14344         * gst/gsttagsetter.c:
14345         * gst/gstvalue.c:
14346         * gst/net/gstnetclientclock.c:
14347         * gst/net/gstnettimepacket.h:
14348         Doc updates.
14349
14350 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14351
14352         * docs/faq/using.xml:
14353         * docs/libs/tmpl/gstcontrol.sgml:
14354         * docs/manual/advanced-dparams.xml:
14355         * docs/manual/appendix-checklist.xml:
14356         * docs/manual/basics-elements.xml:
14357         * docs/pwg/other-source.xml:
14358         * docs/random/moving-plugins:
14359         * gst/gstpad.c:
14360         * tools/gst-launch.1.in:
14361           remove mentions of sinesrc
14362
14363 2005-11-23  Michael Smith <msmith@fluendo.com>
14364
14365         * docs/gst/gstreamer-sections.txt:
14366           Update for new API and API changes.
14367         * gst/gstobject.h:
14368           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14369         * gst/gstvalue.c:
14370           Documentation typo fix.
14371         * gst/net/gstnettimepacket.c:
14372           Documentation fixes for arguments.
14373
14374 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
14375
14376         * gst/gststructure.c: (gst_structure_get_fraction),
14377         (gst_structure_parse_value),
14378         (gst_structure_fixate_field_nearest_fraction):
14379         * gst/gststructure.h:
14380         * gst/gstutils.c: (gst_util_uint64_scale_int):
14381         * gst/gstutils.h:
14382         * scripts/update-funcnames:
14383         API Changes. 
14384         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14385         Make gst_structure_fixate_field_nearest_fraction take a numerator
14386         and denominator argument instead of a GValue
14387         add gst_structure_get_fraction helper function.
14388
14389 2005-11-23  Wim Taymans  <wim@fluendo.com>
14390
14391         * docs/design/part-TODO.txt:
14392         Update TODO.
14393
14394         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14395         * gst/net/gstnetclientclock.h:
14396         Use parent fields for timeout and window_size.
14397
14398 2005-11-23  Andy Wingo  <wingo@pobox.com>
14399
14400         * check/net/gstnetclientclock.c (test_functioning): Adjust to
14401         rate_num/rate_denom change.
14402
14403         * gst/net/gstnetclientclock.c
14404         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14405         OBJECT_LOCK. Don't call add_observation with the lock.
14406
14407         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14408         fraction.
14409         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14410         rate fraction.
14411         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14412         deal with rate as a fraction whose numerator and denominator are
14413         GstClockTime values.
14414         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14415         master; the other fields are protected by the SLAVE_LOCK.
14416         (do_linear_regression): Note that this must be called with the
14417         SLAVE_LOCK.
14418         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14419         OBJECT_LOCK. Call set_calibration instead of touching the
14420         variables directly.
14421         (gst_clock_set_property, gst_clock_get_property): Protect
14422         master/slave parameters with the SLAVE_LOCK.
14423
14424         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14425         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14426         note that all of the instance variables that add_observation and
14427         the set_master functions use are protected by that lock and not
14428         the OBJECT_LOCK.
14429         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14430
14431         * gst/gstclock.c (gst_clock_add_observation): No longer requires
14432         the caller to take the object lock.
14433
14434 2005-11-23  Wim Taymans  <wim@fluendo.com>
14435
14436         * gst/gsterror.c: (_gst_core_errors_init):
14437         * gst/gsterror.h:
14438         Add error for clock stuff.
14439
14440         * gst/gstpipeline.c: (gst_pipeline_change_state),
14441         (gst_pipeline_set_clock):
14442         Post clock error when clock cannot be used in a pipeline.
14443
14444 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
14445
14446         * docs/gst/gstreamer-sections.txt:
14447           make two symbols from gstinfo private for the docs
14448         * gst/base/gstcollectpads.h:
14449         * gst/gstutils.c:
14450           fix doc typos, update docs
14451
14452 2005-11-22  Wim Taymans  <wim@fluendo.com>
14453
14454         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14455         (gst_base_sink_wait), (gst_base_sink_do_sync),
14456         (gst_base_sink_handle_event):
14457         * gst/base/gstbasesink.h:
14458         No need to store the clock, the parent element class already
14459         has it.
14460
14461         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14462         Updates for clock_set returning a gboolean
14463
14464         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14465         (gst_clock_id_wait_async), (gst_clock_class_init),
14466         (gst_clock_init), (gst_clock_finalize),
14467         (gst_clock_get_internal_time), (gst_clock_get_time),
14468         (gst_clock_slave_callback), (gst_clock_set_master),
14469         (gst_clock_get_master), (do_linear_regression),
14470         (gst_clock_add_observation), (gst_clock_set_property),
14471         (gst_clock_get_property):
14472         * gst/gstclock.h:
14473         Implement master/slave. When setting a clock as a slave, a
14474         periodic timeout is scheduled to sample master and slave times.
14475         Then the slave clock is recalibrated to match offset and rate
14476         of the master clock.
14477         Update logging a bit.
14478         Add flag so that a clock can state that is cannot be slaved to
14479         another clock.
14480
14481         * gst/gstelement.c: (gst_element_set_clock):
14482         * gst/gstelement.h:
14483         The set clock returns a gboolean for when an element cannot
14484         deal with the selected clock in the pipeline. 
14485
14486         * gst/gstpipeline.c: (gst_pipeline_change_state),
14487         (gst_pipeline_set_clock):
14488         * gst/gstpipeline.h:
14489         Handle the case where the selected clock cannot be set on
14490         the pipeline.
14491
14492         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14493         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14494         (gst_net_client_clock_set_property),
14495         (gst_net_client_clock_get_property),
14496         (gst_net_client_clock_observe_times):
14497         * gst/net/gstnetclientclock.h:
14498         Use regression code in GstClock parent, remove duplicated
14499         functionality.
14500
14501 2005-11-22  Michael Smith <msmith@fluendo.com>
14502
14503         * gst/gstutils.c: (gst_util_clock_time_scale):
14504         * gst/gstutils.h:
14505         * docs/gst/gstreamer-sections.txt:
14506           Rename method to have extra underscore.
14507
14508 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14509
14510         * gst/elements/Makefile.am:
14511         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14512         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14513         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14514         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14515         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14516         * gst/elements/gstfakesrc.h:
14517         * gst/gstqueue.c: (queue_leaky_get_type):
14518           correctly fix GEnumValues so that nick is the short lowercase
14519           dashed tag
14520         * tools/gst-inspect.c: (print_element_properties_info):
14521           also show the nick, since it's useful to use from parse_launch
14522           syntax
14523           Fixes #322139
14524
14525 2005-11-22  Michael Smith <msmith@fluendo.com>
14526
14527         * gst/gstutils.c: (gst_util_clocktime_scale):
14528         * gst/gstutils.h:
14529         * docs/gst/gstreamer-sections.txt:
14530           Add util method for scaling a clocktime by a fraction. Useful 
14531           implementation is left as an exercise for the reader.
14532
14533 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14534
14535         * gst/gstvalue.c: (gst_value_collect_fraction_range):
14536         If needed, allocate storage in the destination value during
14537         collection.
14538
14539 2005-11-22  Edward Hervey  <edward@fluendo.com>
14540
14541         * docs/gst/gstreamer-sections.txt:
14542         * gst/Makefile.am:
14543         * gst/gst.h:
14544         * gst/gsturitype.c:
14545         * gst/gsturitype.h:
14546         * gst/gstutils.c: (gst_util_set_object_arg):
14547         * tools/gst-compprep.c: (main):
14548         * tools/gst-inspect.c: (print_element_properties_info):
14549         Removed GstURI, closes bug #321061
14550
14551 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14552
14553         * check/gst/gststructure.c: (GST_START_TEST):
14554         * gst/gststructure.c: (gst_structure_parse_value):
14555           Oops, broke automatic string type parsing.
14556           Add a test to catch it in future.
14557
14558 2005-11-22  Andy Wingo  <wingo@pobox.com>
14559
14560         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
14561         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14562         Actually rename the function implementations. Grr.
14563
14564 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14565
14566         * check/gst/capslist.h:
14567           Comment test cases
14568         * check/gst/gststructure.c: (GST_START_TEST),
14569         (gst_structure_suite):
14570           Test automatic value type detection in gst_structure_from_string.
14571         * gst/gststructure.c: (gst_structure_parse_value):
14572           Add fraction as a type we try and guess automatically in
14573           caps/structure strings.
14574
14575 2005-11-22  Andy Wingo  <wingo@pobox.com>
14576
14577         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14578
14579         * gst/gsttagsetter.h:
14580         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14581         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14582         (gst_tag_setter_add_tag_valist)
14583         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14584         _add_values, _add_valist, and _add_valist_values. Since this is an
14585         interface the function suffixes should be more explicit so
14586         language binding don't end up with element.add_valist ->
14587         gst_tag_setter_add_valist, for example. Fixes #322069.
14588
14589 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14590
14591         * check/gst/gstcaps.c: (GST_START_TEST):
14592           Extend caps string tests to check that a caps to string
14593           conversion is reversible and produces the same caps.
14594
14595         * gst/gststructure.c: (gst_structure_value_get_generic_type):
14596           Output "fraction" as the generic type fraction range, so caps
14597           serialisation and deserialisation works.
14598         * check/gst/capslist.h:
14599         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14600           Support 'MIN' and 'MAX' for deserialising fractions.
14601
14602 2005-11-22  Andy Wingo  <wingo@pobox.com>
14603
14604         * gst/gstevent.h (gst_event_new_new_segment)
14605         (gst_event_parse_new_segment, gst_event_new_buffer_size)
14606         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14607         Renamed from *_newsegment, *_buffersize, *_notarget.
14608
14609         * scripts/update-funcnames: New script, performs the changes
14610         listed above.
14611
14612 2005-11-22  Wim Taymans  <wim@fluendo.com>
14613
14614         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14615         Make sure the GstFlowReturn is returned.
14616
14617         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
14618         (gst_bus_add_signal_watch):
14619         * gst/gstbus.h:
14620         add gst_bus_add_signal_watch_full.
14621
14622         * gst/gstplugin.c: (gst_plugin_load_file):
14623         Small style cleanup.
14624
14625 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14626
14627         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
14628           Block the fakesrc srcpad when we send an event, to avoid
14629           contention on the stream_lock causing random test failures.
14630
14631 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14632
14633         * check/gst/gstvalue.c: (GST_START_TEST):
14634         * gst/gstvalue.c: (gst_value_fraction_subtract):
14635           Fix subtraction.
14636
14637 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
14638
14639         * gst/gst.h:
14640           include "gstchildproxy.h"
14641         * gst/gstchildproxy.h:
14642         * libs/gst/controller/gstcontroller.h:
14643           use G_GNUC_NULL_TERMINATED
14644
14645 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
14646
14647         * check/gst/capslist.h:
14648         * check/gst/gstcaps.c: (GST_START_TEST):
14649         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14650         * gst/gststructure.c: (gst_structure_parse_range),
14651         (gst_structure_fixate_field_nearest_fraction):
14652         * gst/gststructure.h:
14653         * gst/gstvalue.c: (gst_value_init_fraction_range),
14654         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
14655         (gst_value_collect_fraction_range),
14656         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
14657         (gst_value_set_fraction_range_full),
14658         (gst_value_get_fraction_range_min),
14659         (gst_value_get_fraction_range_max),
14660         (gst_value_serialize_fraction_range),
14661         (gst_value_transform_fraction_range_string),
14662         (gst_value_compare_fraction_range),
14663         (gst_value_deserialize_fraction_range),
14664         (gst_value_intersect_fraction_fraction_range),
14665         (gst_value_intersect_fraction_range_fraction_range),
14666         (gst_value_subtract_fraction_fraction_range),
14667         (gst_value_subtract_fraction_range_fraction),
14668         (gst_value_subtract_fraction_range_fraction_range),
14669         (gst_value_collect_fraction), (gst_value_fraction_multiply),
14670         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
14671         (gst_value_transform_string_fraction), (_gst_value_initialize):
14672         * gst/gstvalue.h:
14673           Implement fraction ranges and extend GstFraction to support
14674           arithmetic subtraction, as well as deserialization from integer
14675           strings such as "100"
14676           Add a testsuite as for int and double range set operations
14677
14678 2005-11-21  Andy Wingo  <wingo@pobox.com>
14679
14680         * gst/gsttaglist.h: 
14681         * gst/gstcaps.h: 
14682         * gst/gststructure.h: Add glib-compat.h.
14683
14684 2005-11-21  Wim Taymans  <wim@fluendo.com>
14685
14686         * gst/gstbin.c: (gst_bin_change_state_func):
14687         Fix for #321595
14688
14689 2005-11-21  Wim Taymans  <wim@fluendo.com>
14690
14691         * gst/gstsegment.h:
14692         And add a nice define too.
14693
14694 2005-11-21  Wim Taymans  <wim@fluendo.com>
14695
14696         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
14697         (gst_segment_new), (gst_segment_free), (gst_segment_init),
14698         (gst_segment_set_duration), (gst_segment_set_last_stop),
14699         (gst_segment_set_seek), (gst_segment_set_newsegment),
14700         (gst_segment_to_stream_time), (gst_segment_to_running_time),
14701         (gst_segment_clip):
14702         * gst/gstsegment.h:
14703         Make binding friendly.
14704
14705 2005-11-21  Andy Wingo  <wingo@pobox.com>
14706
14707         * gst/gsttagsetter.h: 
14708         * gst/gsttaglist.h: 
14709         * gst/gststructure.h: 
14710         * gst/gstcaps.h: 
14711         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
14712         #319940.
14713
14714         * gst/gsterror.c (_gst_core_errors_init):
14715         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
14716         category.
14717
14718         * gst/Makefile.am (gst_headers): Add glib-compat.h.
14719         (noinst_HEADERS): noinst the -private.
14720
14721 2005-11-21  Michael Smith <msmith@fluendo.com>
14722
14723         * gst/gstplugin.h:
14724         * gst/gstregistry.h:
14725           Remove unimplemented declarations for which we can see no sensible
14726           use.
14727
14728 2005-11-21  Andy Wingo  <wingo@pobox.com>
14729
14730         * gst/gst.h: Include glib-compat.h.
14731
14732         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
14733
14734         * gst/glib-compat.c: Include the public and the private header.
14735
14736         * gst/glib-compat-private.h: Copied here from glib-compat.h.
14737
14738         * gst/gstvalue.c: 
14739         * gst/gstpad.c: 
14740         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
14741
14742         * check/gst/gstevent.c (create_custom_events): Check that
14743         FLUSH_STOP is serialized.
14744
14745         * check/elements/identity.c (event_func): 
14746         * check/elements/fakesrc.c (event_func): No stream lock, the core
14747         takes it.
14748
14749         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
14750         stream lock taking, yay.
14751
14752         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
14753         ensure that core takes the stream lock.
14754
14755         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
14756         lock name change.
14757
14758         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
14759         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
14760         it already. For the flush start we do take it though so we get the
14761         right preroll state change messages.
14762
14763         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
14764         the stream lock here, the core does it for us.
14765
14766         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
14767         GST_STREAM_GET_LOCK.
14768         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
14769         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
14770         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
14771         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
14772         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
14773         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
14774
14775         * gst/gstpad.c: Update for stream lock name change.
14776
14777         * gst/base/gstbasesink.c: Update for preroll lock name change.
14778
14779 2005-11-21  Wim Taymans  <wim@fluendo.com>
14780
14781         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
14782         (gst_clock_get_master):
14783         * gst/gstclock.h:
14784         * gst/gstsystemclock.c: (gst_system_clock_init):
14785         Convert Clock flags to object flags.
14786         Added methods to manage master/slave clocks.
14787
14788 2005-11-21  Wim Taymans  <wim@fluendo.com>
14789
14790         * check/gst/gstsegment.c: (GST_START_TEST):
14791         * docs/design/part-TODO.txt:
14792         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14793         (gst_base_sink_event), (gst_base_sink_do_sync),
14794         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14795         (gst_base_sink_query), (gst_base_sink_change_state):
14796         * gst/base/gstbasesink.h:
14797         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
14798         (gst_base_src_default_newsegment),
14799         (gst_base_src_configure_segment), (gst_base_src_do_seek),
14800         (gst_base_src_get_range), (gst_base_src_loop),
14801         (gst_base_src_change_state):
14802         * gst/base/gstbasesrc.h:
14803         * gst/base/gstbasetransform.c:
14804         (gst_base_transform_prepare_output_buf),
14805         (gst_base_transform_event), (gst_base_transform_change_state):
14806         * gst/base/gstbasetransform.h:
14807         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14808         (gst_collect_pads_event):
14809         * gst/base/gstcollectpads.h:
14810         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
14811         (gst_fake_src_create):
14812         * gst/elements/gstfakesrc.h:
14813         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14814         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
14815         (gst_segment_set_last_stop), (gst_segment_set_seek),
14816         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14817         (gst_segment_to_running_time), (gst_segment_clip):
14818         * gst/gstsegment.h:
14819         More segment updates, replace code in plugins with segment
14820         helper functions.
14821
14822 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14823
14824         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
14825         Don't ignore sscanf results
14826
14827 2005-11-21  Andy Wingo  <wingo@pobox.com>
14828
14829         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
14830
14831         * *.h:
14832         * *.c: Ran scripts/update-macros. Oh yes.
14833
14834         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
14835         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
14836         GST_GET_LOCK, etc.
14837
14838         * scripts/update-macros: New script. Run it on your files to
14839         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
14840         well.
14841
14842 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14843
14844         * docs/gst/Makefile.am:
14845         * docs/gst/gstreamer-docs.sgml:
14846         * docs/gst/gstreamer-sections.txt:
14847         * docs/gst/gstreamer.types:
14848         * gst/gstinfo.h:
14849           more docs fixes, add new api to the docs
14850
14851 2005-11-21  Andy Wingo  <wingo@pobox.com>
14852
14853         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
14854         state_broadcast call.
14855
14856         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
14857
14858 2005-11-21  Julien MOUTTE  <julien@moutte.net>
14859
14860         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
14861         function calls for arrays.
14862
14863 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
14864
14865         * docs/random/ensonic/media-device-daemon.txt:
14866           wild idea, can this be done?
14867         * docs/gst/gstreamer-sections.txt:
14868         * gst/gsterror.h:
14869         * gst/gstfilter.c:
14870         * gst/gstfilter.h:
14871         * gst/gstplugin.h:
14872         * gst/gstpluginfeature.c:
14873         * gst/gsttrace.c:
14874         * gst/gstvalue.c:
14875         * gst/gstvalue.h:
14876           doc fixes and additions
14877
14878 2005-11-21  Andy Wingo  <wingo@pobox.com>
14879
14880         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
14881         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
14882         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
14883         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
14884         private to the basesrc implementation.
14885
14886         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
14887         behalf of event function if necessary. It should no longer be
14888         necessary to take the stream lock in pad's event functions. Fixes
14889         #320299.
14890
14891 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14892         * docs/gst/gstreamer-sections.txt:
14893         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
14894         (gst_structure_fixate_field_nearest_double),
14895         (gst_structure_fixate_field_boolean):
14896         * gst/gststructure.h:
14897         * win32/common/libgstreamer.def:
14898         * win32/gstreamer.def:
14899
14900         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
14901         (#322027)
14902
14903 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
14904
14905         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
14906         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
14907         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
14908         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
14909         (gst_fdsrc_uri_handler_init):
14910         * gst/elements/gstfdsrc.h:
14911           Port fd:// URI handler from 0.8 to fdsrc
14912
14913 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14914
14915         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
14916         (gst_value_serialize_fourcc):
14917         * gst/gstvalue.h:
14918           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
14919           consistent with our other format defines (#320324).
14920
14921 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14922
14923         * gst/gstvalue.c: (gst_value_is_fixed):
14924           Revert previous commit. Value lists are by definition
14925           not fixed, as they are a list of possible values.
14926
14927 2005-11-21  Andy Wingo  <wingo@pobox.com>
14928
14929         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
14930         during the stable series if we need it. Fixes #319178.
14931
14932         * gst/gstevent.c (gst_event_new_filler): Removed.
14933
14934         * check/gst/gstevent.c: Update comment about filler events.
14935
14936 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14937
14938         * gst/gstvalue.c: (gst_value_is_fixed):
14939           Should handle both value arrays and value lists.
14940
14941 2005-11-21  Andy Wingo  <wingo@pobox.com>
14942
14943         patch by: Alessandro Dessina <alessandro nnva org>
14944
14945         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
14946         functions to access arrays. Fixes #321962.
14947
14948 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14949
14950         * docs/gst/gstreamer.types:
14951           gst_collectpads_get_type => gst_collect_pads_get_type.
14952           
14953         * gst/base/gstbasetransform.c:
14954           Remove unused SIGNAL_HANDOFF enum.
14955
14956 2005-11-21  Andy Wingo  <wingo@pobox.com>
14957
14958         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
14959         the event type (upstream, downstream, serialized). Renamed
14960         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
14961         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
14962         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
14963
14964         * gst/gstevent.c: Update for new CUSTOM event names.
14965
14966         * check/gst/gstevent.c: Update check for new CUSTOM event names.
14967
14968         * gst/gstevent.h:
14969         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
14970         bug #319392.
14971
14972 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14973
14974         * docs/gst/gstreamer-sections.txt:
14975         * win32/common/libgstbase.def:
14976         * win32/libgstbase.def:
14977         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14978         (gst_collect_pads_class_init), (gst_collect_pads_init),
14979         (gst_collect_pads_finalize), (gst_collect_pads_new),
14980         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
14981         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
14982         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
14983         (gst_collect_pads_start), (gst_collect_pads_stop),
14984         (gst_collect_pads_peek), (gst_collect_pads_pop),
14985         (gst_collect_pads_available), (gst_collect_pads_read),
14986         (gst_collect_pads_flush), (gst_collect_pads_event),
14987         (gst_collect_pads_chain):
14988         * gst/base/gstcollectpads.h:
14989           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
14990           unimplemented functions as unimplemented. Add padding to
14991           GstCollectData. (#320766, #320423)
14992
14993 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
14994
14995         * gst/gstmessage.c:
14996           Improve docs for DURATION message (usage of duration parameter)
14997           (#320113)
14998
14999 2005-11-20  Wim Taymans  <wim@fluendo.com>
15000
15001         * check/Makefile.am:
15002         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15003         (main):
15004         * gst/Makefile.am:
15005         * gst/gst.h:
15006         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15007         (gst_segment_set_seek), (gst_segment_set_newsegment),
15008         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15009         (gst_segment_clip):
15010         * gst/gstsegment.h:
15011         Added segment helper structure and methods. Not fully implemented
15012         yet.
15013         Added segment check.
15014
15015 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15016
15017         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15018           Add a deserialisation test for fractions
15019         * examples/metadata/read-metadata.c: (message_loop),
15020         (make_pipeline), (main):
15021           Fix up metadata reading sample.
15022         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15023           Debug format fix
15024         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15025           Don't try and fixate empty caps
15026         * gst/gst_private.h:
15027           Wrap in G_BEGIN_DECLS/G_END_DECLS
15028         * gst/gstvalue.c: (gst_value_collect_fraction),
15029         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15030         (gst_value_transform_string_fraction),
15031         (gst_value_compare_fraction):
15032           Add some extra guards to ensure that we don't end up 
15033           with an invalid denominator of 0 in a gstfraction and
15034           that fractions always get reduced.
15035
15036 2005-11-20  Wim Taymans  <wim@fluendo.com>
15037
15038         * docs/gst/gstreamer-sections.txt:
15039         * gst/gstbuffer.h:
15040         * gst/gstelement.c:
15041         * gst/gstformat.c:
15042         * gst/gstformat.h:
15043         * gst/gstindex.h:
15044         * gst/gstquery.c:
15045         * gst/gstquery.h:
15046         * gst/gstvalue.c:
15047         Doc fixes.
15048
15049 2005-11-20  Wim Taymans  <wim@fluendo.com>
15050
15051         * docs/design/part-TODO.txt:
15052         * gst/gstcaps.h:
15053         Make a proper enum of the flag.
15054
15055 2005-11-19  Wim Taymans  <wim@fluendo.com>
15056
15057         * docs/design/part-TODO.txt:
15058         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15059         (gst_format_to_quark), (gst_format_register):
15060         * gst/gstformat.h:
15061         * gst/gstquery.c: (_gst_query_initialize),
15062         (gst_query_type_get_name), (gst_query_type_to_quark),
15063         (gst_query_type_register):
15064         * gst/gstquery.h:
15065         Add type to quark and type to string conversions.
15066
15067 2005-11-19  Andy Wingo  <wingo@pobox.com>
15068
15069         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15070         #320097.
15071
15072 2005-11-19  Wim Taymans  <wim@fluendo.com>
15073
15074         * docs/design/part-TODO.txt:
15075         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15076         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15077         (gst_bin_handle_message_func):
15078         * gst/gstbin.h:
15079         Make message handling overridable.
15080
15081 2005-11-19  Andy Wingo  <wingo@pobox.com>
15082
15083         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15084
15085         * gst/gstclock.h:
15086         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15087         be a GstClockTime.
15088         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15089         is a GstClockTime. Fixes #321710.
15090
15091         * gst/gstclock.h (GstClock): Remove offset property. Add
15092         internal_calibration and external_calibration. Fix padding. Pad
15093         also by GstClockTime so we don't run into problems.
15094
15095         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15096         (gst_clock_get_rate_offset): Remove.
15097         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15098
15099         * gst/gstutils.h:
15100         * gst/gstutils.c (g_static_rec_cond_wait)
15101         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15102
15103         * gst/gstbin.c: Remove terrible continue_state prototype.
15104
15105         * gst/gstelement.h (gst_element_continue_state): Make public.
15106
15107         * gst/gstelement.h:
15108         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15109         by continue_state. Fixes #319389.
15110
15111         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15112         Really fixes #168438. However I don't see anywhere where the
15113         filter function is called... stupid GStreamer...
15114         
15115         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15116         don't have a dispose function, so it won't get called when the
15117         object is unreffed, but oh well!
15118
15119         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15120         allows a destroy function to be set so user_data can be freed.
15121         Fixes #168438.
15122         (gst_index_set_filter): Call gst_index_set_filter_full.
15123
15124         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15125
15126         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15127         string should produce an error, given the lack of a way to
15128         represent NULL strings. Fixes #165650.
15129         
15130         * gst/gstvalue.h: 
15131         * gst/gstvalue.c (gst_value_array_append_value) 
15132         (gst_value_array_prepend_value, gst_value_array_get_size) 
15133         (gst_value_array_get_value): New API, copied from
15134         gst_value_list_*, only operates on arrays.
15135         (gst_value_list_append_value, gst_value_list_prepend_value) 
15136         (gst_value_list_concat, gst_value_list_get_size) 
15137         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15138
15139         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15140         init_list, because it works on both.
15141         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15142         (gst_value_copy_list_or_array): Renamed from copy_list.
15143         (gst_value_free_list_or_array): Renamed from free_list.
15144         (gst_value_collect_list_or_array): Renamed from collect_list.
15145         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15146         (gst_value_list_or_array_peek_pointer): Renamed from
15147         list_peek_pointer.
15148         (_gst_value_array_value_table, _gst_value_list_value_table):
15149         Update value table functions.
15150         (gst_value_compare_list_or_array): Renamed from compare_list.
15151
15152         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15153         some constness.
15154
15155         * gst/gsttaglist.c:
15156         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15157         GstTagList*. Fixes #143472.
15158
15159         * gst/gststructure.h: Clarify what the foreach/map functions can
15160         or can't do to their arguments.
15161
15162 2005-11-18  Wim Taymans  <wim@fluendo.com>
15163
15164         * gst/gstclock.c: (gst_clock_set_calibration),
15165         (gst_clock_get_calibration):
15166         Doc and API fixes.
15167         Calibration can be set with internal time equal to current
15168         internal time too.
15169
15170 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15171
15172         * gst/gsterror.c:
15173         * gst/gsterror.h:
15174           document
15175
15176 2005-11-18  Andy Wingo  <wingo@pobox.com>
15177
15178         * configure.ac: 
15179         * pkgconfig/gstreamer-net.pc.in:
15180         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15181         * pkgconfig/Makefile.am: Add net pkgconfig files.
15182
15183 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15184
15185         * gst/gstcaps.c:
15186         * gst/gstghostpad.c:
15187         * gst/gsttrace.c:
15188         * gst/gstvalue.c:
15189         * gst/gstvalue.h:
15190           docs fixes
15191
15192 2005-11-18  Andy Wingo  <wingo@pobox.com>
15193
15194         * gst/net/gstnetclientclock.c: Turn off debugging.
15195
15196         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15197         times connverge somewhat. Can't make a real test.
15198
15199         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15200         integer arithmetic. Return the minimum of the domain, which can be
15201         set as "internal" for gst_clock_set_calibration.
15202         (gst_net_client_clock_observe_times): Call _set_calibration.
15203         (gst_net_client_clock_new): Call _set_calibration instead of
15204         rate_offset.
15205
15206         * check/net/gstnetclientclock.c (test_functioning): Use the right
15207         adjustment api.
15208
15209         * gst/gstclock.h:
15210         * gst/gstclock.c (gst_clock_get_calibration) 
15211         (gst_clock_set_calibration): New functions, obsolete the ones I
15212         added yesterday. Doh. Precision issues mean we have to extrapolate
15213         from a point in the more recent past than 1970.
15214         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15215         obsolete.
15216         (gst_clock_adjust_unlocked): Use the right calibration data.
15217
15218 2005-11-18  Edward Hervey  <edward@fluendo.com>
15219
15220         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15221         Also reset the ->current_* values in READY->PAUSED
15222
15223 2005-11-18  Andy Wingo  <wingo@pobox.com>
15224
15225         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15226         Whoops, check the right fd. Also add some debugging.
15227         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15228         (do_linear_regression): Add a crapload of debugging. Subtract off
15229         the minimum values from the input series to discard unneeded bits.
15230         Use only int arithmetic. There is still double arithmetic when
15231         calculating the intercept that needs fixing. Return boolean to
15232         indicate success; FALSE would mean the domain or range is too
15233         great. Still needs fixes.
15234
15235 2005-11-18  Wim Taymans  <wim@fluendo.com>
15236
15237         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15238         For the current position in stream time, we need to subtract
15239         accumulated time.
15240         
15241         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15242         Release lock before calling the callback function of async
15243         entries.
15244
15245 2005-11-18  Andy Wingo  <wingo@pobox.com>
15246
15247         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15248         Port goes all the way to MAXUINT16.
15249
15250         * gst/net/gstnettimeprovider.c: Make the port range the same as
15251         for the kernel: 0 assigns, otherwise ports are less than
15252         MAXUINT16.
15253
15254         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15255         port change.
15256
15257         * check/net/gstnetclientclock.c (test_functioning): Add the start
15258         of another test. 
15259
15260 2005-11-18  Wim Taymans  <wim@fluendo.com>
15261
15262         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15263         (gst_bin_remove_func), (bin_bus_handler):
15264         * gst/gstbin.h:
15265         Removing a clock provider from a bin, triggers a clock lost message
15266         so that a new clock will be selected.
15267         Adding a clock to a bin triggers a clock provider message.
15268         Make sure we reselect a clock when we received a clock lost message.
15269         Keep a reference to the element that provided the clock.
15270
15271 2005-11-18  Andy Wingo  <wingo@pobox.com>
15272
15273         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15274         the clock initially so it produces values around the base time.
15275         (gst_net_client_clock_class_init): Typo fix.
15276         (gst_net_client_clock_thread): Add note on when the socket gets
15277         closed.
15278
15279 2005-11-17  Wim Taymans  <wim@fluendo.com>
15280
15281         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15282         Free remote and local time arrays.
15283
15284 2005-11-17  Wim Taymans  <wim@fluendo.com>
15285
15286         * gst/net/gstnetclientclock.c: (do_linear_regression),
15287         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15288         Fix compilation, uninitialized vars and a forgotten continue.
15289
15290 2005-11-17  Andy Wingo  <wingo@pobox.com>
15291
15292         * check/Makefile.am (check_PROGRAMS): 
15293         * check/net/gstnetclientclock.c: Add a most minimal test for the
15294         net client clock. More to come later.
15295
15296         * gst/net/gstnet.h: 
15297         * gst/net/Makefile.am: Add netclientclock.
15298
15299         * gst/net/gstnetclientclock.h:
15300         * gst/net/gstnetclientclock.c: New files, implement an untested
15301         GstClock that takes its time from a network time provider.
15302         Implements the algorithm in network-clock.scm.
15303
15304         * tests/network-clock.scm (*window-size*): Rename from
15305         *queue-length*.
15306         * tests/network-clock.scm (network-time): 
15307         * tests/network-clock-utils.scm (q-push): Update callers.
15308
15309 2005-11-17  Wim Taymans  <wim@fluendo.com>
15310
15311         * gst/gstbin.c: (gst_bin_provide_clock_func),
15312         (gst_bin_sort_iterator_new):
15313         And unref the child too..
15314
15315 2005-11-17  Wim Taymans  <wim@fluendo.com>
15316
15317         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15318         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15319         Refactor the sort iterator so it can be used while holding the
15320         LOCK too.
15321         Make clock selection select a clock closest to the source.
15322
15323 2005-11-17  Michael Smith <msmith@fluendo.com>
15324
15325         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15326         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15327         * gst/gstclock.h:
15328           Anonymous structs are a gcc (and some other compilers) extension, so
15329           don't use them. Since this is only for ABI-compatibility, and our
15330           API/ABI freeze is over in a few days, this whole thing will only
15331           last a few days, so don't bother trying to think up a meaningful
15332           name for the struct.
15333
15334 2005-11-17  Andy Wingo  <wingo@pobox.com>
15335
15336         * gst/gstclock.h (GstClock): Add rate and offset properties,
15337         preserving ABI stability. Add rate/offset accessors. Will file bug
15338         for the freeze break.
15339
15340         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15341         and offset, trying to keep precision and avoiding
15342         underflow/overflow.
15343         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15344         functions. Make gst_clock_set_time_adjust obsolete.
15345         (gst_clock_set_time_adjust): Note that this function is obsolete.
15346         Will file bug soon.
15347
15348         * gst/base/gstbasetransform.h: Make the ABI-stability hack
15349         greppable by using GST_PADDING-1+1.
15350
15351 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
15352
15353         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15354
15355         * gst/gstmessage.c: (gst_message_parse_clock_lost):
15356           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15357
15358         * gst/gstpadtemplate.h:
15359         * gst/gstpluginfeature.h:
15360           Don't use c++ style comments in headers (#321638).
15361
15362 2005-11-16  Andy Wingo  <wingo@pobox.com>
15363
15364         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15365         buffer.
15366
15367         * check/net/gstnettimeprovider.c: Check to see that the time
15368         provider actually provides times. Works, yo!
15369
15370 2005-11-16  Wim Taymans  <wim@fluendo.com>
15371
15372         * check/Makefile.am:
15373         Enable more tests.
15374
15375         * check/elements/fakesrc.c: (GST_START_TEST):
15376         Set element to NULL before disposing it.
15377
15378 2005-11-16  Andy Wingo  <wingo@pobox.com>
15379
15380         * gst/net/Makefile.am:
15381         * gst/net/gstnet.h:
15382         * gst/net/gstnettimeprovider.c: 
15383         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15384         provider, include it from gstnet.h, and add it to the build.
15385
15386         * gst/net/gstnettimepacket.h: 
15387         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15388         sending and receiving.
15389
15390 2005-11-16  Wim Taymans  <wim@fluendo.com>
15391
15392         * check/Makefile.am:
15393         Enable valgrind check.
15394
15395         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15396         (gst_fake_src_alloc_buffer):
15397         Fix memleak.
15398
15399 2005-11-16  Wim Taymans  <wim@fluendo.com>
15400
15401         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15402         Call parent finalize too.
15403
15404 2005-11-16  Wim Taymans  <wim@fluendo.com>
15405
15406         * check/Makefile.am:
15407         Enable valgrind check that should work fine now.
15408
15409         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15410         * gst/gstqueue.c: (gst_queue_init):
15411         Fix memleaks in pad allocation.
15412
15413 2005-11-16  Andy Wingo  <wingo@pobox.com>
15414
15415         * gst/net/Makefile.am:
15416         * gst/net/gstnet.h: New part of core to hold network elements and
15417         objects. Put in core because it exposes API that applications want
15418         to use. The library is named libgstnet-tempname right now because
15419         of the existing libgstnet in gst-plugins-base. Solution is
15420         probably to rename the one in plugins-base; will file a bug for
15421         the freeze break.
15422
15423         * gst/net/gstnettimeprovider.c: 
15424         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15425         get_time call over the network.
15426
15427         * configure.ac: 
15428         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15429
15430         * check/Makefile.am:
15431         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15432         get additions shortly.
15433
15434 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15435
15436         * gst/gstpad.c: (gst_pad_new_from_static_template):
15437         * gst/gstpad.h:
15438           add gst_pad_new_from_static_template functions
15439         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15440         (gst_check_setup_sink_pad):
15441         * gst/elements/gsttee.c: (gst_tee_init):
15442           and use them
15443
15444 2005-11-16  Wim Taymans  <wim@fluendo.com>
15445
15446         * gst/gstpad.c: (gst_pad_pause_task):
15447         Removed warning, it's not really an error either.
15448
15449 2005-11-16  Wim Taymans  <wim@fluendo.com>
15450
15451         * gst/base/gstbasetransform.c:
15452         (gst_base_transform_prepare_output_buf),
15453         (gst_base_transform_event):
15454         Check if the caps are NULL, this can happen if the element
15455         is shutting down and the pad caps are set to NULL.
15456
15457 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15458
15459         * gst/elements/gsttee.c: (gst_tee_init):
15460           fix pad template leak in tee
15461
15462 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15463
15464         * gst/glib-compat.c: (g_value_dup_gst_object):
15465         * gst/glib-compat.h:
15466         * gst/gstpad.c: (gst_pad_set_property):
15467           use gst_object_ref when setting the pad template; this will
15468           trigger the pad template leaks on GLib 2.6 and the slaves
15469
15470 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15471
15472         * gst/glib-compat.c: (gst_flags_get_first_value):
15473         * gst/glib-compat.h:
15474         * gst/gstregistryxml.c:
15475           remove functions copied from GLib 2.6
15476
15477 2005-11-16  Michael Smith <msmith@fluendo.com>
15478
15479         * gst/Makefile.am:
15480           Don't link against VALGRIND_LIBS. That was always the wrong thing to
15481           do, but only breaks with newer valgrind versions. We're not a
15482           valgrind tool, we have no link-time dependencies on libcoregrind.
15483
15484 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15485
15486         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15487           some debug changes
15488         * gst/gstmessage.h:
15489           typo fixes
15490
15491 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15492
15493         * gst/base/gstbasesrc.c: (gst_base_src_init):
15494         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15495         * gst/gstqueue.c: (gst_queue_init):
15496         * gst/gstregistryxml.c: (load_feature):
15497           Revert all these unrefs, they don't even pass make check !
15498
15499 2005-11-15  Johan Dahlin  <johan@gnome.org>
15500
15501         * gst/base/gstbasesrc.c: (gst_base_src_init):
15502         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15503         * gst/gstqueue.c: (gst_queue_init): 
15504         Free pad templates, fixes a couple of leaks.
15505
15506 2005-11-15  Daniel Fischer  <dan at f3c dot com>
15507
15508         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15509
15510         * gst/gstpad.c: (gst_pad_get_property):
15511           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15512           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15513           (#321452)
15514
15515 2005-11-15  Wim Taymans  <wim@fluendo.com>
15516
15517         * gst/gstevent.c:
15518         Small doc update.
15519
15520 2005-11-15  Andy Wingo  <wingo@pobox.com>
15521
15522         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15523
15524         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15525         using GST_CLOCK_TIME_NONE to disable base time management.
15526         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15527         time if it was NONE before.
15528         (gst_pipeline_change_state): Only munge the base time if
15529         stream_time != GST_CLOCK_TIME_NONE.
15530
15531         * check/gst/gstpipeline.c (test_base_time): Punt around the
15532         problem of the probe not being called, because that's not the
15533         issue I'm looking at. Add a check that setting stream_time to NONE
15534         disables base time management.
15535         
15536 2005-11-15  Wim Taymans  <wim@fluendo.com>
15537
15538         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15539         segment_stop == -1 at startup.
15540
15541         * gst/base/gstbasetransform.c: (gst_base_transform_event),
15542         (gst_base_transform_change_state):
15543         Init segment values at start.
15544
15545 2005-11-15  Wim Taymans  <wim@fluendo.com>
15546
15547         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15548         0 segment values are 0 in any format.
15549
15550         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15551         * gst/base/gstbasetransform.h:
15552         Parse newsegment correctly in basetransform
15553
15554         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15555         Sync to clock using updated segment values.
15556
15557 2005-11-15  Andy Wingo  <wingo@pobox.com>
15558
15559         * check/gst/gstpipeline.c (test_base_time): Add check that the
15560         base time and stream time are reset correctly.
15561
15562 2005-11-15  Wim Taymans  <wim@fluendo.com>
15563
15564         * docs/design/part-TODO.txt:
15565         Some more TODO items.
15566
15567 2005-11-15  Andy Wingo  <wingo@pobox.com>
15568
15569         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15570         error if the user selected "no clock" as the clocking method.
15571
15572         * check/gst/gstpipeline.c (test_base_time): New test for buffer
15573         timestamps with live capture.
15574
15575         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15576         is 0 but we are a live source, timestamp the buffers using the
15577         element's clock.
15578
15579 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
15580
15581         * docs/gst/gstreamer-sections.txt:
15582         * gst/gsterror.c:
15583         * gst/gstghostpad.c:
15584         * gst/gstobject.h:
15585         * gst/gstxml.c:
15586           more section docs
15587
15588 2005-11-14  Wim Taymans  <wim@fluendo.com>
15589
15590         * common/gst.supp:
15591           add suppressions from Wim's Debian machine
15592
15593 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15594
15595         * common/gst.supp:
15596           add suppressions from Andy's AMD64 Ubuntu machine
15597
15598 2005-11-14  Andy Wingo  <wingo@pobox.com>
15599
15600         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15601         STATE_LOCK not necessary. Fixes #311489.
15602
15603         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15604         #305291.
15605
15606         * gst/gstindex.c (gst_index_add_object): Note in the docs that
15607         this function is not implemented.
15608
15609 2005-11-14  Julien MOUTTE  <julien@moutte.net>
15610
15611         * gst/base/gstbasetransform.c:
15612         (gst_base_transform_prepare_output_buf):
15613         Ref the source pad caps while we need them.
15614         Fixes (#321386)
15615
15616 2005-11-11  Wim Taymans  <wim@fluendo.com>
15617
15618         * docs/gst/gstreamer-sections.txt:
15619         Added some docs for GstCollectData.
15620
15621         * gst/base/gstadapter.c:
15622         Some small code example fix.
15623
15624         * gst/base/gstcollectpads.c:
15625         * gst/base/gstcollectpads.h:
15626         Document some more.
15627
15628 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
15629
15630         * configure.ac: back to HEAD
15631
15632 === release 0.9.5 ===
15633
15634 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
15635
15636         * configure.ac:
15637           releasing 0.9.5, "Bike Lunch Day"
15638
15639 2005-11-11  Wim Taymans  <wim@fluendo.com>
15640
15641         * gst/gstbuffer.c: (_gst_buffer_copy):
15642         Copy more flags.
15643
15644         * gst/gstcaps.c: (gst_caps_is_equal):
15645         Fix some docs.
15646         Make _is_equal fast in the trivial cases.
15647
15648         * gst/gstminiobject.c:
15649         * gst/gstminiobject.h:
15650         More docs. Spifify .h file.
15651
15652         * gst/gstutils.c:
15653         Small doc update.
15654
15655 2005-11-11  Wim Taymans  <wim@fluendo.com>
15656
15657         * gst/base/gstbasetransform.c:
15658         (gst_base_transform_prepare_output_buf),
15659         (gst_base_transform_handle_buffer):
15660         Small cleanups.
15661         If we're processing a buffer and need to allocate an output
15662         buffer, we cannot accept a format change. If we did get a 
15663         format change, we have to alloc a buffer ourselves of the 
15664         right size.
15665
15666 2005-11-11  Wim Taymans  <wim@fluendo.com>
15667
15668         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
15669         While checking the flag for reentrancy in the gstcaps function
15670         is nice to detect recursive invocations, it also makes it 
15671         impossible to call getcaps from multiple threads, which must be
15672         possible. So, checking for recursive calls has to go.
15673
15674 2005-11-11  Michael Smith <msmith@fluendo.com>
15675
15676         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15677           Don't sync on buffers that fall partially outside our current
15678           segment. Prevents an assertion failure/abort playing some files.
15679
15680 2005-11-10  Andy Wingo  <wingo@pobox.com>
15681
15682         * check/gst/gstbin.c (test_message_state_changed_children): Style
15683         fix..
15684
15685         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
15686         gst_bus_poll with the signal watch. Ensures that poll and a signal
15687         watch see the same messages.
15688
15689         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
15690         a poll and a watch at the same time get the same messages.
15691
15692 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15693
15694         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
15695         * gst/gstcaps.c: (gst_caps_intersect):
15696           Don't call gst_caps_do_simplify - it doesn't respect order of caps
15697           and it's not needed.
15698
15699 2005-11-10  Wim Taymans  <wim@fluendo.com>
15700
15701         * docs/design/part-TODO.txt:
15702         Updated todo.
15703
15704 2005-11-10  Wim Taymans  <wim@fluendo.com>
15705
15706         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15707         * gst/base/gstbasesrc.c: (gst_base_src_wait),
15708         (gst_base_src_do_sync), (gst_base_src_get_range):
15709         Implement clock sync in base class.
15710
15711 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15712
15713         patch by: Tim-Philipp Müller <tim at centricular dot net>
15714
15715         * gst/gststructure.c: (gst_structure_parse_field),
15716         (gst_structure_from_string):
15717           Forward-port a 0.8 patch to handle escaped spaces in structure string,
15718           so that gst_parse_launch() can deal with spaces in filtered link
15719           caps (fixes #164479)
15720         * check/gst/capslist.h:
15721         * check/gst/gststructure.c: (GST_START_TEST):
15722           add unit tests for this change
15723
15724 2005-11-10  Wim Taymans  <wim@fluendo.com>
15725
15726         * docs/gst/gstreamer-sections.txt:
15727         * gst/gstelement.c:
15728         * gst/gstelement.h:
15729         Fix docs, move some STATE macros to private.
15730
15731 2005-11-10  Wim Taymans  <wim@fluendo.com>
15732
15733         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15734         Added check for bug #317341
15735
15736         * gst/gstbuffer.c:
15737         * gst/gstbuffer.h:
15738         Some more spiffifying.
15739
15740         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
15741         Call peer linkfunction if we are a source pad. Totally fixes
15742         #317341
15743
15744         * gst/gstpad.c:
15745         Update docs, source pads should call the peer linkfunction
15746         so they can atomically perform the pad link.
15747
15748 2005-11-09  Wim Taymans  <wim@fluendo.com>
15749
15750         * gst/gstbuffer.c:
15751         * gst/gstbuffer.h:
15752         Uber-spiffy-spiffify some more.
15753
15754 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
15755
15756         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
15757         * gst/elements/gstfilesink.c: (gst_file_sink_init):
15758         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15759         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
15760         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
15761         * gst/gstpad.c: (gst_pad_init):
15762           Use GST_DEBUG_FUNCPTR() more extensively.
15763
15764 2005-11-09  Wim Taymans  <wim@fluendo.com>
15765
15766         * gst/gstobject.c: (gst_object_class_init):
15767         * gst/gstobject.h:
15768         Documentation fixes.
15769
15770 2005-11-09  Edward Hervey  <edward@fluendo.com>
15771
15772         * gst/gsttypefindfactory.c:
15773         Fix docs.
15774         
15775 2005-11-09  Edward Hervey  <edward@fluendo.com>
15776
15777         * gst/base/gsttypefindhelper.c:
15778         * gst/gsttypefind.c:
15779         * gst/gsttypefind.h:
15780         Fix docs.
15781
15782 2005-11-09  Wim Taymans  <wim@fluendo.com>
15783
15784         * gst/gstiterator.c:
15785         Fix revision data.
15786
15787         * gst/gsttask.c:
15788         * gst/gsttask.h:
15789         Fix docs.
15790
15791 2005-11-09  Wim Taymans  <wim@fluendo.com>
15792
15793         * gst/gstevent.h:
15794         * gst/gsturi.h:
15795         Fix docs.
15796
15797 2005-11-09  Wim Taymans  <wim@fluendo.com>
15798
15799         * docs/gst/gstreamer-sections.txt:
15800         Moved the message async delivery private lock and cond
15801         to the private section.
15802
15803         * gst/gstmessage.c:
15804         * gst/gstmessage.h:
15805         Fixed docs.
15806
15807 2005-11-09  Edward Hervey  <edward@fluendo.com>
15808
15809         * docs/gst/gstreamer-sections.txt:
15810         * gst/gsturi.c:
15811         * gst/gsturi.h:
15812         Document GstURIHandler
15813
15814 2005-11-09  Wim Taymans  <wim@fluendo.com>
15815
15816         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
15817         (gst_iterator_find_custom):
15818         * gst/gstiterator.h:
15819         Fix iterator docs.
15820
15821 2005-11-09  Wim Taymans  <wim@fluendo.com>
15822
15823         * gst/gstbin.h:
15824         Document another field.
15825
15826         * gst/gststructure.c:
15827         * gst/gststructure.h:
15828         Document.
15829
15830 2005-11-09  Wim Taymans  <wim@fluendo.com>
15831
15832         * gst/gstbin.h:
15833         Documented structs.
15834
15835 2005-11-09  Wim Taymans  <wim@fluendo.com>
15836
15837         * docs/gst/gstreamer-sections.txt:
15838         Added some new macros.
15839
15840         * gst/gstclock.c:
15841         * gst/gstclock.h:
15842         * gst/gstobject.h:
15843         Docs updates.
15844
15845 2005-11-09  Wim Taymans  <wim@fluendo.com>
15846
15847         * docs/design/part-TODO.txt:
15848         Some more items for the TODO
15849
15850         * gst/gstcaps.c:
15851         * gst/gstcaps.h:
15852         Document GstCaps.
15853
15854 2005-11-09  Andy Wingo  <wingo@pobox.com>
15855
15856         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
15857         to work on something else now tho...
15858
15859         * gst/base/gstadapter.c: More adapter docs.
15860
15861         * gst/elements/gstfilesink.c (gst_file_sink_start) 
15862         (gst_file_sink_stop): New functions, replace the state change
15863         handler.
15864         (gst_file_sink_class_init): Hook up the start and stop functions.
15865         (gst_file_sink_base_init): Don't set the state change handler any
15866         more. It was a bit ugly too, being set from here...
15867         (gst_file_sink_get_property, gst_file_sink_set_property):
15868         Cleanups...
15869         (gst_file_sink_set_location): More robust check that doesn't call
15870         GST_STATE. Ugggggg.
15871
15872 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
15873
15874         * gst/base/gstbasetransform.c: (gst_base_transform_event):
15875           Hold STREAM_LOCK while pushing newsegment or tag events as well.
15876
15877 2005-11-08  Wim Taymans  <wim@fluendo.com>
15878
15879         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15880         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15881         (gst_base_sink_chain), (gst_base_sink_change_state):
15882         * gst/base/gstbasesink.h:
15883         * gst/base/gstbasesrc.h:
15884         * gst/gstelement.h:
15885         * gst/gstevent.h:
15886         Avoid excessive typechecking in macros.
15887
15888         * gst/gstminiobject.c: (gst_mini_object_get_type),
15889         (gst_mini_object_init), (gst_mini_object_new),
15890         (gst_mini_object_free):
15891         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
15892         (gst_object_finalize):
15893         Remove cruft code, optimize alloc_trace.
15894
15895 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15896
15897         * docs/faq/gst-uninstalled:
15898           fix up PS1 for systems that try to reset it
15899
15900 2005-11-07  Wim Taymans  <wim@fluendo.com>
15901
15902         * gst/base/gstbasesrc.c: (gst_base_src_init),
15903         (gst_base_src_get_range):
15904         Set the segment_end to -1 initially. Fixed typefind.
15905
15906 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
15907
15908         * gst/base/gstadapter.c:
15909           Debug category should be 'adapter', not 'GstAdapter'.
15910           
15911         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
15912         (gst_collectpads_class_init), (gst_collectpads_init),
15913         (gst_collectpads_peek), (gst_collectpads_pop),
15914         (gst_collectpads_event), (gst_collectpads_chain):
15915           Add debug category and some debugging output. Use boilerplate
15916           macros. Remove some extraneous words from docs.
15917
15918 2005-11-05  Andy Wingo  <wingo@pobox.com>
15919
15920         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
15921         macro.
15922
15923 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15924
15925         * docs/gst/gstreamer-sections.txt:
15926         * gst/gstcaps.h:
15927         * gst/gstinfo.c:
15928         * gst/gstminiobject.h:
15929         * gst/gstobject.h:
15930         * gst/gstutils.h:
15931           more docs added
15932
15933 2005-11-04  Wim Taymans  <wim@fluendo.com>
15934
15935         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15936         Small update to stop at the configured segment_end
15937         position.
15938
15939 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
15940
15941         * gst/gstregistry.c:
15942         * gst/gstregistry.h:
15943           added missing docs
15944
15945 2005-11-04  Edward Hervey  <edward@fluendo.com>
15946
15947         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15948         Check if we are doing a segment seek and have arrived at the
15949         end of that segment.
15950
15951 2005-11-04  Wim Taymans  <wim@fluendo.com>
15952
15953         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
15954         Don't leak a mutex unlock in case of an error.
15955
15956         * gst/gstbus.h:
15957         Doc fixes.
15958
15959 2005-11-04  Wim Taymans  <wim@fluendo.com>
15960
15961         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
15962         (gst_bus_post):
15963         Get the context to wake up only once.
15964
15965 2005-11-03  Wim Taymans  <wim@fluendo.com>
15966
15967         * check/states/sinks.c: (GST_START_TEST):
15968         Uncomment fixed check.
15969
15970         * docs/design/part-TODO.txt:
15971         Updated TODO.
15972
15973         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
15974         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
15975         (gst_base_sink_get_position):
15976         If we are going to PLAYING, post the right pending state
15977         when we post the intermediate paused message.
15978
15979         * gst/gstelement.c: (gst_element_continue_state),
15980         (gst_element_set_state_func), (gst_element_change_state):
15981         Don't post state changes that were between the same state
15982         and were not ASYNC.
15983
15984 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15985
15986         * docs/gst/gstreamer-sections.txt:
15987         * gst/gstcaps.h:
15988         * gst/gstinfo.c:
15989         * gst/gstminiobject.h:
15990         * gst/gstobject.h:
15991         * gst/gstutils.h:
15992           more docs and doc style fixes
15993
15994 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
15995
15996         * docs/gst/gstreamer-sections.txt:
15997         * gst/gstelement.c:
15998         * gst/gstminiobject.c:
15999         doc fixes
16000
16001 2005-11-03  Andy Wingo  <wingo@pobox.com>
16002
16003         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16004         state-changed messages actually have the right order and the right
16005         values.
16006
16007 2005-11-03  Wim Taymans  <wim@fluendo.com>
16008
16009         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16010         Added some more checks. Specifically the case where NO_PREROLL
16011         elements are in the pipeline.
16012
16013         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16014         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16015         (gst_base_sink_get_position):
16016         Post READY->PAUSED state change messages too.
16017         Fix bug where VOID was posted as pending state...
16018
16019         * gst/gstbin.c: (gst_bin_recalc_state):
16020         use _element_continue_state() to continue the state change.
16021
16022         * gst/gstelement.c: (gst_element_continue_state),
16023         (gst_element_commit_state), (gst_element_set_state_func),
16024         (gst_element_change_state), (gst_element_change_state_func):
16025         Lots of state change cleanups, assign the STATE_RETURN in
16026         a new continue_state() function that also propagates the
16027         last return value from a state change to the app.
16028         Update some debug statements with proper category.
16029
16030 2005-11-03  Wim Taymans  <wim@fluendo.com>
16031
16032         * docs/design/part-events.txt:
16033         * docs/design/part-gstpipeline.txt:
16034         * docs/design/part-messages.txt:
16035         * docs/design/part-overview.txt:
16036         * docs/design/part-seeking.txt:
16037         * docs/design/part-states.txt:
16038         * docs/design/part-trickmodes.txt:
16039         * docs/manual/advanced-position.xml:
16040         Small docs updates.
16041
16042         * gst/gstobject.h:
16043         People think !! is ugly, this looks better.
16044
16045         * gst/gstpad.c: (gst_pad_set_blocked_async):
16046         Remove !! since it's fixed elsewhere now.
16047
16048 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16049
16050         * gst/gstminiobject.h:
16051         * gst/gstobject.h:
16052           Add !! to _FLAG_IS_SET macros to make the result boolean.
16053
16054 2005-11-03  Edward Hervey  <edward@fluendo.com>
16055
16056         * gst/gstpad.c: (gst_pad_set_blocked_async):
16057         comparing a flag and a gboolean rarely returns coherent results...
16058         Added two characters (!!) to make that work correctly.
16059         
16060 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16061
16062         * gst/gstbus.c: (gst_bus_class_init):
16063           Fix some typos.
16064           
16065         * gst/gstqueue.c: (gst_queue_loop):
16066           Don't assume a miniobject that isn't a buffer is an
16067           event (it could be that there is a refcounting
16068           problem somewhere and the pointer is stale and
16069           refers to an already destroyed miniobject).
16070
16071 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16072
16073         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16074
16075 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16076
16077         * docs/manual/advanced-position.xml:
16078           Update seek example and explanations to current 0.9 API.
16079
16080         * gst/elements/gsttypefindelement.c:
16081         (gst_type_find_element_activate):
16082           Remove FIXME comment now that the found caps
16083           are unreffed.
16084
16085 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16086
16087         * gst/gstregistryxml.c: (load_feature):
16088           Add another GST_STR_NULL instance
16089
16090 2005-11-02  Edward Hervey  <edward@fluendo.com>
16091
16092         * gst/gstpad.c: (handle_pad_block):
16093         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16094         
16095 2005-11-02  Wim Taymans  <wim@fluendo.com>
16096
16097         * gst/gstbin.c:
16098         Fix typo in docs.
16099
16100         * gst/gstelement.c: (gst_element_commit_state):
16101         Remove unused value.
16102
16103         * gst/gstiterator.c:
16104         Mention that the returned element is reffed in the docs.
16105
16106 2005-11-02  Wim Taymans  <wim@fluendo.com>
16107
16108         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16109         (gst_pad_push), (gst_pad_push_event):
16110         Unlock blocked pads when they are flushed.
16111
16112 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16113
16114         * docs/README:
16115         * docs/gst/gstreamer-sections.txt:
16116         * gst/gstbin.c:
16117           doc updates
16118         * gst/gstregistry.c: (gst_registry_scan_path_level):
16119           fix for a nasty little missed situation where an installed plug-in
16120           which was in the cache did not get overridden by an uninstalled one
16121           which was earlier in the plugin path because the newly created plugin
16122           for the uninstalled one (not in the registry) didn't get its
16123           ->registered set to TRUE
16124
16125 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16126
16127         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16128         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16129         (gst_collectpads_is_active), (gst_collectpads_collect),
16130         (gst_collectpads_collect_range), (gst_collectpads_start),
16131         (gst_collectpads_stop), (gst_collectpads_peek),
16132         (gst_collectpads_pop), (gst_collectpads_available),
16133         (gst_collectpads_read), (gst_collectpads_flush):
16134           Guard public API with assertions.
16135         
16136         * gst/gstpad.c:
16137           Fix docs for gst_pad_set_link_function().
16138
16139 2005-11-02  Johan Dahlin  <johan@gnome.org>
16140
16141         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16142         Unref found_caps after we used it.
16143
16144 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16145
16146         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16147           Don't try to ref NULL.
16148
16149 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16150
16151         * win32/common/config.h.in:
16152           provide a GST_FUNCTION that just gives a string for now
16153
16154 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16155
16156         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16157         (gst_object_flags_get_type), (register_gst_bin_flags),
16158         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16159         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16160         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16161         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16162         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16163         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16164         (gst_clock_flags_get_type), (register_gst_state),
16165         (gst_state_get_type), (register_gst_state_change_return),
16166         (gst_state_change_return_get_type), (register_gst_state_change),
16167         (gst_state_change_get_type), (register_gst_element_flags),
16168         (gst_element_flags_get_type), (register_gst_core_error),
16169         (gst_core_error_get_type), (register_gst_library_error),
16170         (gst_library_error_get_type), (register_gst_resource_error),
16171         (gst_resource_error_get_type), (register_gst_stream_error),
16172         (gst_stream_error_get_type), (register_gst_event_type),
16173         (gst_event_type_get_type), (register_gst_seek_type),
16174         (gst_seek_type_get_type), (register_gst_seek_flags),
16175         (gst_seek_flags_get_type), (register_gst_format),
16176         (gst_format_get_type), (register_gst_index_certainty),
16177         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16178         (gst_index_entry_type_get_type),
16179         (register_gst_index_lookup_method),
16180         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16181         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16182         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16183         (gst_index_flags_get_type), (register_gst_debug_level),
16184         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16185         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16186         (gst_iterator_result_get_type), (register_gst_iterator_item),
16187         (gst_iterator_item_get_type), (register_gst_message_type),
16188         (gst_message_type_get_type), (register_gst_mini_object_flags),
16189         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16190         (gst_pad_link_return_get_type), (register_gst_flow_return),
16191         (gst_flow_return_get_type), (register_gst_activate_mode),
16192         (gst_activate_mode_get_type), (register_gst_pad_direction),
16193         (gst_pad_direction_get_type), (register_gst_pad_flags),
16194         (gst_pad_flags_get_type), (register_gst_pad_presence),
16195         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16196         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16197         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16198         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16199         (gst_plugin_flags_get_type), (register_gst_rank),
16200         (gst_rank_get_type), (register_gst_query_type),
16201         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16202         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16203         (gst_tag_flag_get_type), (register_gst_task_state),
16204         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16205         (gst_alloc_trace_flags_get_type),
16206         (register_gst_type_find_probability),
16207         (gst_type_find_probability_get_type), (register_gst_uri_type),
16208         (gst_uri_type_get_type), (register_gst_parse_error),
16209         (gst_parse_error_get_type):
16210         * win32/common/gstversion.h:
16211           update win32 copies
16212
16213 2005-11-01  Luca Ognibene  <luogni@tin.it>
16214
16215         * gst/gst.c:
16216           fix docs. popt is dead, long live GOption.
16217
16218 2005-10-31  Wim Taymans  <wim@fluendo.com>
16219
16220         * gst/gstbuffer.h:
16221         Small doc fix.
16222
16223 2005-10-31  Andy Wingo  <wingo@pobox.com>
16224
16225         * Boo!
16226
16227         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16228
16229         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16230         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16231         the possibility of deadlocks here if code calling notify() or
16232         set() has a lock that can be taken in another notify handler (ABBA
16233         with class lock and e.g. python GIL state lock).
16234
16235 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16236
16237         * gst/gstbus.c: Doc updates.
16238
16239 2005-10-28  Wim Taymans  <wim@fluendo.com>
16240
16241         * docs/design/part-TODO.txt:
16242         * gst/gstiterator.c:
16243         * gst/gstsystemclock.c:
16244         * gst/gstsystemclock.h:
16245         Doc updates.
16246
16247 2005-10-28  Edward Hervey  <edward@fluendo.com>
16248
16249         * docs/gst/gstreamer-docs.sgml:
16250         * docs/gst/gstreamer-sections.txt:
16251         the GstURIType documentation page is private, it only defines GstURIType
16252         which should be defined in the GstURIHandler page
16253         
16254 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16255
16256         * gst/gstbin.c: (gst_bin_class_init):
16257         * gst/gstbin.h:
16258         * gst/gstutils.c:
16259         Documentation updates.
16260
16261 2005-10-28  Wim Taymans  <wim@fluendo.com>
16262
16263         * docs/gst/gstreamer-sections.txt:
16264         * gst/gstclock.c:
16265         * gst/gstclock.h:
16266         Documented the clocks.
16267
16268 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16269
16270         * docs/gst/gstreamer-sections.txt:
16271           move some macros to private sections
16272         * gst/gstminiobject.c:
16273         * gst/gstminiobject.h:
16274           add descriptions provided by ds and some more
16275         * gst/gstpad.h:
16276           mark macro as to be removed
16277
16278 2005-10-28  Wim Taymans  <wim@fluendo.com>
16279
16280         * docs/design/part-TODO.txt:
16281         Add an item to TODO.
16282
16283         * gst/gstiterator.c: (gst_iterator_fold),
16284         (gst_iterator_find_custom):
16285         * gst/gstiterator.h:
16286         Add iterator docs.
16287
16288 2005-10-28  Wim Taymans  <wim@fluendo.com>
16289
16290         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16291         (gst_base_transform_init):
16292         Don't leak class.
16293
16294         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16295         An EOS event marks the queue as completely filled.
16296
16297 2005-10-27  Wim Taymans  <wim@fluendo.com>
16298
16299         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16300         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16301         Some more debugging.
16302
16303         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16304         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16305         (gst_base_transform_event), (gst_base_transform_getrange),
16306         (gst_base_transform_chain):
16307         * gst/base/gstbasetransform.h:
16308         Fix debugging,
16309         Protect transform and concurrent buffer alloc with a new lock.
16310         Try not to break ABI/API.
16311
16312 2005-10-27  Wim Taymans  <wim@fluendo.com>
16313
16314         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16315         (gst_base_src_init), (gst_base_src_query),
16316         (gst_base_src_default_newsegment),
16317         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16318         (gst_base_src_send_event), (gst_base_src_event_handler),
16319         (gst_base_src_pad_get_range), (gst_base_src_loop),
16320         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16321         (gst_base_src_start), (gst_base_src_deactivate),
16322         (gst_base_src_activate_push), (gst_base_src_change_state):
16323         Move some stuff around and cleanup things.
16324
16325 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16326
16327         * gst/base/gstbasesrc.c: (gst_base_src_query):
16328           Add missing break statements.
16329
16330 2005-10-27  Wim Taymans  <wim@fluendo.com>
16331
16332         * check/gst/gstbin.c: (GST_START_TEST):
16333         An extra refcount is taken in basesrc.
16334
16335         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16336         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16337         (gst_base_src_loop):
16338         Small cleanups, check for flushing after being unlocked from the 
16339         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16340         Don't send out EOS when going to READY.
16341
16342 2005-10-27  Wim Taymans  <wim@fluendo.com>
16343
16344         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16345         (gst_base_sink_get_position):
16346         Some more debug.
16347
16348         * gst/gstbin.c: (message_check), (bin_replace_message),
16349         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16350         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16351         (bin_query_duration_init), (bin_query_duration_fold),
16352         (bin_query_duration_done), (bin_query_generic_fold),
16353         (gst_bin_query):
16354         * tools/gst-launch.c: (main):
16355         Remove old option.
16356
16357 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
16358
16359         * examples/controller/audio-example.c: (main):
16360         * examples/queue/queue.c: (event_loop):
16361         * gst/base/gstbasetransform.h:
16362         * gst/gstelement.c: (gst_element_send_event):
16363         * gst/gstevent.h:
16364         * gst/gstpad.c: (gst_pad_send_event):
16365           fixing examples
16366           fixing docs typos
16367           changing log priority in error situations
16368
16369 2005-10-25  Wim Taymans  <wim@fluendo.com>
16370
16371         * gst/gstbin.c: (message_check), (bin_replace_message),
16372         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16373         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16374         (bin_query_duration_init), (bin_query_duration_fold),
16375         (bin_query_duration_done), (bin_query_generic_fold),
16376         (gst_bin_query):
16377         Some doc and debug updates.
16378         Cache previously requested query DURATION for speed. invalidate
16379         cached duration if element posts a DURATION message.
16380
16381 2005-10-25  Wim Taymans  <wim@fluendo.com>
16382
16383         * docs/design/part-TODO.txt:
16384         Update TODO.
16385
16386         * gst/gstbin.c: (message_check), (bin_replace_message),
16387         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16388         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16389         (bin_query_duration_init), (bin_query_duration_fold),
16390         (bin_query_duration_done), (bin_query_generic_fold),
16391         (gst_bin_query):
16392         Handle SEGMENT_START/DONE messages correctly.
16393         More evolved query algorithm that handles duration queries
16394         correctly.
16395
16396         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16397         (gst_element_get_state_func), (gst_element_abort_state),
16398         (gst_element_commit_state), (gst_element_lost_state):
16399         Some more debugging.
16400
16401         * gst/gstmessage.h:
16402         Added doc.
16403
16404 2005-10-25  Wim Taymans  <wim@fluendo.com>
16405
16406         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16407         Don't use invalid stream_time.
16408
16409         * gst/gstevent.c: (gst_event_new_newsegment):
16410         stream_time in newsegment cannot be undefined.
16411
16412 2005-10-24  Wim Taymans  <wim@fluendo.com>
16413
16414         * gst/gstbus.c:
16415         Doc fix.
16416
16417         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16418         (gst_queue_loop):
16419         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16420
16421 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
16422
16423         * docs/libs/tmpl/gstdparam.sgml:
16424         * docs/libs/tmpl/gstdplinint.sgml:
16425         * docs/libs/tmpl/gstdpman.sgml:
16426         * docs/libs/tmpl/gstdpsmooth.sgml:
16427         * docs/libs/tmpl/gstunitconvert.sgml:
16428           these are obsolete
16429
16430 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16431
16432         * configure.ac:
16433           back to HEAD
16434
16435 === release 0.9.4 ===
16436
16437 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16438
16439         * configure.ac:
16440           releasing 0.9.4, "Tyrannosaurus Rex"
16441
16442 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
16443
16444         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16445         (gst_file_sink_get_current_offset):
16446           Use fseeko() and ftello() if available. When falling back on
16447           lseek() to get the current offset, fflush() first to make sure
16448           everything is up-to-date and we get the right offset.
16449
16450 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16451
16452         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16453         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16454         * gst/gsterror.c: (_gst_stream_errors_init):
16455         * gst/gsterror.h:
16456         * gst/gstqueue.c: (gst_queue_loop):
16457         * po/POTFILES.in:
16458           remove prematurely added error category and clean up the instances
16459
16460 2005-10-21  Wim Taymans  <wim@fluendo.com>
16461
16462         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16463         (gst_base_sink_get_position), (gst_base_sink_query),
16464         (gst_base_sink_change_state):
16465         Simply set the right flag when going to playing, that's all
16466         we need to do instead of calling a function inside the object
16467         lock (that could take the lock as well and deadlock)
16468
16469 2005-10-21  Wim Taymans  <wim@fluendo.com>
16470
16471         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16472         (gst_base_src_loop):
16473         Don't warn, the peer element knows what to do best when
16474         the seek failed, it might try something else.
16475
16476 2005-10-21  Wim Taymans  <wim@fluendo.com>
16477
16478         * gst/base/gstbasesrc.c: (gst_base_src_init),
16479         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16480         Fix seeking.
16481
16482 2005-10-21  Wim Taymans  <wim@fluendo.com>
16483
16484         * docs/design/part-segments.txt:
16485         More docs.
16486
16487         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16488         Correctly set caps, even on the subbufer.
16489
16490 2005-10-21  Wim Taymans  <wim@fluendo.com>
16491
16492         * docs/gst/gstreamer-docs.sgml:
16493         * docs/gst/gstreamer-sections.txt:
16494         * gst/gstelement.h:
16495         * gst/gstevent.c:
16496         * gst/gstevent.h:
16497         * gst/gstmessage.h:
16498         * gst/gstpad.h:
16499         * gst/gstparse.h:
16500         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16501         * gst/gsttask.h:
16502         * gst/gstutils.c:
16503         * gst/gstutils.h:
16504         And 2% more doc coverage.
16505
16506 2005-10-21  Andy Wingo  <wingo@pobox.com>
16507
16508         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16509         position reporting.
16510
16511 2005-10-20  Wim Taymans  <wim@fluendo.com>
16512
16513         * gst/gsterror.c: (gst_error_get_message):
16514         * gst/gstparse.h:
16515         * gst/gstquery.h:
16516         * gst/gststructure.c:
16517         * gst/gsttrace.c:
16518         * gst/gstutils.c:
16519         More docs.
16520
16521 2005-10-20  Wim Taymans  <wim@fluendo.com>
16522
16523         * gst/gstbuffer.h:
16524         * gst/gstpad.c:
16525         * gst/gstparse.c:
16526         Another 1% more coverage.
16527
16528 2005-10-20  Wim Taymans  <wim@fluendo.com>
16529
16530         * docs/gst/gstreamer-sections.txt:
16531         * gst/gstelement.c: (gst_element_get_state_func),
16532         (gst_element_abort_state), (gst_element_commit_state),
16533         (gst_element_lost_state):
16534         * gst/gstevent.h:
16535         * gst/gstquery.c: (gst_query_set_position),
16536         (gst_query_parse_position), (gst_query_set_duration),
16537         (gst_query_parse_duration), (gst_query_new_convert):
16538         * gst/gstutils.c:
16539         Yay! 1% more docs coverage.
16540
16541 2005-10-20  Wim Taymans  <wim@fluendo.com>
16542
16543         * gst/gstpad.h:
16544         * gst/gstquery.c: (gst_query_set_position),
16545         (gst_query_parse_position), (gst_query_set_duration),
16546         (gst_query_parse_duration), (gst_query_new_convert):
16547         * gst/gstquery.h:
16548         * gst/gstutils.c: (gst_element_query_convert):
16549         * gst/gstutils.h:
16550         Docs and consistency fixes.
16551
16552 2005-10-20  Wim Taymans  <wim@fluendo.com>
16553
16554         * gst/gsttask.c:
16555         * gst/gsttask.h:
16556         More docs.
16557
16558 2005-10-20  Wim Taymans  <wim@fluendo.com>
16559
16560         * gst/gstbin.c: (message_check), (bin_replace_message),
16561         (bin_remove_messages), (is_eos), (gst_bin_add_func),
16562         (update_degree), (gst_bin_sort_iterator_next),
16563         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16564         Reworked the message handling a bit, cache the messages instead of
16565         only the senders. alows us to do more in the future.
16566
16567 2005-10-20  Wim Taymans  <wim@fluendo.com>
16568
16569         * docs/design/part-TODO.txt:
16570         Update TODO
16571
16572         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16573         (gst_base_sink_query):
16574         Don't use clock time to report position when in EOS.
16575
16576 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
16577
16578         * tools/gst-inspect.c: (print_interfaces),
16579         (print_element_properties_info), (print_element_info):
16580           Fix interface output with gst-inspect -a; don't print
16581           newlines after double/float properties.
16582
16583 2005-10-20  Wim Taymans  <wim@fluendo.com>
16584
16585         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16586         (gst_base_sink_query):
16587         Speed up current position calculation.
16588
16589         * gst/base/gstbasesrc.c: (gst_base_src_query),
16590         (gst_base_src_default_newsegment):
16591         Correctly set stream position in newsegment.
16592
16593         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16594         (update_degree), (gst_bin_sort_iterator_next),
16595         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16596         * gst/gstmessage.c: (gst_message_new_custom):
16597         Clean up debugging info
16598
16599         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16600         (gst_queue_loop), (gst_queue_handle_src_query):
16601         Pause task faster.
16602
16603 2005-10-19  Wim Taymans  <wim@fluendo.com>
16604
16605         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16606         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16607         Fix query handling again.
16608
16609 2005-10-19  Wim Taymans  <wim@fluendo.com>
16610
16611         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16612         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16613         * gst/base/gstbasesrc.c: (gst_base_src_query):
16614         * gst/elements/gstfilesink.c: (gst_file_sink_query):
16615         * gst/elements/gsttypefindelement.c:
16616         (gst_type_find_handle_src_query), (find_element_get_length),
16617         (gst_type_find_element_activate):
16618         API change fix.
16619
16620         * gst/gstquery.c: (gst_query_new_position),
16621         (gst_query_set_position), (gst_query_parse_position),
16622         (gst_query_new_duration), (gst_query_set_duration),
16623         (gst_query_parse_duration), (gst_query_set_segment),
16624         (gst_query_parse_segment):
16625         * gst/gstquery.h:
16626         Bundling query position/duration is not a good idea since duration
16627         does not change much and we don't want to recalculate it for every
16628         position query, so they are separated again..
16629         Base value in segment query is not needed.
16630
16631         * gst/gstqueue.c: (gst_queue_handle_src_query):
16632         * gst/gstutils.c: (gst_element_query_position),
16633         (gst_element_query_duration), (gst_pad_query_position),
16634         (gst_pad_query_duration):
16635         * gst/gstutils.h:
16636         Updates for query API change.
16637         Added some docs here and there.
16638
16639 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16640
16641         * check/gst/gstbin.c: (GST_START_TEST):
16642         * check/gst/gstghostpad.c: (GST_START_TEST):
16643         * check/pipelines/cleanup.c: (GST_START_TEST):
16644           wait on thread to die so we can check refcount correctly
16645
16646 2005-10-18  Wim Taymans  <wim@fluendo.com>
16647
16648         * check/pipelines/stress.c: (GST_START_TEST):
16649         Make check a little more time consuming.
16650
16651 2005-10-18  Wim Taymans  <wim@fluendo.com>
16652
16653         * check/Makefile.am:
16654         * check/pipelines/stress.c: (GST_START_TEST),
16655         (simple_launch_lines_suite), (main):
16656         Small state change torture test.
16657
16658         * docs/design/part-states.txt:
16659         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16660         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
16661         (gst_base_sink_change_state):
16662         Never take state lock from streaming thread, clean up ugly
16663         hacks. Unfortunatly core does not yet support nice ways to
16664         async commit state.
16665         
16666         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
16667         (bin_bus_handler):
16668         Start state recalc if a STATE_DIRTY message is posted, but only
16669         on the toplevel bin.
16670
16671         * gst/gstelement.c: (gst_element_sync_state_with_parent),
16672         (gst_element_get_state_func), (gst_element_abort_state),
16673         (gst_element_commit_state), (gst_element_lost_state),
16674         (gst_element_set_state_func), (gst_element_change_state):
16675         * gst/gstelement.h:
16676         State variables are now protected with the LOCK, the state
16677         lock is only used to serialize _set_state().
16678
16679 2005-10-18  Wim Taymans  <wim@fluendo.com>
16680
16681         * check/gst/gstbin.c: (GST_START_TEST):
16682         * check/gst/gstmessage.c: (GST_START_TEST):
16683         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16684         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
16685         (bin_bus_handler):
16686         * gst/gstelement.c: (gst_element_abort_state),
16687         (gst_element_commit_state), (gst_element_lost_state):
16688         * gst/gstmessage.c: (gst_message_new_state_changed),
16689         (gst_message_new_state_dirty), (gst_message_new_segment_start),
16690         (gst_message_new_segment_done), (gst_message_new_duration),
16691         (gst_message_parse_state_changed),
16692         (gst_message_parse_segment_start),
16693         (gst_message_parse_segment_done), (gst_message_parse_duration):
16694         * gst/gstmessage.h:
16695         * tools/gst-launch.c: (event_loop):
16696         Seriously, this is better than a previous commit as we only need
16697         to notify the fact that an element changed state in a streaming
16698         thread, marking the state of the parents dirty, hence the 
16699         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
16700         message.
16701
16702 2005-10-18  Wim Taymans  <wim@fluendo.com>
16703
16704         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
16705         (gst_bin_recalc_func):
16706         * gst/gstelement.c: (gst_element_set_clock),
16707         (gst_element_abort_state), (gst_element_lost_state):
16708         Cleanups, prepare for state change fixes.
16709
16710 2005-10-18  Wim Taymans  <wim@fluendo.com>
16711
16712         * gst/gstbin.h:
16713         * gst/gstelement.c: (gst_element_class_init),
16714         (gst_element_set_state), (gst_element_set_state_func):
16715         * gst/gstelement.h:
16716         Pending ABI changes.
16717         GThreadPool in GstBinClass to monitor async state changes.
16718         state_cookie in GstElement to detect concurrent gst/set state.
16719         set_state is now virtual too in case a very complicated element
16720         has to be constructed.
16721
16722 2005-10-18  Wim Taymans  <wim@fluendo.com>
16723
16724         * check/gst/gstbin.c: (GST_START_TEST):
16725         * check/gst/gstmessage.c: (GST_START_TEST):
16726         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
16727         * gst/gstbin.c: (bin_bus_handler):
16728         * gst/gstelement.c: (gst_element_commit_state),
16729         (gst_element_lost_state):
16730         * gst/gstmessage.c: (gst_message_new_state_changed),
16731         (gst_message_new_segment_start), (gst_message_new_segment_done),
16732         (gst_message_new_duration), (gst_message_parse_state_changed),
16733         (gst_message_parse_segment_start),
16734         (gst_message_parse_segment_done), (gst_message_parse_duration):
16735         * gst/gstmessage.h:
16736         * tools/gst-launch.c: (event_loop):
16737         Make messages future proof.
16738         state-change gets a flag if it was a message comming from the
16739         streaming thread.
16740         segment-start/stop can also be specified in other formats.
16741         A message to notify an app that a pipeline changed playback 
16742         duration.
16743         Also fix a GstMessage leak in -launch
16744
16745 2005-10-18  Andy Wingo  <wingo@pobox.com>
16746
16747         * gst/gstelement.c (gst_element_dispose): More helpful message.
16748
16749 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16750
16751         reviewed by: <delete if not using a buddy>
16752
16753         * common/gtk-doc.mak:
16754
16755 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16756
16757         * gst/gstregistry.c: (gst_registry_scan_path_level):
16758           unref a plug-in we get that was already initialized
16759
16760 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
16761
16762         * docs/gst/gstreamer-sections.txt:
16763         * docs/libs/gstreamer-libs-sections.txt:
16764         * gst/gstelement.h:
16765           add new api entries
16766           hide internal macro
16767
16768 2005-10-17  Andy Wingo  <wingo@pobox.com>
16769
16770         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
16771         cleanup.
16772
16773         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
16774
16775         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
16776
16777         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
16778         (gst_element_get_state_func): Better debug message.
16779         (gst_element_commit_state): s/INFO/DEBUG/.
16780         (gst_element_lost_state, gst_element_change_state): 
16781
16782         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
16783         (gst_message_new_custom): s/INFO/LOG/.
16784
16785 2005-10-17  Michael Smith <msmith@fluendo.com>
16786
16787         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16788           Check if end time is valid using end time, not start time.
16789
16790 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
16791
16792         * check/gst-libs/controller.c: (GST_START_TEST),
16793         (gst_controller_suite):
16794         * libs/gst/controller/gstcontroller.c:
16795         (gst_controlled_property_set_interpolation_mode):
16796         * libs/gst/controller/gstcontroller.h:
16797         * libs/gst/controller/gstinterpolation.c:
16798         * testsuite/controller/.cvsignore:
16799         * testsuite/controller/Makefile.am:
16800         * testsuite/controller/interpolator.c:
16801           merge controller testsuites
16802           fix broken tests
16803           remove mem-chunk from docs
16804
16805 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16806
16807         * gst/gstmemchunk.c:
16808         * gst/gstmemchunk.h:
16809         * gst/gsttrashstack.c:
16810         * gst/gsttrashstack.h:
16811           out.  get out.  you're fired.  to the Attic !
16812
16813 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16814
16815         * gst/gstcaps.c: (gst_caps_intersect):
16816           fix signedness issues in a (hopefully) correct way
16817         * gst/gstelement.c: (gst_element_pads_activate):
16818           some debugging
16819         * gst/gstobject.c: (gst_object_set_parent):
16820           some debugging
16821
16822 2005-10-17  Julien MOUTTE  <julien@moutte.net>
16823
16824         * gst/gstvalue.h: Fix prototypes.
16825
16826 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16827
16828         * docs/gst/gstreamer-sections.txt:
16829         * gst/gst.c: (gst_version_string):
16830         * gst/gst.h:
16831         * gst/gstversion.h.in:
16832         * win32/common/libgstreamer.def:
16833           add gst_version_string ()
16834
16835 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16836
16837         * configure.ac:
16838           clean up further
16839         * gst/gst.c: (init_post):
16840         * win32/common/config.h.in:
16841           it's PLUGINDIR now
16842         * gst/gstcaps.c: (gst_caps_intersect):
16843           use gint64, the range could be bigger than a guint
16844
16845 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16846
16847         * gst/gstclock.h:
16848           document potential problem in 2038
16849
16850 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16851
16852         * gst/gstcaps.c: (gst_caps_intersect):
16853           Fix guint j diving under 0
16854
16855 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16856
16857         * configure.ac:
16858         * win32/common/config.h:
16859         * win32/common/config.h.in:
16860           check for process.h, declares getpid() on Windows
16861         * gst/gstinfo.c:
16862           include process.h if we have it
16863         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
16864         * gst/gstmemchunk.h:
16865           fix signedness issues
16866         * win32/common/libgstreamer.def:
16867           fix get_type's
16868
16869 2005-10-16  Julien MOUTTE  <julien@moutte.net>
16870
16871         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
16872         fix. Because of unsigned ints, caps intersection was going nuts and
16873         trying to access structures with G_MAXUINT index. That fixes
16874         videotestsrc ! ffmpegcolorspace ! fakesink
16875         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
16876         consistency.
16877
16878 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16879
16880         * configure.ac:
16881           use the gettext macro
16882         * gst/elements/gstelements.c:
16883         * gst/gst.c:
16884         * gst/indexers/gstindexers.c:
16885           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
16886         * win32/common/config.h:
16887           updated config.h
16888         * win32/common/config.h.in:
16889           add the template to generate config.h
16890         * win32/common/gstenumtypes.c:
16891         * win32/common/gstversion.h:
16892           updated copies
16893
16894 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16895
16896         * gst/gst.c: (gst_version):
16897         * gst/gstversion.h.in:
16898           add the nano
16899
16900 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16901
16902         * gst/gstevent.h:
16903           Oops, add missing closing bracket.
16904
16905 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16906
16907         * configure.ac:
16908           use common m4's for argument checking
16909
16910 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
16911
16912         * docs/gst/gstreamer-sections.txt:
16913         * gst/gstevent.h:
16914           Add GST_EVENT_TYPE_NAME() macro.
16915
16916 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16917
16918         * gst/gstinfo.c:
16919         * gst/gstpluginfeature.c:
16920         * gst/gsttask.c:
16921           privatize more symbols
16922
16923 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16924
16925         * configure.ac:
16926           add srcdir, builddir includes to GST_ALL_CFLAGS, since
16927           everything that uses GStreamer API should have the includes
16928
16929 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16930
16931         * docs/gst/gstreamer-sections.txt:
16932         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
16933         * gst/gstvalue.h:
16934           give each value a _get_type, removes the DATA exports
16935
16936 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16937
16938         * gst/gst.c:
16939         * gst/gst.h:
16940           remove _gst_registry_auto_load, not used anymore
16941         * gst/gstbin.c: (gst_bin_get_type):
16942         * gst/gstbin.h:
16943         * gst/gstelement.c: (gst_element_get_type):
16944         * gst/gstelement.h:
16945         * gst/gstobject.c: (gst_object_get_type):
16946         * gst/gstobject.h:
16947         * gst/gstpad.c: (gst_pad_get_type):
16948         * gst/gstpad.h:
16949           make _get_type functions similar, fixes data export from library
16950
16951 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16952
16953         * configure.ac:
16954           correctly make conditionals
16955         * gst/elements/Makefile.am:
16956         * gst/elements/gstelements.c:
16957           fix typo causing fdsrc not to build
16958
16959 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
16960
16961         * testsuite/Makefile.am:
16962         * testsuite/bytestream/.cvsignore:
16963         * testsuite/bytestream/Makefile.am:
16964         * testsuite/bytestream/filepadsink.c:
16965         * testsuite/bytestream/gstbstest.c:
16966         * testsuite/bytestream/test1.c:
16967         * testsuite/bytestream/testfile1:
16968         * testsuite/caps/normalisation.c:
16969         * testsuite/caps/random.c: (main):
16970         * testsuite/cleanup/.cvsignore:
16971         * testsuite/cleanup/Makefile.am:
16972         * testsuite/cleanup/cleanup1.c:
16973         * testsuite/cleanup/cleanup2.c:
16974         * testsuite/cleanup/cleanup3.c:
16975         * testsuite/cleanup/cleanup4.c:
16976         * testsuite/cleanup/cleanup5.c:
16977         * testsuite/controller/interpolator.c:
16978         * testsuite/debug/printf_extension.c: (main):
16979         * testsuite/elements/tee.c:
16980         * testsuite/negotiation/.cvsignore:
16981         * testsuite/negotiation/Makefile.am:
16982         * testsuite/negotiation/pad_link.c:
16983         * testsuite/pad/Makefile.am:
16984         * testsuite/pad/chainnopull.c:
16985         * testsuite/pad/getnopush.c:
16986         * testsuite/pad/link.c:
16987         * testsuite/refcounting/sched.c: (create_pipeline):
16988         * testsuite/registry/Makefile.am:
16989         * testsuite/registry/gst-print-formats.c:
16990         * testsuite/schedulers/.cvsignore:
16991         * testsuite/schedulers/142183-2.c:
16992         * testsuite/schedulers/142183.c:
16993         * testsuite/schedulers/143777-2.c:
16994         * testsuite/schedulers/143777.c:
16995         * testsuite/schedulers/147713.c:
16996         * testsuite/schedulers/147819.c:
16997         * testsuite/schedulers/147894-2.c:
16998         * testsuite/schedulers/147894.c:
16999         * testsuite/schedulers/Makefile.am:
17000         * testsuite/schedulers/group_link.c:
17001         * testsuite/schedulers/queue_link.c:
17002         * testsuite/schedulers/relink.c:
17003         * testsuite/schedulers/unlink.c:
17004         * testsuite/schedulers/unref.c:
17005         * testsuite/schedulers/useless_iteration.c:
17006         * testsuite/states/bin.c:
17007           clean out/remove some stuff from the testsuite directories
17008
17009 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17010
17011         * configure.ac:
17012           check for some headers
17013         * gst/elements/Makefile.am:
17014         * gst/elements/gstelements.c:
17015           don't compile fdsrc without sys/socket.h
17016         * gst/indexers/Makefile.am:
17017         * gst/indexers/gstindexers.c: (plugin_init):
17018           don't compile fileindex without mmap
17019
17020 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17021
17022         * configure.ac:
17023           reorganize
17024           clean up
17025           document more
17026           remove cruft
17027         * check/Makefile.am:
17028         * docs/gst/Makefile.am:
17029         * examples/helloworld/Makefile.am:
17030         * gst/Makefile.am:
17031         * gst/base/Makefile.am:
17032         * gst/check/Makefile.am:
17033         * gst/elements/Makefile.am:
17034         * gst/indexers/Makefile.am:
17035         * gst/parse/Makefile.am:
17036         * libs/gst/controller/Makefile.am:
17037         * libs/gst/dataprotocol/Makefile.am:
17038         * examples/helloworld/helloworld.c: (event_loop):
17039           compile fixes, though it's not being compiled currently
17040
17041 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17042
17043         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17044           Add some simple tests for the new taglist date API.
17045
17046 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17047
17048         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17049         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17050           Beautify 'last-message' output: print 'none' for buffer timestamps
17051           and durations if none is set; improve alignment with next messages.
17052
17053 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17054
17055         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17056         * gst/gstpluginfeature.h:
17057         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17058         * gst/gstregistry.h:
17059         * docs/gst/gstreamer-sections.txt:
17060           Add new API to check plugin feature version requirements.
17061
17062         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17063           Some basic tests for the above.         
17064
17065 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17066
17067         * gst/gststructure.c: (gst_structure_to_string):
17068           guard against NULL printf - happens when for example
17069           a message structure with GstClock gets serialized
17070
17071 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17072
17073         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17074           Fix presumable copy'n'pasto.
17075
17076 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17077
17078         * gst/elements/gstfakesrc.h:
17079         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17080         * gst/elements/gsttypefindelement.c:
17081           fix some signedness
17082         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17083           I wonder if this could actually write +2GB files before
17084
17085 2005-10-13  Andy Wingo  <wingo@pobox.com>
17086
17087         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17088         Fix Timmeke Waymans bug.
17089         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17090         string of the proper length to gst_caps_from_string. There's a
17091         potential for, before this fix, that this could cause someone
17092         connecting over the network to cause a segfault if the payload is
17093         not NUL-terminated.
17094
17095 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17096
17097         * docs/design/draft-push-pull.txt:
17098         * docs/design/part-overview.txt:
17099         * docs/random/TODO-pre-0.9:
17100         * docs/random/old/ChangeLog.gstreamer:
17101         * gst/base/gstpushsrc.c:
17102         * gst/gstclock.c:
17103           fixed typos
17104
17105 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17106
17107         * gst/glib-compat.c: (gst_flags_get_first_value):
17108         * gst/glib-compat.h:
17109         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17110         (gst_value_compare_double), (gst_value_serialize_flags):
17111           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17112           infinite loop
17113
17114 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17115
17116         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17117         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17118           fix up debugging
17119         * tools/gst-launch.c: (event_loop):
17120           print out clock nicely
17121
17122 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17123
17124         * docs/gst/gstreamer-sections.txt:
17125         * gst/gsttaglist.h:
17126         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17127         (gst_tag_list_get_date_index):
17128           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17129           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17130
17131 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17132
17133         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17134         (gst_collectpads_chain):
17135         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17136         in CollectData.
17137
17138 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17139
17140         * docs/gst/gstreamer-sections.txt:
17141         * gst/gst.c:
17142         * gst/gsterror.h:
17143         * tools/gst-inspect.c: (main):
17144         * tools/gst-launch.c: (main):
17145         * tools/gst-run.c: (main):
17146         * tools/gst-xmlinspect.c: (main):
17147           fix GOption context leaks
17148           doc fixes
17149
17150 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17151
17152         * gst/gstbus.c:
17153           use HAVE_UNISTD_H
17154         * win32/common/config.h:
17155           update config
17156         * win32/vs6/grammar.dsp:
17157         * win32/vs6/libgstelements.dsp:
17158         * win32/vs6/libgstreamer.dsp:
17159           update vs6 files
17160
17161 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17162
17163         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17164         * gst/base/gstbasesrc.c: (gst_base_src_query):
17165           fix more guint64<->gdouble conversions
17166
17167 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17168
17169         * Makefile.am:
17170           add win32-update target
17171         * win32/common/gstconfig.h:
17172         * win32/common/gstenumtypes.c:
17173         * win32/common/gstenumtypes.h:
17174         * win32/common/gstversion.h:
17175           add files that visual studio can't generate
17176
17177 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17178
17179         * Makefile.am:
17180           add a win32-update target
17181         * configure.ac:
17182
17183 2005-10-12  Wim Taymans  <wim@fluendo.com>
17184
17185         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17186         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17187         * gst/gstelement.c: (gst_element_commit_state),
17188         (gst_element_set_state):
17189         Protect flags with proper lock.
17190         unref provided cached clock in dispose.
17191
17192 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17193
17194         * gst/gst.c:
17195         * gst/gstminiobject.h:
17196         * gst/gstpad.h:
17197         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17198           removed unused flags from miniobject
17199           doc fixes
17200
17201 2005-10-12  Wim Taymans  <wim@fluendo.com>
17202
17203         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17204         (gst_file_sink_event), (gst_file_sink_render):
17205         Flush before seeking.
17206
17207 2005-10-12  Andy Wingo  <wingo@pobox.com>
17208
17209         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17210         always been the case.
17211
17212 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17213
17214         * check/gst/gstbin.c: (GST_START_TEST):
17215         * docs/gst/gstreamer-sections.txt:
17216         * gst/base/gstbasesink.c: (gst_base_sink_init):
17217         * gst/base/gstbasesrc.c: (gst_base_src_init),
17218         (gst_base_src_get_range), (gst_base_src_check_get_range),
17219         (gst_base_src_start), (gst_base_src_stop):
17220         * gst/base/gstbasesrc.h:
17221         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17222         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17223         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17224         (bin_bus_handler):
17225         * gst/gstbin.h:
17226         * gst/gstbuffer.h:
17227         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17228         * gst/gstbus.h:
17229         * gst/gstelement.c: (gst_element_is_locked_state),
17230         (gst_element_set_locked_state), (gst_element_commit_state),
17231         (gst_element_set_state):
17232         * gst/gstelement.h:
17233         * gst/gstindex.c: (gst_index_init):
17234         * gst/gstindex.h:
17235         * gst/gstminiobject.h:
17236         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17237         (gst_object_set_parent):
17238         * gst/gstobject.h:
17239         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17240         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17241         * gst/gstpad.h:
17242         * gst/gstpadtemplate.h:
17243         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17244         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17245         * gst/gstpipeline.h:
17246         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17247         (gst_file_index_commit):
17248         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17249         * testsuite/pad/link.c: (gst_test_src_init),
17250         (gst_test_filter_init), (gst_test_sink_init):
17251         * testsuite/states/locked.c: (main):
17252           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17253           moved bitshift from macro to enum definition
17254
17255 2005-10-12  Wim Taymans  <wim@fluendo.com>
17256
17257         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17258         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17259         (gst_file_sink_render):
17260         Some more debugging info.
17261
17262 2005-10-12  Wim Taymans  <wim@fluendo.com>
17263
17264         * docs/design/part-states.txt:
17265         * tools/gst-launch.c: (main):
17266         Some doc updates.
17267         Revert non-intentional change.
17268
17269 2005-10-12  Wim Taymans  <wim@fluendo.com>
17270
17271         * check/gst/gstbin.c: (GST_START_TEST):
17272         * check/gst/gstelement.c: (GST_START_TEST):
17273         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17274         * check/gst/gstghostpad.c: (GST_START_TEST):
17275         * check/gst/gstpipeline.c: (GST_START_TEST):
17276         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17277         * check/states/sinks.c: (GST_START_TEST):
17278         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17279         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17280         (gst_bin_remove_func), (gst_bin_get_state_func),
17281         (gst_bin_recalc_state), (gst_bin_change_state_func),
17282         (bin_bus_handler):
17283         * gst/gstelement.c: (gst_element_get_state_func),
17284         (gst_element_get_state), (gst_element_abort_state),
17285         (gst_element_commit_state), (gst_element_set_state),
17286         (gst_element_change_state), (gst_element_change_state_func):
17287         * gst/gstelement.h:
17288         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17289         (gst_pipeline_provide_clock_func):
17290         * gst/gstutils.c: (gst_element_link_pads_filtered):
17291         * tools/gst-launch.c: (main):
17292         * tools/gst-typefind.c: (main):
17293         Use GstClockTime in _get_state() instead of GTimeVal.
17294         Remove old code in gstutils.c
17295
17296 2005-10-12  Andy Wingo  <wingo@pobox.com>
17297
17298         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17299         removed.
17300
17301         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17302         there is no task. Shouldn't affect any code, as nothing in our
17303         plugins checks this return value.
17304         (gst_pad_stop_task): Also take the stream lock if the pad has no
17305         task. Docs updated.
17306
17307 2005-10-12  Wim Taymans  <wim@fluendo.com>
17308
17309         * gst/gstpad.c: (pre_activate), (post_activate),
17310         (gst_pad_activate_pull), (gst_pad_activate_push):
17311         Cleanup activation code. Reset old state if
17312         activation failed.
17313
17314 2005-10-12  Wim Taymans  <wim@fluendo.com>
17315
17316         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17317         (gst_base_sink_change_state):
17318         No need to prerol after receiving EOS.
17319
17320         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17321         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17322         * gst/elements/gstidentity.c: (gst_identity_event):
17323         Print events more verbosely.
17324
17325 2005-10-12  Wim Taymans  <wim@fluendo.com>
17326
17327         * check/Makefile.am:
17328         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17329         * check/states/sinks2.c:
17330         Moved sinks2 testcode in sinks check.
17331
17332         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17333         (gst_bin_remove_func), (gst_bin_recalc_state),
17334         (gst_bin_change_state_func), (bin_bus_handler):
17335         Fix potential race condition when _get_state() iterated over an
17336         ASYNC element right before it posted a state completion.
17337
17338         * gst/gstclock.h:
17339         Do proper cast here.
17340
17341         * gst/gstevent.c: (gst_event_new_newsegment),
17342         (gst_event_parse_newsegment):
17343         A playback rate of 0.0 is not allowed.
17344
17345 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17346
17347         * win32/common/config.h:
17348         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17349         (_trewinddir), (_ttelldir), (_tseekdir):
17350         * win32/common/dirent.h:
17351         * win32/common/gtchar.h:
17352         * win32/common/libgstbase.def:
17353         * win32/common/libgstreamer.def:
17354         * win32/vs6/grammar.dsp:
17355         * win32/vs6/gst_inspect.dsp:
17356         * win32/vs6/gst_launch.dsp:
17357         * win32/vs6/gstreamer.dsw:
17358         * win32/vs6/libgstbase.dsp:
17359         * win32/vs6/libgstelements.dsp:
17360         * win32/vs6/libgstreamer.dsp:
17361           Visual Studio 6 project files, and a new common directory.
17362           Phear.
17363
17364 2005-10-11  Wim Taymans  <wim@fluendo.com>
17365
17366         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17367         (gst_base_sink_do_sync), (gst_base_sink_query),
17368         (gst_base_sink_change_state):
17369         * gst/base/gstbasesink.h:
17370         Correctly parse newsegment info.
17371
17372 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17373
17374         * gst/gst.c: (init_post):
17375           split plugin paths correctly
17376
17377 2005-10-11  Wim Taymans  <wim@fluendo.com>
17378
17379         * check/gst/gstevent.c: (GST_START_TEST):
17380         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17381         (gst_base_sink_change_state):
17382         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17383         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17384         * gst/elements/gstfilesink.c: (gst_file_sink_event):
17385         * gst/gstevent.c: (gst_event_new_newsegment),
17386         (gst_event_parse_newsegment):
17387         * gst/gstevent.h:
17388         Added extra flag to newsegment for future API freeze.
17389         Updated check and base elements.
17390
17391 2005-10-11  Julien MOUTTE  <julien@moutte.net>
17392
17393         * gst/base/gstcollectpads.c: (gst_collectpads_init),
17394         (gst_collectpads_add_pad), (gst_collectpads_pop),
17395         (gst_collectpads_event), (gst_collectpads_chain):
17396         * gst/base/gstcollectpads.h: Handle EOS correctly.
17397
17398 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17399
17400         * tools/gst-launch.c: (main):
17401           more null protecting
17402
17403 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17404
17405         * gst/gst-i18n-lib.h:
17406           check for ENABLE_NLS, not GETTEXT_PACKAGE
17407         * gst/gstregistry.c: (gst_registry_add_plugin),
17408         (gst_registry_scan_path_level),
17409         (_gst_registry_remove_cache_plugins):
17410           protect possibly NULL strings
17411         * gst/parse/types.h:
17412           config.h already included before
17413         * tools/gst-inspect.c: (main):
17414           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17415           check for ENABLE_NLS, not GETTEXT_PACKAGE
17416         * tools/gst-launch.c: (main):
17417           check for ENABLE_NLS, not GETTEXT_PACKAGE
17418
17419 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17420
17421         * configure.ac:
17422           if we don't have glib, fail before testing 2.8
17423         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17424           fix a leak, should fix plugins-base testsuite
17425
17426 2005-10-11  Andy Wingo  <wingo@pobox.com>
17427
17428         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17429         take the mode we're going to as an arg. Go head and set the mode
17430         and flushing flags now, so that if the activate function starts a
17431         thread all the flags will be in the right state.
17432         (post_activate): Renamed also. Just handle making sure streaming
17433         finishes for the deactivation case, and setting the deactivated
17434         mode.
17435         (gst_pad_set_active): Complain loudly if deactivation fails.
17436         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17437         (gst_pad_activate_push): Adapt to pre/post_activate changes,
17438         remove the terrible hack.
17439
17440 2005-10-11  Wim Taymans  <wim@fluendo.com>
17441
17442         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17443         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17444         (gst_bin_recalc_state), (gst_bin_change_state_func),
17445         (gst_bin_dispose), (bin_bus_handler):
17446         * gst/gstbin.h:
17447         Prepare to make current EOS message queue more generic.
17448         Fix some typos.
17449
17450         * gst/gstevent.c: (gst_event_new_newsegment),
17451         (gst_event_parse_newsegment):
17452         * gst/gstevent.h:
17453         Rename base to stream_time.
17454
17455         * gst/gstmessage.h:
17456         Fix typo in docs.
17457
17458 2005-10-11  Wim Taymans  <wim@fluendo.com>
17459
17460         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17461         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17462         (gst_bin_change_state_func), (bin_bus_handler):
17463         * gst/gstbin.h:
17464         Work on proper clock selection.
17465
17466 2005-10-11  Edward Hervey  <edward@fluendo.com>
17467
17468         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
17469         * libs/gst/controller/gstcontroller.h:
17470         Added GList* version of _remove_properties() in order to be able to wrap
17471         it in bindings.
17472
17473 2005-10-11  Wim Taymans  <wim@fluendo.com>
17474
17475         * docs/design/part-states.txt:
17476         Some more docs.
17477
17478         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17479         (gst_bin_change_state_func), (bin_bus_handler):
17480         Doc updates. Don't distribute the same clock over and over again.
17481
17482         * gst/gstclock.c:
17483         * gst/gstclock.h:
17484         Doc updates.
17485
17486         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17487         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17488         (gst_pad_send_event):
17489         * gst/gstpad.h:
17490         Make probe emission threadsafe again.
17491         Register quarks and move _get_name() from utils.
17492         Doc updates.
17493
17494         * gst/gstpipeline.c: (gst_pipeline_class_init),
17495         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17496         Only redistribute the clock of it changed.
17497
17498         * gst/gstsystemclock.h:
17499         Doc updates. 
17500
17501         * gst/gstutils.c:
17502         * gst/gstutils.h:
17503         Moved the _flow_get_name() to GstPad.
17504
17505 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17506
17507         * check/gst-libs/gdp.c: (GST_START_TEST):
17508         * check/gst/gstcaps.c: (GST_START_TEST):
17509         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17510         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17511         (gst_dp_packet_from_caps):
17512           fix more valgrind warnings before turning up the heat
17513
17514 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17515
17516         * gst/parse/grammar.y:
17517           some cleanup before the hacking
17518
17519 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17520
17521         * gst/base/gstbasesrc.c: (gst_base_src_query):
17522           use conversions
17523         * gst/gstutils.c: (gst_guint64_to_gdouble),
17524         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17525         * gst/gstutils.h:
17526           externalize, basesrc uses it
17527           obviously the implementation needs testing
17528
17529 2005-10-10  Wim Taymans  <wim@fluendo.com>
17530
17531         * tests/sched/Makefile.am:
17532         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17533         (make_pipeline3), (make_pipeline4), (print_elem), (main):
17534
17535 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17536
17537         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17538           apparently converting from guint64 to double is not implemented
17539           on MSVC
17540
17541 2005-10-10  Wim Taymans  <wim@fluendo.com>
17542
17543         * check/Makefile.am:
17544         * check/generic/states.c: (GST_START_TEST):
17545         * check/gst/gstbin.c: (GST_START_TEST):
17546         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17547         * check/states/sinks.c: (GST_START_TEST):
17548         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17549         (main):
17550         Check fixes, use API as stated in design docs, remove hacks.
17551
17552         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17553         (gst_base_sink_change_state):
17554         Catch stopping our task while we're shutting down.
17555
17556         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17557         (gst_bin_remove_func), (gst_bin_get_state_func),
17558         (gst_bin_recalc_state), (gst_bin_change_state_func),
17559         (bin_bus_handler):
17560         * gst/gstbin.h:
17561         * gst/gstelement.c: (gst_element_init),
17562         (gst_element_get_state_func), (gst_element_abort_state),
17563         (gst_element_commit_state), (gst_element_lost_state),
17564         (gst_element_set_state), (gst_element_change_state),
17565         (gst_element_change_state_func):
17566         * gst/gstelement.h:
17567         New state change algorithm (see #318116)
17568
17569         * gst/gstpipeline.c: (gst_pipeline_class_init),
17570         (gst_pipeline_init), (gst_pipeline_set_property),
17571         (gst_pipeline_get_property), (do_pipeline_seek),
17572         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17573         * gst/gstpipeline.h:
17574         Remove crude state change hacks.
17575
17576         * gst/gstutils.h:
17577         Remove crude hacks.
17578
17579         * tools/gst-launch.c: (main):
17580         Fixes for state change. Needs some more work to fully use the
17581         new stuff.
17582
17583 2005-10-10  Andy Wingo  <wingo@pobox.com>
17584
17585         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17586
17587         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17588         this flag, but it's not even in GLib 2.6. Odd. Hack around the
17589         issue.
17590
17591 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17592
17593         * gst/gstiterator.c: (gst_iterator_new):
17594           Fix my previous commit: GTypes passed to gst_iterator_new()
17595           can be fundamental types.
17596
17597 2005-10-10  Wim Taymans  <wim@fluendo.com>
17598
17599         * gst/gstelement.c: (gst_element_iterate_pad_list),
17600         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17601         (gst_element_iterate_sink_pads):
17602         Use src/sink pads lists for the respective iterators instead
17603         of filtering.
17604
17605 2005-10-10  Andy Wingo  <wingo@pobox.com>
17606
17607         Merged in popt removal + GOption addition patch from Ronald, bug
17608         #169772.
17609
17610         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17611         GstElement macros around, remove popt-related symbols, add goption
17612         stuff.
17613
17614         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
17615         
17616         * docs/gst/Makefile.am:
17617         * docs/libs/Makefile.am: No POPT_CFLAGS.
17618         
17619         * examples/manual/Makefile.am:
17620         * docs/manual/basics-init.xml: Doc updates with an example.
17621         
17622         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
17623         (gst_init), (parse_one_option), (parse_goption_arg):
17624         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
17625         bit of hand merging and debugging to get the GOption stuff working
17626         tho.
17627         
17628         * tests/Makefile.am:
17629         * tools/Makefile.am:
17630         * tools/gst-inspect.c: (main):
17631         * tools/gst-launch.c: (main):
17632         * tools/gst-run.c: (main):
17633         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
17634
17635 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17636
17637         * gst/gstiterator.c: (gst_iterator_new):
17638           Add assertions to make sure passed GType is likely to really
17639           be a GType (as the compiler won't catch it if the size and
17640           GType arguments get mixed up, see #318447).
17641
17642 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
17643
17644         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17645
17646         * gst/gstbin.c: (gst_bin_iterate_sorted):
17647           Pass GType and size arguments to gst_iterator_new() in the right
17648           order (maybe we should make _new() take the GType as first argument
17649           just like _new_list()?) (#318447).
17650           
17651
17652 2005-10-10  Wim Taymans  <wim@fluendo.com>
17653
17654         * gst/gstelement.c: (gst_element_finalize):
17655         And free the GStaticRecMutex too
17656
17657 2005-10-10  Andy Wingo  <wingo@pobox.com>
17658
17659         * gst/gstelement.c (gst_element_init, gst_element_finalize):
17660         Allocate and free the mutex properly.
17661
17662         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
17663         New macros.
17664         (GstElement): The state_lock is now recursive. Rebuild your
17665         plugins, suckers. Old macros adapted.
17666
17667         * docs/gst/gstreamer-sections.txt: Doc updates.
17668
17669         * gst/gstutils.h:
17670         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
17671         (g_static_rec_cond_wait): Ported from state changes patch, while
17672         we wait on bug #317802 to be solved in a well-distributed GLib.
17673
17674         * gst/gstelement.c (gst_element_change_state_func): Renamed from
17675         gst_element_change_state, variable name changes.
17676         (gst_element_change_state): Split out of gst_element_set_state in
17677         preparation for the state change merge. Doesn't pay attention to
17678         the 'transition' argument.
17679         (gst_element_set_state): Updates, hopefully purely cosmetic.
17680         (gst_element_sync_state_with_parent): MT-safety. Ported from the
17681         state change patch.
17682         (gst_element_get_state_func): Renamed from get_state, cosmetic
17683         changes.
17684
17685 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17686
17687         * gst/elements/gstelements.c:
17688         * win32/GStreamer.vcproj:
17689         * win32/config.h:
17690         * win32/dirent.c: (_tseekdir):
17691         * win32/gst-inspect.vcproj:
17692         * win32/gst-launch.vcproj:
17693         * win32/gstconfig.h:
17694         * win32/gstelements.vcproj:
17695         * win32/gstenumtypes.c: (gst_object_flags_get_type):
17696         * win32/gstreamer.def:
17697         * win32/msvc71.sln:
17698           updates for the win32 build (patch from Sebastien Moutte)
17699
17700 2005-10-10  Andy Wingo  <wingo@pobox.com>
17701
17702         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
17703         gst_bin_get_state, cleaned up (but no logic changes).
17704         (bin_element_is_sink): Comment updates.
17705         (sink_iterator_filter): Remove needless cast.
17706         (gst_bin_iterate_sinks): Doc update.
17707         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
17708         cleaned up (but no logic changes).
17709
17710         * check/states/sinks.c (test_src_sink): Cleanups from the state
17711         change patch.
17712         (test_livesrc_sink): Sync on the state.
17713
17714         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
17715         the state change patch.
17716
17717         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
17718         change patch.
17719
17720         * check/gst/gstbin.c: Merge in some style fixes and additional
17721         checks from Wim's state change patch.
17722
17723 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
17724
17725         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17726         (gst_type_find_helper):
17727           Check whether we have the requested data already in our list of
17728           cached buffers before pulling a new buffer; also make the buffer
17729           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
17730
17731 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17732
17733         * gst/gstcaps.c:
17734         * gst/gstevent.c:
17735           doc updates
17736         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17737           don't use long long, it's not portable.  Replacing with
17738           gint64 seems to work; let's hope no skeletons fall out of the closet.
17739
17740 2005-10-10  Andy Wingo  <wingo@pobox.com>
17741
17742         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
17743
17744 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
17745
17746         * docs/gst/gstreamer-sections.txt:
17747         * gst/gstevent.c:
17748         * gst/gstevent.h:
17749         * gst/gstinfo.c:
17750         * gst/gstinfo.h:
17751         * gst/gstmessage.c: (gst_message_parse_state_changed):
17752         * gst/gstpad.c:
17753         * gst/gstpad.h:
17754           more docs, fix compilation
17755
17756 2005-10-09  Philippe Khalaf <burger@speedy.org>
17757         * gst/gstmessage.c:
17758           Fixed a few forgotten variables on previous commit
17759
17760 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
17761
17762         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17763           Fix evil typefind crasher: getrange() might return a short
17764           buffer at the end of a file, but gst_type_find_peek() must
17765           either return the full data as requested or NULL, but
17766           never a short buffer.
17767
17768 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17769
17770         * gst/gstmessage.c: (gst_message_new_state_changed),
17771         (gst_message_parse_state_changed):
17772         * gst/gstmessage.h:
17773           don't use "new", it's a C++ keyword
17774
17775 2005-10-08  Wim Taymans  <wim@fluendo.com>
17776
17777         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
17778         * gst/gstelement.c: (gst_element_post_message):
17779         * gst/gstpipeline.c: (gst_pipeline_change_state):
17780         Small docs and debug updates.
17781
17782 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17783
17784         * docs/gst/gstreamer-sections.txt:
17785         * gst/gstelementfactory.c:
17786         * gst/gstevent.c:
17787         * gst/gsttaglist.c:
17788           more docs
17789
17790 2005-10-08  Wim Taymans  <wim@fluendo.com>
17791
17792         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
17793         (gst_bin_dispose), (bin_bus_handler):
17794         Fix typos, add comments.
17795         Clear EOS list when going to PAUSED from any direction and do it
17796         in a threadsafe way.
17797         Get base time in a threadsafe way too.
17798         Fix confusing debug in the change_state function.
17799         Various other small cleanups.
17800         
17801         * gst/gstelement.c: (gst_element_post_message):
17802         Fix very verbose bus posting code.
17803
17804         * gst/gstpipeline.c: (gst_pipeline_class_init),
17805         (gst_pipeline_set_property), (gst_pipeline_get_property),
17806         (gst_pipeline_change_state):
17807         Small ARG_ -> PROP_ cleanup
17808
17809 2005-10-08  Wim Taymans  <wim@fluendo.com>
17810
17811         * gst/gstbin.c: (is_eos), (bin_bus_handler):
17812         Do a less CPU demanding EOS check because we can.
17813
17814 2005-10-08  Wim Taymans  <wim@fluendo.com>
17815
17816         * libs/gst/dataprotocol/dataprotocol.c:
17817         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
17818         (gst_dp_packet_from_event):
17819         * libs/gst/dataprotocol/dataprotocol.h:
17820         * libs/gst/dataprotocol/dp-private.h:
17821         It's about time we bump the version number.
17822         Since event types don't fit in the guint8 anymore describing
17823         the payload type, make payload type 16 bits wide.
17824
17825 2005-10-08  Wim Taymans  <wim@fluendo.com>
17826
17827         * docs/design/part-TODO.txt:
17828         * docs/design/part-clocks.txt:
17829         * docs/design/part-events.txt:
17830         * docs/design/part-gstbin.txt:
17831         * docs/design/part-gstelement.txt:
17832         * docs/design/part-gstpipeline.txt:
17833         * docs/design/part-live-source.txt:
17834         * docs/design/part-messages.txt:
17835         * docs/design/part-overview.txt:
17836         * docs/design/part-states.txt:
17837         Many doc updates.
17838
17839 2005-10-08  Wim Taymans  <wim@fluendo.com>
17840
17841         * gst/gstevent.c:
17842         * gst/gstevent.h:
17843         Fix event quark registration.
17844         Add some space between events so we can insert them in the
17845         right groups.
17846
17847 2005-10-08  Wim Taymans  <wim@fluendo.com>
17848
17849         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17850         (gst_base_sink_handle_buffer):
17851         Better log message.
17852
17853         * gst/gstbus.h:
17854         * gst/gstelement.h:
17855         More docs.
17856
17857         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17858         (gst_queue_set_property), (gst_queue_get_property):
17859         * gst/gstqueue.h:
17860         Remove old unused properties.
17861
17862 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
17863         * docs/gst/gstreamer-sections.txt:
17864         * gst/gstmessage.c:
17865         * gst/gstmessage.h:
17866         * gst/gstminiobject.c:
17867         * gst/gstminiobject.h:
17868         * gst/gstobject.h:
17869         * gst/gstpad.h:
17870         * gst/gstutils.h:
17871           lots of new docs and doc fixes
17872
17873 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17874
17875         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
17876         * gst/gstplugin.h:
17877         * gst/gstregistry.c: (gst_registry_lookup_locked),
17878         (gst_registry_scan_path_level):
17879         * gst/gstregistryxml.c: (load_plugin):
17880           Only ever load one plugin for a given plugin basename.
17881           This ensures correct overriding of GST_PLUGIN_PATH over
17882           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
17883           system installed plugins.
17884
17885 2005-10-08  Wim Taymans  <wim@fluendo.com>
17886
17887         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17888         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
17889         Prepare for doing QOS.
17890
17891 2005-10-08  Wim Taymans  <wim@fluendo.com>
17892
17893         * check/gst/gstbin.c: (GST_START_TEST):
17894         * check/pipelines/cleanup.c: (GST_START_TEST):
17895         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
17896         Allow new clock message too.
17897
17898 2005-10-08  Wim Taymans  <wim@fluendo.com>
17899
17900         * gst/gstmessage.c: (gst_message_new_error),
17901         (gst_message_new_warning), (gst_message_new_tag),
17902         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17903         (gst_message_new_clock_lost), (gst_message_new_new_clock),
17904         (gst_message_new_segment_start), (gst_message_new_segment_done),
17905         (gst_message_parse_state_changed),
17906         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
17907         (gst_message_parse_new_clock):
17908         * gst/gstmessage.h:
17909         Also carry the clock in question.
17910
17911 2005-10-08  Wim Taymans  <wim@fluendo.com>
17912
17913         * gst/gstmessage.c: (gst_message_new_custom),
17914         (gst_message_new_eos), (gst_message_new_error),
17915         (gst_message_new_warning), (gst_message_new_tag),
17916         (gst_message_new_state_changed), (gst_message_new_clock_provide),
17917         (gst_message_new_new_clock), (gst_message_new_segment_start),
17918         (gst_message_new_segment_done), (gst_message_parse_state_changed),
17919         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
17920         * gst/gstmessage.h:
17921         Clean up.
17922         Added clock related messages.
17923
17924         * gst/gstpipeline.c: (gst_pipeline_change_state):
17925         Post message when the clock changed.
17926
17927         * tools/gst-launch.c: (event_loop):
17928         Print new clock.
17929
17930 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
17931
17932         * tools/gst-inspect.c: (print_element_properties_info):
17933           Can't pass NULL strings to g_print() on windows.
17934
17935 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17936
17937         * docs/Makefile.am:
17938         * docs/gst/Makefile.am:
17939         * docs/gst/gstreamer-docs.sgml:
17940         * docs/gst/running.xml:
17941         * docs/version.entities.in:
17942           add a chapter on running GStreamer.
17943           document GST_DEBUG and GST_PLUGIN* env vars
17944
17945 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17946
17947         * Makefile.am:
17948           remove include dir
17949         * configure.ac:
17950           remove PLUGINS_BUILDDIR stuff
17951         * gst/gst.c: (init_post):
17952           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
17953         * idiottest.mak:
17954           remove, it was condescending and not needed
17955
17956 2005-10-08  Wim Taymans  <wim@fluendo.com>
17957
17958         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
17959         (gst_base_sink_handle_object), (gst_base_sink_event),
17960         (gst_base_sink_wait), (gst_base_sink_handle_event),
17961         (gst_base_sink_change_state):
17962         * gst/base/gstbasesink.h:
17963         Repost EOS message while going to PLAYING if still EOS.
17964         Make sure that when receiving a FLUSH_START we don't attempt
17965         to sync on the clock anymore.
17966
17967 2005-10-08  Wim Taymans  <wim@fluendo.com>
17968
17969         * tools/gst-launch.c: (event_loop):
17970         Better message printout.
17971
17972 2005-10-08  Wim Taymans  <wim@fluendo.com>
17973
17974         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
17975         (gst_bin_child_proxy_get_children_count):
17976         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
17977         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
17978         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
17979         (gst_child_proxy_set_valist):
17980         * gst/parse/grammar.y:
17981         Make ChildProxy threadsafe and fix mem leaks.
17982
17983 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17984
17985         * gst/gst.c: (init_post):
17986           debug the GST_PLUGIN_ env vars
17987
17988 2005-10-08  Wim Taymans  <wim@fluendo.com>
17989
17990         * check/gst/gstbin.c: (GST_START_TEST):
17991         * check/gst/gstmessage.c: (GST_START_TEST):
17992         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17993         * gst/gstelement.c: (gst_element_commit_state),
17994         (gst_element_lost_state):
17995         * gst/gstmessage.c: (gst_message_new_state_changed),
17996         (gst_message_parse_state_changed):
17997         * gst/gstmessage.h:
17998         * tools/gst-launch.c: (event_loop):
17999         Added extra field to STATE_CHANGE message with the pending
18000         state, which will be different from the new state soon.
18001
18002 2005-10-08  Wim Taymans  <wim@fluendo.com>
18003
18004         * gst/gstbus.c: (gst_bus_pop):
18005         * gst/gstclock.c:
18006         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18007         Small cleanups and doc updates.
18008
18009 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18010
18011         * gst/gst.c: (init_pre):
18012         * gst/gstbin.c: (gst_bin_add_func):
18013           log distributing clocks and base time
18014         * gst/gstregistry.c: (gst_registry_add_plugin),
18015         (gst_registry_scan_path_level), (gst_registry_scan_path):
18016           clean up the debugging output a little
18017         * gst/gstutils.c: (gst_element_state_get_name):
18018           warn about a memleak (I've actually seen this be used, though
18019           it was probably a bug)
18020
18021 2005-10-07  Wim Taymans  <wim@fluendo.com>
18022
18023         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18024         (gst_base_src_init), (gst_base_src_default_newsegment),
18025         (gst_base_src_newsegment), (gst_base_src_do_seek),
18026         (gst_base_src_loop), (gst_base_src_start):
18027         * gst/base/gstbasesrc.h:
18028         Make the newsegment event customizable by subclasses.
18029
18030 2005-10-07  Wim Taymans  <wim@fluendo.com>
18031
18032         * gst/gstevent.c: (gst_event_new_buffersize),
18033         (gst_event_parse_buffersize):
18034         * gst/gstevent.h:
18035         New event for future idea.
18036
18037 2005-10-07  Andy Wingo  <wingo@pobox.com>
18038
18039         * gst/gstelement.c (gst_element_post_message): Doc update.
18040
18041         * docs/gst/gstreamer-sections.txt: Update.
18042
18043         * gst/gstmessage.c (gst_message_new_application): Made into a
18044         function like honest API calls.
18045         (gst_message_new_element): New message type.
18046
18047         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18048
18049         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18050         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18051         times.
18052
18053         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18054         NO_PREROLL from gst_element_change_state to fall through.
18055
18056 2005-10-07  Wim Taymans  <wim@fluendo.com>
18057
18058         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18059         (gst_ghost_pad_do_activate_push):
18060         Activating a ghostpad with no internal pad in push mode
18061         is ok.
18062
18063 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18064
18065         * gst/gstobject.h:
18066           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18067           Fixes compilation on Windows.
18068
18069 2005-10-07  Michael Smith <msmith@fluendo.com>
18070
18071         * tools/gst-inspect.c:
18072           Print out feature and plugin count at the end when printing out
18073           all features.
18074
18075 2005-10-04  Michael Smith <msmith@fluendo.com>
18076
18077         * gst/gsterror.c: (_gst_stream_errors_init):
18078           Add another error string used in a few existing plugins.
18079
18080         * gst/gstplugin.c:
18081         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18082         * tools/gst-inspect.c: (print_element_info):
18083           When a feature disappears from a plugin (and the feature exists in
18084           the cached registry file), things went horribly wrong. This isn't a
18085           complete fix, we should actually be removing the 'missing' features
18086           from the features list when we load the actual plugin. That's not
18087           yet implemented. 
18088
18089 2005-10-04  Johan Dahlin  <johan@gnome.org>
18090
18091         * check/gst/gstiterator.c: (GST_START_TEST):
18092         * gst/gstbin.c: (gst_bin_iterate_elements),
18093         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18094         * gst/gstelement.c: (gst_element_iterate_pads):
18095         * gst/gstformat.c: (gst_format_iterate_definitions):
18096         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18097         (gst_iterator_new_list), (gst_iterator_filter):
18098         * gst/gstiterator.h:
18099         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18100         Add a GType to GstIterator, update callsites and tests.
18101
18102 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18103
18104         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18105           give events a chance to be handled by event probes when the pad
18106           is not linked
18107
18108 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18109
18110         * gst/gstevent.c: (gst_event_type_get_name),
18111         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18112         * gst/gstevent.h:
18113           add string representations for event types
18114
18115 2005-10-06  Wim Taymans  <wim@fluendo.com>
18116
18117         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18118         Don't use NULL pointers.
18119
18120 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18121
18122         * gst/gst_private.h:
18123         * gst/gstbus.c:
18124         * gst/gstelement.c:
18125         * gst/gstinfo.c:
18126         * gst/gstpluginfeature.c:
18127           widen the debug category in output to fit the biggest one we have
18128           add a bus category and use it
18129           play with the colors
18130           fix up some categories
18131
18132 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18133
18134         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18135           add push activation of sink ghost pads.
18136           Andye, please verify
18137
18138 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18139
18140         * gst/gstutils.c: (gst_element_link_pads):
18141           fix a bug in the case where neither element has a pad
18142         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18143           add a test for that case
18144
18145 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18146
18147         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18148           emit have-data before checking for peers.  This allows
18149           for probe handlers to connect elements.  This helps autopluggers.
18150         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18151         (gst_pad_suite):
18152           add six checks, linked/unlinked with no/true/false probe
18153
18154 2005-10-04  Wim Taymans  <wim@fluendo.com>
18155
18156         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18157         (gst_fake_sink_event), (gst_fake_sink_preroll),
18158         (gst_fake_sink_render), (gst_fake_sink_change_state):
18159         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18160         (gst_fake_src_get_property), (gst_fake_src_create),
18161         (gst_fake_src_stop):
18162         * gst/elements/gstidentity.c: (gst_identity_stop):
18163         Protect last_message with lock.
18164
18165 2005-10-04  Edward Hervey  <edward@fluendo.com>
18166
18167         * gst/gstformat.h: 
18168         Added precision in the comments for GST_FORMAT_DEFAULT
18169
18170 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18171
18172         * tools/gst-launch.c: (main):
18173           Don't try to run erroneous pipelines.
18174
18175 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18176
18177         * gst/gstbus.c: We don't need this header.
18178
18179 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18180
18181         * configure.ac:
18182           back to development
18183
18184 === release 0.9.3 ===
18185
18186 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18187
18188         * README:
18189         * configure.ac:
18190           Releasing 0.9.3, "Unregistered"
18191
18192 2005-10-03  Andy Wingo  <wingo@pobox.com>
18193
18194         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18195         whereby calling a pad's activatepush() function can start a thread
18196         that starts to push or pull before the pad gets the FLUSHING flag
18197         unset. Hack around it by holding the stream lock until the flag is
18198         set. Need to replace this with a proper solution. Together with
18199         the ghost pad fixes, this fixes mp3 playing/tagreading.
18200
18201         * docs/design/part-gstghostpad.txt: Add a note about activation of
18202         proxy pads outside of ghost pads.
18203
18204         * gst/gstghostpad.c: Implement the ghost pad activation design.
18205
18206 2005-10-02  Andy Wingo  <wingo@pobox.com>
18207
18208         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18209         It is volatile, after all.
18210
18211         * docs/design/part-gstghostpad.txt: Flesh out activation with
18212         ghost pads.
18213
18214         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18215         GST_DEBUG_FUNCPTR.
18216
18217 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18218
18219         * configure.ac:
18220           Fix (unused) AM_CONDITIONAL tests.
18221
18222 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18223
18224         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18225
18226         * gst/gstutils.c: (gst_pad_query_convert):
18227           Add assertion that makes sure src_val is >=0, just like
18228           gst_query_new_convert() has. (#315895)
18229
18230 2005-09-30  Edward Hervey  <edward@fluendo.com>
18231
18232         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18233         Let's not iterate pads we're not interested in, it avoids getting 
18234         sky-high refcounts on sinkpad.
18235
18236 2005-09-30  Wim Taymans  <wim@fluendo.com>
18237
18238         * gst/gstelement.c: (gst_element_set_state),
18239         (gst_element_change_state):
18240         Small tweak, element in ASYNC remains ASYNC.
18241
18242 2005-09-30  Wim Taymans  <wim@fluendo.com>
18243
18244         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18245         Only error is an error.
18246
18247         * gst/gstbin.c: (gst_bin_change_state):
18248         Better debugging.
18249
18250         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18251         Also call pad_block in pad alloc.
18252
18253         * gst/gstutils.c: (gst_flow_get_name):
18254         Better debugging.
18255
18256 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18257
18258         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18259         (gst_base_src_get_range):
18260           Fix documentation typos. Add some more debug info.
18261
18262 2005-09-29  David Schleef  <ds@schleef.org>
18263
18264         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18265           more end-user friendly.
18266         * tools/gst-inspect.c: (main): Check if command-line argument is
18267           a file and attempt to load that file as a plugin.
18268
18269 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18270
18271         * check/gst/gstbin.c:
18272         * check/states/sinks.c:
18273           fix tests for the new warning
18274         * check/gst/gstpipeline.c:
18275           add a test for pipeline and bus interaction
18276         * gst/gstelement.c:
18277           elements should be NULL if they get disposed; add a warning if not
18278
18279 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18280
18281         * gst/gstobject.c:
18282           for 2.6 refcounting, make debug log more correct by printing
18283           the actual refcounts at the time of swap (Wim)
18284
18285 2005-09-29  Andy Wingo  <wingo@pobox.com>
18286
18287         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18288         removes signal watches previously added via
18289         gst_bus_add_signal_watch.
18290         (gst_bus_add_signal_watch): Don't return the source id, just store
18291         it on the bus if there wasn't an id already.
18292
18293         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18294         add_signal_watch and remove_signal_watch.
18295
18296 2005-09-29  Edward Hervey  <edward@fluendo.com>
18297
18298         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18299         Better if we actually iterate the list :)
18300
18301 2005-09-29  Wim Taymans  <wim@fluendo.com>
18302
18303         * check/gst/gstbin.c: (GST_START_TEST):
18304         Change for new bus API.
18305
18306         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18307         (send_messages), (GST_START_TEST), (gstbus_suite):
18308         Change for new bus signal API.
18309
18310         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18311         (gst_bus_source_prepare), (gst_bus_source_check),
18312         (gst_bus_create_watch), (gst_bus_add_watch_full),
18313         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18314         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18315         * gst/gstbus.h:
18316         Remove support for multiple GSources operating on different
18317         message types as it is too complex and unneeded when using
18318         signals.
18319         Added support for receiving signals from the bus.
18320
18321 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18322
18323         * docs/libs/tmpl/gstdataprotocol.sgml:
18324         * docs/manual/advanced-dataaccess.xml:
18325         * gst/elements/gstcapsfilter.c:
18326         * gst/gstutils.c:
18327           rename filter-caps to caps property
18328
18329 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18330
18331         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18332           More robust fraction string parsing.
18333
18334         * docs/pwg/appendix-porting.xml:
18335           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18336
18337 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18338
18339         * gst/gstcaps.c: (gst_caps_do_simplify):
18340           Thou shalt not free a structure and then continue using it
18341           in the next loop iteration.
18342
18343         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18344         (gst_caps_suite):
18345           Add test case for caps simplification.
18346
18347 2005-09-29  Wim Taymans  <wim@fluendo.com>
18348
18349         * check/gst/gstbin.c: (GST_START_TEST):
18350         Oops.
18351
18352 2005-09-29  Wim Taymans  <wim@fluendo.com>
18353
18354         * check/gst/gstbin.c: (GST_START_TEST):
18355         Add bus to bin.
18356
18357         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18358         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18359         (find_element), (gst_bin_sort_iterator_next),
18360         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18361         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18362         (gst_bin_change_state), (gst_bin_dispose):
18363         A bin does not have a bus, it gets the bus from the parent.
18364
18365         * gst/gstelement.c: (gst_element_requires_clock),
18366         (gst_element_provides_clock), (gst_element_is_indexable),
18367         (gst_element_is_locked_state), (gst_element_change_state),
18368         (gst_element_set_bus_func):
18369         Small cleanups.
18370
18371         * gst/gstpipeline.c: (gst_pipeline_class_init),
18372         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18373         The pipeline provides a bus.
18374
18375 2005-09-28  Johan Dahlin  <johan@gnome.org>
18376
18377         * gst/gstmessage.c (gst_message_parse_state_changed): Use
18378         gst_structure_get_enum instead of gst_structure_get_int
18379
18380         * gst/gststructure.c (gst_structure_get_enum): Impl.
18381
18382         * gst/gststructure.h (gst_structure_get_enum): Add
18383
18384         * docs/gst/gstreamer-sections.txt: Ditto
18385
18386         * gst/gstmessage.c (gst_message_new_state_changed): Use
18387         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18388         which does introspection.
18389         Reviewed by Christian Schaller
18390
18391 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18392
18393         * gst/gstinfo.c: (gst_debug_log_default):
18394           don't do dummy g_strdup()s
18395         * libs/gst/controller/gstcontroller.c:
18396         (on_object_controlled_property_changed),
18397         (gst_controlled_property_new), (gst_controller_new_valist),
18398         (gst_controller_new_list),
18399         (gst_controller_remove_properties_valist), (gst_controller_set),
18400         (gst_controller_get), (gst_controller_sync_values),
18401         (gst_controller_get_value_array), (_gst_controller_class_init),
18402         (gst_controller_get_type):
18403         * libs/gst/controller/gstcontroller.h:
18404         * libs/gst/controller/gstinterpolation.c:
18405         (gst_controlled_property_find_timed_value_node):
18406           convert // to /**/ comments
18407
18408 2005-09-28  Wim Taymans  <wim@fluendo.com>
18409
18410         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18411         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18412         (gst_bus_sync_signal_handler):
18413         * gst/gstbus.h:
18414         Added async-message and sync-message signals to the bus.
18415         Added helper BusFunc to emit signals for all posted messages.
18416
18417         * gst/gstmessage.c: (gst_message_type_get_name),
18418         (gst_message_type_to_quark), (gst_message_get_type):
18419         * gst/gstmessage.h:
18420         Register quarks for message names.
18421
18422 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
18423
18424         * docs/libs/gstreamer-libs-sections.txt:
18425         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18426         (gst_controller_new_list):
18427         * libs/gst/controller/gstcontroller.h:
18428           added another constructor for language bindings
18429
18430 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18431
18432         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18433           add another check
18434         * gst/gstbus.c:
18435           add some doc
18436         * gst/gstinfo.c: (_gst_debug_init):
18437           slightly more readable color for refcount debugging
18438
18439 2005-09-28  Wim Taymans  <wim@fluendo.com>
18440
18441         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18442         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18443         (find_element), (gst_bin_sort_iterator_next),
18444         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18445         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18446         (gst_bin_change_state), (gst_bin_dispose):
18447         Small doc fixes. get_clock -> provide_clock.
18448
18449         * gst/gstelement.c: (gst_element_class_init),
18450         (gst_element_provides_clock), (gst_element_provide_clock),
18451         (gst_element_get_clock), (gst_element_commit_state),
18452         (gst_element_lost_state):
18453         * gst/gstelement.h:
18454         Make get/set_clock() symetric. Add provide_clock vmethod since
18455         that is actually what this function does.
18456
18457         * gst/gstpipeline.c: (gst_pipeline_class_init),
18458         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18459         (gst_pipeline_get_clock):
18460         get_clock -> provide_clock.
18461
18462 2005-09-28  Andy Wingo  <wingo@pobox.com>
18463
18464         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18465         lieu of real docs...
18466
18467         * gst/elements/gstfdsrc.c: Cleaned up a bit.
18468
18469 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
18470
18471         * gst/elements/gstcapsfilter.c:
18472         * gst/elements/gstfakesink.c:
18473         * gst/elements/gstfakesrc.c:
18474         * gst/elements/gstfdsink.c:
18475         * gst/elements/gstfdsrc.c:
18476         * gst/elements/gstfilesink.c:
18477         * gst/elements/gstfilesrc.c:
18478         * gst/elements/gstidentity.c:
18479         * gst/elements/gsttee.c:
18480         * gst/elements/gsttypefindelement.c:
18481           Make element details static.
18482
18483 2005-09-28  Wim Taymans  <wim@fluendo.com>
18484
18485         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18486         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18487         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18488         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18489         (gst_bin_change_state), (gst_bin_dispose):
18490         Some documentation updates.
18491         Clean up dispose handlers.
18492
18493         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18494         * gst/gstpad.c: (gst_pad_dispose):
18495         Clean up dispose handler.
18496
18497         * gst/gstpipeline.c: (gst_pipeline_change_state):
18498         Removed spurious UNLOCK.
18499
18500 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
18501
18502         * docs/gst/gstreamer-sections.txt:
18503         * gst/base/gstbasesrc.h:
18504         * gst/gstelement.h:
18505         * gst/gstevent.h:
18506         * gst/gstobject.h:
18507         * gst/gstpad.h:
18508         * gst/gstpipeline.c:
18509         * gst/gstpipeline.h:
18510         * gst/gstutils.h:
18511         * gst/gstxml.h:
18512           added two new functions to the docs
18513                 documents all undocumented GstXXXFlags
18514                 completed some incomplete docs 
18515
18516 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18517
18518         * gst/gstbin.c: (gst_bin_dispose):
18519         * gst/gstelement.c: (gst_element_dispose):
18520           remove now useless and leaky resurrection code in dispose
18521         * gst/base/gstbasesrc.c: (gst_base_src_init):
18522         * gst/gstelementfactory.c: (gst_element_factory_create):
18523         * gst/gstobject.c: (gst_object_set_parent):
18524           add some debugging
18525
18526 2005-09-27  Wim Taymans  <wim@fluendo.com>
18527
18528         * docs/design/part-TODO.txt:
18529         Update TODO.
18530
18531         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18532         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18533         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18534         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18535         (gst_bin_change_state):
18536         * gst/gstelement.h:
18537         Remove element variable, we keep element info in the iterator now.
18538
18539 2005-09-27  Andy Wingo  <wingo@pobox.com>
18540
18541         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18542         values.
18543
18544 2005-09-27  Wim Taymans  <wim@fluendo.com>
18545
18546         * check/gst/gstbin.c: (GST_START_TEST):
18547         Enable check that works now.
18548
18549         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18550         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18551         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18552         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18553         (gst_bin_change_state):
18554         * gst/gstbin.h:
18555         Redid the state change algorithm using a topological sort algo.
18556         Handles all cases correctly.
18557         Exposed iterator for state change order.
18558
18559         * gst/gstelement.h:
18560         Temp storage for state changes. Need to get rid of this soon.
18561
18562 2005-09-27  Wim Taymans  <wim@fluendo.com>
18563
18564         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18565         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18566         (link_fold_func), (gst_pad_proxy_setcaps):
18567         Leak fixes, the fold functions need to unref the passed object and
18568         _get_parent_*() returns ref to parent.
18569
18570 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18571
18572         * check/gst/gstbuffer.c: (test_make_writable):
18573           Plug leak in test case and fix 'make check-valgrind'
18574
18575 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18576
18577         * gst/gstbuffer.c: (gst_subbuffer_init):
18578           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18579           works correctly in all circumstances (we could have just copied
18580           the parent buffer's readonly flag, but conceptually it seems
18581           cleaner to mark all subbuffers as read-only). (based on patch
18582           by Alessandro Decina, #314710).
18583         
18584         * check/gst/gstbuffer.c: (create_read_only_buffer),
18585         (test_make_writable), (test_subbuffer_make_writable),
18586         (gst_test_suite):
18587           Add some tests for gst_buffer_make_writable().
18588
18589 2005-09-27  Wim Taymans  <wim@fluendo.com>
18590
18591         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18592         use gst_object_has_ancestor().
18593
18594         * gst/gstobject.c: (gst_object_has_ancestor):
18595         * gst/gstobject.h:
18596         gst_object_has_ancestor() copied from gstbin.c as it is a
18597         useful function.
18598
18599         * tests/instantiate/create.c: (create_all_elements):
18600         * tests/lat.c: (handoff_src), (handoff_sink):
18601         * tests/sched/runxml.c: (main):
18602         * tests/seeking/seeking1.c: (main):
18603         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18604         (main):
18605         Fix compilation of some tests.
18606
18607 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
18608
18609         * gst/gsterror.h:
18610           Remove comment. GST_TYPE_G_ERROR is here to stay,
18611           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18612           (#316961, #300610).
18613
18614 2005-09-26  Wim Taymans  <wim@fluendo.com>
18615
18616         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
18617         Added check that shows error in state change order.
18618
18619 2005-09-26  Wim Taymans  <wim@fluendo.com>
18620
18621         * gst/gstbin.c: (gst_bin_change_state):
18622         Make state change function use 3 queues again, we were
18623         adding elements in the wrong order.
18624
18625         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
18626         Some debug info,
18627
18628         * gst/gstpad.c: (gst_pad_dispose):
18629         Added some debug info first.
18630
18631 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
18632
18633         * docs/design/draft-push-pull.txt:
18634         * docs/design/part-events.txt:
18635         * docs/design/part-overview.txt:
18636         * docs/design/part-scheduling.txt:
18637           Replace all _pull_region() with _pull_range()
18638           
18639 2005-09-26  Andy Wingo  <wingo@pobox.com>
18640
18641         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
18642
18643         * check/gst-libs/controller.c: Update for controller api change.
18644
18645         * configure.ac: 
18646         * tests/Makefile.am:
18647         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
18648         over by GLib bug 118439.
18649         
18650         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
18651         routines to a function.
18652
18653         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
18654
18655         * libs/gst/controller/gsthelper.c:
18656         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
18657         (gst_object_sync_values): Renamed from sink_values. Ugh.
18658
18659         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
18660
18661         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
18662         Renamed from controller_key, as it is exported.
18663
18664         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
18665
18666 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
18667
18668         * gst/Makefile.am:
18669         * gst/gst.h:
18670         * gst/gstpad.h:
18671         * gst/gstpadtemplate.h:
18672         * gst/gstquery.c:
18673         * gst/gstquery.h:
18674         * gst/gstqueryutils.c:
18675         * gst/gstqueryutils.h:
18676           remove queryutils headers after moving the two used functions
18677           to gstquery.  also fixes build problem for gstsiddec
18678
18679 2005-09-26  Michael Smith <msmith@fluendo.com>
18680
18681         * tools/gst-launch.1.in:
18682         Correct documentation in manpage of debug syntax
18683
18684 2005-09-26  Wim Taymans  <wim@fluendo.com>
18685
18686         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
18687         (gst_base_src_is_seekable), (gst_base_src_change_state):
18688         Some more debugging info.
18689
18690 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18691
18692         * docs/gst/gstreamer-sections.txt:
18693         * gst/base/gstbasetransform.h:
18694         * gst/gstindex.h:
18695           added more docs
18696
18697 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18698
18699         * docs/gst/.cvsignore:
18700         * docs/gst/tmpl/.cvsignore:
18701         * docs/gst/tmpl/gstpipeline.sgml:
18702         * docs/gst/tmpl/gstplugin.sgml:
18703         * gst/gstpipeline.c:
18704         * gst/gstplugin.c:
18705         * gst/gstplugin.h:
18706           inlined the last two docs files
18707           removed the tmpl directory from cvs (no more conflicts here!)
18708
18709 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
18710
18711         * docs/gst/gstreamer-sections.txt:
18712         * docs/gst/tmpl/.cvsignore:
18713         * docs/gst/tmpl/gstpad.sgml:
18714         * docs/gst/tmpl/gstpadtemplate.sgml:
18715         * gst/Makefile.am:
18716         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
18717         (gst_pad_finalize), (gst_pad_set_pad_template):
18718         * gst/gstpad.h:
18719         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
18720         (gst_pad_template_class_init), (gst_pad_template_init),
18721         (gst_pad_template_dispose), (name_is_valid),
18722         (gst_static_pad_template_get), (gst_pad_template_new),
18723         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
18724         (gst_pad_template_pad_created):
18725         * gst/gstpadtemplate.h:
18726           inlined two more docs
18727           factored gstpadtemplate out of gstpad
18728
18729 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
18730
18731         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18732         (test_children_state_change_order_semi_sink):
18733           Fix test case: we can't rely on a fixed state change order when
18734           going from READY => PAUSED because the sink might commit its 
18735           new state first when the first buffer created by the source 
18736           reaches the sink before the source has finished its change state.
18737           (Test case still fails at times, see #316856, comment 5 onwards)
18738
18739 2005-09-24  Wim Taymans  <wim@fluendo.com>
18740
18741         * docs/design/part-events.txt:
18742         * docs/design/part-gstbus.txt:
18743         * docs/design/part-gstpipeline.txt:
18744         * docs/design/part-messages.txt:
18745         * docs/design/part-overview.txt:
18746         * docs/design/part-segments.txt:
18747         * gst/gstbin.c:
18748         * gst/gstbuffer.c:
18749         * gst/gstclock.c:
18750         * gst/gstelement.c:
18751         * gst/gstevent.c:
18752         * gst/gstfilter.c:
18753         * gst/gstiterator.c:
18754         Various documentation updates.
18755
18756 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18757
18758         * gst/gstclock.h:
18759           Well, that's embarassing.  Luckily we weren't using
18760           GST_CLOCK_DIFF anywhere.
18761
18762 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18763
18764         * common/gtk-doc.mak:
18765           don't fail on building XML, FC4 slave shows a bunch of doc
18766           missing bits that I don't get
18767         * gst/gstpad.c:
18768         * gst/gstpipeline.c:
18769         * gst/gststructure.c:
18770           some doc updates
18771
18772 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18773
18774         * docs/design/part-gstbin.txt:
18775         * docs/design/part-gstbus.txt:
18776         * gst/gstbus.c:
18777           Add blurb about how the bus goes into flushing mode and
18778           drops all messages when its bin goes from READY into NULL 
18779           state.
18780
18781 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18782
18783         * docs/gst/gstreamer-sections.txt:
18784         * gst/gststructure.c: (gst_structure_get_clock_time):
18785         * gst/gststructure.h:
18786           add a method to get a GstClockTime out of a structure
18787
18788 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
18789
18790         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
18791         (test_children_state_change_order_semi_sink), (gst_bin_suite):
18792           Added test to check state change order in bins (can still be made
18793           to fail here under heavy disk load; bails out with 'Push on pad
18794           fakesink:sink0, but it was not activated in push mode').
18795
18796         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
18797           Fix state change order when there is only a semi sink (#316856)
18798
18799         * gst/gstbus.c: (gst_bus_class_init):
18800           Use _class_peek_parent(), not _class_ref(); fix docs to say
18801           'default main context' instead of 'mainloop' where that is
18802           what's meant.
18803
18804         * gst/gstelement.c: (gst_element_commit_state),
18805         (gst_element_set_state):
18806           Fix typos in debug messages
18807
18808 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18809
18810         * docs/README:
18811         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
18812         * gst/gstpluginfeature.c:
18813         * gst/gstutils.c:
18814           various doc updates
18815         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18816           change an assert into an error until it gets fixed properly
18817
18818 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
18819
18820         * docs/gst/gstreamer-sections.txt:
18821         * docs/gst/tmpl/.cvsignore:
18822         * docs/gst/tmpl/gstelement.sgml:
18823         * docs/gst/tmpl/gstinfo.sgml:
18824         * docs/gst/tmpl/gstobject.sgml:
18825         * gst/gstelement.c:
18826         * gst/gstelement.h:
18827         * gst/gstinfo.c:
18828         * gst/gstinfo.h:
18829         * gst/gstobject.c: (gst_object_class_init):
18830         * gst/gstobject.h:
18831           inlined 3 more biiiig doc files and added some missing docs on the fly
18832
18833 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18834
18835         * check/gst/.cvsignore:
18836         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
18837         * gst/gstregistryxml.c: (load_plugin),
18838         (gst_registry_xml_save_plugin):
18839           put back source in registry.  add checks for find_plugin.
18840         * testsuite/states/bin.c: (assert_state), (empty_bin),
18841         (test_adding_one_element), (main):
18842         * testsuite/states/locked.c: (main):
18843           some compile/run fixes
18844
18845 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18846
18847         * check/gst/gstvalue.c: (GST_START_TEST):
18848           fix leaks in the test itself
18849
18850 2005-09-22  Wim Taymans  <wim@fluendo.com>
18851
18852         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18853         (gst_base_sink_send_event), (gst_base_sink_peer_query),
18854         (gst_base_sink_query):
18855         Prepare for more accurate position reporting and query
18856         handling.
18857
18858         * gst/gstelement.c: (gst_element_send_event),
18859         (gst_element_set_state):
18860         Add some comment.
18861
18862 2005-09-22  Wim Taymans  <wim@fluendo.com>
18863
18864         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
18865         (gst_query_parse_segment):
18866         * gst/gstquery.h:
18867         More documentation.
18868         Add segment query for future use.
18869
18870 2005-09-22  Wim Taymans  <wim@fluendo.com>
18871
18872         * gst/gstbin.c: (gst_bin_add_func):
18873         Some more debug info.
18874
18875         * gst/gstelement.c: (gst_element_send_event):
18876         Simplify send_event
18877
18878         * gst/gstelement.h:
18879         Don't know how flags got broken.
18880
18881         * gst/gstquery.h:
18882         Added new query.
18883
18884 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18885
18886         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
18887           Add simplistic test suite for GST_TYPE_DATE serialisation and
18888           deserialisation.
18889
18890 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
18891
18892         * docs/gst/gstreamer-sections.txt:
18893         * gst/gststructure.c: (gst_structure_set_valist),
18894         (gst_structure_get_date):
18895         * gst/gststructure.h:
18896         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
18897         (gst_date_copy), (gst_value_compare_date),
18898         (gst_value_serialize_date), (gst_value_deserialize_date),
18899         (gst_value_transform_date_string),
18900         (gst_value_transform_string_date), (_gst_value_initialize):
18901         * gst/gstvalue.h:
18902           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
18903           bunch of utility functions along with a hack that checks that
18904           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
18905           is required. Part of the grand scheme in #170777.
18906
18907 2005-09-22  Andy Wingo  <wingo@pobox.com>
18908
18909         * gst/gstconfig.h.in: Psych out gtk-doc.
18910
18911         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
18912
18913         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
18914
18915         * tools/gst-inspect.c (print_element_list): Plug some
18916         inconsequential leaks.
18917
18918         * gst/gstregistry.c (gst_registry_get_default): Doc.
18919
18920         * check/gst/gstplugin.c: 
18921         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
18922         * gst/gstelementfactory.c (gst_element_factory_create): 
18923         * gst/gstindexfactory.c (gst_index_factory_create): Update for
18924         refcount changes.
18925
18926         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
18927         (gst_plugin_feature_load): Doc, don't eat refs.
18928
18929         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
18930         (gst_plugin_list_free): Doc.
18931         (gst_plugin_load_file): Doc updates.
18932
18933         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
18934         accessors returning refcounted objects, return a ref.
18935
18936         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
18937         accessor for caps. IDEMPOTENCE. Oh yes.
18938
18939 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
18940
18941         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18942
18943         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
18944         (_gst_debug_register_funcptr):
18945           Add mutex to serialise access to the hash table with
18946           the function pointer => function name string mapping;
18947           make that hash table static scope (#316809).
18948
18949         * gst/registries/.cvsignore:
18950           Remove left-over file.
18951
18952 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18953
18954         * docs/pwg/appendix-porting.xml:
18955           And something about newsegment events and caps-on-buffers to
18956           the porting guide (feel free to improve).
18957
18958 2005-09-21  Andy Wingo  <wingo@pobox.com>
18959
18960         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
18961         data and event probes on the same pad.
18962         (test_buffer_probe_once): Test that removing probes from within
18963         the probe functions works.
18964
18965 2005-09-21  Andy Wingo  <wingo@pobox.com>
18966
18967         * check/gst/gstutils.c: New file.
18968         (test_buffer_probe_n_times): A simple buffer probe test. More to
18969         come, foolios.
18970
18971         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
18972         have-data::buffer, not have-data.
18973         (gst_pad_add_event_probe): Likewise for have-data::event.
18974         (gst_pad_add_data_probe): More docs. The part about 'resolving the
18975         peer' isn't quite right yet though.
18976         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
18977         (gst_pad_remove_data_probe): Change to take the guint handler_id
18978         as their arg, not the function+data, which is more glib-like.
18979
18980         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
18981         the signal emission to indicate if the data is a buffer or an
18982         event.
18983         (gst_pad_get_type): Initialize buffer and event quarks.
18984         (gst_pad_class_init): have-data is now a detailed signal, yes it
18985         is.
18986
18987 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
18988
18989         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
18990         * gst/gstutils.c: (gst_util_set_value_from_string),
18991         (gst_util_set_object_arg):
18992           Don't put functional code in g_return_if_fail() or
18993           g_return_val_if_fail() statements, otherwise things will 
18994           break when G_DISABLE_CHECKS is defined during compilation.
18995
18996 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
18997
18998         * docs/gst/tmpl/.cvsignore:
18999         * docs/gst/tmpl/gstvalue.sgml:
19000         * gst/gstvalue.c:
19001         * gst/gstvalue.h:
19002           inlied another one and added  some obvious docs
19003
19004 2005-09-21  Wim Taymans  <wim@fluendo.com>
19005
19006         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19007         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19008         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19009         (gst_fdsrc_get_property), (gst_fdsrc_create):
19010         * gst/elements/gstfdsrc.h:
19011         Properly implement fdsrc. Removed signal and timeout,
19012         better implemented somewhere else.
19013
19014 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19015
19016         * docs/gst/tmpl/.cvsignore:
19017         * docs/gst/tmpl/gstimplementsinterface.sgml:
19018         * gst/gstinterface.c:
19019           inlined more docs
19020
19021 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19022
19023         * docs/gst/gstreamer-sections.txt:
19024         * docs/gst/tmpl/.cvsignore:
19025         * docs/gst/tmpl/gstenumtypes.sgml:
19026           remove obsolete doc file
19027
19028 2005-09-21  David Schleef  <ds@schleef.org>
19029
19030         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19031         little beer, fix a little leak.
19032
19033 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19034
19035         * docs/gst/gstreamer-docs.sgml:
19036         * docs/gst/gstreamer-sections.txt:
19037         * docs/gst/tmpl/.cvsignore:
19038         * gst/Makefile.am:
19039         * gst/gst.h:
19040         * gst/gstbin.c:
19041         * gst/gstelement.h:
19042         * gst/gstindex.c: (gst_index_class_init):
19043         * gst/gstindex.h:
19044         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19045         (gst_index_factory_class_init), (gst_index_factory_init),
19046         (gst_index_factory_finalize), (gst_index_factory_new),
19047         (gst_index_factory_destroy), (gst_index_factory_find),
19048         (gst_index_factory_create), (gst_index_factory_make):
19049         * gst/gstindexfactory.h:
19050         * gst/gstpluginfeature.c:
19051         * gst/gstpluginfeature.h:
19052         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19053           more docs inlined, splitted gstindex.{c,h}
19054
19055 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19056
19057         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19058           fix a leak
19059
19060 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19061
19062         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19063           Set sync to FALSE by default.
19064
19065 2005-09-20  Wim Taymans  <wim@fluendo.com>
19066
19067         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19068         (gst_base_sink_init):
19069         Make sync property settable from subclass.
19070
19071         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19072         (gst_fake_sink_change_state):
19073         Set sync to FALSE by default.
19074
19075 2005-09-20  Wim Taymans  <wim@fluendo.com>
19076
19077         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19078         * tools/gst-launch.c: (main):
19079         The timeout handler should have lower priority than the source
19080         so we don't timeout before popping a message with 0 timeout.
19081         Dump error messages after failed state change.
19082
19083 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19084
19085         * tools/gst-inspect.c: (print_element_properties_info):
19086           Fix two typos.
19087
19088 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19089
19090         * check/gst/gstevent.c:
19091         * gst/elements/gstfakesink.c:
19092         * gst/elements/gstfakesink.h:
19093           remove the sync property from fakesink.
19094           has the side effect of setting sync TRUE
19095           for fakesink, which is a change.  Anyone who knows how
19096           to fix this nicely in a GObject-y way, feel free.
19097
19098 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19099
19100         * docs/gst/gstreamer-docs.sgml:
19101           remove probe refsection
19102
19103 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19104
19105         * check/Makefile.am:
19106           disable valgrinding the controller test again
19107         * docs/gst/gstreamer-sections.txt:
19108           update for api-changes
19109
19110 2005-09-20  Wim Taymans  <wim@fluendo.com>
19111
19112         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19113         (gst_base_sink_set_property), (gst_base_sink_get_property),
19114         (gst_base_sink_do_sync):
19115         * gst/base/gstbasesink.h:
19116         Added sync property to basesink to disable clock sync.
19117
19118 2005-09-20  Andy Wingo  <wingo@pobox.com>
19119
19120         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19121         eating the caller's refcount.
19122
19123         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19124         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19125         refcount.
19126
19127         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19128         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19129         of GLib 2.8 public, so we can know which refcount to check in
19130         tests.
19131
19132         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19133         (gst_object_init): Only set the gst refcount if we're going ahead
19134         with the refcount hack.
19135
19136 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19137
19138         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19139         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19140           more leaks plumbed, added more debug-logging
19141         * gst/gstmacros.h:
19142           whitespace fix
19143
19144 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19145
19146         * gst/gstmessage.c:
19147           remove include of gstmemchunk.h
19148
19149 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19150
19151         * gst/gstclock.c: (_gst_clock_id_free):
19152           Commit from the Political Party For More Atomic CVS Commits,
19153           so that people don't waste too much of their day fishing
19154           out obvious leaks out of massive commits.
19155           Oh, and fix a pretty damn obvious leak in the memchunk
19156           removal code.
19157
19158 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19159
19160         * check/Makefile.am:
19161         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19162           plug mem-leak, re-add to valgrindable tests
19163
19164 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19165
19166         * gst/gstplugin.h:
19167           unbreak the build for those who have chronic arthritis
19168           and typing "make check" is just too taxing on the hands
19169
19170 2005-09-20  Andy Wingo  <wingo@pobox.com>
19171
19172         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19173         really want it out, you should fix plugins at the same time.
19174
19175 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19176
19177         * configure.ac:
19178         * docs/gst/gstreamer-sections.txt:
19179         * gst/gstobject.c:
19180           added missing symbols to api docs
19181           disable ref-count hack if we have glib >= 2.8
19182
19183 2005-09-19  David Schleef  <ds@schleef.org>
19184
19185         * docs/gst/Makefile.am: Ignore a few more internal headers
19186         * docs/gst/gstreamer-docs.sgml: Remove old sections
19187         * docs/gst/gstreamer-sections.txt: Remove old sections
19188         * docs/gst/tmpl/gstobject.sgml: update
19189         * docs/gst/tmpl/gstplugin.sgml: update
19190         * docs/gst/tmpl/gstpluginfeature.sgml: update
19191         * docs/random/ds/0.9-suggested-changes: update.
19192         * gst/Makefile.am: remove memchunk and trashstack, since they're
19193           not used.
19194         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19195         * gst/gst.h: don't include some headers
19196         * gst/gstchildproxy.c: add gstmarshal.h
19197         * gst/gstclock.c: Don't use memchunks
19198         * gst/gstminiobject.c: Add some docs
19199         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19200         * gst/gstobject.h: same
19201         * gst/gstplugin.c: include gstmacros.h
19202         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19203         * gst/gstquery.c: don't use memchunks
19204         * gst/gstregistry.c: rename gst_registry_deinit()
19205         * gst/gstregistry.h: same
19206
19207 2005-09-19  David Schleef  <ds@schleef.org>
19208
19209         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19210         * docs/libs/gstreamer-libs-sections.txt:
19211         * docs/libs/tmpl/gstgetbits.sgml:
19212         * docs/libs/tmpl/gstputbits.sgml:
19213
19214 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19215
19216         * win32/gstenumtypes.c:
19217         * win32/gstenumtypes.h:
19218           Update.
19219
19220 2005-09-19  Wim Taymans  <wim@fluendo.com>
19221
19222         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19223         Automatically PAUSE and RESUME a pipeline when a flushing seek
19224         is performed.
19225
19226 2005-09-19  Andy Wingo  <wingo@pobox.com>
19227
19228         * gst/gstregistry.h: Spacing fixen.
19229
19230 2005-09-19  Wim Taymans  <wim@fluendo.com>
19231
19232         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19233         Handle state change failure more correctly.
19234
19235 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19236
19237         * check/Makefile.am:
19238         * check/pipelines/cleanup.c: (run_pipeline):
19239         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19240         (GST_START_TEST):
19241           enable cleanup again after fixing the leak
19242         * docs/README:
19243           some more info on docs
19244
19245 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19246
19247         * check/Makefile.am:
19248           re-enable tests now that leaks are plugged
19249         * check/gst/gst.c:
19250         * check/gst/gstbin.c:
19251         * check/gst/gstpipeline.c:
19252           add some more tests while fixing leaks
19253         * common/check.mak:
19254           make sure binaries are uptodate when valgrinding/gdbing
19255         * gst/gst.c:
19256         * gst/gstelementfactory.c:
19257           remove a ref too many, and add a FIXME for when we get
19258           round to disposing of classes
19259         * gst/gstplugin.c:
19260           fix the refcounting when loading a plugin from a file and
19261           the code pretends that the pointer is the same even though
19262           of course it can change
19263         * gst/gstpluginfeature.c:
19264           unref plugins marked cached (a bit confusing as a name)
19265           as the docs state should be done
19266           various doc additions to explain refcounting
19267         * gst/gstregistry.c:
19268         * gst/gstregistryxml.c:
19269           debugging
19270
19271 2005-09-19  Wim Taymans  <wim@fluendo.com>
19272
19273         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19274         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19275         (send_messages), (GST_START_TEST), (gstbus_suite):
19276         * check/gst/gstpipeline.c: (GST_START_TEST):
19277         * check/pipelines/cleanup.c: (run_pipeline):
19278         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19279         (GST_START_TEST):
19280         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19281         (gst_bus_source_check), (gst_bus_source_dispatch),
19282         (gst_bus_create_watch), (gst_bus_add_watch_full),
19283         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19284         * gst/gstbus.h:
19285         * tools/gst-launch.c: (event_loop):
19286         * tools/gst-md5sum.c: (event_loop):
19287         GstBusHandler -> GstBusFunc, return value has the same meaning as
19288         any other GSource (FALSE == remove source).
19289         _add_watch() and _add_watch_full() now take a MessageType mask to
19290         only handle specific types of messages.
19291         _poll() returns the GstMessage instead of the message type to avoid
19292         race conditions.
19293         _have_pending() takes a MessageType mask now too.
19294         Added testsuite for multiple bus watches.
19295         Fix testsuites and applications for new bus API.
19296
19297 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19298
19299         * check/Makefile.am:
19300           mark a bunch of the tests as to fix until we fix them
19301
19302 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19303
19304         * common/check.mak:
19305           use GST_PLUGIN settings for valgrind tests as well, so we're
19306           valgrinding the correct thing
19307         * gst/gst.c: (init_post):
19308           plug another leak
19309
19310 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19311
19312         * gst/gst.c: (init_post), (gst_deinit):
19313         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19314         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19315         * gst/gstindex.c: (gst_index_factory_class_init),
19316         (gst_index_factory_finalize):
19317         * gst/gstobject.c: (gst_object_dispose):
19318         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19319         (gst_plugin_load_file), (gst_plugin_desc_free):
19320         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19321         (gst_plugin_feature_finalize):
19322         * gst/gstregistry.c: (gst_registry_class_init),
19323         (gst_registry_init), (gst_registry_finalize),
19324         (gst_registry_get_default), (gst_registry_deinit):
19325         * gst/gstregistry.h:
19326         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19327           various cleanups and memleak plugging.  make valgrind is happy now.
19328
19329 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19330
19331         * common/check.mak:
19332           add a check-valgrind target
19333
19334 2005-09-18  David Schleef  <ds@schleef.org>
19335
19336         * tools/gst-inspect.c: Revert the GOption code.
19337
19338 2005-09-17  David Schleef  <ds@schleef.org>
19339
19340         * check/Makefile.am: Fix environment variables.
19341         * check/gst/gstplugin.c: Fix for API changes.
19342         * tools/gst-inspect.c: Fix for API changes.
19343         * tools/gst-xmlinspect.c: Fix for API changes.
19344         * gst/gstelementfactory.c:
19345         * gst/gstplugin.c:
19346         * gst/gstplugin.h:
19347         * gst/gstpluginfeature.c:
19348         * gst/gstpluginfeature.h:
19349         * gst/gstregistry.c:
19350         * gst/gstregistry.h:
19351         * gst/gstregistryxml.c:
19352         * gst/gsttypefind.c:
19353         * gst/gsttypefindfactory.c:
19354         * gst/indexers/gstfileindex.c:
19355         * gst/indexers/gstmemindex.c:
19356         * gst/schedulers/Makefile.am:
19357           Change registry to keep track of both plugins and features,
19358           removing the feature tracking from plugins themselves.
19359
19360 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19361
19362         * check/Makefile.am:
19363         * tools/gst-register.1.in:
19364           remove gst-register
19365
19366 2005-09-15  David Schleef  <ds@schleef.org>
19367
19368         * check/gst/gstplugin.c:
19369         * gst/gstelementfactory.c:
19370         * gst/gstplugin.c:
19371         * gst/gstpluginfeature.c:
19372         * gst/gstregistry.c:
19373           Getting tired of debugging.  Disabled all the unreffing of
19374           plugins and features, which fixes the segfaults, but of
19375           course leaks like crazy.  At least playbin works.
19376
19377 2005-09-15  David Schleef  <ds@schleef.org>
19378
19379         * check/gst/gstplugin.c: (register_check_elements),
19380         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19381         More testing
19382         * gst/elements/gsttypefindelement.c: Fix refcounting.
19383         * gst/gsttypefind.c:
19384         * gst/gsttypefindfactory.c:
19385         * gst/gsttypefindfactory.h:
19386
19387 2005-09-15  David Schleef  <ds@schleef.org>
19388
19389         * gst/gstindex.c: get refcounting correct.
19390         * gst/gstregistry.c: Handle the case where a feature/plugin is
19391           not found.
19392
19393 2005-09-15  David Schleef  <ds@schleef.org>
19394
19395         * check/Makefile.am:
19396         * check/gst/gstplugin.c: Add test
19397         * gst/gstplugin.c: Fix problems noticed by testsuite
19398         * gst/gstplugin.h:
19399         * gst/gstregistry.c: 
19400         * gst/gstregistry.h:
19401
19402 2005-09-15  David Schleef  <ds@schleef.org>
19403
19404         * gst/gstplugin.c: Implement semi-decent recounting and locking
19405           in plugins and plugin features.
19406         * gst/gstplugin.h:
19407         * gst/gstpluginfeature.c:
19408         * gst/gstpluginfeature.h:
19409         * gst/gstregistry.c:
19410
19411 2005-09-15  Michael Smith <msmith@fluendo.com>
19412
19413         * gst/gstregistry.c: (gst_registry_get_feature_list):
19414           Implement this. Makes oggdemux work; decodebin still broken.
19415
19416 2005-09-14  David Schleef  <ds@schleef.org>
19417
19418         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19419           #316076)
19420         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19421         * gst/check/Makefile.am:
19422         * libs/gst/controller/Makefile.am:
19423         * libs/gst/dataprotocol/Makefile.am:
19424
19425 2005-09-14  David Schleef  <ds@schleef.org>
19426
19427         * configure.ac: Remove getbits library.  Nothing uses it, and
19428           it should be in something like liboil if someone did want
19429           to use it.
19430         * libs/gst/Makefile.am:
19431         * libs/gst/getbits/Makefile.am:
19432         * libs/gst/getbits/gbtest.c:
19433         * libs/gst/getbits/getbits.c:
19434         * libs/gst/getbits/getbits.h:
19435         * libs/gst/getbits/gstgetbits_generic.c:
19436         * libs/gst/getbits/gstgetbits_i386.s:
19437         * libs/gst/getbits/gstgetbits_inl.h:
19438
19439 2005-09-14  David Schleef  <ds@schleef.org>
19440
19441         * gst/Makefile.am: Dist glib-compat.h
19442
19443 2005-09-14  David Schleef  <ds@schleef.org>
19444
19445         * configure.ac: Remove gst/registries, since it's no longer used.
19446         * gst/registries/Makefile.am:
19447         * gst/registries/gstlibxmlregistry.c:
19448         * gst/registries/gstlibxmlregistry.h:
19449         * gst/registries/gstxmlregistry.c:
19450         * gst/registries/gstxmlregistry.h:
19451         * gst/registries/registrytest.c:
19452
19453 2005-09-14  David Schleef  <ds@schleef.org>
19454
19455         * gst/glib-compat.h:
19456         * gst/gstregistryxml.c:
19457           Convergence is near.  Seriously.
19458
19459 2005-09-14  David Schleef  <ds@schleef.org>
19460
19461         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19462         * gst/glib-compat.h:
19463           Attempt #4 to appease the buildbots.
19464
19465 2005-09-14  David Schleef  <ds@schleef.org>
19466
19467         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19468           Attempt #3.
19469
19470 2005-09-14  David Schleef  <ds@schleef.org>
19471
19472         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19473         Attempt #2.
19474
19475 2005-09-14  David Schleef  <ds@schleef.org>
19476
19477         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19478           the new functions.
19479
19480 2005-09-14  David Schleef  <ds@schleef.org>
19481
19482         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19483         * gst/glib-compat.h: Add some functions that are in newer versions
19484           of glib than we care to require.
19485         * gst/gstregistryxml.c: Use them.
19486
19487 2005-09-14  David Schleef  <ds@schleef.org>
19488
19489         * po/POTFILES.in: remove gst-register.c
19490
19491 2005-09-14  David Schleef  <ds@schleef.org>
19492
19493         * docs/gst/gstreamer-docs.sgml:
19494         * docs/gst/gstreamer-sections.txt:
19495         * docs/gst/gstreamer.types:
19496         * docs/gst/tmpl/gstelement.sgml:
19497         * docs/gst/tmpl/gstplugin.sgml:
19498         * docs/gst/tmpl/gstpluginfeature.sgml:
19499           Documentation updates for registry changes.
19500
19501 2005-09-14  David Schleef  <ds@schleef.org>
19502
19503         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19504           because we don't require glib-2.8.
19505
19506 2005-09-14  David Schleef  <ds@schleef.org>
19507
19508         * gst/gstregistryxml.c: Added.  Essentially moved out of the
19509           registries directory.
19510
19511 2005-09-14  David Schleef  <ds@schleef.org>
19512
19513         * check/Makefile.am:
19514         * check/generic/states.c:
19515         * gst/Makefile.am:
19516         * gst/gst.c:
19517         * gst/gst.h:
19518         * gst/gst_private.h:
19519         * gst/gstelementfactory.c:
19520         * gst/gstindex.c:
19521         * gst/gstinfo.c:
19522         * gst/gstplugin.c:
19523         * gst/gstplugin.h:
19524         * gst/gstpluginfeature.c:
19525         * gst/gstpluginfeature.h:
19526         * gst/gstregistry.c:
19527         * gst/gstregistry.h:
19528         * gst/gstregistrypool.c: remove
19529         * gst/gstregistrypool.h: remove
19530         * gst/gsttypefind.c:
19531         * gst/gsttypefindfactory.c:
19532         * gst/gsturi.c:
19533         * tools/Makefile.am:
19534         * tools/gst-compprep.c:
19535         * tools/gst-inspect.c:
19536         * tools/gst-register.c: remove
19537         * tools/gst-xmlinspect.c:
19538           Registry rewrite.  Changes registry from being a file created
19539           by a tool into a simple cache file created automatically by 
19540           libgstreamer.  Removed gst-register (because it's no longer
19541           needed).  Remove registry pools, because we only have one
19542           registry implementation (XML).  Fix up other subsystems as
19543           necessary.
19544
19545 2005-09-13  Michael Smith <msmith@fluendo.com>
19546
19547         * gst/gstconfig.h.in:
19548           Don't Use windows linking attributes for MinGW. Fixes #316157
19549
19550 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19551
19552         * gst/gstutils.c: (set_state_async_thread_func),
19553         (gst_element_set_state_async):
19554           Apparently people think it's better if this function doesn't
19555           try to set the state to whatever state was asked for on the first
19556           call to this function for any object.  Seriously.
19557
19558 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19559
19560         * check/gst/gstpipeline.c: (GST_START_TEST):
19561         * docs/gst/gstreamer-sections.txt:
19562         * gst/gstutils.c: (set_state_async_thread_func),
19563         (gst_element_set_state_async):
19564         * gst/gstutils.h:
19565           add a "gst_element_set_state_async" method that
19566           sets the state and starts a thread to make sure the state
19567           change completes as best as it can
19568
19569 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19570
19571         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19572           codify design+behaviour in testsuite after discussion
19573
19574 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19575
19576         * docs/gst/tmpl/gstelement.sgml:
19577         * docs/manual/appendix-quotes.xml:
19578           add a quote
19579         * gst/gstelement.c: (gst_element_set_state):
19580           add some debug
19581
19582 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
19583
19584         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19585         (gst_base_transform_prepare_output_buf),
19586         (gst_base_transform_handle_buffer):
19587         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19588         (gst_capsfilter_prepare_buf):
19589           Remove the requirement for sub-classes to call the parent
19590           implementation of prepare_output_buffer with a wrapper function.
19591           
19592         * gst/gsttaglist.h:
19593         * gst/gsttagsetter.h:
19594           Fix #define wrapper
19595
19596 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
19597
19598         * docs/gst/gstreamer-sections.txt:
19599           more doc cleanups
19600
19601 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19602
19603         * docs/gst/gstreamer-sections.txt:
19604         * docs/gst/tmpl/gstelement.sgml:
19605         * docs/gst/tmpl/gstplugin.sgml:
19606         * gst/gstminiobject.c:
19607         * gst/gstvalue.h:
19608           docs now stop throwing warnings
19609
19610 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19611
19612         * docs/gst/gstreamer-sections.txt:
19613         * docs/gst/gstreamer.types:
19614         * docs/gst/tmpl/gstpad.sgml:
19615         * docs/gst/tmpl/gsttypes.sgml:
19616         * gst/base/gstadapter.h:
19617         * gst/base/gstbasesink.h:
19618         * gst/base/gstbasesrc.h:
19619         * gst/gstbin.h:
19620         * gst/gstbuffer.h:
19621         * gst/gstbus.h:
19622         * gst/gstcaps.h:
19623         * gst/gstclock.h:
19624         * gst/gstelement.h:
19625         * gst/gstevent.h:
19626         * gst/gstmessage.h:
19627         * gst/gstpad.h:
19628         * gst/gststructure.c:
19629         * gst/registries/gstlibxmlregistry.h:
19630           various documentation fixes
19631
19632 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19633
19634         * docs/gst/gstreamer-sections.txt:
19635         * docs/gst/tmpl/gstvalue.sgml:
19636           rearrange gstvalue section
19637         * gst/gstutils.c: (gst_element_state_get_name):
19638           NONE -> VOID
19639         * gst/gstvalue.c: (_gst_value_initialize):
19640         * gst/gstvalue.h:
19641           doc updates
19642
19643 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
19644
19645         * check/gst-libs/controller.c:
19646           Header include fix.
19647         * gst/base/gstbasetransform.c:
19648         (gst_base_transform_default_prepare_buf),
19649         (gst_base_transform_handle_buffer):
19650         * gst/base/gstbasetransform.h:
19651           Some more basetransform changes and fixes to enable sub-classes
19652           that modify buffer metadata only.
19653         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
19654         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
19655         (gst_capsfilter_prepare_buf):
19656           If the output pad has fixed allowed caps and input buffers 
19657           don't have any, set the fixed caps on outgoing buffers.
19658
19659 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
19660         * check/elements/identity.c: (GST_START_TEST):
19661           Make the error a little clearer when the test fails because
19662           identity made a copy of the buffer.
19663         * docs/gst/gstreamer-sections.txt:
19664           New symbols in gstbasetransform.h
19665         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19666         (gst_base_transform_init), (gst_base_transform_transform_size),
19667         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
19668         (gst_base_transform_default_prepare_buf),
19669         (gst_base_transform_get_unit_size),
19670         (gst_base_transform_buffer_alloc),
19671         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
19672         (gst_base_transform_change_state),
19673         (gst_base_transform_set_passthrough),
19674         (gst_base_transform_set_in_place),
19675         (gst_base_transform_is_in_place):
19676         * gst/base/gstbasetransform.h:
19677           Change BaseTransform to separate in_place operate from same_caps
19678           output. in_place implies that the element can perform the transform
19679           on incoming buffers in-place, even if the caps on the output are
19680           different.
19681           Sub-class elements can now implement special buffer allocation
19682           methods for outgoing buffers if they wish to.
19683           Big documentation addition.
19684         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
19685         * gst/elements/gstelements.c:
19686           Changes for basetransform modifications.
19687         * gst/elements/Makefile.am:
19688         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
19689           Compile fix. Extra debug output.
19690
19691 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19692
19693         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
19694         (gst_pad_suite):
19695           add tests for valid pad naming
19696         * gst/check/gstcheck.c: (gst_check_log_message_func),
19697         (gst_check_log_critical_func):
19698           add ASSERT_WARNING
19699           remove printing of code, it is fragile when the code contains
19700           % and the line number is enough info
19701         * gst/check/gstcheck.h:
19702         * gst/gstpad.c: (gst_pad_template_new):
19703           fix memleaks
19704
19705 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19706
19707         * configure.ac:
19708           say what CHECK flags we use
19709         * docs/libs/gstreamer-libs.types:
19710         * libs/gst/controller/Makefile.am:
19711         * libs/gst/controller/gst-controller.c:
19712         * libs/gst/controller/gst-controller.h:
19713         * libs/gst/controller/gst-helper.c:
19714         * libs/gst/controller/gst-interpolation.c:
19715         * libs/gst/controller/gstcontroller.c:
19716         * libs/gst/controller/gsthelper.c:
19717         * libs/gst/controller/gstinterpolation.c:
19718         * tools/gst-inspect.c: (print_plugin_info):
19719           we don't use dashes in header names
19720
19721 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19722
19723         * check/Makefile.am:
19724         * check/gst/.cvsignore:
19725         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
19726         (gst_pipeline_suite), (main):
19727           adding a test for pipelines and state changes
19728         * gst/gstutils.c: (get_state_func):
19729           add some debugging
19730         * gstreamer.spec.in:
19731           fix up spec file
19732
19733 2005-09-08  Michael Smith <msmith@fluendo.com>
19734
19735         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
19736         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
19737         (gst_file_src_is_seekable), (gst_file_src_get_size),
19738         (gst_file_src_start):
19739         * gst/elements/gstfilesrc.h:
19740           Various fixes for unseekable, unmmapable, and non-normal files, so
19741           that fallback to read() rather than mmap() works.
19742         * gst/gstevent.c: (gst_event_new_newsegment):
19743           Allow newsegment events with segment_start == segment_end, as will
19744           correctly happen if you use filesrc on a zero-size file, for
19745           example.
19746
19747 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19748
19749         * gst/gstplugin.c: (gst_plugin_load_file):
19750           Call g_module_close when we don't load the module
19751
19752         * gst/registries/gstlibxmlregistry.c:
19753         (gst_xml_registry_get_property):
19754           Port leak fix from 0.8
19755
19756 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19757
19758         * docs/gst/gstreamer-docs.sgml:
19759         * docs/gst/tmpl/.cvsignore:
19760         * docs/gst/tmpl/gsttrace.sgml:
19761         * docs/gst/tmpl/gsttrashstack.sgml:
19762         * gst/Makefile.am:
19763         * gst/gst.h:
19764         * gst/gstelement.h:
19765         * gst/gstevent.h:
19766         * gst/gstmessage.c:
19767         * gst/gstmessage.h:
19768         * gst/gsttag.c:
19769         * gst/gsttag.h:
19770         * gst/gsttaginterface.c:
19771         * gst/gsttaginterface.h:
19772         * gst/gsttaglist.c:
19773         * gst/gsttaglist.h:
19774         * gst/gsttagsetter.c:
19775         * gst/gsttagsetter.h:
19776         * gst/gsttrace.c:
19777         * gst/gsttrace.h:
19778         * gst/gsttrashstack.c:
19779           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
19780           inlined docs for gsttrace, gsttrashstack
19781
19782 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19783
19784         * gst/Makefile.am:
19785         * gst/elements/gstbufferstore.h:
19786         * gst/elements/gsttypefindelement.c:
19787         * gst/elements/gsttypefindelement.h:
19788         * gst/gst.h:
19789         * gst/gsttypefind.c:
19790         * gst/gsttypefind.h:
19791         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
19792         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
19793         (gst_type_find_factory_dispose),
19794         (gst_type_find_factory_unload_thyself),
19795         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
19796         (gst_type_find_factory_get_caps),
19797         (gst_type_find_factory_get_extensions),
19798         (gst_type_find_factory_call_function):
19799         * gst/gsttypefindfactory.h:
19800         * gst/registries/gstlibxmlregistry.c:
19801         * gst/registries/gstxmlregistry.c:
19802           splitted gsttypefind into gsttypefind, gsttypefindfactory
19803
19804 2005-09-07  Andy Wingo  <wingo@pobox.com>
19805
19806         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
19807         condition whereby the pad's task function is entered before the
19808         pad_mode variable was set.
19809
19810 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
19811
19812         * gst/gstpad.c: (gst_pad_alloc_buffer):
19813           Catch misbehaving pad_alloc functions that don't
19814           set up caps and do it for them.
19815
19816 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
19817
19818         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19819           test for pipe!=NULL
19820         * docs/gst/tmpl/.cvsignore:
19821         * docs/gst/tmpl/gstmemchunk.sgml:
19822         * docs/gst/tmpl/gstparse.sgml:
19823         * docs/gst/tmpl/gsttaglist.sgml:
19824         * docs/gst/tmpl/gsttagsetter.sgml:
19825         * docs/gst/tmpl/gsttypefind.sgml:
19826         * docs/gst/tmpl/gsttypefindfactory.sgml:
19827         * gst/gstmemchunk.c:
19828         * gst/gstparse.c:
19829         * gst/gsttag.c:
19830         * gst/gsttaginterface.c:
19831         * gst/gsttypefind.c:
19832         * gst/gsttypefind.h:
19833           inlined more docs
19834
19835 === release 0.9.2 ===
19836
19837 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19838
19839         * NEWS:
19840         * RELEASE:
19841         * configure.ac:
19842           releasing 0.9.2, "South"
19843
19844 2005-09-05  Andy Wingo  <wingo@pobox.com>
19845
19846         * gst/registries/gstxmlregistry.h:
19847         * gst/registries/gstxmlregistry.c: Um... resurrect...
19848         
19849         * gst/registries/gstxmlregistry.h:
19850         * gst/registries/gstxmlregistry.c: and update to newer API.
19851         Incidentally they should be a bit faster now that they don't have
19852         to parse the caps.
19853         
19854 2005-09-05  Andy Wingo  <wingo@pobox.com>
19855
19856         * gst/registries/gstxmlregistry.h:
19857         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
19858         replaced by the libxml registry a while back
19859
19860 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19861
19862         * docs/gst/tmpl/gstplugin.sgml:
19863         * gst/elements/gstelements.c:
19864         * gst/gst.c:
19865         * gst/gstplugin.c: (gst_plugin_register_func),
19866         (gst_plugin_desc_copy), (gst_plugin_desc_free),
19867         (gst_plugin_get_source):
19868         * gst/gstplugin.h:
19869         * gst/registries/gstlibxmlregistry.c: (load_plugin),
19870         (gst_xml_registry_save_plugin):
19871         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
19872         (gst_xml_registry_save_plugin):
19873         * tools/gst-inspect.c: (print_plugin_info):
19874           add a "source" plugin description field, to represent the source
19875           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
19876           will set it to PACKAGE, which is automake's idea of the name of
19877           the source project.
19878
19879 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19880
19881         * Makefile.am:
19882         * autogen.sh:
19883         * configure.ac:
19884         * docs/Makefile.am:
19885         * docs/faq/Makefile.am:
19886         * docs/gst/tmpl/gstelement.sgml:
19887         * docs/gst/tmpl/gsttypes.sgml:
19888         * docs/htmlinstall.mak:
19889         * docs/manual/Makefile.am:
19890         * docs/pwg/Makefile.am:
19891           reorganize doc build a little
19892           split out docbook and gtk-doc stuff
19893           have two separate --enable's and enable them through autogen
19894           but disable by default in configure (to be similar to other
19895           projects)
19896         * gstreamer.spec.in:
19897           clean up docs install
19898         * po/af.po:
19899         * po/az.po:
19900         * po/ca.po:
19901         * po/cs.po:
19902         * po/de.po:
19903         * po/en_GB.po:
19904         * po/fr.po:
19905         * po/it.po:
19906         * po/nb.po:
19907         * po/nl.po:
19908         * po/ru.po:
19909         * po/sq.po:
19910         * po/sr.po:
19911         * po/sv.po:
19912         * po/tr.po:
19913         * po/uk.po:
19914         * po/vi.po:
19915           translation updates
19916
19917 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
19918
19919         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
19920           Add comment.
19921           
19922         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19923         (gst_fake_sink_change_state):
19924           Make state change function thread-safe.
19925           
19926         * gst/gstpad.c: (gst_pad_alloc_buffer):
19927           Set offset on generic buffer allocated by fallback.
19928
19929 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
19930
19931         * docs/gst/gstreamer-sections.txt:
19932         * docs/gst/tmpl/gstelement.sgml:
19933         * gst/gstpad.c:
19934         * libs/gst/controller/gst-controller.c:
19935         (gst_controlled_property_set_interpolation_mode),
19936         (gst_controlled_property_new),
19937         (gst_controller_find_controlled_property):
19938          run the wingo-magic script against the docs
19939
19940 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19941
19942         * docs/gst/gstreamer-docs.sgml:
19943         * docs/gst/gstreamer-sections.txt:
19944         * docs/gst/tmpl/.cvsignore:
19945         * docs/gst/tmpl/gstelementdetails.sgml:
19946         * docs/gst/tmpl/gstelementfactory.sgml:
19947         * gst/gst.c:
19948         * gst/gstbus.c:
19949         * gst/gstelementfactory.c:
19950         * gst/gstelementfactory.h:
19951           merged elementdetails docs into elementfactory docs
19952           inlined both
19953
19954 2005-09-02  Andy Wingo  <wingo@pobox.com>
19955
19956         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
19957         consider this enum an enum and not a flags.
19958
19959 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
19960
19961         * docs/gst/gstreamer-docs.sgml:
19962         * docs/gst/tmpl/.cvsignore:
19963         * docs/gst/tmpl/gstghostpad.sgml:
19964         * docs/gst/tmpl/gstiterator.sgml:
19965         * docs/gst/tmpl/gstmacros.sgml:
19966         * docs/gst/tmpl/gstrealpad.sgml:
19967         * docs/gst/tmpl/gstregistry.sgml:
19968         * docs/gst/tmpl/gstregistrypool.sgml:
19969         * docs/gst/tmpl/gststructure.sgml:
19970         * docs/gst/tmpl/gstsystemclock.sgml:
19971         * docs/gst/tmpl/gsttrace.sgml:
19972         * gst/gstghostpad.c:
19973         * gst/gstmacros.h:
19974         * gst/gstmemchunk.c:
19975         * gst/gstmemchunk.h:
19976         * gst/gstqueue.c:
19977         * gst/gstregistry.c:
19978         * gst/gstregistrypool.c:
19979         * gst/gststructure.c:
19980         * gst/gstsystemclock.c:
19981           more docs inlined
19982
19983 2005-09-02  Andy Wingo  <wingo@pobox.com>
19984
19985         * gst/gstelement.h (GstState): Renamed from GstElementState,
19986         changed to be a normal enum instead of flags.
19987         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
19988         munged to be GST_STATE_CHANGE_*.
19989         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
19990         work with the new state representation.
19991         (GstStateChange): New enumeration of possible state transitions.
19992         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
19993         (GstElementClass::change_state): Pass the GstStateChange along as
19994         an argument. Helps language bindings, so they don't have to use
19995         tricky lock-needing macros like GST_STATE_CHANGE ().
19996
19997         * scripts/update-states (file): New script. Run it on a file to
19998         update it for state naming and API changes. Updates files in
19999         place.
20000
20001         * All files updated for the new API.
20002
20003 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20004
20005         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20006         * gst/gstutils.c: (gst_util_set_value_from_string),
20007         (gst_util_set_object_arg):
20008           fix a bunch of unchecked return values
20009         * tools/gst-complete.c: (main):
20010         * gstreamer.spec.in:
20011           clean up a little
20012
20013 2005-09-01  Wim Taymans  <wim@fluendo.com>
20014
20015         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20016         (gst_base_sink_event), (gst_base_sink_do_sync),
20017         (gst_base_sink_handle_event):
20018         * gst/base/gstbasesink.h:
20019         Handle newsegments more correctly.
20020
20021         * gst/gstbus.c:
20022         Fix docs.
20023
20024         * gst/gstevent.c: (gst_event_new_newsegment):
20025         A newsegment cannot have a start_time of -1
20026
20027 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20028
20029         * win32/gstenumtypes.c:
20030         * win32/gstenumtypes.h:
20031           Update
20032
20033 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20034
20035         * libs/gst/controller/gst-controller.c:
20036         (gst_controlled_property_set_interpolation_mode),
20037         (gst_controlled_property_new):
20038          fixed boolean again
20039
20040 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20041
20042         * docs/faq/gst-uninstalled:
20043           add -good
20044         * gst/gstevent.c:
20045         * gst/gstevent.h:
20046           remove wrong docs
20047         * gst/gstutils.c: (gst_element_link_filtered):
20048         * gst/gstutils.h:
20049           add gst_element_link_filtered
20050
20051 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20052
20053         * docs/gst/gstreamer-docs.sgml:
20054         * docs/gst/gstreamer-sections.txt:
20055         * docs/gst/tmpl/.cvsignore:
20056         * docs/gst/tmpl/gsterror.sgml:
20057         * docs/gst/tmpl/gstfilter.sgml:
20058         * docs/gst/tmpl/gsturihandler.sgml:
20059         * docs/gst/tmpl/gsturitype.sgml:
20060         * docs/gst/tmpl/gstutils.sgml:
20061         * docs/gst/tmpl/gstxml.sgml:
20062         * gst/gsterror.c:
20063         * gst/gsterror.h:
20064         * gst/gstfilter.c:
20065         * gst/gsturi.c:
20066         * gst/gsturitype.c:
20067         * gst/gstutils.c:
20068         * gst/gstxml.c:
20069           inlined more docs, fixed double id-ref
20070
20071 2005-08-31  Wim Taymans  <wim@fluendo.com>
20072
20073         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20074         (gst_base_transform_handle_buffer):
20075         Passthrough elements don't need the caps as they don't care.
20076
20077 2005-08-31  Wim Taymans  <wim@fluendo.com>
20078
20079         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20080         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20081         Don't leak refcounts on buffers.
20082
20083 2005-08-31  Wim Taymans  <wim@fluendo.com>
20084
20085         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20086         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20087         (gst_base_transform_chain), (gst_base_transform_change_state):
20088         * gst/base/gstbasetransform.h:
20089         Handle the case where we are not negotiated more gracefully.
20090
20091 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20092
20093         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20094         (gst_file_src_map_region):
20095           Set READONLY flag on mmap'ed buffers, otherwise
20096           gst_buffer_make_writable() won't work properly (#314708).
20097
20098 2005-08-31  Wim Taymans  <wim@fluendo.com>
20099
20100         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20101         passthrough elements can even do inplace on non writable
20102         buffers (as they don't touch them).
20103
20104 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20105
20106         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20107         (gst_test_mono_source_set_property),
20108         (gst_test_mono_source_class_init), (GST_START_TEST),
20109         (gst_controller_suite):
20110           more tests (hehe I have the most)
20111         * gst/gstbus.c:
20112           describe popping messages whenusing mulltiple sources
20113         * libs/gst/controller/gst-controller.c:
20114         (gst_controlled_property_set_interpolation_mode),
20115         (gst_controlled_property_new):
20116         * libs/gst/controller/gst-controller.h:
20117         * libs/gst/controller/gst-interpolation.c:
20118           implement boolean properties
20119
20120 2005-08-31  Wim Taymans  <wim@fluendo.com>
20121
20122         * gst/gstminiobject.c: (gst_mini_object_ref):
20123         Cannot assert that the refcount has to be positive
20124         since a disposed object can be resurrected.
20125
20126 2005-08-31  Wim Taymans  <wim@fluendo.com>
20127
20128         * gst/gstpad.c: (gst_pad_init):
20129         Revert change, need to first fix badly behaving 
20130         apps.
20131
20132 2005-08-30  Wim Taymans  <wim@fluendo.com>
20133
20134         * check/elements/fakesrc.c: (setup_fakesrc):
20135         * check/elements/identity.c: (setup_identity):
20136         Activate pads before using them.
20137
20138 2005-08-30  Wim Taymans  <wim@fluendo.com>
20139
20140         * gst/base/gstadapter.c: (gst_adapter_flush):
20141         Flushing out 0 bytes is ok for this function.
20142
20143         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20144         no newsegment gives a warning and sets the start/stop to 
20145         invalid.
20146
20147         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20148         (gst_base_transform_set_passthrough):
20149         Some debug info.
20150
20151         * gst/gstminiobject.c: (gst_mini_object_ref):
20152         Check refcount here too.
20153
20154         * gst/gstpad.c: (gst_pad_init):
20155         Pads are initially flushing and refusing data.
20156
20157         * gst/gstutils.c: (gst_element_link_pads_filtered):
20158         When adding a capsfilter element make sure it has the
20159         same state as the parent bin.
20160
20161 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20162
20163         * docs/gst/tmpl/.cvsignore:
20164         * docs/gst/tmpl/gstformat.sgml:
20165         * docs/gst/tmpl/gstversion.sgml:
20166         * gst/gstbus.h:
20167         * gst/gstformat.c:
20168         * gst/gstformat.h:
20169         * gst/gstversion.h.in:
20170           more docs and two more inlined
20171
20172 2005-08-30  Wim Taymans  <wim@fluendo.com>
20173
20174         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20175         Don't sync to clock.
20176
20177 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20178
20179         * docs/gst/gstreamer-sections.txt:
20180           ultral33t func10ns deserve to appear in the docs actually
20181         * docs/gst/tmpl/.cvsignore:
20182         * docs/gst/tmpl/gstcompat.sgml:
20183         * docs/gst/tmpl/gstconfig.sgml:
20184         * gst/check/gstcheck.c:
20185         * gst/gstcompat.h:
20186         * gst/gstconfig.h.in:
20187           inlined more docs
20188
20189 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20190
20191         * docs/gst/tmpl/.cvsignore:
20192         * docs/gst/tmpl/gstquery.sgml:
20193         * docs/gst/tmpl/gstutils.sgml:
20194         * gst/gstquery.c:
20195         * gst/gstquery.h:
20196           inlined and extended docs
20197
20198 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20199
20200         * check/gst-libs/controller.c: (GST_START_TEST),
20201         (gst_controller_suite):
20202           more tests
20203         * docs/gst/tmpl/gstutils.sgml:
20204         * docs/libs/gstreamer-libs-sections.txt:
20205         * docs/libs/tmpl/gstdataprotocol.sgml:
20206           include path fixes
20207         * examples/controller/audio-example.c: (main):
20208           controller example works now
20209         * gst/gstclock.h:
20210           doc fixes
20211         * tools/gst-inspect.c: (print_element_properties_info):
20212           show param spec flags
20213
20214 2005-08-29  Andy Wingo  <wingo@pobox.com>
20215
20216         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20217
20218 2005-08-28  Andy Wingo  <wingo@pobox.com>
20219
20220         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20221         as having two arguments instead of just one. Allows superclasses
20222         to access information on subclasses -- see the terrible for() loop
20223         in gtype.c:g_type_create_instance for the reason why. All callers
20224         changed.
20225
20226 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20227
20228         * docs/design/part-messages.txt:
20229           update info
20230         * docs/gst/tmpl/.cvsignore:
20231         * docs/gst/tmpl/gstcaps.sgml:
20232         * docs/gst/tmpl/gstclock.sgml:
20233         * gst/gstbus.c:
20234         * gst/gstcaps.c:
20235         * gst/gstcaps.h:
20236         * gst/gstclock.c:
20237         * gst/gstclock.h:
20238         * gst/gstmessage.c:
20239           added descriptions for bus and message
20240           inline caps and clock docs
20241
20242 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20243
20244         * gst/gstmessage.c:
20245         * gst/gstmessage.h:
20246           doc fixes
20247
20248 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20249
20250         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20251           fix div-by-zero
20252
20253 2005-08-26  Andy Wingo  <wingo@pobox.com>
20254
20255         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20256         element_set_state's return val.
20257         (test_2_elements): Add test that's been disabled for months.
20258
20259         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20260         can-activate-pull properties.
20261
20262         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20263         can-activate-pull properties. Implement is_seekable so fakesrc can
20264         operate in pull mode.
20265
20266         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20267         properties.
20268         (gst_base_sink_activate, gst_base_sink_activate_pull)
20269         (gst_base_sink_activate_push): Make activation mode choosing work.
20270         Cleanups.
20271         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20272         is right. Make pull mode work. Post an eos before pausing in pull
20273         mode.
20274         (gst_base_sink_change_state): Pay attention to the core's
20275         change_state() return val.
20276         
20277         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20278         has-getrange properties. Cleanups.
20279         
20280         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20281         has_getrange and replace with can_activate_pull and
20282         can_activate_push.
20283
20284         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20285         locking comments. Remove has_loop, has_chain and replace with
20286         can_activate_pull and can_activate_push.
20287
20288 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20289
20290         * configure.ac:
20291         * examples/Makefile.am:
20292         * examples/metadata/Makefile.am:
20293         * examples/metadata/read-metadata.c: (message_loop),
20294         (have_pad_handler), (make_pipeline), (print_tag), (main):
20295           Add metadata reading example that loops over a list of filenames,
20296           dumping any tags found.
20297
20298         * gst/gstbus.c: (gst_bus_dispose):
20299         * gst/gstelement.c: (gst_element_dispose):
20300           Release a few potentially-held references in dispose.
20301
20302 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20303
20304         * docs/gst/tmpl/gstminiobject.sgml:
20305           do *not* add tmpl/*.sgml files to CVS!
20306
20307 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20308
20309         * libs/gst/bytestream/.cvsignore:
20310         * libs/gst/bytestream/Makefile.am:
20311         * libs/gst/bytestream/adapter.c:
20312         * libs/gst/bytestream/adapter.h:
20313         * libs/gst/bytestream/bytestream.c:
20314         * libs/gst/bytestream/bytestream.h:
20315         * libs/gst/bytestream/filepad.c:
20316         * libs/gst/bytestream/filepad.h:
20317           removing obsolete files
20318
20319 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20320
20321         * docs/gst/gstreamer-docs.sgml:
20322         * docs/libs/gstreamer-libs-docs.sgml:
20323           disabed additional index entries again, as this makes docs-gen just
20324           slow and they aren't useful yet
20325         * docs/libs/gstreamer-libs-sections.txt:
20326           little -section.txt cleanup for libs
20327
20328 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20329
20330         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20331         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20332           fix up some debugging
20333         (gst_base_transform_get_unit_size),
20334         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20335         (gst_base_transform_handle_buffer):
20336         * gst/base/gstbasetransform.h:
20337           handle and store timed NEWSEGMENT events so that subclasses that
20338           calculate time by counting samples have a segment_start time they
20339           need to add to their timestamps - see audioresample
20340
20341 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20342
20343         * gst/gstbin.h:
20344           removed ';' from the end of macro defs
20345         * docs/gst/gstreamer-docs.sgml:
20346         * docs/gst/gstreamer-sections.txt:
20347         * docs/gst/tmpl/.cvsignore:
20348         * gst/gstbus.h:
20349         * gst/gstelement.c: (gst_element_class_init),
20350         (gst_element_set_state), (activate_pads),
20351         (gst_element_save_thyself):
20352         * gst/gstevent.c: (gst_event_new_newsegment):
20353         * gst/gstevent.h:
20354         * gst/gstiterator.c:
20355         * gst/gstiterator.h:
20356         * gst/gstpad.c:
20357         * gst/gstprobe.h:
20358         * gst/gstutils.c: (gst_pad_query_convert):
20359         * gst/gstutils.h:
20360           fixed parameter name mismatches between source, header and docs
20361           added some more docs, resolved the last batch of unused elements in
20362           docs (now someone needs to doc them)
20363
20364 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20365
20366         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20367         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20368           don't walk through the plugins backwards.  Where is all this
20369           reversed logic coming from ?
20370
20371 2005-08-25  Wim Taymans  <wim@fluendo.com>
20372
20373         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20374         (gst_base_transform_transform_size),
20375         (gst_base_transform_configure_caps),
20376         (gst_base_transform_get_unit_size),
20377         (gst_base_transform_buffer_alloc),
20378         (gst_base_transform_change_state):
20379         * gst/base/gstbasetransform.h:
20380         Cache caps unit_size.
20381         Make sure we cannot negotiate up and downstream at the
20382         same time.
20383
20384 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20385
20386         * gst/gst.c: (init_pre), (init_post):
20387           register the installed plugin path after the env var
20388         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20389         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20390           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20391           directories, so the tests can prefer uninstalled over installed
20392
20393 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
20394
20395         * gst/base/gstbasetransform.h:
20396           comment
20397         * gst/gstpad.c:
20398           add to docs
20399
20400 2005-08-25  Wim Taymans  <wim@fluendo.com>
20401
20402         * gst/gstbin.c: (bin_bus_handler):
20403         Be a bit more conservative about the posted message.
20404         
20405         * gst/gstbus.c: (gst_bus_post):
20406         Some cleanups, warn wrong return values.
20407
20408 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
20409
20410         * check/gst/gstbin.c: (GST_START_TEST):
20411         * gst/gstbin.c: (bin_bus_handler):
20412         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20413         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20414         (gst_message_new_warning), (gst_message_new_tag),
20415         (gst_message_new_state_changed), (gst_message_new_segment_start),
20416         (gst_message_new_segment_done), (gst_message_new_custom):
20417         * gst/gstmessage.h:
20418         * tools/gst-launch.c: (event_loop):
20419         * tools/gst-md5sum.c: (event_loop):
20420           Revert unpopular change for GST_MESSAGE_SRC to GObject.
20421
20422 2005-08-25  Wim Taymans  <wim@fluendo.com>
20423
20424         * check/generic/states.c: (GST_START_TEST):
20425         Cleanup can be done at the end.
20426
20427         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20428         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20429         (gst_task_get_state), (gst_task_start), (gst_task_pause):
20430         Oh boy.. Thanks for finding this, Thomas. 
20431
20432 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20433
20434         * docs/gst/gstreamer.types:
20435           added missing types
20436
20437 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
20438
20439         * docs/gst/gstreamer-docs.sgml:
20440         * docs/gst/gstreamer-sections.txt:
20441         * docs/gst/tmpl/.cvsignore:
20442         * gst/gstbin.c:
20443         * gst/gstiterator.c:
20444         * gst/gstutils.c:
20445         * gst/registries/gstxmlregistry.h:
20446           added missing classes and symbols (123 more to go)
20447           removed removed symbols from section file
20448           fixed many doc-comments
20449
20450 2005-08-24  Wim Taymans  <wim@fluendo.com>
20451
20452         * check/generic/states.c: (GST_START_TEST):
20453         Make sure all tasks are stopped.
20454
20455         * check/gst/gstbin.c: (GST_START_TEST):
20456         Unref after usage for proper valgrinding.
20457
20458         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20459         Really wait for the task to stop before destroying the
20460         mutex.
20461
20462         * gst/gstqueue.c: (gst_queue_sink_activate_push),
20463         (gst_queue_src_activate_push):
20464         Small cleanups. Don't stop the task when we did not start
20465         it.
20466
20467         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20468         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20469         (gst_task_get_state), (gst_task_start), (gst_task_pause),
20470         (gst_task_join):
20471         * gst/gsttask.h:
20472         Protect the stream lock with the object lock.
20473         Disallow setting the stream lock when running.
20474         Add cleanup_all to wait for the threadpool to finish.
20475         Remove code to autoallocate a mutex if none was provided.
20476         Add _join() to wait for a task to stop.
20477         Protect the thread pool with a global lock.
20478
20479 2005-08-24  Wim Taymans  <wim@fluendo.com>
20480
20481         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20482         (gst_base_sink_get_times), (gst_base_sink_do_sync),
20483         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20484         * gst/base/gstbasesink.h:
20485         Handle newsegment events correctly.
20486         Drop buffers out of the segment range.
20487
20488 2005-08-22  Andy Wingo  <wingo@pobox.com>
20489
20490         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20491         macro, implements an interface and gstimplementsinterface for a
20492         new type.
20493
20494 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20495
20496         * check/Makefile.am:
20497         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20498           add a test that does a bunch of state changes on elements
20499           needs some fixing for valgrind
20500         * check/states/sinks.c: (gst_object_suite):
20501           whitespace
20502         * gst/gstcaps.h:
20503           add prototype for gst_caps_is_equal_fixed
20504         * gst/gstplugin.c:
20505         * gst/gstregistrypool.c:
20506           doc fixes
20507
20508 2005-08-24  Andy Wingo  <wingo@pobox.com>
20509
20510         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20511         convert a negative value. Doesn't make much sense. Mostly this is
20512         here to force callers to ensure -1 maps to -1.
20513
20514 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20515
20516         * docs/pwg/advanced-types.xml:
20517           Well done to Michael for catching my deliberate introduction
20518           of this spelling mistake. 
20519         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20520         * gst/gstelement.h:
20521           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20522           unlink pads before removing the element from the bin.
20523
20524 2005-08-24  Andy Wingo  <wingo@pobox.com>
20525
20526         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20527         the same thing as GST_DEBUG=*:4.
20528         (parse_debug_level, parse_debug_category): New helper parsers.
20529
20530 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20531
20532         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20533         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20534         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20535         (gst_base_transform_buffer_alloc),
20536         (gst_base_transform_handle_buffer):
20537           use gboolean return values and pointers to size so we can use the
20538           full GST_BUFFER_SIZE range (guint) for buffer sizes
20539           use GstPadDirection for transform_caps
20540         * gst/base/gstbasetransform.h:
20541           rename get_size to get_unit_size since that's what it is
20542         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20543           use GstPadDirection for transform_caps
20544         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20545         * gst/gstutils.h:
20546           cleanup and debugging
20547
20548 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20549
20550         * gst/gstelement.c: (gst_element_class_init),
20551         (gst_element_set_state), (activate_pads),
20552         (gst_element_save_thyself):
20553         * tools/gst-compprep.c: (main):
20554         * tools/gst-inspect.c: (print_element_properties_info):
20555         * tools/gst-xmlinspect.c: (print_element_properties):
20556           Fixed long standing mem-leak
20557
20558 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
20559
20560         * check/gst/gstbin.c: (GST_START_TEST):
20561         * gst/gstbin.c: (bin_bus_handler):
20562         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20563         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20564         (gst_message_new_warning), (gst_message_new_tag),
20565         (gst_message_new_state_changed), (gst_message_new_segment_start),
20566         (gst_message_new_segment_done), (gst_message_new_custom):
20567         * gst/gstmessage.h:
20568         * tools/gst-launch.c: (event_loop):
20569         * tools/gst-md5sum.c: (event_loop):
20570           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20571           that applications can sensibly post custom messages with references
20572           to their own objects.
20573
20574 2005-08-24  Andy Wingo  <wingo@pobox.com>
20575
20576         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20577         already.
20578
20579 2005-08-24  Wim Taymans  <wim@fluendo.com>
20580
20581         * gst/base/gstbasetransform.c: (gst_base_transform_init),
20582         (gst_base_transform_transform_caps),
20583         (gst_base_transform_transform_size),
20584         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20585         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20586         (gst_base_transform_handle_buffer):
20587         * gst/base/gstbasetransform.h:
20588         Many fixes and new features added by Thomas. Can now also do
20589         transforms with variable sizes and a custom fixate_caps function.
20590
20591 2005-08-24  Wim Taymans  <wim@fluendo.com>
20592
20593         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20594         Some debugging.
20595
20596         * gst/gstclock.h:
20597         Cast to ClockTime before formatting to time.
20598
20599         * gst/gstutils.h:
20600         Cleanups.
20601
20602 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
20603
20604         * check/gst-libs/controller.c: (GST_START_TEST),
20605         (gst_controller_suite):
20606         * docs/gst/tmpl/gstcaps.sgml:
20607         * docs/gst/tmpl/gstghostpad.sgml:
20608         * docs/gst/tmpl/gstquery.sgml:
20609         * docs/gst/tmpl/gstutils.sgml:
20610         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20611         (gst_object_sink_values), (gst_object_get_value_arrays),
20612         (gst_object_get_value_array):
20613           gracefully handle helper method calls to objects that are not beeing
20614           controlled, added test case for that          
20615
20616 2005-08-23  Wim Taymans  <wim@fluendo.com>
20617
20618         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
20619         (gst_event_new_newsegment), (gst_event_parse_newsegment),
20620         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
20621         (gst_event_parse_qos), (gst_event_new_seek),
20622         (gst_event_parse_seek):
20623         * gst/gstevent.h:
20624         Some more debugging output and doc cleanups.
20625
20626         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20627         Fix possible deadlock.
20628
20629 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20630
20631         * docs/gst/gstreamer-docs.sgml:
20632         * docs/gst/gstreamer-sections.txt:
20633         * docs/gst/gstreamer.types:
20634         * docs/gst/tmpl/.cvsignore:
20635         * gst/gstbin.h:
20636         * gst/gstbus.c:
20637         * gst/gstelement.c:
20638         * gst/gstevent.h:
20639           added 100 symbols from gstreamer-unused.txt to the right sections
20640           fixed more broken comments
20641           added GstBus to docs
20642
20643 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20644
20645         * docs/gst/gstreamer-sections.txt:
20646         * docs/gst/tmpl/.cvsignore:
20647         * docs/gst/tmpl/gstbin.sgml:
20648         * docs/gst/tmpl/gstbuffer.sgml:
20649         * gst/base/gstbasesrc.c:
20650         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
20651         * gst/gstbuffer.c:
20652         * gst/gstbuffer.h:
20653         * tools/gst-launch.1.in:
20654           inlined more doc comments, added missing comments and fixed comments
20655           fixed typos
20656
20657 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20658
20659         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20660           some debugging
20661         * gst/gstcaps.h:
20662           whitespace fixes
20663         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
20664           more debugging
20665         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
20666         * gst/gststructure.h:
20667           add a fixate function for booleans; add a FIXME that these func
20668           names should probably be gst_structure_fixate_*
20669
20670 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
20671
20672         * docs/gst/gstreamer-docs.sgml:
20673         * docs/gst/gstreamer-sections.txt:
20674         * gst/Makefile.am:
20675         * gst/gstbin.c: (gst_bin_get_type),
20676         (gst_bin_child_proxy_get_child_by_index),
20677         (gst_bin_child_proxy_get_children_count),
20678         (gst_bin_child_proxy_init):
20679         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20680         (gst_child_proxy_get_child_by_index),
20681         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
20682         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
20683         (gst_child_proxy_get), (gst_child_proxy_set_property),
20684         (gst_child_proxy_set_valist), (gst_child_proxy_set),
20685         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
20686         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
20687         * gst/gstchildproxy.h:
20688         * gst/parse/grammar.y:
20689         * tools/gst-inspect.c: (print_interfaces),
20690         (print_element_properties_info), (print_element_info):
20691           ported gstchildproxy over from 0.8
20692           ported gst-inspect fixes and enhancements over from 0.8
20693
20694 2005-08-22  Wim Taymans  <wim@fluendo.com>
20695
20696         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20697         (gst_base_transform_handle_buffer):
20698         Also call the transform function if we have ANY caps.
20699
20700         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
20701         Fix debug info.
20702
20703 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20704
20705         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
20706           Don't pretend to handle seek events if the source is not seekable
20707
20708 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
20709
20710         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20711           Remove extra parameter to debug output
20712
20713         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20714         (gst_base_src_do_seek), (gst_base_src_activate_push):
20715           Fix seek event handling.
20716
20717         * gst/gstpipeline.c: (gst_pipeline_change_state):
20718         * gst/gstqueue.c: (gst_queue_handle_sink_event),
20719         (gst_queue_src_activate_push):
20720           Don't start the src pad task on FLUSH_STOP if the pad
20721           isn't linked.
20722           Debug changes.
20723
20724 2005-08-22  Wim Taymans  <wim@fluendo.com>
20725
20726         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
20727         Added check for gst_static_caps_get() refcounting.
20728
20729 2005-08-22  Wim Taymans  <wim@fluendo.com>
20730
20731         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
20732         Make _static_caps_get() refcounting sane.
20733         
20734         * gst/gstelement.c: (gst_element_set_state):
20735         Add g_return_val_if_fail() to protect against segfaults.
20736
20737 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
20738
20739         * docs/gst/tmpl/gstevent.sgml:
20740         * gst/gstevent.c:
20741         * gst/gstevent.h:
20742           inlined remaining docs, added missing doc comments
20743
20744 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20745
20746         * check/gst/gstbin.c: (GST_START_TEST):
20747           since we don't know when preroll is done, use refcount range
20748           check for the sink
20749         * gst/check/gstcheck.h:
20750           add macro for checking refcount range
20751
20752 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20753
20754         * check/Makefile.am:
20755           clean up environment for when registry gets built versus
20756           when actual tests are run; valgrind seems to not report
20757           leaks if GST_PLUGIN_PATH is set to some specific values
20758         * check/gst/gstbin.c: (GST_START_TEST):
20759           add more refcounting checks; maybe this exposes a
20760           preroll lock bug ?
20761         * common/check.mak:
20762         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20763         * gst/check/gstcheck.h:
20764         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
20765         (gst_bin_change_state):
20766         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
20767           add/fix debugging/whitespace
20768
20769 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20770
20771         * check/gst/gstevent.c: (event_probe), (test_event),
20772         (GST_START_TEST):
20773          Er, don't call gst_bin_watch_for_state_change you idiot.
20774
20775 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
20776
20777         * check/Makefile.am:
20778           Use CHECK_CFLAGS and CHECK_LIBS
20779         * check/gst/gstevent.c: (event_probe), (test_event),
20780         (GST_START_TEST):
20781           Don't leak events.
20782         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
20783         (gst_base_src_start), (gst_base_src_stop),
20784         (gst_base_src_activate_push), (gst_base_src_activate_pull),
20785         (gst_base_src_change_state):
20786           Sprinkle gst_base_src_stop liberally around error paths to fix
20787           problems reusing a source after failed state changes.
20788         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20789         (helper_find_suggest), (gst_type_find_helper):
20790           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
20791         * gst/gstevent.h:
20792         * docs/gst/tmpl/gstevent.sgml:
20793           Migrate part of the docs from the SGML file. Wait for ensonic to
20794           tell me how I did it wrong ;)
20795         * tools/gst-typefind.c: (main):
20796           Extra robustness to state changes between files.
20797
20798 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
20799
20800         * check/Makefile.am:
20801           don't valgrind the controller test - it's leaking - Stefan, HELP
20802         * gst/check/gstcheck.c: (gst_check_message_error),
20803         (gst_check_chain_func), (gst_check_setup_element),
20804         (gst_check_teardown_element), (gst_check_setup_src_pad),
20805         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
20806         (gst_check_teardown_sink_pad):
20807         * gst/check/gstcheck.h:
20808           add a bunch of methods to set up elements, and src and sink pads
20809         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
20810         * check/elements/identity.c: (setup_identity), (cleanup_identity),
20811         (GST_START_TEST):
20812           use them
20813         * gst/gstmessage.c:
20814         * gst/gsttag.h:
20815           whitespace/doc fixes
20816
20817 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20818
20819         * gst/gstelement.h:
20820           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
20821           be handled by the application and not always printed as well
20822
20823 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20824
20825         * check/Makefile.am:
20826           set GST_TOOLS_DIR
20827         * gst/check/gstcheck.c: (gst_check_message_error):
20828         * gst/check/gstcheck.h:
20829           add a fail_unless_equals_int
20830           add fail_unless for error messages
20831
20832 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20833
20834         * check/Makefile.am:
20835         * check/gst.supp:
20836         * common/Makefile.am:
20837         * common/check.mak:
20838         * common/gst.supp:
20839           factor out some of the common stuff so we can use it
20840
20841 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20842
20843         * check/Makefile.am:
20844         * check/gst/gstiterator.c: (GST_START_TEST):
20845         * check/gst/gstsystemclock.c: (GST_START_TEST),
20846         (gst_systemclock_suite):
20847         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
20848         * gst/gstclock.c:
20849           valgrind more tests
20850
20851 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20852
20853         * check/elements/.cvsignore:
20854         * check/elements/gstfakesrc.c:
20855           rename to name of element
20856         * check/elements/identity.c: (chain_func), (event_func),
20857         (setup_identity), (cleanup_identity), (GST_START_TEST),
20858         (identity_suite), (main):
20859           add a test for identity
20860         * check/Makefile.am:
20861         * pkgconfig/Makefile.am:
20862         * pkgconfig/gstreamer-check.pc.in:
20863         * pkgconfig/gstreamer-check-uninstalled.pc.in:
20864         * gst/check:
20865         * gst/Makefile.am:
20866         * configure.ac:
20867           move the check stuff to a library that gets installed
20868         * check/gst-libs/controller.c: (GST_START_TEST):
20869         * check/gst-libs/gdp.c:
20870         * check/gst/gst.c: (GST_START_TEST):
20871         * check/gst/gstbin.c:
20872         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
20873         * check/gst/gstbus.c:
20874         * check/gst/gstcaps.c: (GST_START_TEST):
20875         * check/gst/gstelement.c:
20876         * check/gst/gstghostpad.c:
20877         * check/gst/gstiterator.c:
20878         * check/gst/gstmessage.c:
20879         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
20880         * check/gst/gstobject.c:
20881         * check/gst/gstpad.c: (GST_START_TEST):
20882         * check/gst/gststructure.c: (GST_START_TEST):
20883         * check/gst/gstsystemclock.c: (GST_START_TEST),
20884         (gst_systemclock_suite):
20885         * check/gst/gsttag.c: (gst_tag_suite):
20886         * check/gst/gstvalue.c:
20887         * check/pipelines/cleanup.c:
20888         * check/pipelines/simple_launch_lines.c:
20889         * check/states/sinks.c:
20890           change include statement
20891
20892         * docs/gst/gstreamer-sections.txt:
20893         * docs/gst/tmpl/gstpad.sgml:
20894           document more pad stuff
20895         * gst/gstminiobject.c: (gst_mini_object_ref),
20896         (gst_mini_object_unref):
20897           debug refcounting
20898
20899 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
20900
20901         * docs/gst/tmpl/gst.sgml:
20902         * gst/gst.c:
20903           eliminate another tmpl file, fix spelling in the long-description
20904
20905 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20906
20907         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20908         (test_event), (timediff), (gstevents_suite):
20909           Should fix build on 64-bit arch's
20910
20911 2005-08-18  Andy Wingo  <wingo@pobox.com>
20912
20913         Make sure that when a pipeline goes to PLAYING, that data has
20914         actually hit the sink.
20915
20916         * check/states/sinks.c (test_sink): A sink that doesn't get any
20917         data shouldn't return SUCCESS for going to either PLAYING or
20918         PAUSED. Test also the return values on the way back down.
20919
20920         * gst/gstelement.c (gst_element_set_state): When changing the
20921         state of an element currently changing state asynchronously, go to
20922         lost-state after commiting the pending state. Makes future calls
20923         to get_state continue to return ASYNC.
20924
20925         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
20926         ASYNC when going to PLAYING if we still don't have preroll, as can
20927         happen with live sources.
20928
20929 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20930
20931         * docs/pwg/advanced-types.xml:
20932           Hack long paragraph into 2 chunks as a workaround for buggy
20933           jadetex version in sid and breezy that loops infinitely and
20934           eats all RAM.
20935
20936 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20937
20938         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20939         (test_event), (timediff), (gstevents_suite):
20940           Provide more error margin in clock measurements to allow for 
20941           g_get_current_time inaccuracies.
20942
20943 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20944
20945         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20946         (test_event), (timediff), (gstevents_suite):
20947            Fix error message output so I might be able to tell why the
20948            test works here but fails on the build farm.
20949
20950 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
20951
20952         * check/Makefile.am:
20953         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
20954         (test_event), (timediff), (gstevents_suite), (main):
20955           I wrote a test!
20956
20957         * docs/design/part-seeking.txt:
20958           Spelling correction
20959
20960         * docs/gst/tmpl/gstevent.sgml:
20961         * docs/gst/tmpl/gstfakesrc.sgml:
20962           Docs updates.
20963
20964         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20965           Treat a buffer-without-newsegment the same as a receiving 
20966           a newsegment not in time format, and disable syncing to the clock
20967           with a warning.
20968
20969         * gst/gstbus.c: (gst_bus_set_sync_handler):
20970           Assert if anyone tries to replace the existing sync_handler for bus, 
20971           as only the owner should be setting it.
20972
20973         * gst/gstevent.h:
20974           Have a fixed set of custom event enums with events identified by
20975           their structure name (as in 0.8), rather than a free-for-all
20976           allowing collisions between enum values from different plugins.
20977
20978         * gst/gstpad.c: (gst_pad_class_init):
20979           Docs change.
20980           
20981         * gst/gstqueue.c: (gst_queue_handle_sink_event):
20982           Handle out-of-band downstream events from the sending thread.
20983
20984 2005-08-17  Andy Wingo  <wingo@pobox.com>
20985
20986         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
20987         play-timeout==0 to mean no timeout at all. In that case, don't
20988         bother with a get_state or a warning, just return directly, even
20989         if it's ASYNC.
20990
20991         * gst/base/gstbasetransform.c: Debug changes.
20992
20993         * gst/gstutils.h:
20994         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
20995         ensure bins post state change messages. A bit of a hack but I can't
20996         think of a way to avoid it.
20997
20998         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
20999
21000 2005-08-16  Andy Wingo  <wingo@pobox.com>
21001
21002         * gst/base/gstadapter.h:
21003         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21004         peek() but you own the data. Not terribly efficient atm.
21005
21006 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21007
21008         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21009         (gst_element_found_tags):
21010         * gst/gstutils.h:
21011           Add two utility functions for tag handling.
21012
21013 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21014
21015         * docs/manual/advanced-dataaccess.xml:
21016         * docs/manual/basics-helloworld.xml:
21017           Fix docs to use _bin_add() before _link(), which fixes the examples
21018           with recent core versions (reported by Madhan Raj M
21019           <raj_madan@rediffmail.com>, #313199).
21020
21021 2005-08-16  Wim Taymans  <wim@fluendo.com>
21022
21023         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21024         Added subtract checks.
21025
21026         * docs/design/part-events.txt:
21027         Some more docs about newsegment
21028
21029         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21030         Fix FIXME
21031
21032         * gst/gstcaps.c: (gst_caps_to_string):
21033         Add comments, cleanups.
21034         
21035         * gst/gstelement.c: (gst_element_save_thyself):
21036         cleanups
21037         
21038         * gst/gstvalue.c: (gst_value_collect_int_range),
21039         (gst_string_unwrap), (gst_value_union_int_int_range),
21040         (gst_value_union_int_range_int_range),
21041         (gst_value_intersect_int_int_range),
21042         (gst_value_intersect_int_range_int_range),
21043         (gst_value_intersect_double_double_range),
21044         (gst_value_intersect_double_range_double_range),
21045         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21046         (gst_value_subtract_int_range_int),
21047         (gst_value_subtract_double_range_double),
21048         (gst_value_subtract_double_range_double_range),
21049         (gst_value_subtract_from_list), (gst_value_subtract_list),
21050         (gst_value_can_compare), (gst_value_compare_fraction):
21051         Cleanups, add comments, remove unneeded asserts.
21052
21053 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21054
21055         * tools/gst-launch.c: (event_loop):
21056           don't convert NULL structures to strings
21057
21058 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21059
21060         * docs/gst/gstreamer-sections.txt:
21061           made some defines private
21062         * docs/gst/tmpl/gstconfig.sgml:
21063         * docs/gst/tmpl/gstqueue.sgml:
21064         * docs/gst/tmpl/gsttaglist.sgml:
21065         * docs/gst/tmpl/gsttypes.sgml:
21066         * docs/gst/tmpl/gstutils.sgml:
21067         * docs/pwg/appendix-porting.xml:
21068         * gst/base/gstbasesink.h:
21069         * gst/base/gstbasesrc.c:
21070         * gst/base/gstbasesrc.h:
21071         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21072         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21073         * gst/gstelement.c: (gst_element_class_init):
21074         * gst/gstpad.c: (gst_pad_class_init):
21075         * gst/gstqueue.c: (gst_queue_class_init):
21076         * gst/gstxml.c: (gst_xml_class_init):
21077           documented all undocumented signal inline
21078         * libs/gst/controller/gst-controller.h:
21079           added padding
21080
21081 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21082
21083         * docs/pwg/appendix-porting.xml:
21084           Document _set_link_function -> _set_setcaps_function.
21085
21086 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21087
21088         * check/Makefile.am:
21089           add a .check target for running the check
21090         * check/gst-libs/controller.c: (GST_START_TEST):
21091           cosmetic fixups
21092         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21093           complete checks for gstbuffer; would be nice if I could get the
21094           gcov stuff to work so I can see if I actually completed gstbuffer.c
21095         * check/gstcheck.h:
21096           add ASSERT_BUFFER_REFCOUNT
21097
21098 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21099
21100         * docs/gst/gstreamer-sections.txt:
21101         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21102         * gst/gsttag.h:
21103           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21104           spew out a warning if a tag that is already registered
21105           is re-registered, unless it is re-registered with a 
21106           different type (#308438).
21107
21108 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21109
21110         * docs/pwg/appendix-porting.xml:
21111         * docs/pwg/building-state.xml:
21112           Add some paragraphs about state changes in 0.9 to the PWG
21113           and the porting guide, in particular about the new meaning
21114           of GST_STATE_PAUSED and how to write state change functions
21115           with concurrent access by multiple threads in mind.
21116
21117 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21118
21119         * docs/gst/gstreamer-docs.sgml:
21120         * docs/libs/gstreamer-libs-docs.sgml:
21121           added deprecation and since indexes
21122         * libs/gst/controller/gst-controller.c:
21123         * libs/gst/controller/gst-helper.c:
21124           added since tags
21125
21126
21127 2005-08-11  Wim Taymans  <wim@fluendo.com>
21128
21129         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21130         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21131         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21132         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21133         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21134         (gst_ghost_pad_set_target):
21135         Actually implement (re)setting the target on a ghostpad
21136         as described in the docs.
21137
21138 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21139
21140         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21141           Check whether GST_DEBUG_NO_COLOR environment variable is
21142           set and disable coloured debug output if that is the case.
21143
21144 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21145
21146         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21147         (gst_type_find_helper):
21148           The memory returned by gst_type_find_peek() needs to
21149           stay valid until the end of a typefind function, and
21150           typefind functions may keep results from different 
21151           offsets around, so we can't just unref the buffer from
21152           the previous _peek(), but have to save all buffers 
21153           returned by _peek() until typefinding is done and only
21154           free them then.
21155
21156 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21157
21158         * docs/gst/gstreamer-sections.txt:
21159         * gst/gstutils.h:
21160           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21161
21162 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21163
21164         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21165           Fix a pretty good memleak.
21166
21167 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21168
21169         * gst/gstiterator.h:
21170           Fix wrong include and 'make distcheck'.
21171
21172 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21173
21174         * gst/gstbin.c: (bin_bus_handler):
21175           Use gst_element_post_message() instead.
21176
21177 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21178
21179         * gst/base/gstadapter.h:
21180         * gst/base/gstbasesink.h:
21181         * gst/base/gstbasesrc.h:
21182         * gst/base/gstbasetransform.h:
21183         * gst/base/gstcollectpads.h:
21184         * gst/base/gstpushsrc.h:
21185         * gst/gstiterator.h:
21186           Add padding to our base elements' class and instance structs and
21187           to GstIterator (you will need to rebuild all plugins and apps!)
21188
21189 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21190
21191         * gst/gstbin.c: (bin_bus_handler):
21192           Make default message forwarding from child->bus to bin->bus
21193           threadsafe and make it not emit warnings if the parent has no bus.
21194
21195 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21196
21197         * gst/gstelement.c: (activate_pads):
21198           On paused->ready, set pad->caps to NULL, as is the documented
21199           behaviour in this state change. Fixes playback of series of
21200           media files when visualization is enabled in Totem.
21201
21202 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21203
21204         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21205           Allow NULL as filter-caps (which means "any").
21206
21207 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21208
21209         * docs/libs/gstreamer-libs-sections.txt:
21210         * libs/gst/controller/gst-controller.c:
21211         * libs/gst/controller/gst-controller.h:
21212         * libs/gst/controller/gst-helper.c:
21213           adding more entries to the docs and fix small doc-bugs
21214
21215 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21216
21217         * docs/gst/gstreamer-docs.sgml:
21218         * docs/gst/gstreamer-sections.txt:
21219         * docs/gst/gstreamer.types:
21220         * docs/gst/tmpl/gstbasesink.sgml:
21221         * docs/gst/tmpl/gstbasesrc.sgml:
21222         * docs/gst/tmpl/gstbasetransform.sgml:
21223         * docs/gst/tmpl/gstfakesrc.sgml:
21224         * gst/base/gstcollectpads.c:
21225         * gst/base/gstcollectpads.h:
21226         * libs/gst/controller/gst-controller.c:
21227         * libs/gst/controller/gst-controller.h:
21228         * libs/gst/controller/gst-helper.c:
21229         * libs/gst/controller/gst-interpolation.c:
21230         * libs/gst/controller/lib.c:
21231           added long/short desc for controller docs
21232           added collectpads base class docs
21233           added correct includes to base-class docs
21234
21235 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21236
21237         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21238         (gst_test_mono_source_set_property),
21239         (gst_test_mono_source_class_init), (GST_START_TEST),
21240         (gst_controller_suite):
21241         * docs/gst/gstreamer-docs.sgml:
21242         * docs/gst/gstreamer-sections.txt:
21243         * docs/gst/gstreamer.types:
21244         * docs/libs/gstreamer-libs-docs.sgml:
21245         * docs/libs/gstreamer-libs-sections.txt:
21246         * gst/base/gstadapter.c:
21247         * libs/gst/controller/gst-controller.c:
21248         (gst_controlled_property_new), (gst_controlled_property_free),
21249         (gst_controller_new_valist),
21250         (gst_controller_remove_properties_valist),
21251         (gst_controller_sink_values), (_gst_controller_finalize):
21252         * libs/gst/controller/gst-controller.h:
21253         * libs/gst/controller/gst-helper.c:
21254         (gst_object_control_properties), (gst_object_uncontrol_properties),
21255         (gst_object_get_controller), (gst_object_set_controller),
21256         (gst_object_sink_values), (gst_object_get_value_arrays),
21257         (gst_object_get_value_array):
21258           more tests (and fixes) for the controller
21259           more docs for the controller
21260           integrated companies docs for the adapter 
21261
21262 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21263
21264         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21265         (GST_START_TEST), (fakesrc_suite):
21266           add tests for sizetype
21267
21268 2005-08-04  Andy Wingo  <wingo@pobox.com>
21269
21270         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21271         fixes buffer_alloc proxying among other things.
21272
21273         * gst/base/gstbasetransform.c:
21274         * gst/base/gstbasetransform.h:
21275         Revert patch to gstbasetransform from 7-28 removing
21276         delay_configure.
21277
21278         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21279         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21280         Semantics changed, should return not the size of the output buffer
21281         but the byte size of a buffer with a given caps.
21282
21283         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21284         debug object.
21285         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21286         out) are not the pad caps until setcaps finishes.
21287         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21288         not-in-place case as well. Deal with changing from in-place to
21289         not-in-place within calling pad_alloc_buffer. Still a bit
21290         concerned about the overhead here...
21291
21292 2005-08-03  Andy Wingo  <wingo@pobox.com>
21293
21294         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21295         fixating is an error.
21296
21297 2005-08-04  Edward Hervey  <edward@fluendo.com>
21298
21299         * gst/base/gstadapter.h: 
21300         Added gst_adapter_get_type() to the header
21301
21302 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21303
21304         * check/Makefile.am:
21305         * check/gst-libs/controller.c:
21306         * libs/gst/controller/gst-controller.c:
21307         (gst_controller_new_valist):
21308           added check test suite for the controller
21309         * gst/base/gstpushsrc.c:
21310           fixed a doc typo
21311
21312 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21313
21314         * docs/gst/Makefile.am:
21315         * docs/gst/gstreamer-docs.sgml:
21316         * docs/gst/gstreamer-sections.txt:
21317         * docs/gst/gstreamer.types:
21318         * docs/gst/tmpl/gstfakesrc.sgml:
21319         * gst/base/README:
21320         * gst/base/gstbasesink.c:
21321         * gst/base/gstbasesink.h:
21322         * gst/base/gstbasesrc.c:
21323         * gst/base/gstbasesrc.h:
21324         * gst/base/gstbasetransform.c:
21325         * gst/base/gstpushsrc.c:
21326         * gst/base/gstpushsrc.h:
21327           add short/long description docs to base classes
21328           add pushsrc to the docs
21329           remove consolidated doc fragments
21330
21331 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21332
21333         * configure.ac:
21334         * docs/libs/Makefile.am:
21335         * docs/libs/gstreamer-libs-docs.sgml:
21336         * docs/libs/gstreamer-libs-sections.txt:
21337         * docs/libs/gstreamer-libs.types:
21338         * examples/Makefile.am:
21339         * examples/controller/.cvsignore:
21340         * examples/controller/Makefile.am:
21341         * examples/controller/audio-example.c: (main):
21342         * libs/gst/Makefile.am:
21343         * libs/gst/controller/.cvsignore:
21344         * libs/gst/controller/Makefile.am:
21345         * libs/gst/controller/gst-controller.c:
21346         (on_object_controlled_property_changed), (gst_timed_value_compare),
21347         (gst_timed_value_find),
21348         (gst_controlled_property_set_interpolation_mode),
21349         (gst_controlled_property_new), (gst_controlled_property_free),
21350         (gst_controller_find_controlled_property),
21351         (gst_controller_new_valist), (gst_controller_new),
21352         (gst_controller_remove_properties_valist),
21353         (gst_controller_remove_properties), (gst_controller_set),
21354         (gst_controller_set_from_list), (gst_controller_unset),
21355         (gst_controller_get), (gst_controller_get_all),
21356         (gst_controller_sink_values), (gst_controller_get_value_arrays),
21357         (gst_controller_get_value_array),
21358         (gst_controller_set_interpolation_mode),
21359         (_gst_controller_finalize), (_gst_controller_init),
21360         (_gst_controller_class_init), (gst_controller_get_type):
21361         * libs/gst/controller/gst-controller.h:
21362         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21363         (g_object_uncontrol_properties), (g_object_get_controller),
21364         (g_object_set_controller), (g_object_sink_values),
21365         (g_object_get_value_arrays), (g_object_get_value_array):
21366         * libs/gst/controller/gst-interpolation.c:
21367         (gst_controlled_property_find_timed_value_node),
21368         (interpolate_none_get), (interpolate_trigger_get),
21369         (interpolate_trigger_get_value_array):
21370         * libs/gst/controller/lib.c: (gst_controller_init):
21371         * pkgconfig/Makefile.am:
21372         * pkgconfig/gstreamer-control-uninstalled.pc.in:
21373         * pkgconfig/gstreamer-control.pc.in:
21374         * testsuite/Makefile.am:
21375         * testsuite/controller/.cvsignore:
21376         * testsuite/controller/Makefile.am:
21377         * testsuite/controller/interpolator.c: (main):
21378           added controller code
21379           removed dparam pc files
21380
21381 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21382         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21383         (gst_collectpads_stop):
21384           Broadcast the condition when shutting down, to make sure we wake all
21385           threads up. Shut down pads on finalize, for safety.
21386
21387 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
21388         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21389         (gst_base_transform_handle_buffer),
21390         (gst_base_transform_change_state):
21391           Handle PAUSED->READY->PAUSED transition after negotiation
21392           occurred already.
21393         * gst/gstmessage.c: (gst_message_init):
21394           Extra piece of debug for new messages.
21395
21396 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
21397
21398         * configure.ac:
21399         * docs/gst/tmpl/gstbasesrc.sgml:
21400         * docs/gst/tmpl/gstelement.sgml:
21401         * docs/gst/tmpl/gstevent.sgml:
21402         * docs/gst/tmpl/gstfakesrc.sgml:
21403         * docs/gst/tmpl/gstformat.sgml:
21404         * docs/gst/tmpl/gstghostpad.sgml:
21405         * docs/gst/tmpl/gstpad.sgml:
21406         * docs/gst/tmpl/gstquery.sgml:
21407         * docs/gst/tmpl/gststructure.sgml:
21408         * docs/gst/tmpl/gsttaglist.sgml:
21409         * docs/gst/tmpl/gstvalue.sgml:
21410         * docs/libs/gstreamer-libs-docs.sgml:
21411         * docs/libs/gstreamer-libs-sections.txt:
21412         * docs/libs/gstreamer-libs.types:
21413         * libs/gst/Makefile.am:
21414         * libs/gst/control/.cvsignore:
21415         * libs/gst/control/Makefile.am:
21416         * libs/gst/control/control.c:
21417         * libs/gst/control/control.h:
21418         * libs/gst/control/dparam.c:
21419         * libs/gst/control/dparam.h:
21420         * libs/gst/control/dparam_smooth.c:
21421         * libs/gst/control/dparam_smooth.h:
21422         * libs/gst/control/dparamcommon.h:
21423         * libs/gst/control/dparammanager.c:
21424         * libs/gst/control/dparammanager.h:
21425         * libs/gst/control/dplinearinterp.c:
21426         * libs/gst/control/dplinearinterp.h:
21427         * libs/gst/control/unitconvert.c:
21428         * libs/gst/control/unitconvert.h:
21429         * testsuite/Makefile.am:
21430         * testsuite/dynparams/.cvsignore:
21431         * testsuite/dynparams/Makefile.am:
21432         * testsuite/dynparams/dparamstest.c:
21433         * tools/Makefile.am:
21434         * tools/gst-inspect.c: (print_element_info), (main):
21435         * tools/gst-xmlinspect.c: (print_element_info), (main):
21436           deactivate and remove dparams (libgstcontrol)
21437
21438 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21439
21440         * gst/elements/gsttypefindelement.c:
21441         (gst_type_find_element_have_type), (gst_type_find_element_init),
21442         (stop_typefinding), (gst_type_find_element_handle_event),
21443         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21444         * gst/elements/gsttypefindelement.h:
21445           Set caps on all outgoing buffers, not just the first one.
21446
21447 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21448
21449         * gst/elements/gsttypefindelement.c:
21450         (gst_type_find_element_have_type),
21451         (gst_type_find_element_check_set_buffer_caps),
21452         (gst_type_find_element_init), (stop_typefinding),
21453         (gst_type_find_element_handle_event),
21454         (gst_type_find_element_chain), (gst_type_find_element_getrange):
21455         * gst/elements/gsttypefindelement.h:
21456           Set caps on first outgoing buffer when we've found the type.
21457
21458 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
21459
21460         * docs/gst/gstreamer-docs.sgml:
21461         * docs/gst/gstreamer-sections.txt:
21462         * docs/gst/tmpl/gstscheduler.sgml:
21463         * docs/gst/tmpl/gstschedulerfactory.sgml:
21464           Remove some old cruft from docs.
21465
21466 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
21467
21468         * gst/gstpad.h:
21469           Fix inline docs for GstPadLinkReturn.
21470           
21471         * gst/gststructure.c: (gst_structure_has_name):
21472         * gst/gststructure.h:
21473         * docs/gst/gstreamer-sections.txt:
21474           New API: gst_structure_has_name().
21475
21476 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
21477
21478         * configure.ac:
21479           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21480           and _LARGEFILE_SOURCE in config.h as required. Do not 
21481           export those flags in our .pc files any longer (#142209).
21482
21483           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21484
21485         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21486         (gst_file_sink_do_seek), (gst_file_sink_event),
21487         (gst_file_sink_get_current_offset), (gst_file_sink_render):
21488           Redo seek/tell calls with large file support in mind; add some
21489           debugging messages; add log message that tells us when large
21490           file support is unavailable or not enabled for some reason.
21491
21492         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21493           Add log message that tells us when large file support 
21494           is unavailable or not enabled for some reason.
21495
21496 2005-07-29  Wim Taymans  <wim@fluendo.com>
21497
21498         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21499         Added test for removing an element with ghostpad from a bin.
21500         Fixed test as current implementation does the right thing.
21501
21502         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21503         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21504         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21505         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21506         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21507         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21508         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21509         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21510         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21511         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21512         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21513         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21514         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21515         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21516         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21517         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21518         * gst/gstghostpad.h:
21519         Clean up ghostpads, remove properties for internal stuff.
21520         Make threadsafe.
21521         Fix refcounting.
21522         Prepare for switching targets, not all use cases work yet.
21523
21524 2005-07-29  Wim Taymans  <wim@fluendo.com>
21525
21526         * docs/design/part-gstghostpad.txt:
21527         Small update.
21528
21529         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21530         (gst_bin_remove_func):
21531         Unlinking pads while holding the bin LOCK is not a good
21532         idea.
21533
21534         * gst/gstpad.c: (gst_pad_class_init),
21535         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21536         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21537         No prob setting template after creating the pad.
21538
21539 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
21540
21541         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21542         (gst_bus_peek), (gst_bus_source_dispatch),
21543         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21544         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21545           gst_bus_poll may be called from other threads. Handle
21546           this nicely by not making poll_data disappear off the
21547           stack once gst_bus_poll returns.
21548           gst_bus_peek now increments the refcount on the returned
21549           message.
21550
21551 2005-07-29  Wim Taymans  <wim@fluendo.com>
21552
21553         * docs/design/part-gstghostpad.txt:
21554         Overview of current GhostPad datastructures and use
21555         cases for changing the target.
21556
21557 2005-07-28  Wim Taymans  <wim@fluendo.com>
21558
21559         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21560         Added checks for hierarchy consistency whan adding linked
21561         elements to bins.
21562
21563         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21564         Added check to test element scheduling without bin/pipeline.
21565
21566         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21567         First add elements to bin, then link.
21568         
21569         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21570         (gst_bin_remove_func):
21571         Unlink pads from elements added/removed from bin to maintain
21572         hierarchy consistency.
21573
21574 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21575
21576         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21577         (gst_base_transform_handle_buffer):
21578         * gst/base/gstbasetransform.h:
21579           Remove broken delay_configure (fixes renegotiation of software
21580           scaling pipelines); remove some leftover printf()s.
21581
21582 2005-07-28  Wim Taymans  <wim@fluendo.com>
21583
21584         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21585         Added some more tests for wrong hierarchy
21586
21587         * docs/design/part-overview.txt:
21588         Some updates.
21589
21590         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21591         Cleanups.
21592
21593         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21594         (gst_element_dispose):
21595         Some more cleanups.
21596
21597         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21598         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21599         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21600         (gst_pad_set_caps), (gst_pad_send_event):
21601         Check for correct hierarchy when linking pads. Moving to
21602         strict requirement for ghostpads when linking elements in
21603         different bins.
21604
21605         * gst/gstpad.h:
21606         Clean ups. Added WRONG_HIERARCHY return value.
21607
21608 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21609
21610         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21611           Better debug if no transform is possible.
21612
21613 2005-07-27  Wim Taymans  <wim@fluendo.com>
21614
21615         * docs/random/wtay/network-transp:
21616         Some old doc I had.
21617
21618 2005-07-27  Wim Taymans  <wim@fluendo.com>
21619
21620         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21621         (gst_dp_event_from_packet):
21622         Fix serialization of seek events.
21623
21624 2005-07-27  Wim Taymans  <wim@fluendo.com>
21625
21626         * check/gst-libs/gdp.c: (GST_START_TEST):
21627         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21628         Fix compilation and fix event serialization.
21629
21630 2005-07-27  Wim Taymans  <wim@fluendo.com>
21631
21632         * CHANGES-0.9:
21633         * docs/design/part-TODO.txt:
21634         * docs/design/part-events.txt:
21635         Some docs updates
21636
21637         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21638         (gst_base_sink_event), (gst_base_sink_do_sync),
21639         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21640         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21641         (gst_base_src_do_seek), (gst_base_src_event_handler),
21642         (gst_base_src_loop):
21643         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21644         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21645         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21646         (gst_base_transform_event), (gst_base_transform_handle_buffer),
21647         (gst_base_transform_set_passthrough),
21648         (gst_base_transform_is_passthrough):
21649         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21650         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21651         Event updates.
21652
21653         * gst/gstbuffer.h:
21654         Use faster casts.
21655
21656         * gst/gstelement.c: (gst_element_seek):
21657         * gst/gstelement.h:
21658         Update gst_element_seek.
21659
21660         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
21661         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
21662         (gst_event_new_flush_start), (gst_event_new_flush_stop),
21663         (gst_event_new_eos), (gst_event_new_newsegment),
21664         (gst_event_parse_newsegment), (gst_event_new_tag),
21665         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
21666         (gst_event_parse_qos), (gst_event_new_seek),
21667         (gst_event_parse_seek), (gst_event_new_navigation):
21668         * gst/gstevent.h:
21669         Make GstEvent use GstStructure. Add parsing code, make sure the
21670         API is sufficiently generic.
21671         Mark possible directions of events and serialization.
21672
21673         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
21674         (_gst_message_copy), (gst_message_new_segment_start),
21675         (gst_message_new_segment_done), (gst_message_new_custom),
21676         (gst_message_parse_segment_start),
21677         (gst_message_parse_segment_done):
21678         Small cleanups.
21679
21680         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21681         (gst_pad_set_caps), (gst_pad_send_event):
21682         Update for new events. 
21683         Catch events sent in wrong directions.
21684
21685         * gst/gstqueue.c: (gst_queue_link_src),
21686         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
21687         (gst_queue_handle_src_query):
21688         Event updates.
21689
21690         * gst/gsttag.c:
21691         * gst/gsttag.h:
21692         Remove event code from this file.
21693
21694         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
21695         (gst_dp_event_from_packet):
21696         Event updates.
21697
21698 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21699
21700         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
21701         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21702         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
21703           Make debugging actually useful.
21704
21705 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21706
21707         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
21708         (gst_pad_fixate_caps):
21709           Implement default fixation once again, so that gst_pad_fixate()
21710           actually does anything at all. This probably needs to be some
21711           sort of a last resort, and use profile-based fixation first, but
21712           since that doesn't exist yet, this is the best we have. Fixes
21713           visualization in Totem.
21714
21715 2005-07-22  Wim Taymans  <wim@fluendo.com>
21716
21717         * docs/design/part-events.txt:
21718         Small update.
21719
21720         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21721         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
21722         (gst_base_sink_activate_pull):
21723         Some more comments.
21724
21725         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
21726         (gst_fake_src_create):
21727         Fix handoff marshall.
21728
21729         * gst/elements/gstidentity.c: (gst_identity_class_init),
21730         (gst_identity_transform_ip):
21731         We're a real inplace element.
21732
21733         * gst/gstbus.c: (gst_bus_post):
21734         Added some comments.
21735
21736         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
21737         * tests/muxing/case1.c: (main):
21738         * tests/sched/dynamic-pipeline.c: (main):
21739         * tests/sched/interrupt1.c: (main):
21740         * tests/sched/interrupt2.c: (main):
21741         * tests/sched/interrupt3.c: (main):
21742         * tests/sched/runxml.c: (main):
21743         * tests/sched/sched-stress.c: (main):
21744         * tests/seeking/seeking1.c: (event_received), (main):
21745         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21746         (main):
21747         * tests/threadstate/threadstate3.c: (main):
21748         * tests/threadstate/threadstate4.c: (main):
21749         * tests/threadstate/threadstate5.c: (main):
21750         Fix the tests.
21751
21752 2005-07-21  Wim Taymans  <wim@fluendo.com>
21753
21754         * docs/design/part-seeking.txt:
21755         Some small additions.
21756
21757         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21758         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21759         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
21760         * gst/base/gstbasesink.h:
21761         discont values are gint64, handle the math correctly.
21762
21763         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21764         Make the basesrc report error if the source pad is not linked.
21765
21766         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21767         (gst_queue_loop), (gst_queue_handle_src_query),
21768         (gst_queue_src_activate_push):
21769         Make queue collect data even if the srcpad is not linked.
21770         Start pushing out data as soon as it is linked.
21771
21772         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
21773         * gst/gstutils.h:
21774         Added gst_flow_get_name() to ease error reporting.
21775
21776 2005-07-20  Wim Taymans  <wim@fluendo.com>
21777
21778         * gst/gstmessage.c: (gst_message_new_segment_start),
21779         (gst_message_new_segment_done), (gst_message_parse_segment_start),
21780         (gst_message_parse_segment_done):
21781         * gst/gstmessage.h:
21782         Added a bunch of messages for advanced seeking.
21783
21784         * gst/parse/grammar.y:
21785         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
21786         (gst_dpman_state_changed):
21787         Fix some new-pad -> pad-added signals
21788
21789 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21790
21791         * docs/manual/appendix-porting.xml:
21792         * docs/pwg/appendix-porting.xml:
21793           Document new-pad/state-change signal renames and the FixedList
21794           type rename.
21795
21796 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21797
21798         * docs/manual/advanced-autoplugging.xml:
21799         * docs/manual/basics-helloworld.xml:
21800         * docs/manual/basics-pads.xml:
21801         * docs/random/ds/0.9-suggested-changes:
21802         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
21803         * gst/gstelement.h:
21804         * gst/gstevent.h:
21805         * gst/gstformat.h:
21806         * gst/gstquery.h:
21807         * gst/gststructure.c: (gst_structure_value_get_generic_type),
21808         (gst_structure_parse_array), (gst_structure_parse_value):
21809         * gst/gstvalue.c: (gst_type_is_fixed),
21810         (gst_value_list_prepend_value), (gst_value_list_append_value),
21811         (gst_value_list_get_size), (gst_value_list_get_value),
21812         (gst_value_transform_array_string), (gst_value_serialize_array),
21813         (gst_value_deserialize_array), (gst_value_intersect_array),
21814         (gst_value_is_fixed), (_gst_value_initialize):
21815         * gst/gstvalue.h:
21816           GstElement::new-pad -> pad-added, GstElement::state-change ->
21817           state-changed, GstValueFixedList -> GstValueArray, add format and
21818           flags as their own arguments in gst_element_seek() (should improve
21819           "bindeability"), remove function generators since they don't work
21820           under a whole bunch of compilers (they were deprecated already
21821           anyway).
21822
21823 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21824
21825         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21826         (_gst_debug_register_funcptr):
21827         * gst/gstinfo.h:
21828           Fix illegal cast on some platforms (#309253).
21829
21830 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21831
21832         * gst/gstmessage.c: (gst_message_new_custom):
21833         * gst/gstmessage.h:
21834           Add _new_custom, make _new_application a macro to _new_custom.
21835
21836 2005-07-20  Wim Taymans  <wim@fluendo.com>
21837
21838         * gst/base/gstbasesrc.c: (gst_base_src_init),
21839         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
21840         * gst/base/gstbasesrc.h:
21841         Add a gboolean to decide when to push out a discont.
21842
21843         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
21844         (gst_queue_loop), (gst_queue_handle_src_query),
21845         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
21846         (gst_queue_set_property), (gst_queue_get_property):
21847         Some cleanups.
21848
21849         * tests/threadstate/threadstate1.c: (main):
21850         Make a thread test compile and run... very silly..
21851
21852
21853 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21854
21855         * docs/manual/appendix-porting.xml:
21856           Mention removal of libgstgconf-0.9.la and existence of gconf
21857           elements.
21858
21859 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21860
21861         * docs/pwg/advanced-clock.xml:
21862         * docs/pwg/appendix-porting.xml:
21863         * docs/pwg/intro-preface.xml:
21864         * docs/pwg/other-base.xml:
21865         * docs/pwg/other-manager.xml:
21866         * docs/pwg/other-nton.xml:
21867         * docs/pwg/other-ntoone.xml:
21868         * docs/pwg/other-oneton.xml:
21869         * docs/pwg/pwg.xml:
21870           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
21871           demuxer), remove n-to-n (was never written), fix some code examples
21872           and links and update the porting section to include all this.
21873
21874 2005-07-19  Wim Taymans  <wim@fluendo.com>
21875
21876         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
21877         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
21878         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
21879         (gst_queue_src_activate_push), (gst_queue_change_state),
21880         (gst_queue_get_property):
21881         * gst/gstqueue.h:
21882         Propagate GstFlowReturn more intelligently upstream and output
21883         an ERROR/EOS when streaming stopped due to fatal error.
21884
21885 2005-07-19  Wim Taymans  <wim@fluendo.com>
21886
21887         * tools/gst-launch.c: (check_intr), (event_loop), (main):
21888         Don't block forever for the state change to complete, the
21889         pipeline already did with a sensible timeout.
21890
21891 2005-07-19  Wim Taymans  <wim@fluendo.com>
21892
21893         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21894         Make sure we never call the create function is we
21895         got deactivated.
21896
21897 2005-07-19  Andy Wingo  <wingo@pobox.com>
21898
21899         * gst/parse/parse.l: Attempt to solve bug #172815.
21900
21901 2005-07-19  Wim Taymans  <wim@fluendo.com>
21902
21903         * docs/design/part-clocks.txt:
21904         * docs/design/part-events.txt:
21905         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
21906         Small docs updates.
21907         Only update the seeking values when we are not
21908         busy streaming.
21909
21910 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21911
21912         * gst/base/gstbasesrc.c: (gst_base_src_loop):
21913           Oops, ignore the result of gst_pad_push_event here.
21914
21915 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
21916
21917         * gst/base/gstbasesrc.c: (gst_base_src_loop),
21918         (gst_base_src_activate_push):
21919           Send discont event from the loop function, as pads
21920           aren't activated yet in the activate_push handler.
21921
21922         * gst/gstbin.c: (bin_bus_handler):
21923           Don't leak element name.
21924
21925 2005-07-18  Andy Wingo  <wingo@pobox.com>
21926
21927         * configure.ac: Use AS_LIBTOOL_TAGS.
21928
21929 2005-07-18  Wim Taymans  <wim@fluendo.com>
21930
21931         * docs/gst/gstreamer.types:
21932         Remove deleted types.
21933
21934 2005-07-18  Wim Taymans  <wim@fluendo.com>
21935
21936         * check/elements/gstfakesrc.c: (GST_START_TEST):
21937         * configure.ac:
21938         * gst/Makefile.am:
21939         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
21940         (init_popt_callback):
21941         * gst/gst.h:
21942         * gst/gst_private.h:
21943         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
21944         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
21945         * gst/gstbin.h:
21946         * gst/gstbus.h:
21947         * gst/gstconfig.h.in:
21948         * gst/gstelement.c: (gst_element_class_init),
21949         (gst_element_set_base_time), (gst_element_get_base_time),
21950         (iterator_fold_with_resync), (gst_element_change_state),
21951         (gst_element_dispose), (gst_element_get_bus):
21952         * gst/gstelement.h:
21953         * gst/gstelementfactory.h:
21954         * gst/gsterror.c: (_gst_core_errors_init):
21955         * gst/gsterror.h:
21956         * gst/gstevent.h:
21957         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
21958         * gst/gstindex.c:
21959         * gst/gstinfo.c: (_gst_debug_init):
21960         * gst/gstmessage.c: (_gst_message_copy):
21961         * gst/gstmessage.h:
21962         * gst/gstminiobject.h:
21963         * gst/gstobject.c:
21964         * gst/gstobject.h:
21965         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21966         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
21967         * gst/gstpad.h:
21968         * gst/gstparse.h:
21969         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
21970         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
21971         (gst_pipeline_get_last_stream_time):
21972         * gst/gstpipeline.h:
21973         * gst/gstpluginfeature.h:
21974         * gst/gstquery.h:
21975         * gst/gstscheduler.c:
21976         * gst/gstscheduler.h:
21977         * gst/gststructure.h:
21978         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
21979         (gst_task_finalize), (gst_task_func), (gst_task_create),
21980         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
21981         (gst_task_stop), (gst_task_pause):
21982         * gst/gsttask.h:
21983         * gst/gsttypefind.h:
21984         * gst/gsttypes.h:
21985         * gst/registries/gstlibxmlregistry.c: (load_feature),
21986         (gst_xml_registry_load), (gst_xml_registry_save_feature):
21987         * gst/registries/gstxmlregistry.c:
21988         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
21989         * gst/schedulers/threadscheduler.c:
21990         * libs/gst/control/dparammanager.h:
21991         * tools/gst-inspect.c: (print_element_list),
21992         (print_plugin_features), (print_element_features):
21993         * tools/gst-xmlinspect.c: (print_element_list),
21994         (print_plugin_info), (main):
21995         Removed plugable schedulers.
21996         Removed Scheduler/Manager from elements.
21997         Removed gsttypes.h, rearranged includes.
21998         Removed dependency pad<->element, element<>pipeline, and
21999         various others,  fix includes.
22000         implement gst_pad_get_parent() with gst_object_get_parent()
22001         Make GstTask sefcontained.
22002         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22003         timeout.
22004         Fix endless loop in iterator_fold_with_resync.
22005
22006
22007 2005-07-18  Wim Taymans  <wim@fluendo.com>
22008
22009         * gst/Makefile.am:
22010         * gst/gstarch.h:
22011         Remove old file.
22012
22013 2005-07-18  Wim Taymans  <wim@fluendo.com>
22014
22015         * gst/Makefile.am:
22016         No more cothreads.h
22017
22018 2005-07-18  Wim Taymans  <wim@fluendo.com>
22019
22020         * gst/cothreads.c:
22021         * gst/cothreads.h:
22022         Let's remove these.
22023
22024 2005-07-18  Wim Taymans  <wim@fluendo.com>
22025
22026         * docs/design/part-dynamic.txt:
22027         * docs/design/part-events.txt:
22028         * docs/design/part-seeking.txt:
22029         Some more docs in the works.
22030
22031         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22032         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22033         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22034         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22035         (gst_base_transform_handle_buffer),
22036         (gst_base_transform_sink_activate_push),
22037         (gst_base_transform_src_activate_pull),
22038         (gst_base_transform_set_passthrough),
22039         (gst_base_transform_is_passthrough):
22040         Refcounting fixes.
22041
22042         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22043         Cleanups.
22044
22045         * gst/gstevent.c: (gst_event_finalize):
22046         Set SRC to NULL.
22047
22048         * gst/gstutils.c: (gst_element_unlink),
22049         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22050         (gst_pad_proxy_setcaps):
22051         * gst/gstutils.h:
22052         Add _get_parent_element() to get a pads parent as an element.
22053
22054 2005-07-18  Wim Taymans  <wim@fluendo.com>
22055
22056         * check/gst/gstbin.c: (GST_START_TEST):
22057         Remove bogus test.
22058
22059 2005-07-18  Wim Taymans  <wim@fluendo.com>
22060
22061         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22062         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22063         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22064         (gst_base_sink_event), (gst_base_sink_do_sync),
22065         (gst_base_sink_chain), (gst_base_sink_loop),
22066         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22067         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22068         Refcounting fixes.
22069         Fix logic for returning ASYNC when not prerolled.
22070
22071 2005-07-18  Wim Taymans  <wim@fluendo.com>
22072
22073         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22074         Fix nasty refcount bug.
22075
22076 2005-07-16 Philippe Khalaf <burger@speedy.org>
22077
22078         * gst/elements/gstfdsrc.c:
22079         * gst/elements/gstfdsrc.h:
22080         * gst/elements/gstelements.c:
22081         * gst/elements/Makefile.am:
22082         Ported fdsrc to 0.9.
22083
22084 2005-07-16  Wim Taymans  <wim@fluendo.com>
22085
22086         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22087         (gst_base_sink_do_sync):
22088         Fix compile error.
22089
22090 2005-07-16  Wim Taymans  <wim@fluendo.com>
22091
22092         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22093         (gst_base_sink_event), (gst_base_sink_get_times),
22094         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22095         * gst/base/gstbasesink.h:
22096         Store and use discont values when syncing buffers as described
22097         in design docs.
22098         
22099         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22100         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22101         (gst_base_src_activate_push):
22102         Push discont event when starting.
22103
22104         * gst/elements/gstidentity.c: (gst_identity_transform):
22105         Small cleanups.
22106
22107         * gst/gstbin.c: (gst_bin_change_state):
22108         Small cleanups in base_time  distribution.
22109
22110         * gst/gstelement.c: (gst_element_set_base_time),
22111         (gst_element_get_base_time), (gst_element_change_state):
22112         * gst/gstelement.h:
22113         Added methods for the base_time of the element.
22114         Some MT fixes.
22115
22116         * gst/gstpipeline.c: (gst_pipeline_send_event),
22117         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22118         (gst_pipeline_get_last_stream_time):
22119         * gst/gstpipeline.h:
22120         MT fixes.
22121         Handle seeking as described in design doc, remove stream_time
22122         hack.
22123         Cleanups clock and stream_time selection code. Added accessors
22124         for the stream_time.
22125         
22126
22127 2005-07-16  Andy Wingo  <wingo@pobox.com>
22128
22129         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22130         (#305291).
22131
22132 2005-07-16  Wim Taymans  <wim@fluendo.com>
22133
22134         * check/gst/gstbin.c: (GST_START_TEST):
22135         Make elements silent as the deep_notify refs the
22136         parent, which might make the test fail.
22137
22138         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22139         Don't hold the lock for too long.
22140
22141 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22142
22143         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22144           Don't unref the caps we passed to gst_caps_make_writable() after
22145           passing them. gst_caps_make_writable() will do that for us.
22146
22147 2005-07-15  Andy Wingo  <wingo@pobox.com>
22148
22149         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22150         (#157311).
22151
22152         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22153         own marshalling function for the handoff signal. Properly type the
22154         buffer as a buffer. Fixes some warnings. Should do a more general
22155         solution.
22156         (gst_identity_class_init): Plug into the right marshaller.
22157
22158 2005-07-15  Wim Taymans  <wim@fluendo.com>
22159
22160         * docs/design/part-TODO.txt:
22161         * docs/design/part-clocks.txt:
22162         * docs/design/part-element-sink.txt:
22163         * docs/design/part-events.txt:
22164         * docs/design/part-gstpipeline.txt:
22165         Updated docs, mostly DISCONT related.
22166
22167 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22168
22169         * docs/pwg/building-pads.xml:
22170           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22171
22172 2005-07-15  Andy Wingo  <wingo@pobox.com>
22173
22174         * tools/gst-typefind.c: Update, add copyright block.
22175
22176         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22177         Normalize and truncate caps before fixation.
22178
22179         * gst/gstcaps.h:
22180         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22181         discards all but the first structure from its argument.
22182
22183 2005-07-15  Wim Taymans  <wim@fluendo.com>
22184
22185         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22186         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22187         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22188         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22189         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22190         (gst_base_transform_chain), (gst_base_transform_change_state),
22191         (gst_base_transform_set_passthrough),
22192         (gst_base_transform_is_passthrough):
22193         * gst/base/gstbasetransform.h:
22194         Make passthrough work using the bufferpools.
22195         Changed API a bit, subclasses have to write into a buffer
22196         provided by the base class.
22197         More debug info in nego functions.
22198         
22199         * gst/elements/gstidentity.c: (gst_identity_init),
22200         (gst_identity_transform):
22201         Port to new base class.
22202
22203 2005-07-15  Wim Taymans  <wim@fluendo.com>
22204
22205         * gst/gstmessage.c: (gst_message_new_state_changed):
22206         * tools/gst-launch.c: (event_loop), (main):
22207         Totally dump messages in -launch with the -m option.
22208         Fix message name for State messages,
22209
22210 2005-07-14  Wim Taymans  <wim@fluendo.com>
22211
22212         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22213         Post error messages on errors.
22214
22215 2005-07-14  Wim Taymans  <wim@fluendo.com>
22216
22217         * gst/gstcaps.c: (gst_caps_do_simplify):
22218         Remove debug info.
22219
22220         * gst/gsterror.h:
22221         Define error for stream stopped.
22222
22223         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22224         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22225         Do proper return values.
22226
22227         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22228         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22229         (gst_pad_get_range):
22230         Better return values.
22231
22232         * gst/gstpad.h:
22233         Reorganise return values, add macro to check for fatal errors.
22234
22235         * gst/gstqueue.c: (gst_queue_chain):
22236         Return proper GstFlowReturn values,
22237
22238 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22239
22240         * docs/gst/gstreamer-sections.txt:
22241         * docs/gst/gstreamer.types:
22242         * docs/gst/tmpl/gst.sgml:
22243         * docs/gst/tmpl/gstbasesink.sgml:
22244         * docs/gst/tmpl/gstbasesrc.sgml:
22245         * docs/gst/tmpl/gstbasetransform.sgml:
22246         * docs/gst/tmpl/gstbin.sgml:
22247         * docs/gst/tmpl/gstbuffer.sgml:
22248         * docs/gst/tmpl/gstcaps.sgml:
22249         * docs/gst/tmpl/gstclock.sgml:
22250         * docs/gst/tmpl/gstcompat.sgml:
22251         * docs/gst/tmpl/gstconfig.sgml:
22252         * docs/gst/tmpl/gstelement.sgml:
22253         * docs/gst/tmpl/gstelementdetails.sgml:
22254         * docs/gst/tmpl/gstelementfactory.sgml:
22255         * docs/gst/tmpl/gstenumtypes.sgml:
22256         * docs/gst/tmpl/gsterror.sgml:
22257         * docs/gst/tmpl/gstevent.sgml:
22258         * docs/gst/tmpl/gstfakesink.sgml:
22259         * docs/gst/tmpl/gstfakesrc.sgml:
22260         * docs/gst/tmpl/gstfilesink.sgml:
22261         * docs/gst/tmpl/gstfilesrc.sgml:
22262         * docs/gst/tmpl/gstfilter.sgml:
22263         * docs/gst/tmpl/gstformat.sgml:
22264         * docs/gst/tmpl/gstghostpad.sgml:
22265         * docs/gst/tmpl/gstimplementsinterface.sgml:
22266         * docs/gst/tmpl/gstindex.sgml:
22267         * docs/gst/tmpl/gstindexfactory.sgml:
22268         * docs/gst/tmpl/gstinfo.sgml:
22269         * docs/gst/tmpl/gstiterator.sgml:
22270         * docs/gst/tmpl/gstmacros.sgml:
22271         * docs/gst/tmpl/gstmemchunk.sgml:
22272         * docs/gst/tmpl/gstminiobject.sgml:
22273         * docs/gst/tmpl/gstobject.sgml:
22274         * docs/gst/tmpl/gstpad.sgml:
22275         * docs/gst/tmpl/gstpadtemplate.sgml:
22276         * docs/gst/tmpl/gstparse.sgml:
22277         * docs/gst/tmpl/gstpipeline.sgml:
22278         * docs/gst/tmpl/gstplugin.sgml:
22279         * docs/gst/tmpl/gstpluginfeature.sgml:
22280         * docs/gst/tmpl/gstquery.sgml:
22281         * docs/gst/tmpl/gstqueue.sgml:
22282         * docs/gst/tmpl/gstregistry.sgml:
22283         * docs/gst/tmpl/gstregistrypool.sgml:
22284         * docs/gst/tmpl/gstscheduler.sgml:
22285         * docs/gst/tmpl/gstschedulerfactory.sgml:
22286         * docs/gst/tmpl/gststructure.sgml:
22287         * docs/gst/tmpl/gstsystemclock.sgml:
22288         * docs/gst/tmpl/gsttaglist.sgml:
22289         * docs/gst/tmpl/gsttagsetter.sgml:
22290         * docs/gst/tmpl/gsttrace.sgml:
22291         * docs/gst/tmpl/gsttrashstack.sgml:
22292         * docs/gst/tmpl/gsttypefind.sgml:
22293         * docs/gst/tmpl/gsttypefindfactory.sgml:
22294         * docs/gst/tmpl/gsttypes.sgml:
22295         * docs/gst/tmpl/gsturihandler.sgml:
22296         * docs/gst/tmpl/gsturitype.sgml:
22297         * docs/gst/tmpl/gstutils.sgml:
22298         * docs/gst/tmpl/gstvalue.sgml:
22299         * docs/gst/tmpl/gstversion.sgml:
22300         * docs/gst/tmpl/gstxml.sgml:
22301         * docs/libs/tmpl/gstcontrol.sgml:
22302         * docs/libs/tmpl/gstdataprotocol.sgml:
22303         * docs/libs/tmpl/gstdparam.sgml:
22304         * docs/libs/tmpl/gstdplinint.sgml:
22305         * docs/libs/tmpl/gstdpman.sgml:
22306         * docs/libs/tmpl/gstdpsmooth.sgml:
22307         * docs/libs/tmpl/gstgetbits.sgml:
22308         * docs/libs/tmpl/gstunitconvert.sgml:
22309         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22310         (gst_push_src_base_init), (gst_push_src_class_init),
22311         (gst_push_src_init), (gst_push_src_create):
22312         * gst/base/gstpushsrc.h:
22313         * gst/elements/gstelements.c:
22314         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22315         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22316         (gst_fake_sink_init), (gst_fake_sink_set_property),
22317         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22318         (gst_fake_sink_event), (gst_fake_sink_preroll),
22319         (gst_fake_sink_render), (gst_fake_sink_change_state):
22320         * gst/elements/gstfakesink.h:
22321         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22322         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22323         (gst_fake_src_base_init), (gst_fake_src_class_init),
22324         (gst_fake_src_init), (gst_fake_src_event_handler),
22325         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22326         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22327         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22328         (gst_fake_src_create_buffer), (gst_fake_src_create),
22329         (gst_fake_src_start), (gst_fake_src_stop):
22330         * gst/elements/gstfakesrc.h:
22331         * gst/elements/gstfilesink.c: (_do_init),
22332         (gst_file_sink_base_init), (gst_file_sink_class_init),
22333         (gst_file_sink_init), (gst_file_sink_dispose),
22334         (gst_file_sink_set_location), (gst_file_sink_set_property),
22335         (gst_file_sink_get_property), (gst_file_sink_open_file),
22336         (gst_file_sink_close_file), (gst_file_sink_query),
22337         (gst_file_sink_event), (gst_file_sink_render),
22338         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22339         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22340         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22341         * gst/elements/gstfilesink.h:
22342         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22343         (gst_file_src_class_init), (gst_file_src_init),
22344         (gst_file_src_finalize), (gst_file_src_set_location),
22345         (gst_file_src_set_property), (gst_file_src_get_property),
22346         (gst_file_src_map_region), (gst_file_src_map_small_region),
22347         (gst_file_src_create_mmap), (gst_file_src_create_read),
22348         (gst_file_src_create), (gst_file_src_is_seekable),
22349         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22350         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22351         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22352         (gst_file_src_uri_handler_init):
22353         * gst/elements/gstfilesrc.h:
22354           more autistic cleanliness in functions/names/defines
22355
22356 2005-07-13  Andy Wingo  <wingo@pobox.com>
22357
22358         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22359         source couldn't negotiate.
22360
22361         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22362         connections again.
22363
22364         * gst/gstutils.h:
22365         * gst/gstutils.c (gst_element_link_pads_filtered): New old
22366         function. I am channeling Hades. Put your boots on suckers!!!
22367
22368 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22369
22370         * testsuite/caps/Makefile.am:
22371         * testsuite/caps/value_compare.c:
22372         * testsuite/caps/value_intersect.c:
22373         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22374           move two testsuite apps over to the check dir
22375
22376 2005-07-12  Wim Taymans  <wim@fluendo.com>
22377
22378         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22379         Added more debug info in the negotiate process.
22380
22381         * gst/gstmessage.h:
22382         Prepare for segment playback.
22383
22384         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22385         Better debugging.
22386
22387         * gst/gstutils.c:
22388         Some more docs.
22389
22390         * tools/gst-launch.c: (main):
22391         NULL pipeline on errors.
22392
22393 2005-07-12  Andy Wingo  <wingo@pobox.com>
22394
22395         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22396         not it comes from a malloc region. Make sure our copy gets freed.
22397
22398 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22399
22400         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22401         * check/gst/gstmessage.c: (GST_START_TEST):
22402         * check/gst/gststructure.c: (GST_START_TEST),
22403         (gst_structure_suite), (main):
22404           more testing
22405         * gst/gstelement.c: (gst_element_message_full):
22406           clean up GError and debug string now that they get copied
22407         * gst/gstmessage.c: (gst_message_new_error),
22408         (gst_message_new_warning), (gst_message_parse_error),
22409         (gst_message_parse_warning):
22410           use GST_TYPE_G_ERROR for structure_new, and take copies of
22411           arguments, so that we don't mess up refcounting
22412
22413 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22414
22415         * check/Makefile.am:
22416           add per-test valgrind targets
22417         * check/gst-libs/gdp.c: (GST_START_TEST),
22418         (gst_data_protocol_suite), (main):
22419           clean up
22420
22421 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22422
22423         * check/Makefile.am:
22424           instate more valgrindable tests
22425         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22426         (GST_START_TEST), (fakesrc_suite):
22427         * check/gst/gstpad.c: (GST_START_TEST):
22428         * check/gst/gststructure.c: (GST_START_TEST):
22429           fix test leaks
22430         * docs/gst/tmpl/gstminiobject.sgml:
22431         * gst/gstpad.c: (gst_pad_finalize):
22432           fix the static mutex leak
22433
22434 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22435
22436         * check/Makefile.am:
22437           add two more tests for valgrinding
22438         * check/gst/gstvalue.c: (GST_START_TEST):
22439           test refcount of deserialized buffer, found a leak
22440         * docs/gst/gstreamer-docs.sgml:
22441         * docs/gst/gstreamer-sections.txt:
22442         * docs/gst/gstreamer.types:
22443         * docs/gst/tmpl/gstminiobject.sgml:
22444           add miniobject to docs
22445         * gst/gstminiobject.c:
22446           add some docs
22447         * gst/gstvalue.c: (gst_value_deserialize_buffer),
22448         (gst_string_unwrap):
22449           fix a hard-to-find invalid write for one of the tests
22450           fix a leak for deserialized buffers
22451
22452 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22453
22454         * docs/pwg/advanced-events.xml:
22455         * docs/pwg/advanced-request.xml:
22456         * docs/pwg/advanced-scheduling.xml:
22457         * docs/pwg/appendix-porting.xml:
22458         * docs/pwg/building-boiler.xml:
22459         * docs/pwg/intro-preface.xml:
22460         * docs/pwg/other-ntoone.xml:
22461           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22462           of example code and explanation for pad activation, loop() and
22463           getrange() functions and a bit more. Remove old comments pointing
22464           to loop-functions.
22465         * examples/pwg/Makefile.am:
22466           Add loop/getrange examples.
22467
22468 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22469
22470         * configure.ac:
22471           check for valgrind binary + some fixes
22472         * check/gst.supp:
22473           valgrind suppressions for the tests
22474         * check/Makefile.am:
22475           add a valgrind: target that valgrinds the unit tests
22476         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22477         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22478         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22479         * check/gst/gstghostpad.c:
22480           added some cleanup
22481         * check/gst/gstdata.c:
22482           removed
22483         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22484         (thread_unref), (gst_mini_object_suite), (main):
22485           added
22486         * gst/gst.c: (gst_deinit):
22487         * gst/gst.h:
22488           add a method to clean up.
22489         * gst/gstsystemclock.c: (gst_system_clock_dispose),
22490         (gst_system_clock_obtain):
22491           allow for disposing the system clock.
22492         * tools/gst-launch.c: (main):
22493           deinit
22494
22495 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22496
22497         * docs/gst/tmpl/gstbasesrc.sgml:
22498         * docs/gst/tmpl/gstfakesrc.sgml:
22499         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22500         (gst_base_src_init), (gst_base_src_set_property),
22501         (gst_base_src_get_property), (gst_base_src_get_range),
22502         (gst_base_src_start):
22503         * gst/base/gstbasesrc.h:
22504           add num-buffers property
22505         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22506         (gst_fakesrc_init), (gst_fakesrc_set_property),
22507         (gst_fakesrc_get_property), (gst_fakesrc_create),
22508         (gst_fakesrc_start):
22509           remove num-buffers property
22510
22511 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22512
22513         * docs/gst/gstreamer-sections.txt:
22514         * docs/gst/tmpl/gstbasesink.sgml:
22515         * docs/gst/tmpl/gstbasesrc.sgml:
22516         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22517         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22518         (gst_base_sink_finalize), (gst_base_sink_set_clock),
22519         (gst_base_sink_set_property), (gst_base_sink_get_property),
22520         (gst_base_sink_handle_object), (gst_base_sink_event),
22521         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22522         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22523         (gst_base_sink_loop), (gst_base_sink_deactivate),
22524         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22525         (gst_base_sink_change_state):
22526         * gst/base/gstbasesink.h:
22527         * gst/base/gstbasesrc.h:
22528         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22529         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22530         (gst_filesink_init):
22531           more macro splitting
22532
22533 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22534
22535         * gst/gstelement.c: (gst_element_get_bus):
22536           add debug
22537         * tools/gst-launch.c: (check_intr), (event_loop):
22538           fix bus leaks
22539
22540 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22541
22542         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22543           fix a caps leak
22544
22545 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22546
22547         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22548         (gst_base_src_finalize):
22549           add finalize method and clean up properly
22550         * gst/gstpipeline.c: (gst_pipeline_dispose):
22551           add debug
22552
22553 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22554
22555         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22556         (gst_bin_suite):
22557           add more things to check
22558         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22559         * gst/gstelement.c:
22560           more debug
22561
22562 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22563
22564         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22565         (GST_START_TEST), (fakesrc_suite):
22566         * check/gst-libs/gdp.c: (GST_START_TEST):
22567         * check/gst/gst.c: (GST_START_TEST):
22568         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22569         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22570         * check/gst/gstbus.c: (GST_START_TEST):
22571         * check/gst/gstcaps.c: (GST_START_TEST):
22572         * check/gst/gstdata.c: (GST_START_TEST):
22573         * check/gst/gstelement.c: (GST_START_TEST):
22574         * check/gst/gstghostpad.c: (GST_START_TEST):
22575         * check/gst/gstiterator.c: (GST_START_TEST):
22576         * check/gst/gstmessage.c: (GST_START_TEST):
22577         * check/gst/gstobject.c: (GST_START_TEST):
22578         * check/gst/gstpad.c: (GST_START_TEST):
22579         * check/gst/gststructure.c: (GST_START_TEST):
22580         * check/gst/gstsystemclock.c: (GST_START_TEST),
22581         (gst_systemclock_suite):
22582         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22583         * check/gst/gstvalue.c: (GST_START_TEST):
22584         * check/pipelines/cleanup.c: (GST_START_TEST):
22585         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22586         * check/states/sinks.c: (GST_START_TEST):
22587         * check/gstcheck.c: (gst_check_init):
22588         * check/gstcheck.h:
22589           add debugging category
22590           use GST_START_TEST now, so we add a debug line
22591
22592 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22593
22594         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22595           add test for state change message on a bin
22596         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22597           add another test
22598         * gst/gstbin.c: (gst_bin_init):
22599         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22600         * gst/gstelement.c: (gst_element_post_message),
22601         (gst_element_set_state):
22602         * gst/gstelementfactory.c: (gst_element_factory_create):
22603         * gst/gstmessage.c: (gst_message_new):
22604         * gst/gstscheduler.c:
22605           various debugging additions and cleanups
22606
22607 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22608
22609         * check/Makefile.am:
22610         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22611         (main):
22612           adding tests for elements
22613         * gst/gstelement.c: (gst_element_dispose):
22614
22615 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22616
22617         * gst/registries/gstlibxmlregistry.c: (load_feature):
22618           plug more leaks.  A simple gst_init() now is leakfree, yay.
22619
22620 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22621
22622         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
22623         (gst_xml_registry_load):
22624           plug another memleak
22625
22626 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22627
22628         * configure.ac:
22629           use GST_SET_ERROR_CFLAGS
22630         * docs/faq/cvs.xml:
22631           change to ERROR_CFLAGS
22632
22633 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22634
22635         * configure.ac:
22636           make GST_ERROR_CFLAGS overridable and re-enable Werror
22637         * docs/faq/cvs.xml:
22638           add a note about error CFLAGS
22639         * docs/gst/tmpl/gstfakesrc.sgml:
22640         * gst/elements/gstfakesrc.c:
22641           comment out some unused code
22642         * gst/gst.c: (split_and_iterate):
22643         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
22644         (load_feature):
22645           plug some memleaks
22646
22647 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22648
22649         * common/Makefile.am:
22650         * common/gtk-doc.mak:
22651         * docs/gst/Makefile.am:
22652           factor out gtk-doc.mak
22653
22654 2005-07-07  Wim Taymans  <wim@fluendo.com>
22655
22656         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
22657         (gst_thread_scheduler_dispose):
22658         Unlock the STREAM_LOCK completely.
22659
22660 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22661
22662         * check/Makefile.am:
22663         * check/elements/.cvsignore:
22664         * check/elements/gstfakesrc.c: (chain_func), (event_func),
22665         (START_TEST), (fakesrc_suite), (main):
22666         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22667         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
22668         (gst_fakesrc_create), (gst_fakesrc_start):
22669         * gst/elements/gstfakesrc.h:
22670           adding a first element test
22671
22672 2005-07-07  Andy Wingo  <wingo@pobox.com>
22673
22674         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
22675         debug message.
22676
22677 2005-07-07  Wim Taymans  <wim@fluendo.com>
22678
22679         * gst/gstquery.c:
22680         * gst/gstquery.h:
22681         Remove old types
22682
22683 2005-07-07  Wim Taymans  <wim@fluendo.com>
22684
22685         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22686         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
22687         Allow subclasses to implement their own negotiation.
22688
22689 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22690
22691         * docs/design/part-gstbin.txt:
22692         * docs/design/part-gstpipeline.txt:
22693           Update design notes to reflect the movement of
22694           responsibility for bus handling from GstPipeline to
22695           GstBin
22696
22697 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22698
22699         * configure.ac:
22700           Remove unnecessary queue2/3/4 examples.
22701
22702 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
22703
22704         * examples/Makefile.am:
22705         * examples/helloworld/helloworld.c: (event_loop), (main):
22706         * examples/queue/queue.c: (event_loop), (main):
22707         * examples/queue2/queue2.c: (main):
22708           Update a couple of the examples to work again.
22709
22710         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22711         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
22712          Spelling corrections and extra debug.
22713         
22714         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
22715         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
22716         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
22717         * gst/gstbin.h:
22718         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22719         (gst_pipeline_change_state):
22720         * gst/gstpipeline.h:
22721           Move the bus handler for children to the GstBin, and create a
22722           separate bus for receiving messages from children to the one the
22723           bus sends 'upwards' on.
22724
22725 2005-07-06  Wim Taymans  <wim@fluendo.com>
22726
22727         * gst/base/README:
22728         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22729         (gst_base_sink_handle_object), (gst_base_sink_loop),
22730         (gst_base_sink_change_state):
22731         * gst/base/gstbasesink.h:
22732         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22733         (gst_base_src_init), (gst_base_src_setcaps),
22734         (gst_base_src_getcaps), (gst_base_src_loop),
22735         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
22736         (gst_base_src_start), (gst_base_src_change_state):
22737         * gst/base/gstbasesrc.h:
22738         Make basesrc negotiate.
22739         Handle the case where preroll fails in basesink.
22740         Update README.
22741
22742 2005-07-06  Wim Taymans  <wim@fluendo.com>
22743
22744         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
22745         Implement the fixate function.
22746         Clean up acceptcaps.
22747
22748 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22749
22750         * docs/pwg/building-filterfactory.xml:
22751         * docs/pwg/pwg.xml:
22752           Remove never-written filter-factory chapter; I'll add the various
22753           base classes to part 4 ("other element types") later on.
22754
22755 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22756
22757         * docs/pwg/advanced-negotiation.xml:
22758         * docs/pwg/building-boiler.xml:
22759         * docs/pwg/building-pads.xml:
22760         * docs/pwg/pwg.xml:
22761         * examples/pwg/Makefile.am:
22762           Add a chapter on caps negotiation, simplify the original code
22763           samples a bit w.r.t. caps negotiation, add link to the advanced
22764           section. Add a bunch of examples showing different use cases of
22765           different types of caps negotiation. Upstream renegotiation isn't
22766           fully documented yet since nobody knows how that works.
22767
22768 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22769
22770         * check/gst/gstpad.c:
22771         * check/gstcheck.c:
22772         * gst/gstpad.c: (gst_pad_get_internal_links_default):
22773           if pad has no parent, return NULL as list of internal links
22774
22775 2005-07-05  Andy Wingo  <wingo@pobox.com>
22776
22777         * gst/elements/gstfilesrc.c:
22778         * gst/elements/gstfakesrc.c: 
22779         * gst/base/gstpushsrc.c:
22780         * gst/base/gstbasesrc.h: 
22781         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
22782         
22783 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
22784
22785         * Makefile.am:
22786           better report generation target (lcov needs a patch)
22787
22788 2005-07-05  Andy Wingo  <wingo@pobox.com>
22789
22790         * gst/elements, testsuite: Null if we got it...
22791
22792 2005-07-05  Wim Taymans  <wim@fluendo.com>
22793
22794         * configure.ac:
22795         * libs/gst/dataprotocol/Makefile.am:
22796         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
22797         * libs/gst/dataprotocol/dataprotocol.h:
22798         * pkgconfig/Makefile.am:
22799         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
22800         * pkgconfig/gstreamer-dataprotocol.pc.in:
22801         Ported dataprotol to 0.9. 
22802         Added pkgconfig files.
22803
22804 2005-07-05  Andy Wingo  <wingo@pobox.com>
22805
22806         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
22807         Default to returning TRUE for the case when tranform_caps returns
22808         a fixed caps, like for identity or volume.
22809
22810         * check/gst/gstbus.c (pound_bus_with_messages): 
22811         * check/gst/gstmessage.c (START_TEST): 
22812         * check/pipelines/simple_launch_lines.c (got_handoff): Application
22813         message API change.
22814
22815         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
22816         logic weaks here: always run transform_caps, trying passthrough
22817         operation only if the original caps intersects with the transform.
22818
22819         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
22820         source and sink caps.
22821
22822         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
22823         Intersect the peer caps with the pad template before going into
22824         transform_caps.
22825         (gst_base_transform_transform_caps): More debugging.
22826
22827         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
22828         src argument.
22829
22830 2005-07-04  Edward Hervey  <edward@fluendo.com>
22831
22832         * gst/gstutils.c:
22833         * gst/gstutils.h:
22834         (gst_pad_add_*_probe): now returns the signal id for better wrapping
22835         in bindings.
22836
22837 2005-07-04  Andy Wingo  <wingo@pobox.com>
22838
22839         * check/gst/gstpad.c: Only set explicit caps on pads.
22840
22841 2005-07-01  Andy Wingo  <wingo@pobox.com>
22842
22843         * tests/network-clock.scm: Commentary update.
22844
22845         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
22846         Didn't really make sense, not implementable with basetransform,
22847         etc.
22848         (gst_identity_transform): Unref inbuf via make_writable. Feeble
22849         attempt at implementing the sync property, needs an unlock method.
22850
22851         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
22852         New func, by default returns the same caps (the identity
22853         transformation).
22854         (gst_base_transform_getcaps): Uses transform_caps to return
22855         something sensible.
22856         (gst_base_transform_setcaps): Complicated logic to get caps on
22857         both pads, even if they are different, and to call set_caps once
22858         for every time both pads get their caps set.
22859         (gst_base_transform_handle_buffer): Give the ref to the transform
22860         function. Allows in-place modification of the buffer.
22861
22862         * gst/base/gstbasetransform.h (transform_caps): New class method.
22863         Given caps on one side, what can I do on the other.
22864         (set_caps): Take two caps, one for each side of the element.
22865
22866         * gst/gstpad.h:
22867         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
22868         caps in place. This is safe because we can check the mutability of
22869         the caps, and a good idea because fixate functions are just called
22870         as a matter of last resort. (Not actually implemented.)
22871         (gst_pad_set_caps): If the caps we're setting is actually the same
22872         as the existing pad caps, just update the pointer without calling
22873         setcaps. Assert that caps is either NULL or fixed, as per the
22874         docs.
22875
22876         * gst/gstghostpad.c: Update for fixate changes.
22877
22878 2005-07-02  Andy Wingo  <wingo@pobox.com>
22879
22880         * gst/gstcaps.c:
22881         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
22882         two refcounts makes it immutable, which is enough. Doc more.
22883
22884 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
22885
22886         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
22887           Put the mini_object into GValue as a mini_object,
22888           not a gpointer, since that's how we declared
22889           the signal.
22890
22891 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22892
22893         * examples/pwg/Makefile.am:
22894           Fix buildbot again.
22895
22896 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22897
22898         * docs/pwg/building-testapp.xml:
22899           Add extra check.
22900         * examples/pwg/Makefile.am:
22901           Fix buildbot.
22902
22903 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22904
22905         * configure.ac:
22906         * examples/Makefile.am:
22907         * examples/pwg/Makefile.am:
22908         * examples/pwg/extract.pl:
22909           Enable building the PWG examples.
22910         * docs/pwg/advanced-interfaces.xml:
22911           Add URI interface stub.
22912         * docs/pwg/advanced-types.xml:
22913         * docs/pwg/other-autoplugger.xml:
22914         * docs/pwg/appendix-porting.xml:
22915         * docs/pwg/pwg.xml:
22916           Add porting guide (mostly stubs), remove autoplugging (see ADM).
22917         * docs/pwg/building-boiler.xml:
22918         * docs/pwg/building-chainfn.xml:
22919         * docs/pwg/building-pads.xml:
22920         * docs/pwg/building-props.xml:
22921         * docs/pwg/building-state.xml:
22922         * docs/pwg/building-testapp.xml:
22923           Update the building-*.xml parts for 0.9 changes. All examples
22924           code blocks compile in examples/pwg/*.
22925
22926 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22927
22928         * docs/manual/advanced-autoplugging.xml:
22929         * docs/manual/appendix-checklist.xml:
22930         * docs/manual/appendix-integration.xml:
22931         * docs/manual/highlevel-components.xml:
22932           Fix playbin/decodebin examples, update docs a bit, mention bus
22933           instead of signals in various places, mention kmplayer and
22934           kaffeine since they have a working GStreamer backend in the KDE
22935           section.
22936
22937 2005-06-30  Wim Taymans  <wim@fluendo.com>
22938
22939         * CHANGES-0.9:
22940         * docs/design/draft-ghostpads.txt:
22941         * docs/design/draft-push-pull.txt:
22942         * docs/design/draft-query.txt:
22943         * docs/design/part-TODO.txt:
22944         * docs/design/part-query.txt:
22945         Added CHANGES-0.9 doc, updated status of other docs.
22946         
22947         * gst/gstquery.h:
22948         Remove "hmm" macro
22949
22950 2005-06-30  Wim Taymans  <wim@fluendo.com>
22951
22952         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
22953         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22954         (gst_base_sink_change_state):
22955         * gst/base/gstbasesink.h:
22956         Some tweaks, only EOS and a buffer complete a preroll.
22957
22958 2005-06-30  Andy Wingo  <wingo@pobox.com>
22959
22960         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
22961         activate_push down to the internal pad as well.
22962
22963 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
22964
22965         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22966
22967         * gst/gsttaginterface.c:
22968           Some documentation fixes (#307394 and #307397).
22969
22970 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
22971
22972         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22973
22974         * gst/gstvalue.c: (gst_value_intersect_list):
22975           Fix memleak (#309125).
22976
22977 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22978
22979         * docs/manual/advanced-dataaccess.xml:
22980           Fix fakesrc example to compile; doesn't work, bug somewhere...?
22981         * docs/manual/basics-pads.xml:
22982           Add reference for filtered caps to above chapter.
22983
22984 2005-06-30  Wim Taymans  <wim@fluendo.com>
22985
22986         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
22987         (gst_bin_change_state):
22988         Probes are gone.
22989         Lame attempt at making the state change function a bit
22990         more readable.
22991
22992 2005-06-30  Wim Taymans  <wim@fluendo.com>
22993
22994         * docs/design/part-clocks.txt:
22995         * docs/design/part-element-sink.txt:
22996         * docs/design/part-events.txt:
22997         * docs/design/part-preroll.txt:
22998         * docs/design/part-states.txt:
22999         Some more tweeks and additions to the docs.
23000
23001 2005-06-30  Wim Taymans  <wim@fluendo.com>
23002
23003         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23004         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23005         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23006         (gst_pad_check_pull_range), (gst_pad_get_range),
23007         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23008         * gst/gstpad.h:
23009         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23010         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23011         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23012         (gst_pad_remove_buffer_probe):
23013         Removed atomic operations, use existing LOCK.
23014         Move exception handling out of main code path.
23015
23016 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23017
23018         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23019         (silly_return_true_function), (gst_pad_class_init),
23020         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23021         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23022         (gst_pad_send_event):
23023           Fix accumulator, add default value by using _emitv() instead
23024           of _emit() for signal emission.
23025
23026 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23027
23028         * docs/manual/advanced-dataaccess.xml:
23029         * examples/manual/Makefile.am:
23030           Add probe example.
23031         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23032           Make work (??).
23033
23034 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23035
23036         * gst/elements/gstfilesink.c: (gst_filesink_render):
23037           Simplify code so that we don't have to handle short
23038           writes and return GST_FLOW_ERROR if an error occured.
23039
23040 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23041
23042         * docs/gst/gstreamer-docs.sgml:
23043           Remove probes more.
23044
23045 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23046
23047         * docs/gst/gstreamer-sections.txt:
23048         * docs/gst/tmpl/gstpad.sgml:
23049         * docs/gst/tmpl/gstprobe.sgml:
23050         * gst/Makefile.am:
23051         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23052         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23053         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23054         (gst_pad_push_event), (gst_pad_send_event):
23055         * gst/gstpad.h:
23056         * gst/gstutils.c: (gst_pad_add_data_probe),
23057         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23058         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23059         (gst_pad_remove_buffer_probe):
23060         * gst/gstutils.h:
23061           Remove old probes, add new g-signal-based probes and some utility
23062           functions.
23063
23064 2005-06-29  Edward Hervey  <edward@fluendo.com>
23065
23066         * gst/gstelementfactory.c:
23067         * gst/gstutils.h:
23068         * gst/gstutils.c:
23069         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23070         the definition to the header file.
23071
23072 2005-06-29  Andy Wingo  <wingo@pobox.com>
23073
23074         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23075         plugins from the source directory.
23076
23077 2005-06-29  Wim Taymans  <wim@fluendo.com>
23078
23079         * docs/gst/tmpl/gstbuffer.sgml:
23080         * docs/gst/tmpl/gstclock.sgml:
23081         Some fixings for blantently wrong text.
23082
23083 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23084
23085         * check/Makefile.am:
23086         * gst/gst.c: (add_path_func), (init_pre):
23087         * gst/gstregistry.c: (gst_registry_add_path):
23088           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23089           only scan the GST_PLUGIN_PATH locations, and not add
23090           system locations
23091
23092 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23093
23094         * docs/gst/gstreamer-sections.txt:
23095         * docs/gst/tmpl/gstbasesrc.sgml:
23096         * gst/gstelement.c:
23097         * gst/gstelement.h:
23098         * gst/gstevent.c:
23099         * gst/gstutils.c:
23100           doc fixes
23101
23102 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23103
23104         * docs/manual/advanced-autoplugging.xml:
23105           Fix autoplugging example.
23106
23107 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23108
23109         * docs/manual/advanced-autoplugging.xml:
23110         * docs/manual/mime-world.fig:
23111           Try to get autoplugging working, fix type detection. Fix text
23112           in hello-world image.
23113
23114 2005-06-29  Wim Taymans  <wim@fluendo.com>
23115
23116         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23117         (gst_base_sink_change_state):
23118         Small debug line.
23119
23120         * gst/gstclock.h:
23121         map SIGNAL and BROADCAST to the right function.
23122
23123         * gst/gstobject.h:
23124         Remove redundant braces.
23125
23126         * gst/gstpad.c: (gst_pad_set_caps):
23127         Don't call setcaps function when reseting caps to NULL.
23128
23129         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23130         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23131         (gst_system_clock_id_unschedule):
23132         Use BROADCAST as this is what we do.
23133
23134 2005-06-29  Wim Taymans  <wim@fluendo.com>
23135
23136         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23137         We are actually prerolling before commiting the state
23138         change. 
23139
23140 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23141
23142         * docs/manual/advanced-clocks.xml:
23143         * docs/manual/advanced-interfaces.xml:
23144         * docs/manual/advanced-metadata.xml:
23145         * docs/manual/advanced-position.xml:
23146         * docs/manual/advanced-schedulers.xml:
23147         * docs/manual/advanced-threads.xml:
23148         * docs/manual/appendix-porting.xml:
23149         * docs/manual/basics-bins.xml:
23150         * docs/manual/basics-bus.xml:
23151         * docs/manual/basics-elements.xml:
23152         * docs/manual/basics-helloworld.xml:
23153         * docs/manual/basics-pads.xml:
23154         * docs/manual/highlevel-components.xml:
23155         * docs/manual/manual.xml:
23156         * docs/manual/thread.fig:
23157           Update (until threads/scheduling) Application Development Manual;
23158           remove GstThread, add GstBus, add simple porting checklist, add
23159           documentation for tag writing, clocks, make all examples until this
23160           part compile and run.
23161         * examples/manual/Makefile.am:
23162           Update from changes to Application Development Manual; add bus
23163           example, remove thread example.
23164
23165 2005-06-28  Wim Taymans  <wim@fluendo.com>
23166
23167         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23168         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23169         (gst_bus_source_dispatch):
23170         Add debugging messages.
23171         Make internal methods static.
23172         Handle the case where the bus is flushed in the handler.
23173         
23174         * gst/gstelement.c: (gst_element_get_bus):
23175         Fix refcount in _get_bus();
23176
23177         * gst/gstpipeline.c: (gst_pipeline_change_state),
23178         (gst_pipeline_get_clock_func):
23179         Clock refcounting fixes.
23180         Handle the case where preroll timed out more gracefully.
23181         
23182         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23183         Clean up the internal thread in dispose. This is needed
23184         for subclasses that actually get disposed.
23185         
23186         * gst/schedulers/threadscheduler.c:
23187         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23188         (gst_thread_scheduler_dispose):
23189         Free thread pool in dispose.
23190
23191 2005-06-28  Andy Wingo  <wingo@pobox.com>
23192
23193         * tests/network-clock-utils.scm (debug, print-event): New utils.
23194
23195         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23196         (*packet-loss*): Unified loss probability.
23197         (network-time): Report out-of-band events.
23198
23199         * tests/plot-data: Add support for out-of-band events. Hack it
23200         into this script instead of passing it down the pipe; should fix
23201         this later.
23202
23203 2005-06-28  Wim Taymans  <wim@fluendo.com>
23204
23205         * docs/gst/gstreamer.types:
23206         * docs/gst/tmpl/gstbasesrc.sgml:
23207         * docs/gst/tmpl/gstpad.sgml:
23208         Docs fixes.
23209
23210 2005-06-28  Wim Taymans  <wim@fluendo.com>
23211
23212         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23213         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23214         (gst_proxy_pad_do_fixatecaps):
23215         Correctly proxy the check_pull_range function.
23216
23217 2005-06-28  Andy Wingo  <wingo@pobox.com>
23218
23219         * tests/network-clock.scm: Removed need for slib.
23220         
23221 2005-06-28  Wim Taymans  <wim@fluendo.com>
23222
23223         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23224         (gst_basesink_preroll_queue_flush):
23225         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23226         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23227         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23228         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23229         (gst_proxy_pad_set_property):
23230         * gst/gstpad.c:
23231         * gst/gstpad.h:
23232         * gst/gstqueue.c: (gst_queue_init):
23233         The deprecated pad loop function is removed now.
23234
23235 2005-06-28  Andy Wingo  <wingo@pobox.com>
23236
23237         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23238         New parameters, simulate network packet loss.
23239
23240         * tests/network-clock-utils.scm: Initialize the RNG.
23241
23242 2005-06-28  Wim Taymans  <wim@fluendo.com>
23243
23244         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23245         (gst_basesink_event), (gst_basesink_deactivate):
23246         Flushing the preroll queue always needs to unlock the waiters.
23247
23248 2005-06-28  Edward Hervey  <edward@fluendo.com>
23249
23250         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23251         Wheen a seek was successful on a pipeline, set the stream_time to the
23252         seek offset in order to have a synchronized stream_time.
23253
23254 2005-06-28  Wim Taymans  <wim@fluendo.com>
23255
23256         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23257         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23258         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23259         (gst_proxy_pad_do_fixatecaps):
23260         Call wrapper function instead of just calling the function
23261         pointers. This takes care of any locking and whatmore.
23262
23263 2005-06-28  Wim Taymans  <wim@fluendo.com>
23264
23265         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23266         (gst_pad_pull_range):
23267         * gst/gstpad.h:
23268         CONNECTED -> LINKED.
23269
23270 2005-06-28  Andy Wingo  <wingo@pobox.com>
23271
23272         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23273         source-munging commit!!!
23274
23275         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23276         (gst_object_sink): Take gpointer arguments, not GstObject --
23277         avoids casts. Like GLib.
23278
23279         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23280         activate.
23281
23282 2005-06-27  Andy Wingo  <wingo@pobox.com>
23283
23284         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23285         remaining buffer.
23286
23287         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23288         returns a sorted copy of the trace list.
23289         (gst_alloc_trace_print_live): New API, only prints traces with
23290         live objects. Sort the list.
23291         (gst_alloc_trace_print_all): Sort the list.
23292         (gst_alloc_trace_print): Align columns.
23293
23294         * gst/elements/gstttypefindelement.c:
23295         * gst/elements/gsttee.c:
23296         * gst/base/gstbasesrc.c:
23297         * gst/base/gstbasesink.c:
23298         * gst/base/gstbasetransform.c:
23299         * gst/gstqueue.c: Adapt for pad activation changes.
23300
23301         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23302         sched.
23303         (gst_pipeline_dispose): Drop ref on sched.
23304
23305         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23306         (gst_pad_activate_default): Push mode by default.
23307         (pre_activate_switch, post_activate_switch): New stubs, things to
23308         do before and after switching activation modes on pads.
23309         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23310         the pad's activate function to choose which mode to activate.
23311         Shortcut on deactivation and call the right function directly.
23312         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23313         mode.
23314         (gst_pad_activate_push): New API, same for push mode.
23315         (gst_pad_set_activate_function) 
23316         (gst_pad_set_activatepull_function) 
23317         (gst_pad_set_activatepush_function): Setters for new API.
23318
23319         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23320         Trace all miniobjects.
23321         (gst_mini_object_make_writable): Unref the arg if we copy, like
23322         gst_caps_make_writable.
23323
23324         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23325
23326         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23327         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23328         Adapt for new pad API.
23329
23330         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23331
23332         * gst/gstelement.h:
23333         * gst/gstelement.c (gst_element_iterate_src_pads) 
23334         (gst_element_iterate_sink_pads): New API functions.
23335         
23336         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23337         should fold into gstiterator.c in some form.
23338         (gst_element_pads_activate): Simplified via use of fold and
23339         delegation of decisions to gstpad->activate.
23340
23341         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23342         help in debugging.
23343
23344         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23345         class once in init, like gstmessage. Didn't run into this issue
23346         but it seems correct. Don't initialize a trace, gstminiobject does
23347         that.
23348
23349         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23350         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23351         to the bus.
23352         (assert_live_count): New util function, uses alloc traces to check
23353         cleanup.
23354
23355         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23356         To be modified when unlink drops the internal pad.
23357
23358 2005-06-27  Wim Taymans  <wim@fluendo.com>
23359
23360         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23361         (gst_bin_change_state):
23362         Cleanup the get_state() function a little, make sure it
23363         iterates the same set of elements.
23364         Added stub iterate_state_order().
23365
23366 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23367
23368         * docs/gst/gstreamer-docs.sgml:
23369         * docs/gst/gstreamer-sections.txt:
23370         * docs/gst/gstreamer.types:
23371         * docs/gst/tmpl/gstbasesink.sgml:
23372         * docs/gst/tmpl/gstbasesrc.sgml:
23373         * docs/gst/tmpl/gstbasetransform.sgml:
23374         * docs/gst/tmpl/gstelement.sgml:
23375         * docs/gst/tmpl/gstiterator.sgml:
23376         * gst/base/gstbasesrc.c:
23377         * gst/base/gstbasesrc.h:
23378         * gst/base/gstbasetransform.h:
23379         * gst/gstelement.c:
23380         * gst/gstiterator.h:
23381           adding basetransform and iterator docs
23382
23383 2005-06-27  Andy Wingo  <wingo@pobox.com>
23384
23385         * docs/design/part-activation.txt: Notes on how activation should
23386         work -- not quite implemented yet.
23387
23388 2005-06-25  Wim Taymans  <wim@fluendo.com>
23389
23390         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23391         At least get the chain function correct, needs more
23392         fixing.
23393
23394 2005-06-25  Wim Taymans  <wim@fluendo.com>
23395
23396         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23397         (gst_basesink_handle_object), (gst_basesink_event),
23398         (gst_basesink_do_sync), (gst_basesink_handle_event),
23399         (gst_basesink_change_state):
23400         * gst/gsttask.h:
23401         Right, two problems here: ghostpads don't take locks and
23402         glib _rec_mutex_lock_full() with depth==0 still locks.
23403         Catch illegal locking and g_warn them.
23404
23405 2005-06-25  Wim Taymans  <wim@fluendo.com>
23406
23407         * check/states/sinks.c: (START_TEST), (gst_object_suite):
23408         Have to check for completion now...
23409
23410 2005-06-25  Wim Taymans  <wim@fluendo.com>
23411
23412         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23413         (gst_basesink_handle_object), (gst_basesink_event),
23414         (gst_basesink_do_sync), (gst_basesink_handle_event),
23415         (gst_basesink_change_state):
23416         * gst/gstpad.h:
23417         Unlock STREAM_LOCK whatever the recursion was.
23418
23419 2005-06-25  Wim Taymans  <wim@fluendo.com>
23420
23421         * gst/base/gstbasesink.c: (gst_basesink_set_property),
23422         (gst_basesink_preroll_queue_empty),
23423         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23424         (gst_basesink_event), (gst_basesink_do_sync),
23425         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23426         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23427         (gst_basesink_change_state):
23428         Reworked the base sink, handle event and buffer serialisation
23429         correctly and removed possible deadlock.
23430         Handle EOS correctly.
23431
23432 2005-06-25  Wim Taymans  <wim@fluendo.com>
23433
23434         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23435         (gst_pipeline_change_state):
23436         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23437         Allow elements to post EOS in the state change function.
23438         Fix up -launch, make it exit the poll loop when the
23439         pipeline actually changed state.
23440         Fix up warning parsing in -launch.
23441
23442 2005-06-25  Wim Taymans  <wim@fluendo.com>
23443
23444         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23445         (gst_tee_sink_activate):
23446         Core takes STREAM_LOCK for us now.
23447
23448 2005-06-25  Wim Taymans  <wim@fluendo.com>
23449
23450         * gst/gstelement.c: (gst_element_get_state_func),
23451         (gst_element_set_state):
23452         * gst/gstelement.h:
23453         * gst/gstmessage.c: (gst_message_parse_error),
23454         (gst_message_parse_warning):
23455         Keep track of current target state while performing a state
23456         change so that subclasses can do something interesting.
23457         Fix parsing of warning/error messages when GError is NULL.
23458
23459 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23460
23461         * docs/gst/Makefile.am:
23462         * docs/gst/gstreamer-docs.sgml:
23463         * docs/gst/gstreamer-sections.txt:
23464         * docs/gst/gstreamer.types:
23465         * docs/gst/tmpl/gstbasesink.sgml:
23466         * docs/gst/tmpl/gstbasesrc.sgml:
23467         * docs/gst/tmpl/gstbin.sgml:
23468         * docs/gst/tmpl/gstcompat.sgml:
23469         * docs/gst/tmpl/gstfakesink.sgml:
23470         * docs/gst/tmpl/gstfakesrc.sgml:
23471         * docs/gst/tmpl/gstfilesink.sgml:
23472         * docs/gst/tmpl/gstfilesrc.sgml:
23473         * docs/gst/tmpl/gstindex.sgml:
23474         * docs/manual/appendix-quotes.xml:
23475         * gst/base/gstbasesrc.h:
23476         * gst/elements/gstfakesrc.h:
23477         * gst/gstmessage.h:
23478           start pulling in base classes and elements in our docs
23479
23480 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
23481
23482         * docs/gst/Makefile.am:
23483         * docs/libs/Makefile.am:
23484           fixed make distcheck with gtk-doc 1.3
23485
23486 2005-06-23  Wim Taymans  <wim@fluendo.com>
23487
23488         * gst/gstelement.c: (gst_element_get_state_func),
23489         (gst_element_set_state), (gst_element_change_state):
23490         When the state did not change, also report NO_PREROLL
23491         when it matters.
23492
23493 2005-06-23  Wim Taymans  <wim@fluendo.com>
23494
23495         * gst/gstpad.c: (gst_pad_event_default):
23496         * gst/gstqueue.c: (gst_queue_loop):
23497         No unsafe task pausing please.
23498
23499 2005-06-23  Wim Taymans  <wim@fluendo.com>
23500
23501         * gst/schedulers/threadscheduler.c:
23502         (gst_thread_scheduler_task_start),
23503         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23504         Ref the task before pushing it on the threadpool. This
23505         makes sure that we have a ref when the threadfunction is
23506         actually called.
23507
23508 2005-06-23  Andy Wingo  <wingo@pobox.com>
23509
23510         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23511         offset is greater than the file's size.
23512
23513         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
23514         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23515         * gst/gstobject.c (gst_object_class_init): Make the class lock
23516         recursive. Wim won't let me drop deep_notify. Decodebin works
23517         again, whoopdy doo.
23518
23519         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23520         internal pad, and hacks accordingly. Doesn't do it on the target
23521         pad because we change its caps. Probably catches all cases of
23522         interest tho.
23523         (gst_ghost_pad_set_property): Connect to notify::caps as
23524         appropritate.
23525
23526         * tests/network-clock.scm (plot-simulation): Pipe data to the
23527         elite python skript.
23528
23529         * tests/network-clock-utils.scm (define-parameter): New macro,
23530         defines a parameter that can be set via the command line.
23531         (set-parameter!, parse-parameter-arguments): Command line args
23532         parser.
23533
23534         * tests/plot-data: Simple matplotlib-based plotter, takes input on
23535         stdin.
23536
23537 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
23538
23539         * gst/elements/gsttypefindelement.c:
23540         (gst_type_find_element_handle_event):
23541           Don't restart typefinding on a discont.
23542         * gst/gstelement.c: (gst_element_set_state):
23543           Debug spelling fix.
23544         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23545           Allow changing mode of an active pad.
23546           Debug output fixes.
23547         * gst/registries/gstlibxmlregistry.c: (load_feature):
23548           Don't cast a static pad template to a normal pad template.
23549
23550 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23551
23552         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23553         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23554           remove gst_strtoll completely, since it didn't actually do
23555           anything more than what g_ascii_strtoull already does.
23556           check for range errors when deserializing
23557           do a cast for the unsigned cases; but further fixing needs
23558           a decision on what the interpretation of "(int)" and
23559           deserialization should be for values that fall outside the
23560           type's boundaries (ie, refuse, or interpret as casting)
23561
23562 2005-06-23  Wim Taymans  <wim@fluendo.com>
23563
23564         * check/Makefile.am:
23565         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23566         * docs/design/part-live-source.txt:
23567         * docs/design/part-states.txt:
23568         * gst/base/gstbasesrc.c: (gst_basesrc_init),
23569         (gst_basesrc_set_live), (gst_basesrc_is_live),
23570         (gst_basesrc_get_range), (gst_basesrc_activate),
23571         (gst_basesrc_change_state):
23572         * gst/base/gstbasesrc.h:
23573         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23574         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23575         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23576         * gst/gstelement.c: (gst_element_get_state_func),
23577         (gst_element_set_state):
23578         * gst/gstelement.h:
23579         * gst/gsttypes.h:
23580         * tools/gst-launch.c: (event_loop), (main):
23581         Added support for live sources and other elements that
23582         cannot do preroll.
23583         Updated design docs, added live-source design doc.
23584         Implemented live source functionality in basesrc
23585         Fix error condition in _bin_get_state()
23586         Implement live source handling in -launch.
23587         Added check for live sources.
23588         Fixed case in GstBin where elements were changed state
23589         multiple times.
23590
23591
23592 2005-06-23  Andy Wingo  <wingo@pobox.com>
23593
23594         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23595         borken refcounting.
23596
23597         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23598         gst_caps_replace takes care of this for us.
23599
23600         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23601         gst_pad_set_caps on the target, not just its setcaps() function.
23602
23603         * tests/network-clock.scm: 
23604         * tests/network-clock-utils.scm: A network clock simulator.
23605         Something of an algorithmic testbed before doing something in C.
23606
23607 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23608
23609         * check/Makefile.am:
23610         * check/gst/capslist.h:
23611           copy over from 0.8, and add two with bitmasks specified with
23612           (int) 0xFF...
23613         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23614           add test to parse everything from capslist.h
23615         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
23616         (main):
23617           add test for structure deserialization
23618         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23619           add tests for deserialization of strings to int types
23620         * gst/gststructure.c: (gst_structure_nth_field_name):
23621         * gst/gststructure.h:
23622           add a way to get the name of a field referenced by index
23623         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23624           instead of checking if the resulting long long lies between
23625           min and max, we check if the long long would fit into
23626           a number of bytes for the final type.
23627           This fixes cases where a string represents 2^32 - 1, which
23628           when cast to int would be the (valid) -1, but is bigger than
23629           G_MAXINT
23630
23631 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23632
23633         * gst/parse/grammar.y:
23634           add a log line for type deserialization
23635
23636 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23637
23638         * check/gst/gstvalue.c: (START_TEST):
23639         * gst/gstvalue.c: (gst_value_deserialize):
23640           return long long, not int, so gint64 deserialization actually
23641           works.  Is there any flag that makes the compiler check this ?
23642           Fixes #308559
23643
23644 2005-06-22  Wim Taymans  <wim@fluendo.com>
23645
23646         * gst/gstbuffer.h:
23647         Added convenience macros for setting buffers in GValue.
23648
23649 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23650
23651         * check/gst/.cvsignore:
23652         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23653           add a test deserializing int64, and comment part out because
23654           it fails, yay !
23655
23656 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23657
23658         * check/Makefile.am:
23659         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
23660         * testsuite/Makefile.am:
23661         * testsuite/caps/Makefile.am:
23662         * testsuite/caps/value_serialize.c:
23663         * testsuite/test_gst_init.c:
23664           move a value_serialize test over
23665
23666 2005-06-20  Wim Taymans  <wim@fluendo.com>
23667
23668         * gst/gstpad.c:
23669         Small doc updates.
23670         
23671         * gst/gstvalue.c: (gst_value_compare_buffer),
23672         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
23673         (gst_value_compare_flags), (gst_value_serialize_flags),
23674         (gst_value_deserialize_flags), (_gst_value_initialize):
23675         Fix serialisation of buffers, they are not boxed types anymore
23676
23677 2005-06-20  Wim Taymans  <wim@fluendo.com>
23678
23679         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23680         Testcase to show error in buffer-on-caps serialisation.
23681
23682 2005-06-20  Andy Wingo  <wingo@pobox.com>
23683
23684         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
23685         will be adding to later.
23686
23687         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
23688         if its socks fill with rocks.
23689         (gst_system_clock_obtain): Set the name on object construction.
23690         Avoid double-checked locking.
23691
23692 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
23693
23694         * gst/gsturi.c: (gst_element_make_from_uri):
23695           Fix potential endless loop.
23696
23697 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23698
23699         * check/Makefile.am:
23700           add gsttag
23701         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
23702         (main):
23703           move over from testsuite dir and clean up
23704         * configure.ac:
23705         * gst/gsttag.c:
23706         * testsuite/Makefile.am:
23707         * testsuite/tags/.cvsignore:
23708         * testsuite/tags/Makefile.am:
23709         * testsuite/tags/merge.c:
23710           remove testsuite/tags
23711
23712 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23713
23714         * docs/gst/gstreamer-sections.txt:
23715         * docs/gst/tmpl/gstenumtypes.sgml:
23716         * win32/gstenumtypes.c:
23717           clean up documentation build a little
23718
23719 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23720
23721         * check/gstcheck.h:
23722           add macros for checking refcounts on objects and caps
23723         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
23724           add some more unit tests
23725         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23726         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
23727           fix leaked refcounts (I hope :)) so unittest works
23728         * gst/gstpad.h:
23729           whitespace removal
23730
23731 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23732
23733         * configure.ac: back to HEAD
23734
23735 === release 0.9.1 ===
23736
23737 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
23738
23739         * NEWS:
23740         * RELEASE:
23741           updated
23742
23743 2005-06-17  Andy Wingo  <wingo@pobox.com>
23744
23745         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
23746         assert; it's always possible that the pad gets deactivated in
23747         between the checks in gstpad.c and the implementation. Rely on
23748         finish_preroll() to return a FLUSHING or similar instead of on the
23749         assert.
23750         
23751         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
23752         clock and post an EOS message if we come out of finish_preroll in
23753         the playing state.
23754
23755 2005-06-16  David Schleef  <ds@schleef.org>
23756
23757         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23758         (gst_capsfilter_set_property): Allow NULL as possible value
23759         for filter_caps property, indicating GST_CAPS_ANY.
23760
23761 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23762
23763         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
23764           fix debug output
23765         * gst/schedulers/Makefile.am:
23766           use libgst prefix
23767         * gstreamer.spec.in:
23768           fix spec for it
23769
23770 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23771
23772         * gstreamer.spec.in:
23773           clean up
23774
23775 2005-06-08  Andy Wingo  <wingo@pobox.com>
23776
23777         * gst/gstutils.c: RPAD fixes all around.
23778         (gst_element_link_pads): Refcounting fixes.
23779
23780         * tools/gst-inspect.c:
23781         * tools/gst-xmlinspect.c:
23782         * parse/grammar.y:
23783         * gst/base/gsttypefindhelper.c:
23784         * gst/base/gstbasesink.c:
23785         * gst/gstqueue.c: RPAD fixes.
23786
23787         * gst/gstghostpad.h:
23788         * gst/gstghostpad.c: New ghost pad implementation as full proxy
23789         pads. The tricky thing is they provide both source and sink
23790         interfaces, since they proxy the internal pad for the external
23791         pad, and vice versa. Implement with lower-level ProxyPad objects,
23792         with the interior proxy pad as a child of the exterior ghost pad.
23793         Should write a doc on this.
23794         
23795         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
23796         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
23797         gst_object API.
23798         
23799         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
23800         pads are real pads. No ghost pads in this file. Not documenting
23801         the myriad s/RPAD/PAD/ and REALIZE fixes.
23802         (gst_pad_class_init): Add properties for "direction" and
23803         "template". Both are construct-only, so they can't change during
23804         the life of the pad. Fixes properly deriving from GstPad.
23805         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
23806         derived objects, just set properties when creating the objects via
23807         g_object_new.
23808         (gst_pad_get_parent): Implement as a function, return NULL if the
23809         parent is not an element.
23810         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
23811         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
23812         
23813         * gst/gstobject.c (gst_object_class_init): Make name a construct
23814         property. Don't set it in the object init.
23815
23816         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
23817         with UNKNOWN direction.
23818         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
23819         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
23820         (gst_element_remove_pad): Remove ghost-pad special cases.
23821         (gst_element_pads_activate): Remove rpad cruft.
23822
23823         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
23824         catch the pad's-parent-not-an-element case.
23825
23826         * gst/gst.h: Include gstghostpad.h.
23827
23828         * gst/gst.c (init_post): No more real, ghost pads.
23829
23830         * gst/Makefile.am: Add gstghostpad.[ch].
23831
23832         * check/Makefile.am:
23833         * check/gst/gstbin.c:
23834         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
23835         into a bin creates ghost pads, and that the refcounts are right.
23836         Partly moved from gstbin.c.
23837
23838 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23839
23840         * check/gst-libs/.cvsignore:
23841         * check/gst/.cvsignore:
23842         * check/pipelines/.cvsignore:
23843           ignore more
23844         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
23845         (START_TEST), (cleanup_suite), (main):
23846           add some tests related to cleanup after running pipelines
23847
23848 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23849
23850         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
23851           add a testsuite for GstBuffer
23852
23853 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23854
23855         * gst/gstminiobject.h:
23856           add defines for accessing the refcount
23857
23858 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
23859
23860         * Makefile.am: added support for html unit test coverage reports
23861
23862 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
23863
23864         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23865           Free existing caps if the capsfilter changes. Add a FIXME about
23866           setting those caps on the pads.
23867
23868         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
23869           Before adding a ghost pad to a parent bin, check that there isn't
23870           already one for the element on the bin. Prevents infinite recursion
23871           when using decodebin in parse pipelines. Andy says he'll rewrite the
23872           way this works anyway, so ignore the hack.
23873
23874 2005-06-02  Andy Wingo  <wingo@pobox.com>
23875
23876         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
23877         file size, pass it on to the type find helper.
23878
23879         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
23880         segment_start and segment_end properly according to the seek
23881         method. Segment_end is still a bit flaky because offset can be
23882         negative for CUR and END cases, but it takes -1 as an "unset"
23883         value.
23884
23885 2005-06-02  Wim Taymans  <wim@fluendo.com>
23886
23887         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
23888         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
23889         (gst_basesink_activate):
23890         * gst/base/gstbasesink.h:
23891         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23892         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23893         (gst_pad_query), (gst_pad_start_task):
23894         * gst/gstpad.h:
23895         * gst/gstqueue.c: (gst_queue_bufferalloc),
23896         (gst_queue_handle_sink_event), (gst_queue_chain):
23897         Bufferalloc: return GstFlowReturn to more accuratly report
23898         why allocation failed.
23899
23900 2005-06-02  Wim Taymans  <wim@fluendo.com>
23901
23902         * gst/gstpipeline.c: (gst_pipeline_send_event):
23903         Take snapshot of state without blocking.
23904
23905 2005-06-02  Wim Taymans  <wim@fluendo.com>
23906
23907         * docs/design/part-TODO.txt:
23908         * docs/design/part-caps.txt:
23909         * docs/design/part-clocks.txt:
23910         * docs/design/part-negotiation.txt:
23911         * docs/design/part-preroll.txt:
23912         Small doc updates 
23913
23914 2005-05-30  Wim Taymans  <wim@fluendo.com>
23915
23916         * gst/elements/gstidentity.c: (gst_identity_event),
23917         (gst_identity_transform), (gst_identity_get_property):
23918         Protect last_message property as it is accessed from
23919         multiple threads.
23920
23921 2005-05-30  Wim Taymans  <wim@fluendo.com>
23922
23923         * gst/gstelement.c: (gst_element_init),
23924         (gst_element_pads_activate), (gst_element_change_state):
23925         Slicker pad activation code.
23926
23927 2005-05-30  Wim Taymans  <wim@fluendo.com>
23928
23929         * gst/Makefile.am:
23930         * gst/gstelement.h:
23931         * gst/gstelementfactory.h:
23932         * gst/gsttypes.h:
23933         Move elementfactory methods to separate .h file.
23934
23935 2005-05-30  Wim Taymans  <wim@fluendo.com>
23936
23937         * docs/design/part-overview.txt:
23938         * gst/gstsystemclock.h:
23939         Small typo fixes, doc updates.
23940
23941 2005-05-30  Wim Taymans  <wim@fluendo.com>
23942
23943         * gst/gst.c: (gst_init_get_popt_table), (init_post),
23944         (init_popt_callback):
23945         Remove cpu-opt flag.
23946
23947 2005-05-30  Wim Taymans  <wim@fluendo.com>
23948
23949         * gst/gstbuffer.c: (gst_subbuffer_finalize),
23950         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
23951         * gst/gstbuffer.h:
23952         Avoid typechecking in places where not needed.
23953         Added accessor for malloc_data.
23954
23955 2005-05-30  Wim Taymans  <wim@fluendo.com>
23956
23957         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
23958         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
23959         (gst_pad_configure_sink), (gst_pad_configure_src),
23960         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
23961         (gst_pad_start_task):
23962         Propagate errors from _set_caps() in configure_src/sink
23963         functions instead of returning TRUE.
23964         FLUSH events can travel up and downstream
23965
23966
23967 2005-05-30  Wim Taymans  <wim@fluendo.com>
23968
23969         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
23970         (gst_basesink_activate):
23971         Handle EOS in preroll.
23972
23973 2005-05-30  Wim Taymans  <wim@fluendo.com>
23974
23975         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23976         (gst_queue_loop), (gst_queue_handle_src_event):
23977         Remove old pieces of code
23978         Flushing the queue in an upstream event is a very bad idea.
23979
23980 2005-05-26  Andy Wingo  <wingo@pobox.com>
23981
23982         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
23983         gst_value_set_mini_object so as to add a ref on the object (which
23984         will be removed when the value is unset).
23985
23986         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
23987         arg type in ::handoff.
23988
23989         * gst/gstelement.c (gst_element_change_state): Also deactivate
23990         pads in READY->NULL, just in case the element didn't make it to
23991         PAUSED. Wingo tested, Wim approved.
23992
23993 2005-05-26  Wim Taymans  <wim@fluendo.com>
23994
23995         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
23996         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
23997         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
23998         A flushing pad cannot be used to alloc_buffer from.
23999
24000 2005-05-26  Wim Taymans  <wim@fluendo.com>
24001
24002         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24003         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24004         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24005         (gst_bus_create_watch), (gst_bus_add_watch_full):
24006         * gst/gstbus.h:
24007         Implement a real GSource and use g_main_context_wakeup() to
24008         signal new messages instead of the socketpair.
24009
24010 2005-05-25  Wim Taymans  <wim@fluendo.com>
24011
24012         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24013         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24014         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24015         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24016         (gst_pad_send_event), (gst_pad_start_task):
24017         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24018         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24019         (gst_queue_sink_activate), (gst_queue_src_activate),
24020         (gst_queue_change_state):
24021         * gst/gstqueue.h:
24022         Fix state changes for non sinks. We now change sinks, then elements
24023         with unconnected srcpads, then the rest.
24024         More efficient queue unlocking in flush and state changes.
24025         Set the pad activate mode even if it does not have an activate
24026         function.
24027
24028 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24029
24030         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24031           Don't go in pull mode for non-seekable sources.
24032         * gst/elements/gsttypefindelement.h:
24033         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24034         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24035         (free_entry), (stop_typefinding),
24036         (gst_type_find_element_handle_event), (find_peek),
24037         (gst_type_find_element_chain), (do_pull_typefind),
24038         (gst_type_find_element_change_state):
24039           Allow typefinding (w/o seeking) in push-mode, simplified version
24040           of what was in 0.8.
24041         * gst/gstutils.c: (gst_buffer_join):
24042         * gst/gstutils.h:
24043           gst_buffer_join() from 0.8.
24044
24045 2005-05-25  Wim Taymans  <wim@fluendo.com>
24046
24047         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24048         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24049         (gst_pad_send_event), (gst_pad_start_task):
24050         Disable attempt at mode switching until it is figured out.
24051
24052 2005-05-25  Wim Taymans  <wim@fluendo.com>
24053
24054         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24055         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24056         (gst_basesink_finish_preroll), (gst_basesink_chain),
24057         (gst_basesink_loop), (gst_basesink_activate),
24058         (gst_basesink_change_state):
24059         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24060         (gst_basesrc_get_range), (gst_basesrc_loop),
24061         (gst_basesrc_activate):
24062         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24063         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24064         (gst_real_pad_init), (gst_real_pad_set_property),
24065         (gst_real_pad_get_property), (gst_pad_set_active),
24066         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24067         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24068         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24069         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24070         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24071         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24072         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24073         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24074         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24075         (gst_pad_stop_task):
24076         * gst/gstpad.h:
24077         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24078         (gst_queue_loop), (gst_queue_src_activate):
24079         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24080         (gst_task_get_state):
24081         * gst/gsttask.h:
24082         * gst/schedulers/threadscheduler.c:
24083         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24084         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24085         in task function.
24086         Remove ACTIVE pad flag, use FLUSHING everywhere
24087         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24088         functions.
24089         Add locks around IS_FLUSHING when reading.
24090         Take STREAM lock in chain(), get_range() functions so plugins
24091         don't need to take it anymore.
24092         
24093
24094
24095 2005-05-25  Wim Taymans  <wim@fluendo.com>
24096
24097         * tools/gst-launch.c: (event_loop):
24098         Unref message after using its contents instead of
24099         before.
24100
24101 2005-05-24  Wim Taymans  <wim@fluendo.com>
24102
24103         * docs/design/draft-ghostpads.txt:
24104         * docs/design/draft-push-pull.txt:
24105         * docs/design/draft-query.txt:
24106         * docs/design/part-overview.txt:
24107         Docs updates, added general overview doc.
24108
24109 2005-05-21  David Schleef  <ds@schleef.org>
24110
24111         * docs/gst/tmpl/old/GstBin.sgml:
24112         * docs/gst/tmpl/old/GstBuffer.sgml:
24113         * docs/gst/tmpl/old/GstCaps.sgml:
24114         * docs/gst/tmpl/old/GstClock.sgml:
24115         * docs/gst/tmpl/old/GstCompat.sgml:
24116         * docs/gst/tmpl/old/GstData.sgml:
24117         * docs/gst/tmpl/old/GstElement.sgml:
24118         * docs/gst/tmpl/old/GstEvent.sgml:
24119         * docs/gst/tmpl/old/GstIndex.sgml:
24120         * docs/gst/tmpl/old/GstStructure.sgml:
24121         * docs/gst/tmpl/old/GstTag.sgml:
24122         * docs/gst/tmpl/old/cothreads.sgml:
24123         * docs/gst/tmpl/old/cothreads_compat.sgml:
24124         * docs/gst/tmpl/old/gettext.sgml:
24125         * docs/gst/tmpl/old/gobject2gtk.sgml:
24126         * docs/gst/tmpl/old/grammar.tab.sgml:
24127         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24128         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24129         * docs/gst/tmpl/old/gst_private.sgml:
24130         * docs/gst/tmpl/old/gstaggregator.sgml:
24131         * docs/gst/tmpl/old/gstarch.sgml:
24132         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24133         * docs/gst/tmpl/old/gstbufferstore.sgml:
24134         * docs/gst/tmpl/old/gstdata_private.sgml:
24135         * docs/gst/tmpl/old/gstdisksink.sgml:
24136         * docs/gst/tmpl/old/gstdisksrc.sgml:
24137         * docs/gst/tmpl/old/gstelementfactory.sgml:
24138         * docs/gst/tmpl/old/gstextratypes.sgml:
24139         * docs/gst/tmpl/old/gstfakesink.sgml:
24140         * docs/gst/tmpl/old/gstfakesrc.sgml:
24141         * docs/gst/tmpl/old/gstfdsink.sgml:
24142         * docs/gst/tmpl/old/gstfdsrc.sgml:
24143         * docs/gst/tmpl/old/gstfilesink.sgml:
24144         * docs/gst/tmpl/old/gstfilesrc.sgml:
24145         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24146         * docs/gst/tmpl/old/gstidentity.sgml:
24147         * docs/gst/tmpl/old/gstindexfactory.sgml:
24148         * docs/gst/tmpl/old/gstmarshal.sgml:
24149         * docs/gst/tmpl/old/gstmd5sink.sgml:
24150         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24151         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24152         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24153         * docs/gst/tmpl/old/gstpipefilter.sgml:
24154         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24155         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24156         * docs/gst/tmpl/old/gstshaper.sgml:
24157         * docs/gst/tmpl/old/gstspider.sgml:
24158         * docs/gst/tmpl/old/gstspideridentity.sgml:
24159         * docs/gst/tmpl/old/gststatistics.sgml:
24160         * docs/gst/tmpl/old/gsttee.sgml:
24161         * docs/gst/tmpl/old/gsttimecache.sgml:
24162         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24163         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24164         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24165         * docs/gst/tmpl/old/types.sgml:
24166           I didn't intend to add these or check them in.
24167
24168 2005-05-19  David Schleef  <ds@schleef.org>
24169
24170         * configure.ac: Use -no-common everywhere.  In a sane world, it
24171           would be the default in libtool, because without it, you can't
24172           build DLLs on Windows.
24173         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24174         * docs/gst/gstreamer-sections.txt:
24175         * docs/gst/tmpl/gstcpu.sgml:
24176         * docs/gst/tmpl/gstdata.sgml:
24177         * docs/gst/tmpl/gstthread.sgml:
24178
24179 2005-05-19  David Schleef  <ds@schleef.org>
24180
24181         * gst/gstminiobject.c: (gst_value_set_mini_object),
24182         (gst_value_take_mini_object), (gst_value_get_mini_object):
24183         * gst/gstminiobject.h: Add GValue set/get functions.
24184
24185 2005-05-19  Wim Taymans  <wim@fluendo.com>
24186
24187         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24188         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24189         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24190         * gst/gstbuffer.h:
24191         * gst/gstbus.c: (gst_bus_post):
24192         * gst/gstelement.c: (gst_element_get_random_pad):
24193         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24194         Make subbufer unref the parent in finalize.
24195         some more debugging info.
24196
24197
24198 2005-05-19  Wim Taymans  <wim@fluendo.com>
24199
24200         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24201         (gst_basesink_init), (gst_basesink_finalize),
24202         (gst_basesink_activate), (gst_basesink_change_state):
24203         Don't free preroll queue too early.
24204
24205 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24206
24207         * gst/Makefile.am:
24208         * gst/ROADMAP:
24209           Hi, I'm outdated. Please shoot me.
24210
24211 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24212
24213         * gst/gstpipeline.c: (gst_pipeline_send_event):
24214           Do not access variables after they have been deleted.
24215
24216 2005-05-19  Wim Taymans  <wim@fluendo.com>
24217
24218         * tools/gst-inspect.c: (print_plugin_features):
24219         A plugin feature does unfortunatly not use the
24220         object name yet...
24221
24222 2005-05-18  Wim Taymans  <wim@fluendo.com>
24223
24224         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24225         Port _span() functions to new subbuffers.
24226
24227 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24228
24229         * gst/gstbin.c: (gst_bin_add_func):
24230           Fix clock settery in bins when adding kids after the clock has
24231           been selected.
24232
24233 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24234
24235         * gst/elements/gstidentity.c: (gst_identity_class_init):
24236           Workaround until signals support GstMiniObject.
24237
24238 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24239
24240         * gst/gstbuffer.c:
24241         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24242
24243 2005-05-18  Wim Taymans  <wim@fluendo.com>
24244
24245         * gst/base/Makefile.am:
24246         * gst/base/gstadapter.c: (gst_adapter_base_init),
24247         (gst_adapter_class_init), (gst_adapter_init),
24248         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24249         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24250         (gst_adapter_flush), (gst_adapter_available),
24251         (gst_adapter_available_fast):
24252         * gst/base/gstadapter.h:
24253         Ported and added adapter to the base classes.
24254
24255 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24256
24257         * gst/gst.c:
24258         * gst/gstmessage.c:
24259           Make sure the class is reffed/unreffed once before threads can be
24260           used.  Fixes #304551.
24261
24262 2005-05-17  Wim Taymans  <wim@fluendo.com>
24263
24264         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24265         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24266         * gst/gstminiobject.c: (gst_mini_object_get_type),
24267         (gst_mini_object_free):
24268         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24269         (gst_pad_push), (gst_pad_push_event):
24270         * gst/gstqueue.c: (gst_queue_change_state):
24271         Don't queue buffers in basesink when we are flushing.
24272         Unref buffer when flushing in basesink.
24273         Flush queue when going to READY
24274         Unref buffer when _push() returns an error.
24275         Don't free MiniObject instance when refcount is incremented
24276         in _finalize() so that we can recover objects.
24277
24278 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24279
24280         * docs/manual/advanced-schedulers.xml:
24281         * docs/manual/appendix-checklist.xml:
24282         * docs/pwg/advanced-clock.xml:
24283         * docs/pwg/advanced-interfaces.xml:
24284         * docs/pwg/advanced-request.xml:
24285         * docs/pwg/advanced-types.xml:
24286         * docs/pwg/intro-preface.xml:
24287         * examples/plugins/example.c: (gst_example_get_type),
24288         (gst_example_class_init), (gst_example_chain),
24289         (gst_example_set_property), (gst_example_get_property),
24290         (gst_example_change_state), (plugin_init):
24291         * examples/plugins/example.h:
24292           small doc fixes
24293
24294 2005-05-17  Wim Taymans  <wim@fluendo.com>
24295
24296         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24297         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24298         * gst/gstqueue.c: (gst_queue_change_state):
24299         Clear queue when going to READY.
24300         Remove IN_SETCAPS flag too.
24301
24302 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24303
24304         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24305           Remove implicit cast from gboolean to GstElementStateReturn;
24306           make sure we still return failure in paused => ready case if
24307           the parent class fails to change state and our own stop 
24308           vfunc succeeds.
24309
24310 2005-05-17  Wim Taymans  <wim@fluendo.com>
24311
24312         * tools/gst-launch.c: (event_loop):
24313         Message was unreffed too soon.
24314
24315 2005-05-16  Andy Wingo  <wingo@pobox.com>
24316
24317         * gst/gstbin.c (sink_iterator_filter): Err... um...
24318
24319         * check/gst/gstbin.c (test_ghost_pads): New test for the
24320         ghosting-if-elements-not-in-same-bin behavior.
24321
24322 2005-05-16  David Schleef  <ds@schleef.org>
24323
24324         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24325         accessing refcount directly.
24326
24327 2005-05-15  David Schleef  <ds@schleef.org>
24328
24329         * check/Makefile.am: remove GstData checks
24330         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24331         * gst/Makefile.am: add miniobject, remove data
24332         * gst/gst.h: add miniobject, remove data
24333         * gst/gstdata.c: remove
24334         * gst/gstdata.h: remove
24335         * gst/gstdata_private.h: remove
24336         * gst/gsttypes.h: remove GstEvent and GstMessage
24337         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24338         * gst/gstmarshal.list: change BOXED -> OBJECT
24339
24340         Implement GstMiniObject.
24341         * gst/gstminiobject.c:
24342         * gst/gstminiobject.h:
24343
24344         Modify to be subclasses of GstMiniObject.
24345         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24346         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24347         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24348         (gst_subbuffer_get_type), (gst_subbuffer_init),
24349         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24350         (gst_buffer_span):
24351         * gst/gstbuffer.h:
24352         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24353         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24354         (_gst_event_copy), (gst_event_new):
24355         * gst/gstevent.h:
24356         * gst/gstmessage.c: (_gst_message_initialize),
24357         (gst_message_get_type), (gst_message_class_init),
24358         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24359         (gst_message_new), (gst_message_new_error),
24360         (gst_message_new_warning), (gst_message_new_tag),
24361         (gst_message_new_state_changed), (gst_message_new_application):
24362         * gst/gstmessage.h:
24363         * gst/gstprobe.c: (gst_probe_perform),
24364         (gst_probe_dispatcher_dispatch):
24365         * gst/gstprobe.h:
24366         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24367         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24368         (_gst_query_copy), (gst_query_new):
24369
24370         Update elements for GstData -> GstMiniObject changes
24371         * gst/gstquery.h:
24372         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24373         (gst_queue_chain), (gst_queue_loop):
24374         * gst/elements/gstbufferstore.c:
24375         (gst_buffer_store_add_buffer_func),
24376         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24377         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24378         (gst_fakesink_render):
24379         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24380         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24381         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24382         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24383         (gst_filesrc_create_read):
24384         * gst/elements/gstidentity.c: (gst_identity_class_init):
24385         * gst/elements/gsttypefindelement.c:
24386         (gst_type_find_element_src_event), (free_entry_buffers),
24387         (gst_type_find_element_handle_event):
24388         * libs/gst/dataprotocol/dataprotocol.c:
24389         (gst_dp_header_from_buffer):
24390         * libs/gst/dataprotocol/dataprotocol.h:
24391         * libs/gst/dataprotocol/dp-private.h:
24392
24393 2005-05-15  David Schleef  <ds@schleef.org>
24394
24395         * gst/elements/gstelements.c: Don't include headers that were
24396         just removed.
24397
24398 2005-05-15  David Schleef  <ds@schleef.org>
24399
24400         * gst/elements/Makefile.am: Remove some elements that don't
24401         need to be in the core (or even exist at all).
24402         * gst/elements/gstaggregator.c:
24403         * gst/elements/gstaggregator.h:
24404         * gst/elements/gstmd5sink.c:
24405         * gst/elements/gstmd5sink.h:
24406         * gst/elements/gstmultifilesrc.c:
24407         * gst/elements/gstmultifilesrc.h:
24408         * gst/elements/gstpipefilter.c:
24409         * gst/elements/gstpipefilter.h:
24410         * gst/elements/gstshaper.c:
24411         * gst/elements/gstshaper.h:
24412         * gst/elements/gststatistics.c:
24413         * gst/elements/gststatistics.h:
24414         * po/POTFILES.in: Remove above files.
24415
24416 2005-05-14  Andy Wingo  <wingo@pobox.com>
24417
24418         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24419         so as to get the refs right.
24420         (sink_iterator_filter): New function, wraps bin_element_is_sink,
24421         unreffing objects that don't pass the filter.
24422
24423         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24424         gst_element_set_bus.
24425         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24426         normal cases, this will destroy the bus.
24427
24428         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24429         object.
24430
24431         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24432         has no sinks.
24433
24434 2005-05-13  Andy Wingo  <wingo@pobox.com>
24435
24436         * gst/gstutils.c (gst_element_link_pads): Instead of calling
24437         gst_pad_link, call pad_link_maybe_ghosting,
24438         (pad_link_maybe_ghosting): Links pads, making sure that the
24439         elements being linked are in the same bin.
24440         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24441         Helpers for pad_link_maybe_ghosting.
24442
24443 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24444
24445         * configure.ac:
24446           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24447
24448 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
24449
24450         * docs/design/part-element-source.txt:
24451           Mention GstPushSrc
24452
24453 2005-05-12  Wim Taymans  <wim@fluendo.com>
24454
24455         * gst/base/gstbasesink.c: (gst_basesink_init),
24456         (gst_basesink_activate):
24457         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24458         (gst_basesrc_is_seekable):
24459         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24460         (bin_element_is_sink), (gst_bin_change_state):
24461         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24462         * gst/gstelement.h:
24463         Identify sinks by their flag to avoid overly complicated
24464         checks (fow now).
24465         Do state changes even for elements not reachable from the
24466         sinks.
24467         BaseSink is a sink now :)
24468         Some more debugging info in the basesrc.
24469
24470
24471 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24472
24473         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24474           Implement _query on a bin, similar to _send_event.
24475
24476 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
24477
24478         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24479           Discont event offset format should be GST_FORMAT_BYTES,
24480           not GST_FORMAT_TIME.
24481
24482 2005-05-12  Wim Taymans  <wim@fluendo.com>
24483
24484         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24485         Same fix as Ronald's but without the signal. 
24486
24487 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24488
24489         * gst/gstutils.c: (gst_element_query_position):
24490           No, an element is not a pad.
24491
24492 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24493
24494         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24495         (gst_bin_get_state):
24496           If a child is removed from a bin while we remove the child from
24497           the bin and while we're retrieving its state, signal this to the
24498           get_state function so we abort the wait (instead of waiting for
24499           a timeout) and can immediately re-iterate over all other elements.
24500
24501 2005-05-12  Wim Taymans  <wim@fluendo.com>
24502
24503         * gst/base/Makefile.am:
24504         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24505         (gst_basesrc_start):
24506         * gst/base/gstbasesrc.h:
24507         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24508         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24509         (gst_pushsrc_init), (gst_pushsrc_create):
24510         * gst/base/gstpushsrc.h:
24511         Added is_seekable to BaseSrc
24512         Added simple PushSrc.
24513
24514 2005-05-11  Wim Taymans  <wim@fluendo.com>
24515
24516         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24517         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24518         (gst_element_link_pads), (gst_element_query_position),
24519         (gst_element_query_convert), (intersect_caps_func),
24520         (gst_pad_query_position), (gst_pad_query_convert):
24521         Fix refcounting in utils function.
24522         No point in trying to activate a pad when it's added, it could
24523         be added from the state change function and then we deadlock, the
24524         element has to decide what to do.
24525
24526 2005-05-10  Andy Wingo  <wingo@pobox.com>
24527
24528         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24529         *all* the arguments.
24530
24531         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24532         stream lock if it's a FLUSH_DONE; normal flushes don't get the
24533         lock (according to the docs -- if this is wrong change the docs).
24534
24535         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24536         flush messages in the NULL state.
24537
24538         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24539         message immediately and return.
24540         (gst_bus_set_flushing): New function. If a bus is flushing, it
24541         flushes out any queued messages and immediately unrefs new
24542         messages. This is so when an element goes to NULL, all of the
24543         unhandled messages coming from it can be freed, and their
24544         references to the element dropped. In other words: message source
24545         ref considered harmful :P
24546
24547         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24548         we're finished with it.
24549
24550         * gst/gstmessage.c (gst_message_new_state_changed): 
24551
24552 2005-05-10  Wim Taymans  <wim@fluendo.com>
24553
24554         * gst/gstvalue.c: (gst_value_compare_flags),
24555         (gst_value_serialize_flags), (gst_value_deserialize_flags),
24556         (_gst_value_initialize):
24557         Added flags serialize/deserialize/compare code.
24558
24559 2005-05-09  Andy Wingo  <wingo@pobox.com>
24560
24561         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24562         Intersect the peer's caps with our caps.
24563
24564 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24565
24566         * gst/base/gsttypefindhelper.c: (helper_find_peek):
24567         * gst/elements/gsttypefindelement.c: (find_peek):
24568           Handle negative offsets better. Fixes decodebin.
24569
24570 2005-05-09  Wim Taymans  <wim@fluendo.com>
24571
24572         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24573         (gst_base_transform_event):
24574         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24575         Implement accept_caps.
24576         Fix silly lock/unlock mismatch in base class.
24577
24578 2005-05-09  Wim Taymans  <wim@fluendo.com>
24579
24580         * docs/design/draft-push-pull.txt:
24581         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24582         * gst/elements/gstfilesink.c: (gst_filesink_init),
24583         (gst_filesink_query):
24584         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24585         (gst_type_find_handle_src_query), (find_element_get_length):
24586         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24587         * gst/gstelement.h:
24588         * gst/gstmessage.c:
24589         * gst/gstmessage.h:
24590         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24591         (gst_real_pad_get_caps_unlocked),
24592         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24593         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24594         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24595         (gst_real_pad_dispose), (gst_real_pad_finalize),
24596         (gst_pad_load_and_link), (gst_pad_save_thyself),
24597         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24598         (gst_pad_check_pull_range), (gst_pad_pull_range),
24599         (gst_pad_template_get_type), (gst_pad_template_class_init),
24600         (gst_pad_template_init), (gst_pad_template_dispose),
24601         (name_is_valid), (gst_static_pad_template_get),
24602         (gst_pad_template_new), (gst_static_pad_template_get_caps),
24603         (gst_pad_template_get_caps), (gst_pad_set_element_private),
24604         (gst_pad_get_element_private), (gst_pad_start_task),
24605         (gst_pad_pause_task), (gst_pad_stop_task),
24606         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24607         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24608         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24609         (gst_ghost_pad_new):
24610         * gst/gstpad.h:
24611         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24612         (gst_query_new_position), (gst_query_set_position),
24613         (gst_query_parse_position), (gst_query_new_convert),
24614         (gst_query_set_convert), (gst_query_parse_convert):
24615         * gst/gstquery.h:
24616         * gst/gstqueryutils.c:
24617         * gst/gstqueryutils.h:
24618         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24619         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24620         (gst_queue_handle_src_query):
24621         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24622         (gst_element_query_position), (gst_element_query_convert),
24623         (intersect_caps_func), (gst_pad_query_position),
24624         (gst_pad_query_convert):
24625         * gst/gstutils.h:
24626         * tools/gst-inspect.c: (print_pad_info):
24627         * tools/gst-xmlinspect.c: (print_element_info):
24628         Remove old query functions. Ported old code.
24629         Added position/convert helper functions to gstutils.
24630         Reordered gstpad.c code, grouping relevant things.
24631         Remove gst_message_new(), always need to speficy a specific
24632         message.
24633
24634
24635 2005-05-09  Andy Wingo  <wingo@pobox.com>
24636
24637         * gst/gstiterator.h: Add some includes.
24638
24639         * gst/gstqueryutils.h: Include more headers.
24640
24641         * gst/gstpad.h:
24642         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
24643         some uses of gst_pad_query.
24644
24645         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
24646         NULL out parameters.
24647         (gst_query_new_position): New proc, allocates a new position
24648         query.
24649
24650         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
24651         gstqueryutils.c to the build.
24652
24653         * gst/gststructure.c (gst_structure_set_valist): Implement with
24654         the generic G_VALUE_COLLECT.
24655         
24656 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
24657
24658         * gst/Makefile.am: (gst_headers):
24659         Added gstqueryutils.h to the list of headers to install, that was
24660         a 'nachty' move wingo :)
24661
24662 2005-05-06  Andy Wingo  <wingo@pobox.com>
24663
24664         * gst/gstquery.h
24665         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
24666         GstData, init a memchunk.
24667         (standard_definitions): Add a few query types, deprecate a few.
24668         (gst_query_get_type): New proc.
24669         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
24670         implementation.
24671         (gst_query_new_application, gst_query_get_structure): New public
24672         procs.
24673
24674         * docs/design/draft-query.txt: Removed LINKS from the query types,
24675         because all the rest can be dispatched to other pads -- seemed
24676         ugly to have a query that couldn't be dispatched. internal_links
24677         is fine as a pad method.
24678
24679         * gst/gstpad.h: Add query2 as a pad method, add the new functions
24680         in gstpad.c, but maintain binary compatibility for the moment.
24681         Will fix before 0.9 is out.
24682
24683         * gst/gstqueryutils.c: 
24684         * gst/gstqueryutils.h: New files, implement 3 methods for each
24685         query type: parse_query, parse_response, and set. Probably need an
24686         allocator as well.
24687
24688         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
24689
24690         * gst/elements/gstfilesink.c (gst_filesink_query2):
24691         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
24692         query_types, and formats methods.
24693
24694         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
24695         (gst_pad_set_query2_function): New functions.
24696         (gst_real_pad_init): Set query2_default as the default query2
24697         function. Basically just dispatches to internally linked pads.
24698
24699         Needs review!
24700         
24701         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
24702         without using the atomic operations. Only one thread can possibly
24703         be accessing the data at this point. Changed so as to avoid
24704         gst_atomic operations.
24705
24706 2005-05-06  Wim Taymans  <wim@fluendo.com>
24707
24708         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
24709         Also set caps if we use the fallback buffer alloc.
24710
24711 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
24712
24713         * docs/gst/Makefile.am:
24714         * docs/gst/gstreamer-docs.sgml:
24715         * docs/gst/gstreamer-sections.txt:
24716         * docs/gst/tmpl/gstatomic.sgml:
24717         * docs/gst/tmpl/gstmemchunk.sgml:
24718         * testsuite/elements/struct_i386.h:
24719         * win32/GStreamer.vcproj:
24720         * win32/Makefile:
24721           Purge GstAtomic stuff from docs and win32 makefiles as well
24722
24723 2005-05-06  Wim Taymans  <wim@fluendo.com>
24724
24725         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
24726         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
24727         * gst/gstpad.c: (gst_pad_peer_get_caps):
24728         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
24729         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
24730         (gst_queue_src_activate), (gst_queue_change_state):
24731         * gst/gstqueue.h:
24732         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24733         (intersect_caps_func):
24734         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
24735         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
24736         Some fixes for the peer_get_caps() change.
24737
24738 2005-05-06  Wim Taymans  <wim@fluendo.com>
24739
24740         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24741         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
24742         (gst_basesink_activate):
24743         Actually do something with error codes returned from the push
24744         functions.
24745
24746 2005-05-06  Wim Taymans  <wim@fluendo.com>
24747
24748         * docs/design/part-element-sink.txt:
24749         * docs/design/part-element-source.txt:
24750         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24751         (gst_basesink_event), (gst_basesink_activate):
24752         * gst/base/gstbasesink.h:
24753         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
24754         (gst_basesrc_activate):
24755         * gst/base/gstbasesrc.h:
24756         * gst/gstelement.c: (gst_element_pads_activate):
24757         Some more documentation.
24758         Fixed scheduling decision in _pads_activate().
24759
24760 2005-05-05  Andy Wingo  <wingo@pobox.com>
24761
24762         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
24763         the test suite.
24764
24765 2005-05-05  Wim Taymans  <wim@fluendo.com>
24766
24767         * gst/base/Makefile.am:
24768         * gst/base/gstbasesink.h:
24769         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24770         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
24771         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
24772         (gst_collectpads_class_init), (gst_collectpads_init),
24773         (gst_collectpads_finalize), (gst_collectpads_new),
24774         (gst_collectpads_set_function), (gst_collectpads_add_pad),
24775         (find_pad), (gst_collectpads_remove_pad),
24776         (gst_collectpads_is_active), (gst_collectpads_collect),
24777         (gst_collectpads_collect_range), (gst_collectpads_start),
24778         (gst_collectpads_stop), (gst_collectpads_peek),
24779         (gst_collectpads_pop), (gst_collectpads_available),
24780         (gst_collectpads_read), (gst_collectpads_flush),
24781         (gst_collectpads_chain):
24782         * gst/base/gstcollectpads.h:
24783         * gst/elements/Makefile.am:
24784         * gst/elements/gstelements.c:
24785         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24786         (gst_fakesink_get_times), (gst_fakesink_event),
24787         (gst_fakesink_preroll), (gst_fakesink_render):
24788         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
24789         (gst_filesink_init), (gst_filesink_set_location),
24790         (gst_filesink_open_file), (gst_filesink_close_file),
24791         (gst_filesink_pad_query), (gst_filesink_event),
24792         (gst_filesink_render), (gst_filesink_change_state):
24793         * gst/elements/gstfilesink.h:
24794         Added object to help in making collect pad based elements.
24795         Ported filesink.
24796         Make event function in sink baseclass return gboolean.
24797
24798 2005-05-05  Wim Taymans  <wim@fluendo.com>
24799
24800         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
24801         (gst_bin_get_by_name):
24802         * gst/gstbuffer.h:
24803         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
24804         (gst_clock_finalize):
24805         * gst/gstdata.c: (gst_data_replace):
24806         * gst/gstdata.h:
24807         * gst/gstelement.c: (gst_element_request_pad),
24808         (gst_element_pads_activate):
24809         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
24810         (gst_object_unref):
24811         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24812         (gst_pad_set_checkgetrange_function),
24813         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
24814         (gst_pad_check_pull_range), (gst_pad_pull_range),
24815         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24816         (gst_pad_pause_task), (gst_pad_stop_task):
24817         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24818         (gst_element_request_pad), (gst_pad_proxy_getcaps):
24819         Fix name lookup in GstBin.
24820         Added _data_replace() function and _buffer_replace()
24821         Use finalize method to clean up clock.
24822         Fix refcounting on request pads.
24823         Fix pad schedule mode error.
24824         Some more object refcounting debug info,
24825
24826
24827 2005-05-04  Andy Wingo <wingo@pobox.com>
24828
24829         * check/Makefile.am:
24830         * docs/gst/tmpl/gstatomic.sgml:
24831         * docs/gst/tmpl/gstplugin.sgml:
24832         * gst/base/gstbasesink.c: (gst_basesink_activate):
24833         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
24834         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
24835         (gst_basesrc_query), (gst_basesrc_set_property),
24836         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
24837         (gst_basesrc_activate):
24838         * gst/base/gstbasesrc.h:
24839         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
24840         (gst_base_transform_src_activate):
24841         * gst/elements/gstelements.c:
24842         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24843         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24844         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24845         * gst/elements/gsttypefindelement.c: (find_element_get_length),
24846         (gst_type_find_element_checkgetrange),
24847         (gst_type_find_element_activate):
24848         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
24849         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
24850         (gst_caps_load_thyself):
24851         * gst/gstelement.c: (gst_element_pads_activate),
24852         (gst_element_save_thyself), (gst_element_restore_thyself):
24853         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
24854         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
24855         * gst/gstpad.h:
24856         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
24857         (gst_xml_parse_file), (gst_xml_parse_memory),
24858         (gst_xml_get_element), (gst_xml_make_element):
24859         * gst/indexers/gstfileindex.c: (gst_file_index_load),
24860         (_file_index_id_save_xml), (gst_file_index_commit):
24861         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
24862         (read_enum), (load_pad_template), (load_feature), (load_plugin),
24863         (load_paths):
24864         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
24865         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
24866         * tools/gst-complete.c: (main):
24867         * tools/gst-compprep.c: (main):
24868         * tools/gst-inspect.c: (print_element_properties_info):
24869         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
24870         * tools/gst-xmlinspect.c: (print_element_properties):
24871         GCC 4 fixen.
24872         
24873 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24874
24875         * gst/gstplugin.c: (gst_plugin_check_module),
24876         (gst_plugin_check_file), (gst_plugin_load_file):
24877             apply patch from #172526 to make register work on MacOSX
24878
24879 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24880
24881         * docs/gst/tmpl/gstconfig.sgml:
24882         * gst/gstconfig.h.in:
24883           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
24884         * testsuite/debug/printf_extension.c: (main):
24885           Do not use GST_PTR_FORMAT on pointers to types with
24886           sizeof < sizeof(gpointer).  Fixes test on 64-bit
24887         * testsuite/elements/property.h:
24888           use correct printf format
24889
24890 2005-05-02  Wim Taymans  <wim@fluendo.com>
24891
24892         * docs/design/draft-push-pull.txt:
24893         * docs/design/draft-query.txt:
24894         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
24895         (gst_basesrc_start):
24896         Added draft for new query API.
24897         Added draft for better selecting scheduling methods.
24898         Make basesrc ignore length if the subclass does not support
24899         it.
24900
24901 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24902
24903         * gst/Makefile.am:
24904           possible fixes for automake-1.5 - _LIBADD is reserved
24905
24906 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24907
24908         * docs/faq/Makefile.am:
24909         * docs/manual/Makefile.am:
24910         * docs/manuals.mak:
24911         * docs/pwg/Makefile.am:
24912         * gst/Makefile.am:
24913           possible fixes for automake-1.5
24914
24915 2005-04-28  Wim Taymans  <wim@fluendo.com>
24916
24917         * gst/base/gstbasesink.c: (gst_basesink_base_init),
24918         (gst_basesink_pad_getcaps), (gst_basesink_init),
24919         (gst_basesink_do_sync):
24920         * gst/gstclock.c: (gst_clock_entry_new):
24921         * gst/gstevent.c: (gst_event_discont_get_value):
24922         * gst/gstpipeline.c: (pipeline_bus_handler),
24923         (gst_pipeline_change_state):
24924         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
24925         Better debugging of clocking info.
24926         Allow NULL values when getting discont values.
24927
24928 2005-04-27  Wim Taymans  <wim@fluendo.com>
24929
24930         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
24931         * check/gst/gstpad.c: (gst_pad_suite):
24932         Increase timeout for checks.
24933
24934 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24935
24936         * check/Makefile.am:
24937           fix the broken rule for cleanup.  Apparently this rule is
24938           only needed on FC2, so maybe this warrants further autotool
24939           inspection.
24940
24941 2005-04-26  Wim Taymans  <wim@fluendo.com>
24942
24943         * gst/gsttrashstack.h:
24944         Ooohh. a nasty one! After having a failed pop() from the stack,
24945         it's possible that the stack is empty. In that case, don't
24946         follow the NULL pointer.
24947
24948 2005-04-25  Wim Taymans  <wim@fluendo.com>
24949
24950         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24951         (gst_pad_set_checkgetrange_function),
24952         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
24953         (gst_pad_check_pull_range), (gst_pad_pull_range),
24954         (gst_static_pad_template_get_caps), (gst_pad_start_task),
24955         (gst_pad_pause_task), (gst_pad_stop_task):
24956         * gst/gstplugin.c: (gst_plugin_load):
24957         * gst/gstplugin.h:
24958         Remove gst_library_load as it does more harm than good with
24959         the new g_module flags.
24960         Revert bogus caps template check in pad linking, pad caps
24961         are important when linking not the template, which is more
24962         general than the current caps.
24963
24964 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24965
24966         * gst/autoplug/.cvsignore:
24967         * gst/autoplug/Makefile.am:
24968         * gst/autoplug/gstsearchfuncs.c:
24969         * gst/autoplug/gstsearchfuncs.h:
24970         * gst/autoplug/gstspider.c:
24971         * gst/autoplug/gstspider.h:
24972         * gst/autoplug/gstspideridentity.c:
24973         * gst/autoplug/gstspideridentity.h:
24974         * gst/autoplug/spidertest.c:
24975           Die, spider, die.
24976
24977 2005-04-25  Wim Taymans  <wim@fluendo.com>
24978
24979         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
24980         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
24981         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
24982         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
24983         * gst/gstpad.h:
24984         Added stubs for unimplemented functions. 
24985
24986 2005-04-24  David Schleef  <ds@schleef.org>
24987
24988         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
24989         please fix.
24990
24991 2005-04-24  David Schleef  <ds@schleef.org>
24992
24993         Convert everything from GstAtomicInt to g_atomic_int_*, and
24994         remove gstatomic.
24995         * gst/Makefile.am:
24996         * gst/gstatomic.c:
24997         * gst/gstatomic.h:
24998         * gst/gstatomic_impl.h:
24999         * gst/gstbuffer.c:
25000         * gst/gstcaps.c:
25001         * gst/gstcaps.h:
25002         * gst/gstclock.c:
25003         * gst/gstclock.h:
25004         * gst/gstdata.c:
25005         * gst/gstdata.h:
25006         * gst/gstdata_private.h:
25007         * gst/gstevent.c:
25008         * gst/gstinfo.c:
25009         * gst/gstinfo.h:
25010         * gst/gstmessage.c:
25011         * gst/gstobject.c:
25012         * gst/gstobject.h:
25013         * gst/gststructure.c:
25014         * gst/gststructure.h:
25015         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25016         * gst/gstutils.h:
25017
25018 2005-04-24  David Schleef  <ds@schleef.org>
25019
25020         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25021         make the regressions tests work.  Remove some code that is no
25022         longer true.
25023         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25024         Disable warning for pads without templates.
25025
25026 2005-04-24  David Schleef  <ds@schleef.org>
25027
25028         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25029         functions that handle filtered links.
25030         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25031         removed functions.
25032         * gst/gstutils.c: Fix/remove utility functions that handle
25033         filtered caps.
25034         * gst/gstutils.h:
25035         * gst/gstvalue.c: Add serialization/deserialization of caps
25036         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25037         requires fixing so that the filter caps notation creates
25038         a capsfilter element and sets the filter_caps property.  I
25039         think everyone probably wants to keep the shorthand notation.
25040         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25041         * docs/gst/tmpl/gstpad.sgml:
25042
25043         * gst/elements/gstelements.c: Register capsfilter element.
25044         * gst/Makefile.am: fix spacing
25045         * docs/random/ds/0.9-suggested-changes: random
25046
25047 2005-04-23  David Schleef  <ds@schleef.org>
25048
25049         * gst/elements/Makefile.am:
25050         * gst/elements/gstcapsfilter.c: New element that acts like an
25051         identity, but filters caps.  Will eventually replace filtered
25052         caps in pad linking.
25053         * gst/gstutils.c: (gst_element_create_all_pads): New function
25054         to create all the ALWAYS pads that are registered with an
25055         element class.  This functionality should eventually be
25056         merged in with GstElement initialization.
25057         * gst/gstutils.h:
25058         * testsuite/trigger/README: part of trigger test code that should
25059         have been checked in a long time ago.
25060
25061 2005-04-23  David Schleef  <ds@schleef.org>
25062
25063         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25064         needed with new versions of libtool (nobody will confirm this),
25065         and hard to carry around.
25066         * gst/autoplug/Makefile.am:
25067         * gst/base/Makefile.am:
25068         * gst/elements/Makefile.am:
25069         * gst/indexers/Makefile.am:
25070         * gst/schedulers/Makefile.am:
25071         * libs/gst/bytestream/Makefile.am:
25072         * libs/gst/control/Makefile.am:
25073         * libs/gst/dataprotocol/Makefile.am:
25074         * libs/gst/getbits/Makefile.am:
25075
25076 2005-04-21  Wim Taymans  <wim@fluendo.com>
25077
25078         * docs/design/draft-push-pull.txt:
25079         * docs/design/part-MT-refcounting.txt:
25080         * docs/design/part-TODO.txt:
25081         * docs/design/part-caps.txt:
25082         * docs/design/part-events.txt:
25083         * docs/design/part-gstbus.txt:
25084         * docs/design/part-gstpipeline.txt:
25085         * docs/design/part-messages.txt:
25086         * docs/design/part-push-pull.txt:
25087         * docs/design/part-query.txt:
25088         Some more docs.
25089
25090 2005-04-21  Wim Taymans  <wim@fluendo.com>
25091
25092         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25093         (gst_message_new), (gst_message_new_error),
25094         (gst_message_new_warning), (gst_message_new_tag),
25095         (gst_message_new_state_changed), (gst_message_new_application),
25096         (gst_message_get_structure):
25097         * gst/gstmessage.h:
25098         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25099         (gst_structure_copy_conditional):
25100         Use parent refcount in GstMessage to ensure GstStructure
25101         consistency.
25102         Cleaned up headers a bit.
25103         
25104
25105 2005-04-20  Wim Taymans  <wim@fluendo.com>
25106
25107         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25108         (gst_basesink_pad_getcaps), (gst_basesink_init),
25109         (gst_basesink_chain_unlocked):
25110         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25111         (gst_type_find_helper):
25112         * gst/elements/gsttypefindelement.c:
25113         (gst_type_find_element_have_type), (gst_type_find_element_init),
25114         (stop_typefinding), (gst_type_find_element_handle_event),
25115         (find_suggest), (gst_type_find_element_chain),
25116         (gst_type_find_element_checkgetrange),
25117         (gst_type_find_element_getrange), (do_typefind),
25118         (gst_type_find_element_activate):
25119         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25120         (gst_buffer_default_free), (gst_buffer_default_copy),
25121         (gst_buffer_set_caps):
25122         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25123         (gst_caps_replace):
25124         * gst/gstmessage.c: (gst_message_new),
25125         (gst_message_new_state_changed):
25126         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25127         (gst_pad_set_checkgetrange_function),
25128         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25129         (gst_pad_set_caps), (gst_pad_check_pull_range),
25130         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25131         * gst/gstpad.h:
25132         * gst/gsttypefind.c: (gst_type_find_register):
25133         Make gst_caps_replace() work like other _replace() functions.
25134         Use _caps_replace() where possible.
25135         Make sure _message_new() initialises its field.
25136         Add gst_static_pad_template_get_caps()
25137
25138
25139 2005-04-18  Andy Wingo  <wingo@pobox.com>
25140
25141         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25142         on the peer, not the pad. I think that was a typo. Pass an extra
25143         arg to see if random access is possible. Activate the pads as
25144         PULL_RANGE if possible.
25145
25146         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25147
25148         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25149         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25150         to PROP_....
25151
25152 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25153
25154         * docs/faq/using.xml:
25155           Add note on gstreamer-properties (#154996).
25156
25157 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25158
25159         * docs/random/bbb/optional-properties:
25160           Some analysis on optional properties.
25161
25162 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25163
25164         * docs/gst/tmpl/gstelementfactory.sgml:
25165         * gst/gstelement.h:
25166         * gst/gstelementfactory.c: (gst_element_factory_init),
25167         (gst_element_factory_cleanup), (gst_element_register),
25168         (__gst_element_factory_add_static_pad_template),
25169         (gst_element_factory_get_static_pad_templates),
25170         (gst_element_factory_can_src_caps),
25171         (gst_element_factory_can_sink_caps):
25172         * gst/registries/Makefile.am:
25173         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25174         (gst_xml_registry_class_init), (gst_xml_registry_init),
25175         (gst_xml_registry_new), (gst_xml_registry_set_property),
25176         (gst_xml_registry_get_property), (get_time), (make_dir),
25177         (gst_xml_registry_get_perms_func),
25178         (plugin_times_older_than_recurse), (plugin_times_older_than),
25179         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25180         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25181         (add_to_char_array), (read_string), (read_uint), (read_enum),
25182         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25183         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25184         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25185         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25186         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25187         (gst_xml_registry_rebuild):
25188         * gst/registries/gstlibxmlregistry.h:
25189         * tools/gst-compprep.c: (main):
25190         * tools/gst-inspect.c: (print_pad_templates_info):
25191         * tools/gst-xmlinspect.c: (print_element_info):
25192           Use libxml2 for registry parsing, use staticpadtemplates in
25193           elementfactories. Makes gst_init() +/- 10x faster.
25194
25195 2005-04-12  Wim Taymans  <wim@fluendo.com>
25196
25197         * gst/base/Makefile.am:
25198         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25199         (gst_basesink_pad_getcaps), (gst_basesink_init),
25200         (gst_basesink_event), (gst_basesink_change_state):
25201         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25202         (gst_basesrc_init), (gst_basesrc_query),
25203         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25204         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25205         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25206         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25207         (gst_basesrc_stop), (gst_basesrc_activate),
25208         (gst_basesrc_change_state):
25209         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25210         (helper_find_suggest), (gst_type_find_helper):
25211         * gst/base/gsttypefindhelper.h:
25212         * gst/elements/Makefile.am:
25213         * gst/elements/gstelements.c:
25214         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25215         (gst_fakesink_get_times), (gst_fakesink_event),
25216         (gst_fakesink_preroll), (gst_fakesink_render):
25217         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25218         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25219         (gst_fakesrc_get_property), (gst_fakesrc_create),
25220         (gst_fakesrc_start), (gst_fakesrc_stop):
25221         * gst/elements/gstfakesrc.h:
25222         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25223         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25224         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25225         (gst_filesrc_create_read), (gst_filesrc_create),
25226         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25227         (gst_filesrc_start):
25228         * gst/elements/gsttypefindelement.c:
25229         (gst_type_find_element_have_type), (gst_type_find_element_init),
25230         (start_typefinding), (stop_typefinding), (push_buffer_store),
25231         (gst_type_find_element_handle_event),
25232         (gst_type_find_element_chain),
25233         (gst_type_find_element_checkgetrange),
25234         (gst_type_find_element_getrange), (do_typefind),
25235         (gst_type_find_element_activate),
25236         (gst_type_find_element_change_state):
25237         * gst/elements/gsttypefindelement.h:
25238         * gst/gstpipeline.c: (pipeline_bus_handler):
25239         Added typefind helper.
25240         Small preroll fix in the base sink.
25241         Disable typefind code in basesrc.
25242         Crude port of typefindelement.
25243         Fakesrc cleanups.
25244
25245
25246 2005-04-11  Wim Taymans  <wim@fluendo.com>
25247
25248         * check/gst/gstbus.c: (gstbus_suite):
25249         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25250         * check/gstcheck.h:
25251           Fix up the timeout so that the test does not fail.
25252
25253 2005-04-06  Wim Taymans  <wim@fluendo.com>
25254
25255         * gst/base/README:
25256         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25257         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25258         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25259         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25260         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25261         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25262         (gst_basesrc_stop), (gst_basesrc_activate),
25263         (gst_basesrc_change_state), (basesrc_find_peek),
25264         (basesrc_find_suggest), (gst_basesrc_type_find):
25265         * gst/base/gstbasesrc.h:
25266         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25267         (gst_filesrc_class_init), (gst_filesrc_init),
25268         (gst_filesrc_finalize), (gst_filesrc_set_location),
25269         (gst_filesrc_set_property), (gst_filesrc_get_property),
25270         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25271         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25272         (gst_filesrc_create_read), (gst_filesrc_create),
25273         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25274         * gst/elements/gstfilesrc.h:
25275         * gst/gstelement.c: (gst_element_get_state_func),
25276         (gst_element_lost_state), (gst_element_pads_activate):
25277         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25278         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25279         (gst_pad_pull_range):
25280         * gst/gstpad.h:
25281         More work on the generic source base class, implement seeking,
25282         query.
25283         Make filesrc extend the base source class.
25284         Added gst_pad_set_checkgetrange_function to GstPad.
25285
25286 2005-04-06  Andy Wingo  <wingo@pobox.com>
25287
25288         * pkgconfig/gstreamer-base.pc.in:
25289         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25290
25291         * pkgconfig/Makefile.am:
25292         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25293
25294 2005-04-04  Wim Taymans  <wim@fluendo.com>
25295
25296         * gst/base/Makefile.am:
25297         * gst/base/README:
25298         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25299         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25300         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25301         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25302         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25303         (gst_basesrc_base_init), (gst_basesrc_class_init),
25304         (gst_basesrc_init), (gst_basesrc_get_formats),
25305         (gst_basesrc_get_query_types), (gst_basesrc_query),
25306         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25307         (gst_basesrc_set_property), (gst_basesrc_get_property),
25308         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25309         (gst_basesrc_loop), (gst_basesrc_activate),
25310         (gst_basesrc_change_state):
25311         * gst/base/gstbasesrc.h:
25312         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25313         (gst_fakesrc_class_init), (gst_fakesrc_init),
25314         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25315         (gst_fakesrc_get_property), (gst_fakesrc_create):
25316         * gst/elements/gstfakesrc.h:
25317         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25318         (gst_filesrc_open_file), (gst_filesrc_loop),
25319         (gst_filesrc_activate), (filesrc_find_peek),
25320         (gst_filesrc_type_find):
25321         Made base source class, make fakesrc extend it.
25322         Add comments to basesink class.
25323         Some filesrc cleanup.
25324
25325 2005-03-31  David Schleef  <ds@schleef.org>
25326
25327         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25328         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25329         expected to link against libgstreamer.
25330         * gst/base/Makefile.am: link against libgstreamer
25331         * gst/elements/Makefile.am: same
25332
25333 2005-03-31  Andy Wingo  <wingo@pobox.com>
25334
25335         * tests/instantiate/Makefile.am:
25336         * tests/instantiate/caps.c: Add test to test speed of caps copy
25337         and free.
25338
25339         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25340         GMemChunk to be fair.
25341
25342         * gst/gsttrashstack.h: Remove warning about using the fallback
25343         trash stack implementation, it's still faster than malloc.
25344
25345 2005-03-30  Andy Wingo  <wingo@pobox.com>
25346
25347         * tests/complexity.c: Add a copyright.
25348
25349 2005-03-31  Wim Taymans  <wim@fluendo.com>
25350
25351         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25352         (gst_base_transform_class_init), (gst_base_transform_init),
25353         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25354         (gst_base_transform_get_property),
25355         (gst_base_transform_sink_activate),
25356         (gst_base_transform_src_activate),
25357         (gst_base_transform_change_state):
25358         * gst/base/gstbasetransform.h:
25359         * gst/elements/gstidentity.c: (gst_identity_class_init),
25360         (gst_identity_event), (gst_identity_check_perfect),
25361         (gst_identity_transform), (gst_identity_start),
25362         (gst_identity_stop):
25363         Added start/stop methods to transform base class so subclasses 
25364         don't need to deal with state changes even.
25365
25366 2005-03-31  Wim Taymans  <wim@fluendo.com>
25367
25368         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25369         (gst_event_new_discontinuous), (gst_event_discont_get_value):
25370         * gst/gstevent.h:
25371         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25372         (gst_pad_pull_range):
25373         Added rate to the discont event to prepare for variable speed
25374         and reverse playback.
25375
25376 2005-03-29  David Schleef  <ds@schleef.org>
25377
25378         * configure.ac:
25379         * testsuite/trigger/Makefile.am:
25380         * testsuite/trigger/trigger.c: A little example program to show
25381         how trigger-based elements can work.
25382
25383 2005-03-29  Wim Taymans  <wim@fluendo.com>
25384
25385         * gst/base/Makefile.am:
25386         * gst/base/README:
25387         * gst/base/gstbasesink.c: (gst_basesink_get_type),
25388         (gst_basesink_base_init), (gst_basesink_class_init),
25389         (gst_basesink_pad_getcaps), (gst_basesink_init),
25390         (gst_basesink_activate), (gst_basesink_change_state):
25391         * gst/base/gstbasesink.h:
25392         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25393         (gst_base_transform_base_init), (gst_base_transform_finalize),
25394         (gst_base_transform_class_init), (gst_base_transform_init),
25395         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25396         (gst_base_transform_event), (gst_base_transform_getrange),
25397         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25398         (gst_base_transform_set_property),
25399         (gst_base_transform_get_property),
25400         (gst_base_transform_sink_activate),
25401         (gst_base_transform_src_activate),
25402         (gst_base_transform_change_state):
25403         * gst/base/gstbasetransform.h:
25404         * gst/elements/gstidentity.c: (gst_identity_finalize),
25405         (gst_identity_class_init), (gst_identity_init),
25406         (gst_identity_event), (gst_identity_check_perfect),
25407         (gst_identity_transform), (gst_identity_set_property),
25408         (gst_identity_get_property), (gst_identity_change_state):
25409         * gst/elements/gstidentity.h:
25410         * gst/gstelement.c: (gst_element_get_state_func),
25411         (gst_element_lost_state), (gst_element_pads_activate):
25412         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25413         (gst_pad_check_pull_range), (gst_pad_pull_range):
25414         * gst/gstpad.h:
25415         Simplify pad activation.
25416         Added function to check if pull_range can be performed.
25417         Error out when pulling inactive or flushing pads.
25418         Removed const from refcounted types as it does not make sense.
25419         Simplify pad templates in basesink
25420         Added base class for simple 1-to-1 transforms.
25421         Make identity subclass the base transform.
25422
25423 2005-03-29  Andy Wingo  <wingo@pobox.com>
25424
25425         * docs/libs/gstreamer-libs-overrides.txt: 
25426         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25427         really don't understand what's going on, but like whatever. I want
25428         green buildbot!
25429
25430         * docs/gst/Makefile.am:
25431         * docs/libs/Makefile.am: Dist the overrides files.
25432
25433         * check/Makefile.am (clean-local): Remove .libs directories.
25434
25435         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25436         elements to EXTRA_DIST, so po/ files are happy.
25437
25438         * po/POTFILES.in: Er, remove it here.
25439
25440         * po/POTFILES: Remove gstspider.c.
25441
25442         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25443
25444         * docs/libs/gstreamer-libs-docs.sgml: 
25445         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25446         bytestream.
25447
25448         * tests/complexity.c (main): Set the length of the preroll queue
25449         on the sinks to prevent a lockup.
25450
25451         * libs/gst/dataprotocol/Makefile.am: 
25452         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25453         the same as the one in check/gst-libs/gdp.c.
25454
25455         * po/, docs/gst/: Commit automatic changes to docs and po files.
25456
25457         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25458         the versioned libgstbase.
25459
25460         * check/Makefile.am: Depend on an unversioned gst-register, seems
25461         to make autoconf happier.
25462
25463         * gst/base/Makefile.am: Make libgstbase a versioned lib.
25464
25465 2005-03-28  Wim Taymans  <wim@fluendo.com>
25466
25467         * configure.ac:
25468         * docs/design/part-gstelement.txt:
25469         * docs/design/part-negotiation.txt:
25470         * docs/design/part-preroll.txt:
25471         * docs/design/part-scheduling.txt:
25472         * docs/design/part-states.txt:
25473         * gst/Makefile.am:
25474         * gst/base/Makefile.am:
25475         * gst/base/README:
25476         * gst/base/gstbasesink.c: (gst_basesink_get_template),
25477         (gst_basesink_base_init), (gst_basesink_class_init),
25478         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25479         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25480         (gst_basesink_set_pad_functions),
25481         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25482         (gst_basesink_set_property), (gst_basesink_get_property),
25483         (gst_base_sink_get_template), (gst_base_sink_get_caps),
25484         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25485         (gst_basesink_preroll_queue_push),
25486         (gst_basesink_preroll_queue_empty),
25487         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25488         (gst_basesink_event), (gst_basesink_get_times),
25489         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25490         (gst_basesink_chain_unlocked), (gst_basesink_chain),
25491         (gst_basesink_loop), (gst_basesink_activate),
25492         (gst_basesink_change_state):
25493         * gst/base/gstbasesink.h:
25494         * gst/elements/Makefile.am:
25495         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25496         (gst_fakesink_class_init), (gst_fakesink_init),
25497         (gst_fakesink_set_property), (gst_fakesink_get_property),
25498         (gst_fakesink_get_times), (gst_fakesink_event),
25499         (gst_fakesink_preroll), (gst_fakesink_render),
25500         (gst_fakesink_change_state):
25501         * gst/elements/gstfakesink.h:
25502         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25503         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25504         * gst/gstelement.c: (gst_element_add_pad),
25505         (gst_element_get_state_func), (gst_element_abort_state),
25506         (gst_element_commit_state), (gst_element_lost_state),
25507         (gst_element_set_state), (gst_element_pads_activate):
25508         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25509         * gst/gstpipeline.c: (gst_pipeline_send_event),
25510         (gst_pipeline_change_state):
25511         Added state change code.
25512         Added/updated docs.
25513         Added sink base class, make fakesink extend the base class.
25514         Small cleanups in GstPipeline.
25515
25516 2005-03-26  David Schleef  <ds@schleef.org>
25517
25518         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
25519         is broken and should be implemented in a different library.
25520         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25521         * gst/gst.h: remove gstcpu.h
25522         * gst/gstcpu.c: remove
25523         * gst/gstcpu.h: remove
25524         * gst/Makefile.am.future: Remove this file.  It's ancient.
25525
25526 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25527
25528         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25529         (gst_bin_send_event):
25530           Add default event/set_manager handlers. The set_manager handler
25531           takes care that the manager is distributed over kids that were
25532           already in the bin before the manager was set. The event handler
25533           is a utility virtual function that sends the event over all sinks,
25534           so that gst_element_send_event (bin, event); has the expected
25535           behaviour.
25536         * gst/gstpad.c: (gst_pad_event_default):
25537           Re-install default event handling for discontinuities, so that
25538           seeking works without requiring hacks in applications or extra
25539           code in sinks.
25540         * gst/gstpipeline.c: (gst_pipeline_class_init),
25541         (gst_pipeline_send_event):
25542           Half hack, half utility: set a pipeline to PAUSED for seek events,
25543           since that is the only way we can guarantee a/v sync. Means that
25544           you can do gst_element_seek (pipeline, method, pos); on a pipeline
25545           and it "just works".
25546
25547 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25548
25549         * gst/gstpipeline.c: (gst_pipeline_use_clock):
25550           Lock/unlock mismatch.
25551
25552 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
25553
25554         * docs/faq/gst-uninstalled:
25555           add gst-plugins-base
25556         * docs/gst/Makefile.am:
25557           don't error out until docs are fixed
25558         * docs/gst/gstreamer.types:
25559           remove thread
25560
25561 2005-03-22  Wim Taymans  <wim@fluendo.com>
25562
25563         * check/Makefile.am:
25564         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25565         * gst/gststructure.c: (gst_structure_set_valist),
25566         (gst_structure_copy_conditional):
25567         Activated more tests.
25568         Added message test.
25569         Added G_TYPE_POINTER to GstStructure.
25570         
25571
25572 2005-03-22  Wim Taymans  <wim@fluendo.com>
25573
25574         * docs/design/part-TODO.txt:
25575         * docs/design/part-events.txt:
25576         * docs/design/part-gstbin.txt:
25577         * docs/design/part-gstbus.txt:
25578         * docs/design/part-gstpipeline.txt:
25579         * docs/design/part-messages.txt:
25580         * gst/gstbus.c:
25581         * gst/gstmessage.c:
25582         Docs updates
25583
25584 2005-03-21  Wim Taymans  <wim@fluendo.com>
25585
25586         * gst/gstbus.c: (gst_bus_post):
25587         Fix copy-and-paste error.
25588
25589 2005-03-21  Wim Taymans  <wim@fluendo.com>
25590
25591         * check/Makefile.am:
25592         * gst/Makefile.am:
25593         * gst/elements/Makefile.am:
25594         * gst/elements/gstelements.c:
25595         * gst/elements/gstfakesink.c: (gst_fakesink_init),
25596         (gst_fakesink_event), (gst_fakesink_chain):
25597         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25598         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25599         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25600         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25601         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25602         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25603         (gst_fakesrc_loop), (gst_fakesrc_activate),
25604         (gst_fakesrc_change_state):
25605         * gst/elements/gstfakesrc.h:
25606         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25607         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25608         (gst_filesrc_open_file), (gst_filesrc_loop),
25609         (gst_filesrc_activate), (gst_filesrc_change_state),
25610         (filesrc_find_peek), (filesrc_find_suggest),
25611         (gst_filesrc_type_find):
25612         * gst/elements/gstidentity.c: (gst_identity_finalize),
25613         (gst_identity_class_init), (gst_identity_init),
25614         (gst_identity_proxy_getcaps), (identity_queue_push),
25615         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
25616         (gst_identity_getrange), (gst_identity_chain),
25617         (gst_identity_sink_loop), (gst_identity_src_loop),
25618         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
25619         (gst_identity_set_property), (gst_identity_get_property),
25620         (gst_identity_change_state):
25621         * gst/elements/gstidentity.h:
25622         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
25623         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
25624         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
25625         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
25626         (gst_tee_sink_activate):
25627         * gst/elements/gsttee.h:
25628         * gst/gst.c: (gst_register_core_elements), (init_post):
25629         * gst/gst.h:
25630         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
25631         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
25632         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
25633         (gst_bin_change_state):
25634         * gst/gstbin.h:
25635         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
25636         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
25637         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
25638         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
25639         (gst_bus_set_sync_handler), (gst_bus_create_watch),
25640         (bus_watch_callback), (bus_watch_destroy),
25641         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
25642         (poll_timeout), (gst_bus_poll):
25643         * gst/gstbus.h:
25644         * gst/gstcaps.h:
25645         * gst/gstdata.h:
25646         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
25647         (gst_element_post_message), (gst_element_message_full),
25648         (gst_element_get_state_func), (gst_element_get_state),
25649         (gst_element_abort_state), (gst_element_commit_state),
25650         (gst_element_lost_state), (gst_element_set_state),
25651         (gst_element_pads_activate), (gst_element_change_state),
25652         (gst_element_dispose), (gst_element_set_manager_func),
25653         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
25654         (gst_element_set_manager), (gst_element_get_manager),
25655         (gst_element_set_bus), (gst_element_get_bus),
25656         (gst_element_set_scheduler), (gst_element_get_scheduler):
25657         * gst/gstelement.h:
25658         * gst/gstevent.c: (gst_event_new_segment_seek),
25659         (gst_event_new_flush):
25660         * gst/gstevent.h:
25661         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
25662         (_gst_message_free), (gst_message_get_type), (gst_message_new),
25663         (gst_message_new_eos), (gst_message_new_error),
25664         (gst_message_new_warning), (gst_message_new_tag),
25665         (gst_message_new_state_changed), (gst_message_new_application),
25666         (gst_message_get_structure), (gst_message_parse_tag),
25667         (gst_message_parse_state_changed), (gst_message_parse_error),
25668         (gst_message_parse_warning):
25669         * gst/gstmessage.h:
25670         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
25671         (gst_real_pad_set_property), (gst_pad_set_active),
25672         (gst_pad_is_active), (gst_pad_set_blocked_async),
25673         (gst_pad_set_blocked), (gst_pad_is_blocked),
25674         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
25675         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
25676         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
25677         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
25678         (gst_pad_link_filtered), (gst_pad_relink_filtered),
25679         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
25680         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
25681         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
25682         (gst_pad_set_caps), (gst_pad_configure_sink),
25683         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
25684         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
25685         (gst_real_pad_dispose), (gst_real_pad_finalize),
25686         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
25687         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25688         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
25689         * gst/gstpad.h:
25690         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
25691         (pipeline_bus_handler), (gst_pipeline_change_state),
25692         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
25693         * gst/gstpipeline.h:
25694         * gst/gstprobe.h:
25695         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
25696         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
25697         (gst_queue_link_src), (gst_queue_bufferalloc),
25698         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
25699         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
25700         (gst_queue_loop), (gst_queue_handle_src_event),
25701         (gst_queue_handle_src_query), (gst_queue_src_activate),
25702         (gst_queue_change_state):
25703         * gst/gstqueue.h:
25704         * gst/gstscheduler.c: (gst_scheduler_init),
25705         (gst_scheduler_dispose), (gst_scheduler_create_task),
25706         (gst_scheduler_factory_create):
25707         * gst/gstscheduler.h:
25708         * gst/gststructure.c: (gst_structure_get_type),
25709         (gst_structure_copy_conditional):
25710         * gst/gststructure.h:
25711         * gst/gsttaginterface.h:
25712         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25713         (gst_task_init), (gst_task_dispose), (gst_task_create),
25714         (gst_task_get_state), (gst_task_start), (gst_task_stop),
25715         (gst_task_pause):
25716         * gst/gsttask.h:
25717         * gst/gstthread.c:
25718         * gst/gstthread.h:
25719         * gst/gsttypes.h:
25720         * gst/schedulers/Makefile.am:
25721         * gst/schedulers/cothreads_compat.h:
25722         * gst/schedulers/entryscheduler.c:
25723         * gst/schedulers/faircothreads.c:
25724         * gst/schedulers/faircothreads.h:
25725         * gst/schedulers/fairscheduler.c:
25726         * gst/schedulers/gstbasicscheduler.c:
25727         * gst/schedulers/gstoptimalscheduler.c:
25728         * gst/schedulers/gthread-cothreads.h:
25729         * gst/schedulers/threadscheduler.c:
25730         (gst_thread_scheduler_task_get_type),
25731         (gst_thread_scheduler_task_class_init),
25732         (gst_thread_scheduler_task_init),
25733         (gst_thread_scheduler_task_start),
25734         (gst_thread_scheduler_task_stop),
25735         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
25736         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25737         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
25738         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
25739         (plugin_init):
25740         * libs/gst/Makefile.am:
25741         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
25742         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
25743         (gst_file_pad_parent_set):
25744         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25745         (gst_dp_event_from_packet):
25746         * tests/complexity.c: (main):
25747         * tests/mass_elements.c: (main):
25748         * testsuite/states/locked.c: (message_received), (main):
25749         * testsuite/states/parent.c: (main):
25750         * tools/gst-inspect.c: (print_element_flag_info),
25751         (print_implementation_info), (print_pad_info):
25752         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
25753         (main):
25754         * tools/gst-md5sum.c: (event_loop), (main):
25755         * tools/gst-typefind.c: (main):
25756         * tools/gst-xmlinspect.c: (print_element_info):
25757         Next big merge.
25758         Added GstBus for mainloop integration.
25759         Added GstMessage for sending notifications on the bus.
25760         Added GstTask as an abstraction for pipeline entry points.
25761         Removed GstThread.
25762         Removed Schedulers.
25763         Simplified GstQueue for multithreaded core.
25764         Made _link threadsafe, removed old capsnego.
25765         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
25766         Added pad blocking functions.
25767         Reworked scheduling functions in GstPad to prepare for
25768         scheduling updates soon.
25769         Moved events out of data stream.
25770         Simplified GstEvent types.
25771         Added return values to push/pull.
25772         Removed clocking from GstElement.
25773         Added prototypes for state change function for next merge.
25774         Removed iterate from bins and state change management.
25775         Fixed some elements, disabled others for now.
25776         Fixed -inspect and -launch.
25777         Added check for GstBus.
25778
25779 2005-03-10  Wim Taymans  <wim@fluendo.com>
25780
25781         * docs/design/part-MT-refcounting.txt:
25782         * docs/design/part-clocks.txt:
25783         * docs/design/part-gstelement.txt:
25784         * docs/design/part-gstobject.txt:
25785         * docs/design/part-standards.txt:
25786         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25787         (gst_bin_remove_func), (gst_bin_remove):
25788         * gst/gstbin.h:
25789         * gst/gstbuffer.c:
25790         * gst/gstcaps.h:
25791         * testsuite/clock/clock1.c: (main):
25792         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
25793         (main):
25794         * testsuite/dlopen/loadgst.c: (do_test):
25795         * testsuite/refcounting/bin.c: (add_remove_test1),
25796         (add_remove_test2), (main):
25797         * testsuite/refcounting/element.c: (main):
25798         * testsuite/refcounting/element_pad.c: (main):
25799         * testsuite/refcounting/pad.c: (main):
25800         * tools/gst-launch.c: (sigint_handler_sighandler):
25801         * tools/gst-typefind.c: (main):
25802         Doc updates.
25803         Added doc about clock.
25804         removed gst_bin_iterate_recurse_up(), marked methods
25805         for removal.
25806         Fix more testsuites.
25807
25808 2005-03-09  Wim Taymans  <wim@fluendo.com>
25809
25810         * gst/gstpad.c: (gst_pad_get_direction),
25811         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
25812         (gst_pad_collect_valist):
25813         * testsuite/bins/interface.c: (main):
25814         * testsuite/caps/audioscale.c: (test_caps):
25815         * testsuite/caps/caps.c: (test1), (test2), (test3):
25816         * testsuite/caps/deserialize.c: (main):
25817         * testsuite/caps/enumcaps.c: (main):
25818         * testsuite/caps/filtercaps.c: (main):
25819         * testsuite/caps/intersect2.c: (main):
25820         * testsuite/caps/random.c: (main):
25821         * testsuite/caps/renegotiate.c: (my_fixate), (main):
25822         * testsuite/caps/sets.c: (check_caps):
25823         * testsuite/caps/simplify.c: (check_caps), (main):
25824         * testsuite/caps/subtract.c: (check_caps):
25825         Fix _pad_get_direction wrt ghostpads.
25826         Fix caps testsuite.
25827
25828 2005-03-09  Wim Taymans  <wim@fluendo.com>
25829
25830         * check/Makefile.am:
25831         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
25832         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
25833         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
25834         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
25835         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
25836         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
25837         (gst_bin_remove), (gst_bin_iterate_recurse_up),
25838         (bin_element_is_sink), (gst_bin_iterate_sinks),
25839         (gst_bin_iterate_all_by_interface):
25840         * gst/gstbin.h:
25841         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
25842         (gst_element_change_state), (gst_element_dispose),
25843         (gst_element_finalize), (gst_element_set_loop_function):
25844         * gst/gstelement.h:
25845         * gst/gstiterator.c: (find_custom_fold_func):
25846         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25847         (gst_pad_collectv), (gst_pad_collect_valist),
25848         (gst_pad_template_new):
25849         * gst/gstpipeline.c: (gst_pipeline_class_init),
25850         (gst_pipeline_dispose), (gst_pipeline_set_property),
25851         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
25852         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
25853         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
25854         * gst/gstutils.h:
25855         * gst/schedulers/entryscheduler.c:
25856         * gst/schedulers/gstbasicscheduler.c:
25857         (gst_basic_scheduler_cothreaded_chain),
25858         (gst_basic_scheduler_chain_add_element):
25859         * testsuite/bins/interface.c: (main):
25860         Added GstBin test.
25861         Added GstSystemClock test.
25862         Implemented clock distribution code in GstBin.
25863         Implemented iterate sinks method for future use.
25864         Rearranged gstelement.h
25865         Fix GstIterator comparison bug.
25866         Moved some code to GstPipeline, mostly clocking related.
25867
25868 2005-03-09  Wim Taymans  <wim@fluendo.com>
25869
25870         * configure.ac:
25871         * gst/gst_private.h:
25872         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25873         (gst_bin_remove_func), (gst_bin_remove),
25874         (gst_bin_get_by_name_recurse_up):
25875         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
25876         (gst_clock_id_compare_func), (gst_clock_id_wait),
25877         (gst_clock_id_wait_async), (gst_clock_init),
25878         (gst_clock_adjust_unlocked), (gst_clock_get_time):
25879         * gst/gstelement.h:
25880         * gst/gstinfo.c: (_gst_debug_init):
25881         * gst/gstobject.h:
25882         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
25883         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
25884         * gst/gstpad.h:
25885         Bump version number, we're now 0.9.0
25886         Add future debugging category.
25887         Fix NULL _unref() in _get_by_name_recurse_up
25888         Rearrange gstpad.h.
25889         Update some docs.
25890
25891 2005-03-08  Wim Taymans  <wim@fluendo.com>
25892
25893         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
25894         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
25895         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25896         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
25897         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
25898         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
25899         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
25900         * gst/elements/gstidentity.c: (gst_identity_class_init):
25901         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
25902         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
25903         * gst/elements/gstshaper.c: (gst_shaper_class_init):
25904         * gst/elements/gststatistics.c: (gst_statistics_class_init):
25905         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
25906         (gst_tee_link):
25907         * gst/gstelement.c: (gst_element_class_init),
25908         (gst_element_base_class_init), (gst_element_init),
25909         (gst_element_get_random_pad), (gst_element_wait_state_change),
25910         (gst_element_change_state), (gst_element_dispose),
25911         (gst_element_finalize), (gst_element_set_loop_function):
25912         * gst/gstelement.h:
25913         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
25914         * gst/gstthread.c: (gst_thread_class_init),
25915         (gst_thread_release_children_locks), (gst_thread_change_state):
25916         * gst/schedulers/gstbasicscheduler.c:
25917         (gst_basic_scheduler_loopfunc_wrapper),
25918         (gst_basic_scheduler_chain_wrapper),
25919         (gst_basic_scheduler_src_wrapper),
25920         (gst_basic_scheduler_remove_element):
25921         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
25922         Remove threadsafe properties. Fix elements because GObject
25923         complains when installing a property before declaring a
25924         set/get_property handler.
25925         Rearrange gstelement.h file, use STATE macros for state locks.
25926         Free mutexes in the finalize method instead of dispose.
25927
25928 2005-03-08  Wim Taymans  <wim@fluendo.com>
25929
25930         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25931         * gst/gstthread.c: (gst_thread_release_children_locks):
25932         Added parentage check.
25933         Fix build og GstThread again.
25934
25935 2005-03-08  Wim Taymans  <wim@fluendo.com>
25936
25937         * docs/design/part-MT-refcounting.txt:
25938         * docs/design/part-conventions.txt:
25939         * docs/design/part-gstobject.txt:
25940         * docs/design/part-relations.txt:
25941         * docs/design/part-standards.txt:
25942         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
25943         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
25944         (gst_bin_get_by_name), (gst_bin_get_by_interface),
25945         (gst_bin_iterate_all_by_interface):
25946         * gst/gstbuffer.h:
25947         * gst/gstclock.h:
25948         * gst/gstelement.c: (gst_element_class_init),
25949         (gst_element_change_state), (gst_element_set_loop_function):
25950         * gst/gstelement.h:
25951         * gst/gstiterator.c:
25952         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
25953         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
25954         (gst_object_dispatch_properties_changed), (gst_object_set_name),
25955         (gst_object_set_parent), (gst_object_unparent),
25956         (gst_object_check_uniqueness):
25957         * gst/gstobject.h:
25958         Docs updates, clean up some headers.
25959
25960 2005-03-07  Wim Taymans  <wim@fluendo.com>
25961
25962         * check/.cvsignore:
25963         * check/Makefile.am:
25964         * check/gst-libs/.cvsignore:
25965         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
25966         * check/gst/.cvsignore:
25967         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
25968         (START_TEST), (gstbus_suite), (main):
25969         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
25970         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
25971         (gst_data_suite), (main):
25972         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
25973         (add_fold_func), (gstiterator_suite), (main):
25974         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
25975         (thread_name_object), (thread_name_object_default),
25976         (gst_object_name_compare), (gst_object_suite), (main):
25977         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
25978         (gst_pad_suite), (main):
25979         * check/gstcheck.c: (gst_check_log_message_func),
25980         (gst_check_log_critical_func), (gst_check_init):
25981         * check/gstcheck.h:
25982         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
25983         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
25984         Added checks.
25985
25986 2005-03-07  Wim Taymans  <wim@fluendo.com>
25987
25988         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
25989         (gst_list_iterator_next), (gst_list_iterator_resync),
25990         (gst_list_iterator_free), (gst_iterator_new_list),
25991         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
25992         (gst_iterator_free), (gst_iterator_push), (filter_next),
25993         (filter_resync), (filter_uninit), (filter_free),
25994         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
25995         (gst_iterator_foreach), (find_custom_fold_func),
25996         (gst_iterator_find_custom):
25997         * gst/gstiterator.h:
25998         Added missing files.
25999
26000 2005-03-07  Wim Taymans  <wim@fluendo.com>
26001
26002         * Makefile.am:
26003         * configure.ac:
26004         * docs/design/part-MT-refcounting.txt:
26005         * docs/design/part-conventions.txt:
26006         * docs/design/part-gstobject.txt:
26007         * docs/design/part-relations.txt:
26008         * examples/mixer/mixer.c: (main):
26009         * examples/thread/thread.c: (eos), (main):
26010         * gst/Makefile.am:
26011         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26012         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26013         (gst_spider_plug_from_srcpad):
26014         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26015         (gst_spider_identity_change_state),
26016         (gst_spider_identity_sink_loop_type_finding):
26017         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26018         * gst/elements/gstidentity.c: (gst_identity_init):
26019         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26020         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26021         * gst/elements/gsttypefindelement.c: (free_entry):
26022         * gst/gst.c:
26023         * gst/gst.h:
26024         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26025         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26026         (gst_bin_set_index), (gst_bin_set_element_sched),
26027         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26028         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26029         (gst_bin_iterate_elements), (iterate_child_recurse),
26030         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26031         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26032         (compare_interface), (gst_bin_get_by_interface),
26033         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26034         * gst/gstbin.h:
26035         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26036         (gst_buffer_default_free), (gst_buffer_default_copy),
26037         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26038         (gst_buffer_create_sub):
26039         * gst/gstbuffer.h:
26040         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26041         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26042         (gst_caps_unref), (gst_static_caps_get),
26043         (gst_caps_remove_and_get_structure), (gst_caps_append),
26044         (gst_caps_append_structure), (gst_caps_remove_structure),
26045         (gst_caps_copy_nth), (gst_caps_set_simple),
26046         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26047         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26048         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26049         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26050         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26051         (gst_caps_structure_figure_out_union),
26052         (gst_caps_switch_structures), (gst_caps_do_simplify),
26053         (gst_caps_replace), (gst_caps_from_string),
26054         (gst_caps_copy_conditional):
26055         * gst/gstcaps.h:
26056         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26057         (_gst_clock_id_free), (gst_clock_id_unref),
26058         (gst_clock_id_compare_func), (gst_clock_id_wait),
26059         (gst_clock_id_wait_async), (gst_clock_class_init),
26060         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26061         (gst_clock_get_time), (gst_clock_set_time_adjust),
26062         (gst_clock_set_property), (gst_clock_get_property):
26063         * gst/gstclock.h:
26064         * gst/gstcompat.h:
26065         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26066         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26067         * gst/gstdata.h:
26068         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26069         (gst_element_requires_clock), (gst_element_provides_clock),
26070         (gst_element_set_clock), (gst_element_clock_wait),
26071         (gst_element_wait), (gst_element_set_time_delay),
26072         (gst_element_is_indexable), (gst_element_add_pad),
26073         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26074         (pad_compare_name), (gst_element_get_static_pad),
26075         (gst_element_request_pad), (gst_element_get_request_pad),
26076         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26077         (gst_element_class_get_pad_template_list),
26078         (gst_element_class_get_pad_template), (gst_element_error_func),
26079         (gst_element_get_random_pad), (gst_element_get_event_masks),
26080         (gst_element_send_event), (gst_element_seek),
26081         (gst_element_get_query_types), (gst_element_query),
26082         (gst_element_get_formats), (gst_element_convert),
26083         (gst_element_is_locked_state), (gst_element_set_locked_state),
26084         (gst_element_sync_state_with_parent), (gst_element_change_state),
26085         (gst_element_finalize), (gst_element_yield),
26086         (gst_element_interrupt), (gst_element_set_scheduler),
26087         (gst_element_get_scheduler), (gst_element_set_loop_function):
26088         * gst/gstelement.h:
26089         * gst/gstevent.h:
26090         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26091         (gst_format_get_by_nick), (gst_format_get_details),
26092         (gst_format_iterate_definitions):
26093         * gst/gstformat.h:
26094         * gst/gstindex.c: (gst_index_gtype_resolver):
26095         * gst/gstinfo.c:
26096         * gst/gstinfo.h:
26097         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26098         (gst_mem_chunk_free):
26099         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26100         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26101         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26102         (gst_object_dispatch_properties_changed),
26103         (gst_object_set_name_default), (gst_object_set_name),
26104         (gst_object_get_name), (gst_object_set_name_prefix),
26105         (gst_object_get_name_prefix), (gst_object_set_parent),
26106         (gst_object_get_parent), (gst_object_unparent),
26107         (gst_object_check_uniqueness), (gst_object_save_thyself),
26108         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26109         (gst_object_set_property), (gst_object_get_property),
26110         (gst_object_get_path_string):
26111         * gst/gstobject.h:
26112         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26113         (gst_real_pad_init), (gst_real_pad_get_property),
26114         (gst_pad_custom_new), (gst_pad_get_direction),
26115         (gst_pad_set_active), (gst_pad_is_active),
26116         (gst_pad_set_event_function), (gst_pad_is_linked),
26117         (gst_pad_link_free), (gst_pad_link_intersect),
26118         (gst_pad_link_fixate), (gst_pad_set_caps),
26119         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26120         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26121         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26122         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26123         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26124         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26125         (gst_pad_realize), (gst_pad_get_allowed_caps),
26126         (gst_real_pad_dispose), (gst_real_pad_finalize),
26127         (gst_pad_collectv), (gst_pad_collect_valist),
26128         (gst_pad_template_dispose), (gst_pad_template_new),
26129         (gst_pad_get_internal_links):
26130         * gst/gstpad.h:
26131         * gst/gstpipeline.c: (gst_pipeline_dispose),
26132         (gst_pipeline_change_state):
26133         * gst/gstpipeline.h:
26134         * gst/gstplugin.c:
26135         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26136         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26137         * gst/gstpluginfeature.h:
26138         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26139         * gst/gstquery.c: (_gst_query_type_initialize),
26140         (gst_query_type_register), (gst_query_type_get_by_nick),
26141         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26142         * gst/gstquery.h:
26143         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26144         * gst/gstscheduler.c: (gst_scheduler_add_element),
26145         (gst_scheduler_factory_create):
26146         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26147         (gst_structure_free), (gst_structure_set_name),
26148         (gst_structure_id_set_value), (gst_structure_set_value),
26149         (gst_structure_set_valist), (gst_structure_remove_field),
26150         (gst_structure_remove_fields),
26151         (gst_structure_remove_fields_valist),
26152         (gst_structure_remove_all_fields), (gst_structure_foreach),
26153         (gst_structure_map_in_place),
26154         (gst_caps_structure_fixate_field_nearest_int),
26155         (gst_caps_structure_fixate_field_nearest_double):
26156         * gst/gststructure.h:
26157         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26158         (gst_system_clock_init), (gst_system_clock_dispose),
26159         (gst_system_clock_async_thread),
26160         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26161         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26162         * gst/gstsystemclock.h:
26163         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26164         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26165         * gst/gsttaginterface.c:
26166         * gst/gstthread.c: (gst_thread_dispose),
26167         (gst_thread_release_children_locks), (gst_thread_change_state),
26168         (gst_thread_main_loop):
26169         * gst/gsttrashstack.h:
26170         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26171         * gst/gsttypes.h:
26172         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26173         (gst_element_request_pad), (gst_element_get_pad_from_template),
26174         (gst_element_request_compatible_pad),
26175         (gst_element_get_compatible_pad_filtered),
26176         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26177         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26178         (gst_element_link_many), (gst_element_link),
26179         (gst_element_link_pads), (gst_element_unlink_pads),
26180         (gst_element_unlink_many), (gst_element_unlink),
26181         (gst_pad_can_link_filtered), (gst_pad_can_link),
26182         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26183         (gst_object_default_error), (gst_bin_add_many),
26184         (gst_bin_remove_many), (gst_element_populate_std_props),
26185         (gst_element_class_install_std_props), (gst_buffer_merge),
26186         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26187         (link_fold_func), (gst_pad_proxy_setcaps):
26188         * gst/gstutils.h:
26189         * gst/gstvalue.c: (gst_value_deserialize_string):
26190         * gst/parse/grammar.y:
26191         * gst/schedulers/gstbasicscheduler.c:
26192         (gst_basic_scheduler_cothreaded_chain),
26193         (gst_basic_scheduler_chain_recursive_add),
26194         (gst_basic_scheduler_pad_link):
26195         * gst/schedulers/gstoptimalscheduler.c:
26196         (get_group_schedule_function),
26197         (gst_opt_scheduler_state_transition),
26198         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26199         * libs/gst/bytestream/bytestream.c:
26200         * libs/gst/dataprotocol/dataprotocol.c:
26201         (gst_dp_header_from_buffer):
26202         * po/nb.po:
26203         * po/ru.po:
26204         * tests/threadstate/threadstate2.c: (eos):
26205         * tools/gst-compprep.c: (main):
26206         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26207         (print_pad_info), (print_children_info):
26208         * tools/gst-launch.c: (idle_func), (main):
26209         * tools/gst-md5sum.c: (idle_func), (main):
26210         * tools/gst-xmlinspect.c: (print_element_info):
26211         First THREADED backport attempt, focusing on adding locks and
26212         making sure the API is threadsafe. Needs more work. More docs
26213         follow this week.
26214
26215 2005-02-24  Andy Wingo  <wingo@pobox.com>
26216
26217         * tests/bench-complexity.scm:
26218         * tests/complexity.gnuplot: New files, good for running complexity
26219         benchmarks.
26220
26221         * tests/Makefile.am:
26222         * tests/complexity.c: New test, sets up N elements, at each level
26223         teeing into M streams per element. Eeeenteresting.
26224
26225         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26226         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26227         running bench-mass_elements.scm.
26228
26229         * tests/bench-mass_elements.scm: New script, runs mass_elements
26230         for various numbers of identities, outputting the results to a
26231         file. Requires guile 1.6. Just for testing.
26232
26233 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26234
26235         * gst/schedulers/fairscheduler.c:
26236           compile with debug disabled
26237
26238 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26239
26240         * configure.ac:
26241           hunting season on 0.9 is now OPEN